]>
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 | 2109 | |
976dbff5 RD |
2110 | bool DoEraseBackground(wxDC* dc) { |
2111 | #ifdef __WXMSW__ | |
2112 | return wxWindow::DoEraseBackground(dc->GetHDC()); | |
2113 | #else | |
2114 | dc->SetBackground(wxBrush(GetBackgroundColour())); | |
2115 | dc->Clear(); | |
2116 | return true; | |
2117 | #endif | |
2118 | } | |
2119 | ||
d55e5bfc RD |
2120 | DEC_PYCALLBACK_VOID_INT4(DoMoveWindow); |
2121 | DEC_PYCALLBACK_VOID_INT5(DoSetSize); | |
2122 | DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize); | |
2123 | DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize); | |
2124 | ||
2125 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize); | |
2126 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize); | |
2127 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition); | |
2128 | ||
2129 | DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize); | |
2130 | DEC_PYCALLBACK_SIZE_const(DoGetBestSize); | |
2131 | ||
2132 | DEC_PYCALLBACK__(InitDialog); | |
2133 | DEC_PYCALLBACK_BOOL_(TransferDataFromWindow); | |
2134 | DEC_PYCALLBACK_BOOL_(TransferDataToWindow); | |
2135 | DEC_PYCALLBACK_BOOL_(Validate); | |
2136 | ||
2137 | DEC_PYCALLBACK_BOOL_const(AcceptsFocus); | |
2138 | DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard); | |
2139 | DEC_PYCALLBACK_SIZE_const(GetMaxSize); | |
2140 | ||
2141 | DEC_PYCALLBACK_VOID_WXWINBASE(AddChild); | |
2142 | DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild); | |
2143 | ||
a5ee0656 | 2144 | DEC_PYCALLBACK_BOOL_const(ShouldInheritColours); |
a5ee0656 | 2145 | DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes); |
d55e5bfc | 2146 | |
51b83b37 RD |
2147 | DEC_PYCALLBACK_BOOL_(HasTransparentBackground); |
2148 | ||
8d38bd1d RD |
2149 | DEC_PYCALLBACK_VOID_(OnInternalIdle); |
2150 | ||
d55e5bfc RD |
2151 | PYPRIVATE; |
2152 | }; | |
2153 | ||
2154 | IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow); | |
2155 | ||
2156 | IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow); | |
2157 | IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize); | |
2158 | IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize); | |
2159 | IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize); | |
2160 | ||
2161 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize); | |
2162 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize); | |
2163 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition); | |
2164 | ||
2165 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize); | |
2166 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize); | |
2167 | ||
2168 | IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog); | |
2169 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow); | |
2170 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow); | |
2171 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate); | |
2172 | ||
2173 | IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus); | |
2174 | IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard); | |
2175 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize); | |
2176 | ||
2177 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild); | |
2178 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild); | |
2179 | ||
a5ee0656 | 2180 | IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours); |
a5ee0656 | 2181 | IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes); |
51b83b37 RD |
2182 | |
2183 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground); | |
d55e5bfc | 2184 | |
8d38bd1d RD |
2185 | IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle); |
2186 | ||
d55e5bfc RD |
2187 | // C++ version of Python aware wxPanel |
2188 | class wxPyPanel : public wxPanel | |
2189 | { | |
2190 | DECLARE_DYNAMIC_CLASS(wxPyPanel) | |
2191 | public: | |
2192 | wxPyPanel() : wxPanel() {} | |
2193 | wxPyPanel(wxWindow* parent, const wxWindowID id, | |
2194 | const wxPoint& pos = wxDefaultPosition, | |
2195 | const wxSize& size = wxDefaultSize, | |
2196 | long style = 0, | |
2197 | const wxString& name = wxPyPanelNameStr) | |
2198 | : wxPanel(parent, id, pos, size, style, name) {} | |
2199 | ||
a5ee0656 | 2200 | void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); } |
976dbff5 RD |
2201 | bool DoEraseBackground(wxDC* dc) { |
2202 | #ifdef __WXMSW__ | |
2203 | return wxWindow::DoEraseBackground(dc->GetHDC()); | |
2204 | #else | |
2205 | dc->SetBackground(wxBrush(GetBackgroundColour())); | |
2206 | dc->Clear(); | |
2207 | return true; | |
2208 | #endif | |
2209 | } | |
a5ee0656 | 2210 | |
d55e5bfc RD |
2211 | |
2212 | DEC_PYCALLBACK_VOID_INT4(DoMoveWindow); | |
2213 | DEC_PYCALLBACK_VOID_INT5(DoSetSize); | |
2214 | DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize); | |
2215 | DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize); | |
2216 | ||
2217 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize); | |
2218 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize); | |
2219 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition); | |
2220 | ||
2221 | DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize); | |
2222 | DEC_PYCALLBACK_SIZE_const(DoGetBestSize); | |
2223 | ||
2224 | DEC_PYCALLBACK__(InitDialog); | |
2225 | DEC_PYCALLBACK_BOOL_(TransferDataFromWindow); | |
2226 | DEC_PYCALLBACK_BOOL_(TransferDataToWindow); | |
2227 | DEC_PYCALLBACK_BOOL_(Validate); | |
2228 | ||
2229 | DEC_PYCALLBACK_BOOL_const(AcceptsFocus); | |
2230 | DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard); | |
2231 | DEC_PYCALLBACK_SIZE_const(GetMaxSize); | |
2232 | ||
2233 | DEC_PYCALLBACK_VOID_WXWINBASE(AddChild); | |
2234 | DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild); | |
2235 | ||
a5ee0656 | 2236 | DEC_PYCALLBACK_BOOL_const(ShouldInheritColours); |
a5ee0656 | 2237 | DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes); |
d55e5bfc | 2238 | |
51b83b37 RD |
2239 | DEC_PYCALLBACK_BOOL_(HasTransparentBackground); |
2240 | ||
8d38bd1d RD |
2241 | DEC_PYCALLBACK_VOID_(OnInternalIdle); |
2242 | ||
d55e5bfc RD |
2243 | PYPRIVATE; |
2244 | }; | |
2245 | ||
2246 | IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel); | |
2247 | ||
2248 | IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow); | |
2249 | IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize); | |
2250 | IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize); | |
2251 | IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize); | |
2252 | ||
2253 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize); | |
2254 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize); | |
2255 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition); | |
2256 | ||
2257 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize); | |
2258 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize); | |
2259 | ||
2260 | IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog); | |
2261 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow); | |
2262 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow); | |
2263 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate); | |
2264 | ||
2265 | IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus); | |
2266 | IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard); | |
2267 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize); | |
2268 | ||
2269 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild); | |
2270 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild); | |
2271 | ||
a5ee0656 | 2272 | IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours); |
a5ee0656 | 2273 | IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes); |
d55e5bfc | 2274 | |
51b83b37 RD |
2275 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground); |
2276 | ||
8d38bd1d RD |
2277 | IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle); |
2278 | ||
d55e5bfc RD |
2279 | // C++ version of Python aware wxScrolledWindow |
2280 | class wxPyScrolledWindow : public wxScrolledWindow | |
2281 | { | |
2282 | DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow) | |
2283 | public: | |
2284 | wxPyScrolledWindow() : wxScrolledWindow() {} | |
2285 | wxPyScrolledWindow(wxWindow* parent, const wxWindowID id, | |
2286 | const wxPoint& pos = wxDefaultPosition, | |
2287 | const wxSize& size = wxDefaultSize, | |
2288 | long style = 0, | |
2289 | const wxString& name = wxPyPanelNameStr) | |
2290 | : wxScrolledWindow(parent, id, pos, size, style, name) {} | |
2291 | ||
a5ee0656 | 2292 | void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); } |
976dbff5 RD |
2293 | bool DoEraseBackground(wxDC* dc) { |
2294 | #ifdef __WXMSW__ | |
2295 | return wxWindow::DoEraseBackground(dc->GetHDC()); | |
2296 | #else | |
2297 | dc->SetBackground(wxBrush(GetBackgroundColour())); | |
2298 | dc->Clear(); | |
2299 | return true; | |
2300 | #endif | |
2301 | } | |
d55e5bfc RD |
2302 | |
2303 | DEC_PYCALLBACK_VOID_INT4(DoMoveWindow); | |
2304 | DEC_PYCALLBACK_VOID_INT5(DoSetSize); | |
2305 | DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize); | |
2306 | DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize); | |
2307 | ||
2308 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize); | |
2309 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize); | |
2310 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition); | |
2311 | ||
2312 | DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize); | |
2313 | DEC_PYCALLBACK_SIZE_const(DoGetBestSize); | |
2314 | ||
2315 | DEC_PYCALLBACK__(InitDialog); | |
2316 | DEC_PYCALLBACK_BOOL_(TransferDataFromWindow); | |
2317 | DEC_PYCALLBACK_BOOL_(TransferDataToWindow); | |
2318 | DEC_PYCALLBACK_BOOL_(Validate); | |
2319 | ||
2320 | DEC_PYCALLBACK_BOOL_const(AcceptsFocus); | |
2321 | DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard); | |
2322 | DEC_PYCALLBACK_SIZE_const(GetMaxSize); | |
2323 | ||
2324 | DEC_PYCALLBACK_VOID_WXWINBASE(AddChild); | |
2325 | DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild); | |
2326 | ||
a5ee0656 | 2327 | DEC_PYCALLBACK_BOOL_const(ShouldInheritColours); |
a5ee0656 | 2328 | DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes); |
d55e5bfc | 2329 | |
51b83b37 RD |
2330 | DEC_PYCALLBACK_BOOL_(HasTransparentBackground); |
2331 | ||
8d38bd1d RD |
2332 | DEC_PYCALLBACK_VOID_(OnInternalIdle); |
2333 | ||
d55e5bfc RD |
2334 | PYPRIVATE; |
2335 | }; | |
2336 | ||
2337 | IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow); | |
2338 | ||
2339 | IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow); | |
2340 | IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize); | |
2341 | IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize); | |
2342 | IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize); | |
2343 | ||
2344 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize); | |
2345 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize); | |
2346 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition); | |
2347 | ||
2348 | IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize); | |
2349 | IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize); | |
2350 | ||
2351 | IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog); | |
2352 | IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow); | |
2353 | IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow); | |
2354 | IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate); | |
2355 | ||
2356 | IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus); | |
2357 | IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard); | |
2358 | IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize); | |
2359 | ||
2360 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild); | |
2361 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild); | |
2362 | ||
a5ee0656 | 2363 | IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours); |
a5ee0656 RD |
2364 | IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes); |
2365 | ||
51b83b37 | 2366 | IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground); |
d55e5bfc | 2367 | |
8d38bd1d RD |
2368 | IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle); |
2369 | ||
d55e5bfc RD |
2370 | |
2371 | #include "wx/wxPython/printfw.h" | |
2372 | ||
2373 | ||
2374 | static const wxString wxPyPrintoutTitleStr(wxT("Printout")); | |
2375 | static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas")); | |
7fbf8399 RD |
2376 | static PyObject *wxPrintData_GetPrivData(wxPrintData *self){ |
2377 | PyObject* data; | |
5a446332 | 2378 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
7fbf8399 RD |
2379 | data = PyString_FromStringAndSize(self->GetPrivData(), |
2380 | self->GetPrivDataLen()); | |
2381 | wxPyEndBlockThreads(blocked); | |
2382 | return data; | |
2383 | } | |
2384 | static void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){ | |
2385 | if (! PyString_Check(data)) { | |
2386 | wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError, | |
2387 | "Expected string object")); | |
2388 | return /* NULL */ ; | |
2389 | } | |
2390 | ||
5a446332 | 2391 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
7fbf8399 RD |
2392 | self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data)); |
2393 | wxPyEndBlockThreads(blocked); | |
2394 | } | |
d55e5bfc RD |
2395 | |
2396 | ||
070c48b4 | 2397 | IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout); |
d55e5bfc RD |
2398 | |
2399 | // Since this one would be tough and ugly to do with the Macros... | |
2400 | void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) { | |
b411df4a | 2401 | bool hadErr = false; |
d55e5bfc RD |
2402 | bool found; |
2403 | ||
5a446332 | 2404 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
d55e5bfc RD |
2405 | if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) { |
2406 | PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()")); | |
2407 | if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) { | |
2408 | PyObject* val; | |
2409 | ||
2410 | val = PyTuple_GetItem(result, 0); | |
2411 | if (PyInt_Check(val)) *minPage = PyInt_AsLong(val); | |
b411df4a | 2412 | else hadErr = true; |
d55e5bfc RD |
2413 | |
2414 | val = PyTuple_GetItem(result, 1); | |
2415 | if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val); | |
b411df4a | 2416 | else hadErr = true; |
d55e5bfc RD |
2417 | |
2418 | val = PyTuple_GetItem(result, 2); | |
2419 | if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val); | |
b411df4a | 2420 | else hadErr = true; |
d55e5bfc RD |
2421 | |
2422 | val = PyTuple_GetItem(result, 3); | |
2423 | if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val); | |
b411df4a | 2424 | else hadErr = true; |
d55e5bfc RD |
2425 | } |
2426 | else | |
b411df4a | 2427 | hadErr = true; |
d55e5bfc RD |
2428 | |
2429 | if (hadErr) { | |
2430 | PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers."); | |
2431 | PyErr_Print(); | |
2432 | } | |
2433 | Py_DECREF(result); | |
2434 | } | |
2435 | wxPyEndBlockThreads(blocked); | |
2436 | if (! found) | |
2437 | wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo); | |
2438 | } | |
2439 | ||
2440 | void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) { | |
2441 | wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo); | |
2442 | } | |
2443 | ||
2444 | ||
2445 | IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument); | |
2446 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument); | |
2447 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting); | |
2448 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting); | |
2449 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting); | |
2450 | IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage); | |
2451 | IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage); | |
2452 | ||
2453 | ||
2454 | ||
2455 | ||
2456 | ||
b411df4a RD |
2457 | #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \ |
2458 | bool CBNAME(wxPreviewCanvas* a, wxDC& b); \ | |
d55e5bfc RD |
2459 | bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b) |
2460 | ||
2461 | ||
b411df4a RD |
2462 | #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \ |
2463 | bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \ | |
2464 | bool rval=false; \ | |
2465 | bool found; \ | |
5a446332 | 2466 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); \ |
b411df4a RD |
2467 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \ |
2468 | PyObject* win = wxPyMake_wxObject(a,false); \ | |
2469 | PyObject* dc = wxPyMake_wxObject(&b,false); \ | |
2470 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \ | |
2471 | Py_DECREF(win); \ | |
2472 | Py_DECREF(dc); \ | |
2473 | } \ | |
2474 | wxPyEndBlockThreads(blocked); \ | |
2475 | if (! found) \ | |
2476 | rval = PCLASS::CBNAME(a, b); \ | |
2477 | return rval; \ | |
2478 | } \ | |
2479 | bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \ | |
2480 | return PCLASS::CBNAME(a, b); \ | |
d55e5bfc RD |
2481 | } |
2482 | ||
2483 | ||
2484 | ||
2485 | ||
2486 | class wxPyPrintPreview : public wxPrintPreview | |
2487 | { | |
2488 | DECLARE_CLASS(wxPyPrintPreview) | |
2489 | public: | |
2490 | wxPyPrintPreview(wxPyPrintout* printout, | |
2491 | wxPyPrintout* printoutForPrinting, | |
2492 | wxPrintDialogData* data=NULL) | |
2493 | : wxPrintPreview(printout, printoutForPrinting, data) | |
2494 | {} | |
2495 | wxPyPrintPreview(wxPyPrintout* printout, | |
2496 | wxPyPrintout* printoutForPrinting, | |
2497 | wxPrintData* data=NULL) | |
2498 | : wxPrintPreview(printout, printoutForPrinting, data) | |
2499 | {} | |
2500 | ||
2501 | DEC_PYCALLBACK_BOOL_INT(SetCurrentPage); | |
2502 | DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage); | |
2503 | DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage); | |
2504 | DEC_PYCALLBACK_BOOL_INT(RenderPage); | |
2505 | DEC_PYCALLBACK_VOID_INT(SetZoom); | |
2506 | DEC_PYCALLBACK_BOOL_BOOL(Print); | |
2507 | DEC_PYCALLBACK_VOID_(DetermineScaling); | |
2508 | ||
2509 | PYPRIVATE; | |
2510 | }; | |
2511 | ||
2512 | // Stupid renamed classes... Fix this in 2.5... | |
2513 | #if defined(__WXMSW__) | |
2514 | IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview ); | |
2515 | #elif defined(__WXMAC__) | |
2516 | IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview ); | |
2517 | #else | |
2518 | IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview ); | |
2519 | #endif | |
2520 | ||
2521 | IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage); | |
2522 | IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage); | |
2523 | IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage); | |
2524 | IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage); | |
2525 | IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom); | |
2526 | IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print); | |
2527 | IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling); | |
2528 | ||
2529 | ||
2530 | class wxPyPreviewFrame : public wxPreviewFrame | |
2531 | { | |
2532 | DECLARE_CLASS(wxPyPreviewFrame); | |
2533 | public: | |
2534 | wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent, | |
2535 | const wxString& title, | |
2536 | const wxPoint& pos = wxDefaultPosition, | |
2537 | const wxSize& size = wxDefaultSize, | |
2538 | long style = wxDEFAULT_FRAME_STYLE, | |
2539 | const wxString& name = wxPyFrameNameStr) | |
2540 | : wxPreviewFrame(preview, parent, title, pos, size, style, name) | |
2541 | {} | |
2542 | ||
2543 | void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; } | |
2544 | void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; } | |
2545 | ||
2546 | DEC_PYCALLBACK_VOID_(Initialize); | |
2547 | DEC_PYCALLBACK_VOID_(CreateCanvas); | |
2548 | DEC_PYCALLBACK_VOID_(CreateControlBar); | |
2549 | ||
2550 | PYPRIVATE; | |
2551 | }; | |
2552 | ||
2553 | IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame); | |
2554 | ||
2555 | IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize); | |
2556 | IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas); | |
2557 | IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar); | |
2558 | ||
2559 | ||
2560 | class wxPyPreviewControlBar : public wxPreviewControlBar | |
2561 | { | |
2562 | DECLARE_CLASS(wxPyPreviewControlBar); | |
2563 | public: | |
2564 | wxPyPreviewControlBar(wxPrintPreview *preview, | |
2565 | long buttons, | |
2566 | wxWindow *parent, | |
2567 | const wxPoint& pos = wxDefaultPosition, | |
2568 | const wxSize& size = wxDefaultSize, | |
2569 | long style = 0, | |
2570 | const wxString& name = wxPyPanelNameStr) | |
2571 | : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name) | |
2572 | {} | |
2573 | ||
2574 | void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; } | |
2575 | ||
2576 | DEC_PYCALLBACK_VOID_(CreateButtons); | |
2577 | DEC_PYCALLBACK_VOID_INT(SetZoomControl); | |
2578 | ||
2579 | PYPRIVATE; | |
2580 | }; | |
2581 | ||
2582 | IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar); | |
2583 | IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons); | |
2584 | IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl); | |
2585 | ||
2586 | #ifdef __cplusplus | |
2587 | extern "C" { | |
2588 | #endif | |
c370783e | 2589 | static PyObject *_wrap_new_Panel(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
2590 | PyObject *resultobj; |
2591 | wxWindow *arg1 = (wxWindow *) 0 ; | |
2592 | int arg2 = (int) (int)-1 ; | |
2593 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
2594 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
2595 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
2596 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
2597 | long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ; | |
2598 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
2599 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
2600 | wxPanel *result; | |
2601 | wxPoint temp3 ; | |
2602 | wxSize temp4 ; | |
b411df4a | 2603 | bool temp6 = false ; |
d55e5bfc RD |
2604 | PyObject * obj0 = 0 ; |
2605 | PyObject * obj1 = 0 ; | |
2606 | PyObject * obj2 = 0 ; | |
2607 | PyObject * obj3 = 0 ; | |
2608 | PyObject * obj4 = 0 ; | |
2609 | PyObject * obj5 = 0 ; | |
2610 | char *kwnames[] = { | |
2611 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
2612 | }; | |
2613 | ||
2614 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
36ed4f51 RD |
2615 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
2616 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 2617 | if (obj1) { |
36ed4f51 RD |
2618 | { |
2619 | arg2 = (int const)(SWIG_As_int(obj1)); | |
2620 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2621 | } | |
d55e5bfc RD |
2622 | } |
2623 | if (obj2) { | |
2624 | { | |
2625 | arg3 = &temp3; | |
2626 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
2627 | } | |
2628 | } | |
2629 | if (obj3) { | |
2630 | { | |
2631 | arg4 = &temp4; | |
2632 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
2633 | } | |
2634 | } | |
2635 | if (obj4) { | |
36ed4f51 RD |
2636 | { |
2637 | arg5 = (long)(SWIG_As_long(obj4)); | |
2638 | if (SWIG_arg_fail(5)) SWIG_fail; | |
2639 | } | |
d55e5bfc RD |
2640 | } |
2641 | if (obj5) { | |
2642 | { | |
2643 | arg6 = wxString_in_helper(obj5); | |
2644 | if (arg6 == NULL) SWIG_fail; | |
b411df4a | 2645 | temp6 = true; |
d55e5bfc RD |
2646 | } |
2647 | } | |
2648 | { | |
0439c23b | 2649 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
2650 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
2651 | result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
2652 | ||
2653 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 2654 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 2655 | } |
b0f7404b | 2656 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1); |
d55e5bfc RD |
2657 | { |
2658 | if (temp6) | |
2659 | delete arg6; | |
2660 | } | |
2661 | return resultobj; | |
2662 | fail: | |
2663 | { | |
2664 | if (temp6) | |
2665 | delete arg6; | |
2666 | } | |
2667 | return NULL; | |
2668 | } | |
2669 | ||
2670 | ||
c370783e | 2671 | static PyObject *_wrap_new_PrePanel(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
2672 | PyObject *resultobj; |
2673 | wxPanel *result; | |
2674 | char *kwnames[] = { | |
2675 | NULL | |
2676 | }; | |
2677 | ||
2678 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail; | |
2679 | { | |
0439c23b | 2680 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
2681 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
2682 | result = (wxPanel *)new wxPanel(); | |
2683 | ||
2684 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 2685 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 2686 | } |
b0f7404b | 2687 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1); |
d55e5bfc RD |
2688 | return resultobj; |
2689 | fail: | |
2690 | return NULL; | |
2691 | } | |
2692 | ||
2693 | ||
c370783e | 2694 | static PyObject *_wrap_Panel_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
2695 | PyObject *resultobj; |
2696 | wxPanel *arg1 = (wxPanel *) 0 ; | |
2697 | wxWindow *arg2 = (wxWindow *) 0 ; | |
2698 | int arg3 = (int) (int)-1 ; | |
2699 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
2700 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
2701 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
2702 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
2703 | long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ; | |
2704 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
2705 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
2706 | bool result; | |
2707 | wxPoint temp4 ; | |
2708 | wxSize temp5 ; | |
b411df4a | 2709 | bool temp7 = false ; |
d55e5bfc RD |
2710 | PyObject * obj0 = 0 ; |
2711 | PyObject * obj1 = 0 ; | |
2712 | PyObject * obj2 = 0 ; | |
2713 | PyObject * obj3 = 0 ; | |
2714 | PyObject * obj4 = 0 ; | |
2715 | PyObject * obj5 = 0 ; | |
2716 | PyObject * obj6 = 0 ; | |
2717 | char *kwnames[] = { | |
2718 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
2719 | }; | |
2720 | ||
2721 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
36ed4f51 RD |
2722 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0); |
2723 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2724 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
2725 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc | 2726 | if (obj2) { |
36ed4f51 RD |
2727 | { |
2728 | arg3 = (int const)(SWIG_As_int(obj2)); | |
2729 | if (SWIG_arg_fail(3)) SWIG_fail; | |
2730 | } | |
d55e5bfc RD |
2731 | } |
2732 | if (obj3) { | |
2733 | { | |
2734 | arg4 = &temp4; | |
2735 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
2736 | } | |
2737 | } | |
2738 | if (obj4) { | |
2739 | { | |
2740 | arg5 = &temp5; | |
2741 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
2742 | } | |
2743 | } | |
2744 | if (obj5) { | |
36ed4f51 RD |
2745 | { |
2746 | arg6 = (long)(SWIG_As_long(obj5)); | |
2747 | if (SWIG_arg_fail(6)) SWIG_fail; | |
2748 | } | |
d55e5bfc RD |
2749 | } |
2750 | if (obj6) { | |
2751 | { | |
2752 | arg7 = wxString_in_helper(obj6); | |
2753 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 2754 | temp7 = true; |
d55e5bfc RD |
2755 | } |
2756 | } | |
2757 | { | |
2758 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2759 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
2760 | ||
2761 | wxPyEndAllowThreads(__tstate); | |
2762 | if (PyErr_Occurred()) SWIG_fail; | |
2763 | } | |
2764 | { | |
2765 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2766 | } | |
2767 | { | |
2768 | if (temp7) | |
2769 | delete arg7; | |
2770 | } | |
2771 | return resultobj; | |
2772 | fail: | |
2773 | { | |
2774 | if (temp7) | |
2775 | delete arg7; | |
2776 | } | |
2777 | return NULL; | |
2778 | } | |
2779 | ||
2780 | ||
c370783e | 2781 | static PyObject *_wrap_Panel_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
2782 | PyObject *resultobj; |
2783 | wxPanel *arg1 = (wxPanel *) 0 ; | |
2784 | PyObject * obj0 = 0 ; | |
2785 | char *kwnames[] = { | |
2786 | (char *) "self", NULL | |
2787 | }; | |
2788 | ||
2789 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
2790 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0); |
2791 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
2792 | { |
2793 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2794 | (arg1)->InitDialog(); | |
2795 | ||
2796 | wxPyEndAllowThreads(__tstate); | |
2797 | if (PyErr_Occurred()) SWIG_fail; | |
2798 | } | |
2799 | Py_INCREF(Py_None); resultobj = Py_None; | |
2800 | return resultobj; | |
2801 | fail: | |
2802 | return NULL; | |
2803 | } | |
2804 | ||
2805 | ||
5cbf236d RD |
2806 | static PyObject *_wrap_Panel_SetFocus(PyObject *, PyObject *args, PyObject *kwargs) { |
2807 | PyObject *resultobj; | |
2808 | wxPanel *arg1 = (wxPanel *) 0 ; | |
2809 | PyObject * obj0 = 0 ; | |
2810 | char *kwnames[] = { | |
2811 | (char *) "self", NULL | |
2812 | }; | |
2813 | ||
2814 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocus",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
2815 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0); |
2816 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5cbf236d RD |
2817 | { |
2818 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2819 | (arg1)->SetFocus(); | |
2820 | ||
2821 | wxPyEndAllowThreads(__tstate); | |
2822 | if (PyErr_Occurred()) SWIG_fail; | |
2823 | } | |
2824 | Py_INCREF(Py_None); resultobj = Py_None; | |
2825 | return resultobj; | |
2826 | fail: | |
2827 | return NULL; | |
2828 | } | |
2829 | ||
2830 | ||
2831 | static PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *, PyObject *args, PyObject *kwargs) { | |
2832 | PyObject *resultobj; | |
2833 | wxPanel *arg1 = (wxPanel *) 0 ; | |
2834 | PyObject * obj0 = 0 ; | |
2835 | char *kwnames[] = { | |
2836 | (char *) "self", NULL | |
2837 | }; | |
2838 | ||
2839 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocusIgnoringChildren",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
2840 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0); |
2841 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5cbf236d RD |
2842 | { |
2843 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2844 | (arg1)->SetFocusIgnoringChildren(); | |
2845 | ||
2846 | wxPyEndAllowThreads(__tstate); | |
2847 | if (PyErr_Occurred()) SWIG_fail; | |
2848 | } | |
2849 | Py_INCREF(Py_None); resultobj = Py_None; | |
2850 | return resultobj; | |
2851 | fail: | |
2852 | return NULL; | |
2853 | } | |
2854 | ||
2855 | ||
c370783e | 2856 | static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
f20a2e1f | 2857 | PyObject *resultobj; |
36ed4f51 | 2858 | wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; |
f20a2e1f RD |
2859 | wxVisualAttributes result; |
2860 | PyObject * obj0 = 0 ; | |
2861 | char *kwnames[] = { | |
2862 | (char *) "variant", NULL | |
2863 | }; | |
2864 | ||
2865 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
2866 | if (obj0) { | |
36ed4f51 RD |
2867 | { |
2868 | arg1 = (wxWindowVariant)(SWIG_As_int(obj0)); | |
2869 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2870 | } | |
f20a2e1f RD |
2871 | } |
2872 | { | |
0439c23b | 2873 | if (!wxPyCheckForApp()) SWIG_fail; |
f20a2e1f RD |
2874 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
2875 | result = wxPanel::GetClassDefaultAttributes((wxWindowVariant )arg1); | |
2876 | ||
2877 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 2878 | if (PyErr_Occurred()) SWIG_fail; |
f20a2e1f RD |
2879 | } |
2880 | { | |
2881 | wxVisualAttributes * resultptr; | |
36ed4f51 | 2882 | resultptr = new wxVisualAttributes((wxVisualAttributes &)(result)); |
f20a2e1f RD |
2883 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); |
2884 | } | |
2885 | return resultobj; | |
2886 | fail: | |
2887 | return NULL; | |
2888 | } | |
2889 | ||
2890 | ||
c370783e | 2891 | static PyObject * Panel_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
2892 | PyObject *obj; |
2893 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2894 | SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj); | |
2895 | Py_INCREF(obj); | |
2896 | return Py_BuildValue((char *)""); | |
2897 | } | |
c370783e | 2898 | static PyObject *_wrap_new_ScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
2899 | PyObject *resultobj; |
2900 | wxWindow *arg1 = (wxWindow *) 0 ; | |
2901 | int arg2 = (int) (int)-1 ; | |
2902 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
2903 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
2904 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
2905 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
2906 | long arg5 = (long) wxHSCROLL|wxVSCROLL ; | |
2907 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
2908 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
2909 | wxScrolledWindow *result; | |
2910 | wxPoint temp3 ; | |
2911 | wxSize temp4 ; | |
b411df4a | 2912 | bool temp6 = false ; |
d55e5bfc RD |
2913 | PyObject * obj0 = 0 ; |
2914 | PyObject * obj1 = 0 ; | |
2915 | PyObject * obj2 = 0 ; | |
2916 | PyObject * obj3 = 0 ; | |
2917 | PyObject * obj4 = 0 ; | |
2918 | PyObject * obj5 = 0 ; | |
2919 | char *kwnames[] = { | |
2920 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
2921 | }; | |
2922 | ||
2923 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
36ed4f51 RD |
2924 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
2925 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 2926 | if (obj1) { |
36ed4f51 RD |
2927 | { |
2928 | arg2 = (int const)(SWIG_As_int(obj1)); | |
2929 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2930 | } | |
d55e5bfc RD |
2931 | } |
2932 | if (obj2) { | |
2933 | { | |
2934 | arg3 = &temp3; | |
2935 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
2936 | } | |
2937 | } | |
2938 | if (obj3) { | |
2939 | { | |
2940 | arg4 = &temp4; | |
2941 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
2942 | } | |
2943 | } | |
2944 | if (obj4) { | |
36ed4f51 RD |
2945 | { |
2946 | arg5 = (long)(SWIG_As_long(obj4)); | |
2947 | if (SWIG_arg_fail(5)) SWIG_fail; | |
2948 | } | |
d55e5bfc RD |
2949 | } |
2950 | if (obj5) { | |
2951 | { | |
2952 | arg6 = wxString_in_helper(obj5); | |
2953 | if (arg6 == NULL) SWIG_fail; | |
b411df4a | 2954 | temp6 = true; |
d55e5bfc RD |
2955 | } |
2956 | } | |
2957 | { | |
0439c23b | 2958 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
2959 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
2960 | result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
2961 | ||
2962 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 2963 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 2964 | } |
b0f7404b | 2965 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1); |
d55e5bfc RD |
2966 | { |
2967 | if (temp6) | |
2968 | delete arg6; | |
2969 | } | |
2970 | return resultobj; | |
2971 | fail: | |
2972 | { | |
2973 | if (temp6) | |
2974 | delete arg6; | |
2975 | } | |
2976 | return NULL; | |
2977 | } | |
2978 | ||
2979 | ||
c370783e | 2980 | static PyObject *_wrap_new_PreScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
2981 | PyObject *resultobj; |
2982 | wxScrolledWindow *result; | |
2983 | char *kwnames[] = { | |
2984 | NULL | |
2985 | }; | |
2986 | ||
2987 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail; | |
2988 | { | |
0439c23b | 2989 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
2990 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
2991 | result = (wxScrolledWindow *)new wxScrolledWindow(); | |
2992 | ||
2993 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 2994 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 2995 | } |
b0f7404b | 2996 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1); |
d55e5bfc RD |
2997 | return resultobj; |
2998 | fail: | |
2999 | return NULL; | |
3000 | } | |
3001 | ||
3002 | ||
c370783e | 3003 | static PyObject *_wrap_ScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3004 | PyObject *resultobj; |
3005 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3006 | wxWindow *arg2 = (wxWindow *) 0 ; | |
3007 | int arg3 = (int) (int)-1 ; | |
3008 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
3009 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
3010 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
3011 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
3012 | long arg6 = (long) wxHSCROLL|wxVSCROLL ; | |
3013 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
3014 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
3015 | bool result; | |
3016 | wxPoint temp4 ; | |
3017 | wxSize temp5 ; | |
b411df4a | 3018 | bool temp7 = false ; |
d55e5bfc RD |
3019 | PyObject * obj0 = 0 ; |
3020 | PyObject * obj1 = 0 ; | |
3021 | PyObject * obj2 = 0 ; | |
3022 | PyObject * obj3 = 0 ; | |
3023 | PyObject * obj4 = 0 ; | |
3024 | PyObject * obj5 = 0 ; | |
3025 | PyObject * obj6 = 0 ; | |
3026 | char *kwnames[] = { | |
3027 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
3028 | }; | |
3029 | ||
3030 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
36ed4f51 RD |
3031 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3032 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3033 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
3034 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc | 3035 | if (obj2) { |
36ed4f51 RD |
3036 | { |
3037 | arg3 = (int const)(SWIG_As_int(obj2)); | |
3038 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3039 | } | |
d55e5bfc RD |
3040 | } |
3041 | if (obj3) { | |
3042 | { | |
3043 | arg4 = &temp4; | |
3044 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
3045 | } | |
3046 | } | |
3047 | if (obj4) { | |
3048 | { | |
3049 | arg5 = &temp5; | |
3050 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
3051 | } | |
3052 | } | |
3053 | if (obj5) { | |
36ed4f51 RD |
3054 | { |
3055 | arg6 = (long)(SWIG_As_long(obj5)); | |
3056 | if (SWIG_arg_fail(6)) SWIG_fail; | |
3057 | } | |
d55e5bfc RD |
3058 | } |
3059 | if (obj6) { | |
3060 | { | |
3061 | arg7 = wxString_in_helper(obj6); | |
3062 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 3063 | temp7 = true; |
d55e5bfc RD |
3064 | } |
3065 | } | |
3066 | { | |
3067 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3068 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
3069 | ||
3070 | wxPyEndAllowThreads(__tstate); | |
3071 | if (PyErr_Occurred()) SWIG_fail; | |
3072 | } | |
3073 | { | |
3074 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3075 | } | |
3076 | { | |
3077 | if (temp7) | |
3078 | delete arg7; | |
3079 | } | |
3080 | return resultobj; | |
3081 | fail: | |
3082 | { | |
3083 | if (temp7) | |
3084 | delete arg7; | |
3085 | } | |
3086 | return NULL; | |
3087 | } | |
3088 | ||
3089 | ||
c370783e | 3090 | static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3091 | PyObject *resultobj; |
3092 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3093 | int arg2 ; | |
3094 | int arg3 ; | |
3095 | int arg4 ; | |
3096 | int arg5 ; | |
3097 | int arg6 = (int) 0 ; | |
3098 | int arg7 = (int) 0 ; | |
b411df4a | 3099 | bool arg8 = (bool) false ; |
d55e5bfc RD |
3100 | PyObject * obj0 = 0 ; |
3101 | PyObject * obj1 = 0 ; | |
3102 | PyObject * obj2 = 0 ; | |
3103 | PyObject * obj3 = 0 ; | |
3104 | PyObject * obj4 = 0 ; | |
3105 | PyObject * obj5 = 0 ; | |
3106 | PyObject * obj6 = 0 ; | |
3107 | PyObject * obj7 = 0 ; | |
3108 | char *kwnames[] = { | |
3109 | (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL | |
3110 | }; | |
3111 | ||
3112 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; | |
36ed4f51 RD |
3113 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3114 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3115 | { | |
3116 | arg2 = (int)(SWIG_As_int(obj1)); | |
3117 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3118 | } | |
3119 | { | |
3120 | arg3 = (int)(SWIG_As_int(obj2)); | |
3121 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3122 | } | |
3123 | { | |
3124 | arg4 = (int)(SWIG_As_int(obj3)); | |
3125 | if (SWIG_arg_fail(4)) SWIG_fail; | |
3126 | } | |
3127 | { | |
3128 | arg5 = (int)(SWIG_As_int(obj4)); | |
3129 | if (SWIG_arg_fail(5)) SWIG_fail; | |
3130 | } | |
d55e5bfc | 3131 | if (obj5) { |
36ed4f51 RD |
3132 | { |
3133 | arg6 = (int)(SWIG_As_int(obj5)); | |
3134 | if (SWIG_arg_fail(6)) SWIG_fail; | |
3135 | } | |
d55e5bfc RD |
3136 | } |
3137 | if (obj6) { | |
36ed4f51 RD |
3138 | { |
3139 | arg7 = (int)(SWIG_As_int(obj6)); | |
3140 | if (SWIG_arg_fail(7)) SWIG_fail; | |
3141 | } | |
d55e5bfc RD |
3142 | } |
3143 | if (obj7) { | |
36ed4f51 RD |
3144 | { |
3145 | arg8 = (bool)(SWIG_As_bool(obj7)); | |
3146 | if (SWIG_arg_fail(8)) SWIG_fail; | |
3147 | } | |
d55e5bfc RD |
3148 | } |
3149 | { | |
3150 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3151 | (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8); | |
3152 | ||
3153 | wxPyEndAllowThreads(__tstate); | |
3154 | if (PyErr_Occurred()) SWIG_fail; | |
3155 | } | |
3156 | Py_INCREF(Py_None); resultobj = Py_None; | |
3157 | return resultobj; | |
3158 | fail: | |
3159 | return NULL; | |
3160 | } | |
3161 | ||
3162 | ||
c370783e | 3163 | static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3164 | PyObject *resultobj; |
3165 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3166 | int arg2 ; | |
3167 | int arg3 ; | |
3168 | PyObject * obj0 = 0 ; | |
3169 | PyObject * obj1 = 0 ; | |
3170 | PyObject * obj2 = 0 ; | |
3171 | char *kwnames[] = { | |
3172 | (char *) "self",(char *) "x",(char *) "y", NULL | |
3173 | }; | |
3174 | ||
3175 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
3176 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3177 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3178 | { | |
3179 | arg2 = (int)(SWIG_As_int(obj1)); | |
3180 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3181 | } | |
3182 | { | |
3183 | arg3 = (int)(SWIG_As_int(obj2)); | |
3184 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3185 | } | |
d55e5bfc RD |
3186 | { |
3187 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3188 | (arg1)->Scroll(arg2,arg3); | |
3189 | ||
3190 | wxPyEndAllowThreads(__tstate); | |
3191 | if (PyErr_Occurred()) SWIG_fail; | |
3192 | } | |
3193 | Py_INCREF(Py_None); resultobj = Py_None; | |
3194 | return resultobj; | |
3195 | fail: | |
3196 | return NULL; | |
3197 | } | |
3198 | ||
3199 | ||
c370783e | 3200 | static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3201 | PyObject *resultobj; |
3202 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3203 | int arg2 ; | |
3204 | int result; | |
3205 | PyObject * obj0 = 0 ; | |
3206 | PyObject * obj1 = 0 ; | |
3207 | char *kwnames[] = { | |
3208 | (char *) "self",(char *) "orient", NULL | |
3209 | }; | |
3210 | ||
3211 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
3212 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3213 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3214 | { | |
3215 | arg2 = (int)(SWIG_As_int(obj1)); | |
3216 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3217 | } | |
d55e5bfc RD |
3218 | { |
3219 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3220 | result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2); | |
3221 | ||
3222 | wxPyEndAllowThreads(__tstate); | |
3223 | if (PyErr_Occurred()) SWIG_fail; | |
3224 | } | |
36ed4f51 RD |
3225 | { |
3226 | resultobj = SWIG_From_int((int)(result)); | |
3227 | } | |
d55e5bfc RD |
3228 | return resultobj; |
3229 | fail: | |
3230 | return NULL; | |
3231 | } | |
3232 | ||
3233 | ||
c370783e | 3234 | static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3235 | PyObject *resultobj; |
3236 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3237 | int arg2 ; | |
3238 | int arg3 ; | |
3239 | PyObject * obj0 = 0 ; | |
3240 | PyObject * obj1 = 0 ; | |
3241 | PyObject * obj2 = 0 ; | |
3242 | char *kwnames[] = { | |
3243 | (char *) "self",(char *) "orient",(char *) "pageSize", NULL | |
3244 | }; | |
3245 | ||
3246 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
3247 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3248 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3249 | { | |
3250 | arg2 = (int)(SWIG_As_int(obj1)); | |
3251 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3252 | } | |
3253 | { | |
3254 | arg3 = (int)(SWIG_As_int(obj2)); | |
3255 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3256 | } | |
d55e5bfc RD |
3257 | { |
3258 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3259 | (arg1)->SetScrollPageSize(arg2,arg3); | |
3260 | ||
3261 | wxPyEndAllowThreads(__tstate); | |
3262 | if (PyErr_Occurred()) SWIG_fail; | |
3263 | } | |
3264 | Py_INCREF(Py_None); resultobj = Py_None; | |
3265 | return resultobj; | |
3266 | fail: | |
3267 | return NULL; | |
3268 | } | |
3269 | ||
3270 | ||
c370783e | 3271 | static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3272 | PyObject *resultobj; |
3273 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3274 | int arg2 ; | |
3275 | int arg3 ; | |
3276 | PyObject * obj0 = 0 ; | |
3277 | PyObject * obj1 = 0 ; | |
3278 | PyObject * obj2 = 0 ; | |
3279 | char *kwnames[] = { | |
3280 | (char *) "self",(char *) "xstep",(char *) "ystep", NULL | |
3281 | }; | |
3282 | ||
3283 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
3284 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3285 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3286 | { | |
3287 | arg2 = (int)(SWIG_As_int(obj1)); | |
3288 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3289 | } | |
3290 | { | |
3291 | arg3 = (int)(SWIG_As_int(obj2)); | |
3292 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3293 | } | |
d55e5bfc RD |
3294 | { |
3295 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3296 | (arg1)->SetScrollRate(arg2,arg3); | |
3297 | ||
3298 | wxPyEndAllowThreads(__tstate); | |
3299 | if (PyErr_Occurred()) SWIG_fail; | |
3300 | } | |
3301 | Py_INCREF(Py_None); resultobj = Py_None; | |
3302 | return resultobj; | |
3303 | fail: | |
3304 | return NULL; | |
3305 | } | |
3306 | ||
3307 | ||
c370783e | 3308 | static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3309 | PyObject *resultobj; |
3310 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3311 | int *arg2 = (int *) 0 ; | |
3312 | int *arg3 = (int *) 0 ; | |
3313 | int temp2 ; | |
c370783e | 3314 | int res2 = 0 ; |
d55e5bfc | 3315 | int temp3 ; |
c370783e | 3316 | int res3 = 0 ; |
d55e5bfc RD |
3317 | PyObject * obj0 = 0 ; |
3318 | char *kwnames[] = { | |
3319 | (char *) "self", NULL | |
3320 | }; | |
3321 | ||
c370783e RD |
3322 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
3323 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc | 3324 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
3325 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3326 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
3327 | { |
3328 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3329 | ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3); | |
3330 | ||
3331 | wxPyEndAllowThreads(__tstate); | |
3332 | if (PyErr_Occurred()) SWIG_fail; | |
3333 | } | |
3334 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
3335 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
3336 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
3337 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
3338 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
3339 | return resultobj; |
3340 | fail: | |
3341 | return NULL; | |
3342 | } | |
3343 | ||
3344 | ||
c370783e | 3345 | static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3346 | PyObject *resultobj; |
3347 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3348 | bool arg2 ; | |
3349 | bool arg3 ; | |
3350 | PyObject * obj0 = 0 ; | |
3351 | PyObject * obj1 = 0 ; | |
3352 | PyObject * obj2 = 0 ; | |
3353 | char *kwnames[] = { | |
3354 | (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL | |
3355 | }; | |
3356 | ||
3357 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
3358 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3359 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3360 | { | |
3361 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
3362 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3363 | } | |
3364 | { | |
3365 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
3366 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3367 | } | |
d55e5bfc RD |
3368 | { |
3369 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3370 | (arg1)->EnableScrolling(arg2,arg3); | |
3371 | ||
3372 | wxPyEndAllowThreads(__tstate); | |
3373 | if (PyErr_Occurred()) SWIG_fail; | |
3374 | } | |
3375 | Py_INCREF(Py_None); resultobj = Py_None; | |
3376 | return resultobj; | |
3377 | fail: | |
3378 | return NULL; | |
3379 | } | |
3380 | ||
3381 | ||
c370783e | 3382 | static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3383 | PyObject *resultobj; |
3384 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3385 | int *arg2 = (int *) 0 ; | |
3386 | int *arg3 = (int *) 0 ; | |
3387 | int temp2 ; | |
c370783e | 3388 | int res2 = 0 ; |
d55e5bfc | 3389 | int temp3 ; |
c370783e | 3390 | int res3 = 0 ; |
d55e5bfc RD |
3391 | PyObject * obj0 = 0 ; |
3392 | char *kwnames[] = { | |
3393 | (char *) "self", NULL | |
3394 | }; | |
3395 | ||
c370783e RD |
3396 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
3397 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc | 3398 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
3399 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3400 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
3401 | { |
3402 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3403 | ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3); | |
3404 | ||
3405 | wxPyEndAllowThreads(__tstate); | |
3406 | if (PyErr_Occurred()) SWIG_fail; | |
3407 | } | |
3408 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
3409 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
3410 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
3411 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
3412 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
3413 | return resultobj; |
3414 | fail: | |
3415 | return NULL; | |
3416 | } | |
3417 | ||
3418 | ||
c370783e | 3419 | static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3420 | PyObject *resultobj; |
3421 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3422 | double arg2 ; | |
3423 | double arg3 ; | |
3424 | PyObject * obj0 = 0 ; | |
3425 | PyObject * obj1 = 0 ; | |
3426 | PyObject * obj2 = 0 ; | |
3427 | char *kwnames[] = { | |
3428 | (char *) "self",(char *) "xs",(char *) "ys", NULL | |
3429 | }; | |
3430 | ||
3431 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
3432 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3433 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3434 | { | |
3435 | arg2 = (double)(SWIG_As_double(obj1)); | |
3436 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3437 | } | |
3438 | { | |
3439 | arg3 = (double)(SWIG_As_double(obj2)); | |
3440 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3441 | } | |
d55e5bfc RD |
3442 | { |
3443 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3444 | (arg1)->SetScale(arg2,arg3); | |
3445 | ||
3446 | wxPyEndAllowThreads(__tstate); | |
3447 | if (PyErr_Occurred()) SWIG_fail; | |
3448 | } | |
3449 | Py_INCREF(Py_None); resultobj = Py_None; | |
3450 | return resultobj; | |
3451 | fail: | |
3452 | return NULL; | |
3453 | } | |
3454 | ||
3455 | ||
c370783e | 3456 | static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3457 | PyObject *resultobj; |
3458 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3459 | double result; | |
3460 | PyObject * obj0 = 0 ; | |
3461 | char *kwnames[] = { | |
3462 | (char *) "self", NULL | |
3463 | }; | |
3464 | ||
3465 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
3466 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3467 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
3468 | { |
3469 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3470 | result = (double)((wxScrolledWindow const *)arg1)->GetScaleX(); | |
3471 | ||
3472 | wxPyEndAllowThreads(__tstate); | |
3473 | if (PyErr_Occurred()) SWIG_fail; | |
3474 | } | |
36ed4f51 RD |
3475 | { |
3476 | resultobj = SWIG_From_double((double)(result)); | |
3477 | } | |
d55e5bfc RD |
3478 | return resultobj; |
3479 | fail: | |
3480 | return NULL; | |
3481 | } | |
3482 | ||
3483 | ||
c370783e | 3484 | static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3485 | PyObject *resultobj; |
3486 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3487 | double result; | |
3488 | PyObject * obj0 = 0 ; | |
3489 | char *kwnames[] = { | |
3490 | (char *) "self", NULL | |
3491 | }; | |
3492 | ||
3493 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
3494 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3495 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
3496 | { |
3497 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3498 | result = (double)((wxScrolledWindow const *)arg1)->GetScaleY(); | |
3499 | ||
3500 | wxPyEndAllowThreads(__tstate); | |
3501 | if (PyErr_Occurred()) SWIG_fail; | |
3502 | } | |
36ed4f51 RD |
3503 | { |
3504 | resultobj = SWIG_From_double((double)(result)); | |
3505 | } | |
d55e5bfc RD |
3506 | return resultobj; |
3507 | fail: | |
3508 | return NULL; | |
3509 | } | |
3510 | ||
3511 | ||
c370783e | 3512 | static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *, PyObject *args) { |
d55e5bfc RD |
3513 | PyObject *resultobj; |
3514 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3515 | wxPoint *arg2 = 0 ; | |
3516 | wxPoint result; | |
3517 | wxPoint temp2 ; | |
3518 | PyObject * obj0 = 0 ; | |
3519 | PyObject * obj1 = 0 ; | |
3520 | ||
3521 | if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
3522 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3523 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
3524 | { |
3525 | arg2 = &temp2; | |
3526 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
3527 | } | |
3528 | { | |
3529 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3530 | result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2); | |
3531 | ||
3532 | wxPyEndAllowThreads(__tstate); | |
3533 | if (PyErr_Occurred()) SWIG_fail; | |
3534 | } | |
3535 | { | |
3536 | wxPoint * resultptr; | |
36ed4f51 | 3537 | resultptr = new wxPoint((wxPoint &)(result)); |
d55e5bfc RD |
3538 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
3539 | } | |
3540 | return resultobj; | |
3541 | fail: | |
3542 | return NULL; | |
3543 | } | |
3544 | ||
3545 | ||
c370783e | 3546 | static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *, PyObject *args) { |
d55e5bfc RD |
3547 | PyObject *resultobj; |
3548 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3549 | int arg2 ; | |
3550 | int arg3 ; | |
3551 | int *arg4 = (int *) 0 ; | |
3552 | int *arg5 = (int *) 0 ; | |
3553 | int temp4 ; | |
c370783e | 3554 | int res4 = 0 ; |
d55e5bfc | 3555 | int temp5 ; |
c370783e | 3556 | int res5 = 0 ; |
d55e5bfc RD |
3557 | PyObject * obj0 = 0 ; |
3558 | PyObject * obj1 = 0 ; | |
3559 | PyObject * obj2 = 0 ; | |
3560 | ||
c370783e RD |
3561 | arg4 = &temp4; res4 = SWIG_NEWOBJ; |
3562 | arg5 = &temp5; res5 = SWIG_NEWOBJ; | |
d55e5bfc | 3563 | if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail; |
36ed4f51 RD |
3564 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3565 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3566 | { | |
3567 | arg2 = (int)(SWIG_As_int(obj1)); | |
3568 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3569 | } | |
3570 | { | |
3571 | arg3 = (int)(SWIG_As_int(obj2)); | |
3572 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3573 | } | |
d55e5bfc RD |
3574 | { |
3575 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3576 | ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5); | |
3577 | ||
3578 | wxPyEndAllowThreads(__tstate); | |
3579 | if (PyErr_Occurred()) SWIG_fail; | |
3580 | } | |
3581 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
3582 | resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ? |
3583 | SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0))); | |
3584 | resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ? | |
3585 | SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
3586 | return resultobj; |
3587 | fail: | |
3588 | return NULL; | |
3589 | } | |
3590 | ||
3591 | ||
3592 | static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) { | |
3593 | int argc; | |
3594 | PyObject *argv[4]; | |
3595 | int ii; | |
3596 | ||
3597 | argc = PyObject_Length(args); | |
3598 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
3599 | argv[ii] = PyTuple_GetItem(args,ii); | |
3600 | } | |
3601 | if (argc == 2) { | |
3602 | int _v; | |
3603 | { | |
3604 | void *ptr; | |
3605 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { | |
3606 | _v = 0; | |
3607 | PyErr_Clear(); | |
3608 | } else { | |
3609 | _v = 1; | |
3610 | } | |
3611 | } | |
3612 | if (_v) { | |
3613 | { | |
3614 | _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2); | |
3615 | } | |
3616 | if (_v) { | |
3617 | return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args); | |
3618 | } | |
3619 | } | |
3620 | } | |
3621 | if (argc == 3) { | |
3622 | int _v; | |
3623 | { | |
3624 | void *ptr; | |
3625 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { | |
3626 | _v = 0; | |
3627 | PyErr_Clear(); | |
3628 | } else { | |
3629 | _v = 1; | |
3630 | } | |
3631 | } | |
3632 | if (_v) { | |
c370783e | 3633 | _v = SWIG_Check_int(argv[1]); |
d55e5bfc | 3634 | if (_v) { |
c370783e | 3635 | _v = SWIG_Check_int(argv[2]); |
d55e5bfc RD |
3636 | if (_v) { |
3637 | return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args); | |
3638 | } | |
3639 | } | |
3640 | } | |
3641 | } | |
3642 | ||
36ed4f51 | 3643 | PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'"); |
d55e5bfc RD |
3644 | return NULL; |
3645 | } | |
3646 | ||
3647 | ||
c370783e | 3648 | static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *, PyObject *args) { |
d55e5bfc RD |
3649 | PyObject *resultobj; |
3650 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3651 | wxPoint *arg2 = 0 ; | |
3652 | wxPoint result; | |
3653 | wxPoint temp2 ; | |
3654 | PyObject * obj0 = 0 ; | |
3655 | PyObject * obj1 = 0 ; | |
3656 | ||
3657 | if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
3658 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3659 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
3660 | { |
3661 | arg2 = &temp2; | |
3662 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
3663 | } | |
3664 | { | |
3665 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3666 | result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2); | |
3667 | ||
3668 | wxPyEndAllowThreads(__tstate); | |
3669 | if (PyErr_Occurred()) SWIG_fail; | |
3670 | } | |
3671 | { | |
3672 | wxPoint * resultptr; | |
36ed4f51 | 3673 | resultptr = new wxPoint((wxPoint &)(result)); |
d55e5bfc RD |
3674 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
3675 | } | |
3676 | return resultobj; | |
3677 | fail: | |
3678 | return NULL; | |
3679 | } | |
3680 | ||
3681 | ||
c370783e | 3682 | static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *, PyObject *args) { |
d55e5bfc RD |
3683 | PyObject *resultobj; |
3684 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3685 | int arg2 ; | |
3686 | int arg3 ; | |
3687 | int *arg4 = (int *) 0 ; | |
3688 | int *arg5 = (int *) 0 ; | |
3689 | int temp4 ; | |
c370783e | 3690 | int res4 = 0 ; |
d55e5bfc | 3691 | int temp5 ; |
c370783e | 3692 | int res5 = 0 ; |
d55e5bfc RD |
3693 | PyObject * obj0 = 0 ; |
3694 | PyObject * obj1 = 0 ; | |
3695 | PyObject * obj2 = 0 ; | |
3696 | ||
c370783e RD |
3697 | arg4 = &temp4; res4 = SWIG_NEWOBJ; |
3698 | arg5 = &temp5; res5 = SWIG_NEWOBJ; | |
d55e5bfc | 3699 | if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail; |
36ed4f51 RD |
3700 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3701 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3702 | { | |
3703 | arg2 = (int)(SWIG_As_int(obj1)); | |
3704 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3705 | } | |
3706 | { | |
3707 | arg3 = (int)(SWIG_As_int(obj2)); | |
3708 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3709 | } | |
d55e5bfc RD |
3710 | { |
3711 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3712 | ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5); | |
3713 | ||
3714 | wxPyEndAllowThreads(__tstate); | |
3715 | if (PyErr_Occurred()) SWIG_fail; | |
3716 | } | |
3717 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
3718 | resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ? |
3719 | SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0))); | |
3720 | resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ? | |
3721 | SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
3722 | return resultobj; |
3723 | fail: | |
3724 | return NULL; | |
3725 | } | |
3726 | ||
3727 | ||
3728 | static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) { | |
3729 | int argc; | |
3730 | PyObject *argv[4]; | |
3731 | int ii; | |
3732 | ||
3733 | argc = PyObject_Length(args); | |
3734 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
3735 | argv[ii] = PyTuple_GetItem(args,ii); | |
3736 | } | |
3737 | if (argc == 2) { | |
3738 | int _v; | |
3739 | { | |
3740 | void *ptr; | |
3741 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { | |
3742 | _v = 0; | |
3743 | PyErr_Clear(); | |
3744 | } else { | |
3745 | _v = 1; | |
3746 | } | |
3747 | } | |
3748 | if (_v) { | |
3749 | { | |
3750 | _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2); | |
3751 | } | |
3752 | if (_v) { | |
3753 | return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args); | |
3754 | } | |
3755 | } | |
3756 | } | |
3757 | if (argc == 3) { | |
3758 | int _v; | |
3759 | { | |
3760 | void *ptr; | |
3761 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { | |
3762 | _v = 0; | |
3763 | PyErr_Clear(); | |
3764 | } else { | |
3765 | _v = 1; | |
3766 | } | |
3767 | } | |
3768 | if (_v) { | |
c370783e | 3769 | _v = SWIG_Check_int(argv[1]); |
d55e5bfc | 3770 | if (_v) { |
c370783e | 3771 | _v = SWIG_Check_int(argv[2]); |
d55e5bfc RD |
3772 | if (_v) { |
3773 | return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args); | |
3774 | } | |
3775 | } | |
3776 | } | |
3777 | } | |
3778 | ||
36ed4f51 | 3779 | PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'"); |
d55e5bfc RD |
3780 | return NULL; |
3781 | } | |
3782 | ||
3783 | ||
c370783e | 3784 | static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3785 | PyObject *resultobj; |
3786 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3787 | PyObject * obj0 = 0 ; | |
3788 | char *kwnames[] = { | |
3789 | (char *) "self", NULL | |
3790 | }; | |
3791 | ||
3792 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
3793 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3794 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
3795 | { |
3796 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3797 | (arg1)->AdjustScrollbars(); | |
3798 | ||
3799 | wxPyEndAllowThreads(__tstate); | |
3800 | if (PyErr_Occurred()) SWIG_fail; | |
3801 | } | |
3802 | Py_INCREF(Py_None); resultobj = Py_None; | |
3803 | return resultobj; | |
3804 | fail: | |
3805 | return NULL; | |
3806 | } | |
3807 | ||
3808 | ||
c370783e | 3809 | static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3810 | PyObject *resultobj; |
3811 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3812 | wxScrollWinEvent *arg2 = 0 ; | |
3813 | int result; | |
3814 | PyObject * obj0 = 0 ; | |
3815 | PyObject * obj1 = 0 ; | |
3816 | char *kwnames[] = { | |
3817 | (char *) "self",(char *) "event", NULL | |
3818 | }; | |
3819 | ||
3820 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
3821 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3822 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3823 | { | |
3824 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxScrollWinEvent, SWIG_POINTER_EXCEPTION | 0); | |
3825 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3826 | if (arg2 == NULL) { | |
3827 | SWIG_null_ref("wxScrollWinEvent"); | |
3828 | } | |
3829 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
3830 | } |
3831 | { | |
3832 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3833 | result = (int)(arg1)->CalcScrollInc(*arg2); | |
3834 | ||
3835 | wxPyEndAllowThreads(__tstate); | |
3836 | if (PyErr_Occurred()) SWIG_fail; | |
3837 | } | |
36ed4f51 RD |
3838 | { |
3839 | resultobj = SWIG_From_int((int)(result)); | |
3840 | } | |
d55e5bfc RD |
3841 | return resultobj; |
3842 | fail: | |
3843 | return NULL; | |
3844 | } | |
3845 | ||
3846 | ||
c370783e | 3847 | static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3848 | PyObject *resultobj; |
3849 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3850 | wxWindow *arg2 = (wxWindow *) 0 ; | |
3851 | PyObject * obj0 = 0 ; | |
3852 | PyObject * obj1 = 0 ; | |
3853 | char *kwnames[] = { | |
3854 | (char *) "self",(char *) "target", NULL | |
3855 | }; | |
3856 | ||
3857 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
3858 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3859 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3860 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
3861 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
3862 | { |
3863 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3864 | (arg1)->SetTargetWindow(arg2); | |
3865 | ||
3866 | wxPyEndAllowThreads(__tstate); | |
3867 | if (PyErr_Occurred()) SWIG_fail; | |
3868 | } | |
3869 | Py_INCREF(Py_None); resultobj = Py_None; | |
3870 | return resultobj; | |
3871 | fail: | |
3872 | return NULL; | |
3873 | } | |
3874 | ||
3875 | ||
c370783e | 3876 | static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3877 | PyObject *resultobj; |
3878 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3879 | wxWindow *result; | |
3880 | PyObject * obj0 = 0 ; | |
3881 | char *kwnames[] = { | |
3882 | (char *) "self", NULL | |
3883 | }; | |
3884 | ||
3885 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
3886 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3887 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
3888 | { |
3889 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3890 | result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow(); | |
3891 | ||
3892 | wxPyEndAllowThreads(__tstate); | |
3893 | if (PyErr_Occurred()) SWIG_fail; | |
3894 | } | |
3895 | { | |
412d302d | 3896 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
3897 | } |
3898 | return resultobj; | |
3899 | fail: | |
3900 | return NULL; | |
3901 | } | |
3902 | ||
3903 | ||
c370783e | 3904 | static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3905 | PyObject *resultobj; |
3906 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3907 | wxRect *arg2 = 0 ; | |
3908 | wxRect temp2 ; | |
3909 | PyObject * obj0 = 0 ; | |
3910 | PyObject * obj1 = 0 ; | |
3911 | char *kwnames[] = { | |
3912 | (char *) "self",(char *) "rect", NULL | |
3913 | }; | |
3914 | ||
3915 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
3916 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3917 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
3918 | { |
3919 | arg2 = &temp2; | |
3920 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
3921 | } | |
3922 | { | |
3923 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3924 | (arg1)->SetTargetRect((wxRect const &)*arg2); | |
3925 | ||
3926 | wxPyEndAllowThreads(__tstate); | |
3927 | if (PyErr_Occurred()) SWIG_fail; | |
3928 | } | |
3929 | Py_INCREF(Py_None); resultobj = Py_None; | |
3930 | return resultobj; | |
3931 | fail: | |
3932 | return NULL; | |
3933 | } | |
3934 | ||
3935 | ||
c370783e | 3936 | static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3937 | PyObject *resultobj; |
3938 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3939 | wxRect result; | |
3940 | PyObject * obj0 = 0 ; | |
3941 | char *kwnames[] = { | |
3942 | (char *) "self", NULL | |
3943 | }; | |
3944 | ||
3945 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
3946 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3947 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
3948 | { |
3949 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3950 | result = ((wxScrolledWindow const *)arg1)->GetTargetRect(); | |
3951 | ||
3952 | wxPyEndAllowThreads(__tstate); | |
3953 | if (PyErr_Occurred()) SWIG_fail; | |
3954 | } | |
3955 | { | |
3956 | wxRect * resultptr; | |
36ed4f51 | 3957 | resultptr = new wxRect((wxRect &)(result)); |
d55e5bfc RD |
3958 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); |
3959 | } | |
3960 | return resultobj; | |
3961 | fail: | |
3962 | return NULL; | |
3963 | } | |
3964 | ||
3965 | ||
c370783e | 3966 | static PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *, PyObject *args, PyObject *kwargs) { |
f5b96ee1 RD |
3967 | PyObject *resultobj; |
3968 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3969 | wxDC *arg2 = 0 ; | |
3970 | PyObject * obj0 = 0 ; | |
3971 | PyObject * obj1 = 0 ; | |
3972 | char *kwnames[] = { | |
3973 | (char *) "self",(char *) "dc", NULL | |
3974 | }; | |
3975 | ||
3976 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
3977 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3978 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3979 | { | |
3980 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); | |
3981 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3982 | if (arg2 == NULL) { | |
3983 | SWIG_null_ref("wxDC"); | |
3984 | } | |
3985 | if (SWIG_arg_fail(2)) SWIG_fail; | |
f5b96ee1 RD |
3986 | } |
3987 | { | |
3988 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3989 | (arg1)->DoPrepareDC(*arg2); | |
3990 | ||
3991 | wxPyEndAllowThreads(__tstate); | |
3992 | if (PyErr_Occurred()) SWIG_fail; | |
3993 | } | |
3994 | Py_INCREF(Py_None); resultobj = Py_None; | |
3995 | return resultobj; | |
3996 | fail: | |
3997 | return NULL; | |
3998 | } | |
3999 | ||
4000 | ||
c370783e | 4001 | static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
f20a2e1f | 4002 | PyObject *resultobj; |
36ed4f51 | 4003 | wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; |
f20a2e1f RD |
4004 | wxVisualAttributes result; |
4005 | PyObject * obj0 = 0 ; | |
4006 | char *kwnames[] = { | |
4007 | (char *) "variant", NULL | |
4008 | }; | |
4009 | ||
4010 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
4011 | if (obj0) { | |
36ed4f51 RD |
4012 | { |
4013 | arg1 = (wxWindowVariant)(SWIG_As_int(obj0)); | |
4014 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4015 | } | |
f20a2e1f RD |
4016 | } |
4017 | { | |
0439c23b | 4018 | if (!wxPyCheckForApp()) SWIG_fail; |
f20a2e1f RD |
4019 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
4020 | result = wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant )arg1); | |
4021 | ||
4022 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 4023 | if (PyErr_Occurred()) SWIG_fail; |
f20a2e1f RD |
4024 | } |
4025 | { | |
4026 | wxVisualAttributes * resultptr; | |
36ed4f51 | 4027 | resultptr = new wxVisualAttributes((wxVisualAttributes &)(result)); |
f20a2e1f RD |
4028 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); |
4029 | } | |
4030 | return resultobj; | |
4031 | fail: | |
4032 | return NULL; | |
4033 | } | |
4034 | ||
4035 | ||
c370783e | 4036 | static PyObject * ScrolledWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
4037 | PyObject *obj; |
4038 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4039 | SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj); | |
4040 | Py_INCREF(obj); | |
4041 | return Py_BuildValue((char *)""); | |
4042 | } | |
c370783e | 4043 | static int _wrap_FrameNameStr_set(PyObject *) { |
d55e5bfc RD |
4044 | PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only."); |
4045 | return 1; | |
4046 | } | |
4047 | ||
4048 | ||
36ed4f51 | 4049 | static PyObject *_wrap_FrameNameStr_get(void) { |
d55e5bfc RD |
4050 | PyObject *pyobj; |
4051 | ||
4052 | { | |
4053 | #if wxUSE_UNICODE | |
4054 | pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len()); | |
4055 | #else | |
4056 | pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len()); | |
4057 | #endif | |
4058 | } | |
4059 | return pyobj; | |
4060 | } | |
4061 | ||
4062 | ||
c370783e | 4063 | static int _wrap_DialogNameStr_set(PyObject *) { |
d55e5bfc RD |
4064 | PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only."); |
4065 | return 1; | |
4066 | } | |
4067 | ||
4068 | ||
36ed4f51 | 4069 | static PyObject *_wrap_DialogNameStr_get(void) { |
d55e5bfc RD |
4070 | PyObject *pyobj; |
4071 | ||
4072 | { | |
4073 | #if wxUSE_UNICODE | |
4074 | pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len()); | |
4075 | #else | |
4076 | pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len()); | |
4077 | #endif | |
4078 | } | |
4079 | return pyobj; | |
4080 | } | |
4081 | ||
4082 | ||
c370783e | 4083 | static int _wrap_StatusLineNameStr_set(PyObject *) { |
d55e5bfc RD |
4084 | PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only."); |
4085 | return 1; | |
4086 | } | |
4087 | ||
4088 | ||
36ed4f51 | 4089 | static PyObject *_wrap_StatusLineNameStr_get(void) { |
d55e5bfc RD |
4090 | PyObject *pyobj; |
4091 | ||
4092 | { | |
4093 | #if wxUSE_UNICODE | |
4094 | pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len()); | |
4095 | #else | |
4096 | pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len()); | |
4097 | #endif | |
4098 | } | |
4099 | return pyobj; | |
4100 | } | |
4101 | ||
4102 | ||
c370783e | 4103 | static int _wrap_ToolBarNameStr_set(PyObject *) { |
d55e5bfc RD |
4104 | PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only."); |
4105 | return 1; | |
4106 | } | |
4107 | ||
4108 | ||
36ed4f51 | 4109 | static PyObject *_wrap_ToolBarNameStr_get(void) { |
d55e5bfc RD |
4110 | PyObject *pyobj; |
4111 | ||
4112 | { | |
4113 | #if wxUSE_UNICODE | |
4114 | pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len()); | |
4115 | #else | |
4116 | pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len()); | |
4117 | #endif | |
4118 | } | |
4119 | return pyobj; | |
4120 | } | |
4121 | ||
4122 | ||
c370783e | 4123 | static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4124 | PyObject *resultobj; |
4125 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
b411df4a | 4126 | bool arg2 = (bool) true ; |
d55e5bfc RD |
4127 | PyObject * obj0 = 0 ; |
4128 | PyObject * obj1 = 0 ; | |
4129 | char *kwnames[] = { | |
4130 | (char *) "self",(char *) "maximize", NULL | |
4131 | }; | |
4132 | ||
4133 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
4134 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4135 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 4136 | if (obj1) { |
36ed4f51 RD |
4137 | { |
4138 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
4139 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4140 | } | |
d55e5bfc RD |
4141 | } |
4142 | { | |
4143 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4144 | (arg1)->Maximize(arg2); | |
4145 | ||
4146 | wxPyEndAllowThreads(__tstate); | |
4147 | if (PyErr_Occurred()) SWIG_fail; | |
4148 | } | |
4149 | Py_INCREF(Py_None); resultobj = Py_None; | |
4150 | return resultobj; | |
4151 | fail: | |
4152 | return NULL; | |
4153 | } | |
4154 | ||
4155 | ||
c370783e | 4156 | static PyObject *_wrap_TopLevelWindow_Restore(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4157 | PyObject *resultobj; |
4158 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
4159 | PyObject * obj0 = 0 ; | |
4160 | char *kwnames[] = { | |
4161 | (char *) "self", NULL | |
4162 | }; | |
4163 | ||
4164 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
4165 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4166 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
4167 | { |
4168 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4169 | (arg1)->Restore(); | |
4170 | ||
4171 | wxPyEndAllowThreads(__tstate); | |
4172 | if (PyErr_Occurred()) SWIG_fail; | |
4173 | } | |
4174 | Py_INCREF(Py_None); resultobj = Py_None; | |
4175 | return resultobj; | |
4176 | fail: | |
4177 | return NULL; | |
4178 | } | |
4179 | ||
4180 | ||
c370783e | 4181 | static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4182 | PyObject *resultobj; |
4183 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
b411df4a | 4184 | bool arg2 = (bool) true ; |
d55e5bfc RD |
4185 | PyObject * obj0 = 0 ; |
4186 | PyObject * obj1 = 0 ; | |
4187 | char *kwnames[] = { | |
4188 | (char *) "self",(char *) "iconize", NULL | |
4189 | }; | |
4190 | ||
4191 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
4192 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4193 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 4194 | if (obj1) { |
36ed4f51 RD |
4195 | { |
4196 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
4197 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4198 | } | |
d55e5bfc RD |
4199 | } |
4200 | { | |
4201 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4202 | (arg1)->Iconize(arg2); | |
4203 | ||
4204 | wxPyEndAllowThreads(__tstate); | |
4205 | if (PyErr_Occurred()) SWIG_fail; | |
4206 | } | |
4207 | Py_INCREF(Py_None); resultobj = Py_None; | |
4208 | return resultobj; | |
4209 | fail: | |
4210 | return NULL; | |
4211 | } | |
4212 | ||
4213 | ||
c370783e | 4214 | static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4215 | PyObject *resultobj; |
4216 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
4217 | bool result; | |
4218 | PyObject * obj0 = 0 ; | |
4219 | char *kwnames[] = { | |
4220 | (char *) "self", NULL | |
4221 | }; | |
4222 | ||
4223 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
4224 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4225 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
4226 | { |
4227 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4228 | result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized(); | |
4229 | ||
4230 | wxPyEndAllowThreads(__tstate); | |
4231 | if (PyErr_Occurred()) SWIG_fail; | |
4232 | } | |
4233 | { | |
4234 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4235 | } | |
4236 | return resultobj; | |
4237 | fail: | |
4238 | return NULL; | |
4239 | } | |
4240 | ||
4241 | ||
c370783e | 4242 | static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4243 | PyObject *resultobj; |
4244 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
4245 | bool result; | |
4246 | PyObject * obj0 = 0 ; | |
4247 | char *kwnames[] = { | |
4248 | (char *) "self", NULL | |
4249 | }; | |
4250 | ||
4251 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
4252 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4253 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
4254 | { |
4255 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4256 | result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized(); | |
4257 | ||
4258 | wxPyEndAllowThreads(__tstate); | |
4259 | if (PyErr_Occurred()) SWIG_fail; | |
4260 | } | |
4261 | { | |
4262 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4263 | } | |
4264 | return resultobj; | |
4265 | fail: | |
4266 | return NULL; | |
4267 | } | |
4268 | ||
4269 | ||
c370783e | 4270 | static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4271 | PyObject *resultobj; |
4272 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
4273 | wxIcon result; | |
4274 | PyObject * obj0 = 0 ; | |
4275 | char *kwnames[] = { | |
4276 | (char *) "self", NULL | |
4277 | }; | |
4278 | ||
4279 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
4280 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4281 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
4282 | { |
4283 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4284 | result = ((wxTopLevelWindow const *)arg1)->GetIcon(); | |
4285 | ||
4286 | wxPyEndAllowThreads(__tstate); | |
4287 | if (PyErr_Occurred()) SWIG_fail; | |
4288 | } | |
4289 | { | |
4290 | wxIcon * resultptr; | |
36ed4f51 | 4291 | resultptr = new wxIcon((wxIcon &)(result)); |
d55e5bfc RD |
4292 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1); |
4293 | } | |
4294 | return resultobj; | |
4295 | fail: | |
4296 | return NULL; | |
4297 | } | |
4298 | ||
4299 | ||
c370783e | 4300 | static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4301 | PyObject *resultobj; |
4302 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
4303 | wxIcon *arg2 = 0 ; | |
4304 | PyObject * obj0 = 0 ; | |
4305 | PyObject * obj1 = 0 ; | |
4306 | char *kwnames[] = { | |
4307 | (char *) "self",(char *) "icon", NULL | |
4308 | }; | |
4309 | ||
4310 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
4311 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4312 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4313 | { | |
4314 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0); | |
4315 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4316 | if (arg2 == NULL) { | |
4317 | SWIG_null_ref("wxIcon"); | |
4318 | } | |
4319 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
4320 | } |
4321 | { | |
4322 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4323 | (arg1)->SetIcon((wxIcon const &)*arg2); | |
4324 | ||
4325 | wxPyEndAllowThreads(__tstate); | |
4326 | if (PyErr_Occurred()) SWIG_fail; | |
4327 | } | |
4328 | Py_INCREF(Py_None); resultobj = Py_None; | |
4329 | return resultobj; | |
4330 | fail: | |
4331 | return NULL; | |
4332 | } | |
4333 | ||
4334 | ||
c370783e | 4335 | static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4336 | PyObject *resultobj; |
4337 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
4338 | wxIconBundle *arg2 = 0 ; | |
4339 | PyObject * obj0 = 0 ; | |
4340 | PyObject * obj1 = 0 ; | |
4341 | char *kwnames[] = { | |
4342 | (char *) "self",(char *) "icons", NULL | |
4343 | }; | |
4344 | ||
4345 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
4346 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4347 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4348 | { | |
4349 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIconBundle, SWIG_POINTER_EXCEPTION | 0); | |
4350 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4351 | if (arg2 == NULL) { | |
4352 | SWIG_null_ref("wxIconBundle"); | |
4353 | } | |
4354 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
4355 | } |
4356 | { | |
4357 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4358 | (arg1)->SetIcons((wxIconBundle const &)*arg2); | |
4359 | ||
4360 | wxPyEndAllowThreads(__tstate); | |
4361 | if (PyErr_Occurred()) SWIG_fail; | |
4362 | } | |
4363 | Py_INCREF(Py_None); resultobj = Py_None; | |
4364 | return resultobj; | |
4365 | fail: | |
4366 | return NULL; | |
4367 | } | |
4368 | ||
4369 | ||
c370783e | 4370 | static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4371 | PyObject *resultobj; |
4372 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
4373 | bool arg2 ; | |
4374 | long arg3 = (long) wxFULLSCREEN_ALL ; | |
4375 | bool result; | |
4376 | PyObject * obj0 = 0 ; | |
4377 | PyObject * obj1 = 0 ; | |
4378 | PyObject * obj2 = 0 ; | |
4379 | char *kwnames[] = { | |
4380 | (char *) "self",(char *) "show",(char *) "style", NULL | |
4381 | }; | |
4382 | ||
4383 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
4384 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4385 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4386 | { | |
4387 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
4388 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4389 | } | |
d55e5bfc | 4390 | if (obj2) { |
36ed4f51 RD |
4391 | { |
4392 | arg3 = (long)(SWIG_As_long(obj2)); | |
4393 | if (SWIG_arg_fail(3)) SWIG_fail; | |
4394 | } | |
d55e5bfc RD |
4395 | } |
4396 | { | |
4397 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4398 | result = (bool)(arg1)->ShowFullScreen(arg2,arg3); | |
4399 | ||
4400 | wxPyEndAllowThreads(__tstate); | |
4401 | if (PyErr_Occurred()) SWIG_fail; | |
4402 | } | |
4403 | { | |
4404 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4405 | } | |
4406 | return resultobj; | |
4407 | fail: | |
4408 | return NULL; | |
4409 | } | |
4410 | ||
4411 | ||
c370783e | 4412 | static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4413 | PyObject *resultobj; |
4414 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
4415 | bool result; | |
4416 | PyObject * obj0 = 0 ; | |
4417 | char *kwnames[] = { | |
4418 | (char *) "self", NULL | |
4419 | }; | |
4420 | ||
4421 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
4422 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4423 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
4424 | { |
4425 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4426 | result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen(); | |
4427 | ||
4428 | wxPyEndAllowThreads(__tstate); | |
4429 | if (PyErr_Occurred()) SWIG_fail; | |
4430 | } | |
4431 | { | |
4432 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4433 | } | |
4434 | return resultobj; | |
4435 | fail: | |
4436 | return NULL; | |
4437 | } | |
4438 | ||
4439 | ||
c370783e | 4440 | static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4441 | PyObject *resultobj; |
4442 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
4443 | wxString *arg2 = 0 ; | |
b411df4a | 4444 | bool temp2 = false ; |
d55e5bfc RD |
4445 | PyObject * obj0 = 0 ; |
4446 | PyObject * obj1 = 0 ; | |
4447 | char *kwnames[] = { | |
4448 | (char *) "self",(char *) "title", NULL | |
4449 | }; | |
4450 | ||
4451 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
4452 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4453 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
4454 | { |
4455 | arg2 = wxString_in_helper(obj1); | |
4456 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 4457 | temp2 = true; |
d55e5bfc RD |
4458 | } |
4459 | { | |
4460 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4461 | (arg1)->SetTitle((wxString const &)*arg2); | |
4462 | ||
4463 | wxPyEndAllowThreads(__tstate); | |
4464 | if (PyErr_Occurred()) SWIG_fail; | |
4465 | } | |
4466 | Py_INCREF(Py_None); resultobj = Py_None; | |
4467 | { | |
4468 | if (temp2) | |
4469 | delete arg2; | |
4470 | } | |
4471 | return resultobj; | |
4472 | fail: | |
4473 | { | |
4474 | if (temp2) | |
4475 | delete arg2; | |
4476 | } | |
4477 | return NULL; | |
4478 | } | |
4479 | ||
4480 | ||
c370783e | 4481 | static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4482 | PyObject *resultobj; |
4483 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
4484 | wxString result; | |
4485 | PyObject * obj0 = 0 ; | |
4486 | char *kwnames[] = { | |
4487 | (char *) "self", NULL | |
4488 | }; | |
4489 | ||
4490 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
4491 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4492 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
4493 | { |
4494 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4495 | result = ((wxTopLevelWindow const *)arg1)->GetTitle(); | |
4496 | ||
4497 | wxPyEndAllowThreads(__tstate); | |
4498 | if (PyErr_Occurred()) SWIG_fail; | |
4499 | } | |
4500 | { | |
4501 | #if wxUSE_UNICODE | |
4502 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
4503 | #else | |
4504 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
4505 | #endif | |
4506 | } | |
4507 | return resultobj; | |
4508 | fail: | |
4509 | return NULL; | |
4510 | } | |
4511 | ||
4512 | ||
c370783e | 4513 | static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4514 | PyObject *resultobj; |
4515 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
4516 | wxRegion *arg2 = 0 ; | |
4517 | bool result; | |
4518 | PyObject * obj0 = 0 ; | |
4519 | PyObject * obj1 = 0 ; | |
4520 | char *kwnames[] = { | |
4521 | (char *) "self",(char *) "region", NULL | |
4522 | }; | |
4523 | ||
4524 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
4525 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4526 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4527 | { | |
4528 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0); | |
4529 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4530 | if (arg2 == NULL) { | |
4531 | SWIG_null_ref("wxRegion"); | |
4532 | } | |
4533 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
4534 | } |
4535 | { | |
4536 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4537 | result = (bool)(arg1)->SetShape((wxRegion const &)*arg2); | |
4538 | ||
4539 | wxPyEndAllowThreads(__tstate); | |
4540 | if (PyErr_Occurred()) SWIG_fail; | |
4541 | } | |
4542 | { | |
4543 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4544 | } | |
4545 | return resultobj; | |
4546 | fail: | |
4547 | return NULL; | |
4548 | } | |
4549 | ||
4550 | ||
c370783e RD |
4551 | static PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *, PyObject *args, PyObject *kwargs) { |
4552 | PyObject *resultobj; | |
4553 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
4554 | int arg2 = (int) wxUSER_ATTENTION_INFO ; | |
4555 | PyObject * obj0 = 0 ; | |
4556 | PyObject * obj1 = 0 ; | |
4557 | char *kwnames[] = { | |
4558 | (char *) "self",(char *) "flags", NULL | |
4559 | }; | |
4560 | ||
4561 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
4562 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4563 | if (SWIG_arg_fail(1)) SWIG_fail; | |
c370783e | 4564 | if (obj1) { |
36ed4f51 RD |
4565 | { |
4566 | arg2 = (int)(SWIG_As_int(obj1)); | |
4567 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4568 | } | |
c370783e RD |
4569 | } |
4570 | { | |
4571 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4572 | (arg1)->RequestUserAttention(arg2); | |
4573 | ||
4574 | wxPyEndAllowThreads(__tstate); | |
4575 | if (PyErr_Occurred()) SWIG_fail; | |
4576 | } | |
4577 | Py_INCREF(Py_None); resultobj = Py_None; | |
4578 | return resultobj; | |
4579 | fail: | |
4580 | return NULL; | |
4581 | } | |
4582 | ||
4583 | ||
5e483524 RD |
4584 | static PyObject *_wrap_TopLevelWindow_IsActive(PyObject *, PyObject *args, PyObject *kwargs) { |
4585 | PyObject *resultobj; | |
4586 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
4587 | bool result; | |
4588 | PyObject * obj0 = 0 ; | |
4589 | char *kwnames[] = { | |
4590 | (char *) "self", NULL | |
4591 | }; | |
4592 | ||
4593 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsActive",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
4594 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4595 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5e483524 RD |
4596 | { |
4597 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4598 | result = (bool)(arg1)->IsActive(); | |
4599 | ||
4600 | wxPyEndAllowThreads(__tstate); | |
4601 | if (PyErr_Occurred()) SWIG_fail; | |
4602 | } | |
4603 | { | |
4604 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4605 | } | |
4606 | return resultobj; | |
4607 | fail: | |
4608 | return NULL; | |
4609 | } | |
4610 | ||
4611 | ||
c370783e | 4612 | static PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4613 | PyObject *resultobj; |
4614 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
4615 | bool arg2 ; | |
4616 | PyObject * obj0 = 0 ; | |
4617 | PyObject * obj1 = 0 ; | |
4618 | char *kwnames[] = { | |
4619 | (char *) "self",(char *) "on", NULL | |
4620 | }; | |
4621 | ||
4622 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
4623 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4624 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4625 | { | |
4626 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
4627 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4628 | } | |
d55e5bfc RD |
4629 | { |
4630 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4631 | (arg1)->MacSetMetalAppearance(arg2); | |
4632 | ||
4633 | wxPyEndAllowThreads(__tstate); | |
4634 | if (PyErr_Occurred()) SWIG_fail; | |
4635 | } | |
4636 | Py_INCREF(Py_None); resultobj = Py_None; | |
4637 | return resultobj; | |
4638 | fail: | |
4639 | return NULL; | |
4640 | } | |
4641 | ||
4642 | ||
c370783e | 4643 | static PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4644 | PyObject *resultobj; |
4645 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
4646 | bool result; | |
4647 | PyObject * obj0 = 0 ; | |
4648 | char *kwnames[] = { | |
4649 | (char *) "self", NULL | |
4650 | }; | |
4651 | ||
4652 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
4653 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4654 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
4655 | { |
4656 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4657 | result = (bool)((wxTopLevelWindow const *)arg1)->MacGetMetalAppearance(); | |
4658 | ||
4659 | wxPyEndAllowThreads(__tstate); | |
4660 | if (PyErr_Occurred()) SWIG_fail; | |
4661 | } | |
4662 | { | |
4663 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4664 | } | |
4665 | return resultobj; | |
4666 | fail: | |
4667 | return NULL; | |
4668 | } | |
4669 | ||
4670 | ||
c370783e | 4671 | static PyObject * TopLevelWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
4672 | PyObject *obj; |
4673 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4674 | SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj); | |
4675 | Py_INCREF(obj); | |
4676 | return Py_BuildValue((char *)""); | |
4677 | } | |
c370783e | 4678 | static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4679 | PyObject *resultobj; |
4680 | wxWindow *arg1 = (wxWindow *) 0 ; | |
bfddbb17 RD |
4681 | int arg2 = (int) (int)-1 ; |
4682 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
4683 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
d55e5bfc RD |
4684 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
4685 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
4686 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
4687 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
4688 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
4689 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
4690 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
4691 | wxFrame *result; | |
b411df4a | 4692 | bool temp3 = false ; |
d55e5bfc RD |
4693 | wxPoint temp4 ; |
4694 | wxSize temp5 ; | |
b411df4a | 4695 | bool temp7 = false ; |
d55e5bfc RD |
4696 | PyObject * obj0 = 0 ; |
4697 | PyObject * obj1 = 0 ; | |
4698 | PyObject * obj2 = 0 ; | |
4699 | PyObject * obj3 = 0 ; | |
4700 | PyObject * obj4 = 0 ; | |
4701 | PyObject * obj5 = 0 ; | |
4702 | PyObject * obj6 = 0 ; | |
4703 | char *kwnames[] = { | |
4704 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
4705 | }; | |
4706 | ||
bfddbb17 | 4707 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
36ed4f51 RD |
4708 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
4709 | if (SWIG_arg_fail(1)) SWIG_fail; | |
bfddbb17 | 4710 | if (obj1) { |
36ed4f51 RD |
4711 | { |
4712 | arg2 = (int const)(SWIG_As_int(obj1)); | |
4713 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4714 | } | |
bfddbb17 RD |
4715 | } |
4716 | if (obj2) { | |
4717 | { | |
4718 | arg3 = wxString_in_helper(obj2); | |
4719 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 4720 | temp3 = true; |
bfddbb17 | 4721 | } |
d55e5bfc RD |
4722 | } |
4723 | if (obj3) { | |
4724 | { | |
4725 | arg4 = &temp4; | |
4726 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
4727 | } | |
4728 | } | |
4729 | if (obj4) { | |
4730 | { | |
4731 | arg5 = &temp5; | |
4732 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
4733 | } | |
4734 | } | |
4735 | if (obj5) { | |
36ed4f51 RD |
4736 | { |
4737 | arg6 = (long)(SWIG_As_long(obj5)); | |
4738 | if (SWIG_arg_fail(6)) SWIG_fail; | |
4739 | } | |
d55e5bfc RD |
4740 | } |
4741 | if (obj6) { | |
4742 | { | |
4743 | arg7 = wxString_in_helper(obj6); | |
4744 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 4745 | temp7 = true; |
d55e5bfc RD |
4746 | } |
4747 | } | |
4748 | { | |
0439c23b | 4749 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
4750 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
4751 | result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
4752 | ||
4753 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 4754 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 4755 | } |
b0f7404b | 4756 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1); |
d55e5bfc RD |
4757 | { |
4758 | if (temp3) | |
4759 | delete arg3; | |
4760 | } | |
4761 | { | |
4762 | if (temp7) | |
4763 | delete arg7; | |
4764 | } | |
4765 | return resultobj; | |
4766 | fail: | |
4767 | { | |
4768 | if (temp3) | |
4769 | delete arg3; | |
4770 | } | |
4771 | { | |
4772 | if (temp7) | |
4773 | delete arg7; | |
4774 | } | |
4775 | return NULL; | |
4776 | } | |
4777 | ||
4778 | ||
c370783e | 4779 | static PyObject *_wrap_new_PreFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4780 | PyObject *resultobj; |
4781 | wxFrame *result; | |
4782 | char *kwnames[] = { | |
4783 | NULL | |
4784 | }; | |
4785 | ||
4786 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail; | |
4787 | { | |
0439c23b | 4788 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
4789 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
4790 | result = (wxFrame *)new wxFrame(); | |
4791 | ||
4792 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 4793 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 4794 | } |
b0f7404b | 4795 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1); |
d55e5bfc RD |
4796 | return resultobj; |
4797 | fail: | |
4798 | return NULL; | |
4799 | } | |
4800 | ||
4801 | ||
c370783e | 4802 | static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4803 | PyObject *resultobj; |
4804 | wxFrame *arg1 = (wxFrame *) 0 ; | |
4805 | wxWindow *arg2 = (wxWindow *) 0 ; | |
bfddbb17 RD |
4806 | int arg3 = (int) (int)-1 ; |
4807 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
4808 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
d55e5bfc RD |
4809 | wxPoint const &arg5_defvalue = wxDefaultPosition ; |
4810 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
4811 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
4812 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
4813 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
4814 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
4815 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
4816 | bool result; | |
b411df4a | 4817 | bool temp4 = false ; |
d55e5bfc RD |
4818 | wxPoint temp5 ; |
4819 | wxSize temp6 ; | |
b411df4a | 4820 | bool temp8 = false ; |
d55e5bfc RD |
4821 | PyObject * obj0 = 0 ; |
4822 | PyObject * obj1 = 0 ; | |
4823 | PyObject * obj2 = 0 ; | |
4824 | PyObject * obj3 = 0 ; | |
4825 | PyObject * obj4 = 0 ; | |
4826 | PyObject * obj5 = 0 ; | |
4827 | PyObject * obj6 = 0 ; | |
4828 | PyObject * obj7 = 0 ; | |
4829 | char *kwnames[] = { | |
4830 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
4831 | }; | |
4832 | ||
bfddbb17 | 4833 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
36ed4f51 RD |
4834 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
4835 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4836 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
4837 | if (SWIG_arg_fail(2)) SWIG_fail; | |
bfddbb17 | 4838 | if (obj2) { |
36ed4f51 RD |
4839 | { |
4840 | arg3 = (int const)(SWIG_As_int(obj2)); | |
4841 | if (SWIG_arg_fail(3)) SWIG_fail; | |
4842 | } | |
bfddbb17 RD |
4843 | } |
4844 | if (obj3) { | |
4845 | { | |
4846 | arg4 = wxString_in_helper(obj3); | |
4847 | if (arg4 == NULL) SWIG_fail; | |
b411df4a | 4848 | temp4 = true; |
bfddbb17 | 4849 | } |
d55e5bfc RD |
4850 | } |
4851 | if (obj4) { | |
4852 | { | |
4853 | arg5 = &temp5; | |
4854 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
4855 | } | |
4856 | } | |
4857 | if (obj5) { | |
4858 | { | |
4859 | arg6 = &temp6; | |
4860 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
4861 | } | |
4862 | } | |
4863 | if (obj6) { | |
36ed4f51 RD |
4864 | { |
4865 | arg7 = (long)(SWIG_As_long(obj6)); | |
4866 | if (SWIG_arg_fail(7)) SWIG_fail; | |
4867 | } | |
d55e5bfc RD |
4868 | } |
4869 | if (obj7) { | |
4870 | { | |
4871 | arg8 = wxString_in_helper(obj7); | |
4872 | if (arg8 == NULL) SWIG_fail; | |
b411df4a | 4873 | temp8 = true; |
d55e5bfc RD |
4874 | } |
4875 | } | |
4876 | { | |
4877 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4878 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
4879 | ||
4880 | wxPyEndAllowThreads(__tstate); | |
4881 | if (PyErr_Occurred()) SWIG_fail; | |
4882 | } | |
4883 | { | |
4884 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4885 | } | |
4886 | { | |
4887 | if (temp4) | |
4888 | delete arg4; | |
4889 | } | |
4890 | { | |
4891 | if (temp8) | |
4892 | delete arg8; | |
4893 | } | |
4894 | return resultobj; | |
4895 | fail: | |
4896 | { | |
4897 | if (temp4) | |
4898 | delete arg4; | |
4899 | } | |
4900 | { | |
4901 | if (temp8) | |
4902 | delete arg8; | |
4903 | } | |
4904 | return NULL; | |
4905 | } | |
4906 | ||
4907 | ||
c370783e | 4908 | static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4909 | PyObject *resultobj; |
4910 | wxFrame *arg1 = (wxFrame *) 0 ; | |
4911 | wxPoint result; | |
4912 | PyObject * obj0 = 0 ; | |
4913 | char *kwnames[] = { | |
4914 | (char *) "self", NULL | |
4915 | }; | |
4916 | ||
4917 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
4918 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
4919 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
4920 | { |
4921 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4922 | result = ((wxFrame const *)arg1)->GetClientAreaOrigin(); | |
4923 | ||
4924 | wxPyEndAllowThreads(__tstate); | |
4925 | if (PyErr_Occurred()) SWIG_fail; | |
4926 | } | |
4927 | { | |
4928 | wxPoint * resultptr; | |
36ed4f51 | 4929 | resultptr = new wxPoint((wxPoint &)(result)); |
d55e5bfc RD |
4930 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
4931 | } | |
4932 | return resultobj; | |
4933 | fail: | |
4934 | return NULL; | |
4935 | } | |
4936 | ||
4937 | ||
c370783e | 4938 | static PyObject *_wrap_Frame_SendSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4939 | PyObject *resultobj; |
4940 | wxFrame *arg1 = (wxFrame *) 0 ; | |
4941 | PyObject * obj0 = 0 ; | |
4942 | char *kwnames[] = { | |
4943 | (char *) "self", NULL | |
4944 | }; | |
4945 | ||
4946 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
4947 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
4948 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
4949 | { |
4950 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4951 | (arg1)->SendSizeEvent(); | |
4952 | ||
4953 | wxPyEndAllowThreads(__tstate); | |
4954 | if (PyErr_Occurred()) SWIG_fail; | |
4955 | } | |
4956 | Py_INCREF(Py_None); resultobj = Py_None; | |
4957 | return resultobj; | |
4958 | fail: | |
4959 | return NULL; | |
4960 | } | |
4961 | ||
4962 | ||
c370783e | 4963 | static PyObject *_wrap_Frame_SetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4964 | PyObject *resultobj; |
4965 | wxFrame *arg1 = (wxFrame *) 0 ; | |
4966 | wxMenuBar *arg2 = (wxMenuBar *) 0 ; | |
4967 | PyObject * obj0 = 0 ; | |
4968 | PyObject * obj1 = 0 ; | |
4969 | char *kwnames[] = { | |
4970 | (char *) "self",(char *) "menubar", NULL | |
4971 | }; | |
4972 | ||
4973 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
4974 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
4975 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4976 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); | |
4977 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
4978 | { |
4979 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4980 | (arg1)->SetMenuBar(arg2); | |
4981 | ||
4982 | wxPyEndAllowThreads(__tstate); | |
4983 | if (PyErr_Occurred()) SWIG_fail; | |
4984 | } | |
4985 | Py_INCREF(Py_None); resultobj = Py_None; | |
4986 | return resultobj; | |
4987 | fail: | |
4988 | return NULL; | |
4989 | } | |
4990 | ||
4991 | ||
c370783e | 4992 | static PyObject *_wrap_Frame_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4993 | PyObject *resultobj; |
4994 | wxFrame *arg1 = (wxFrame *) 0 ; | |
4995 | wxMenuBar *result; | |
4996 | PyObject * obj0 = 0 ; | |
4997 | char *kwnames[] = { | |
4998 | (char *) "self", NULL | |
4999 | }; | |
5000 | ||
5001 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
5002 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5003 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
5004 | { |
5005 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5006 | result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar(); | |
5007 | ||
5008 | wxPyEndAllowThreads(__tstate); | |
5009 | if (PyErr_Occurred()) SWIG_fail; | |
5010 | } | |
5011 | { | |
412d302d | 5012 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
5013 | } |
5014 | return resultobj; | |
5015 | fail: | |
5016 | return NULL; | |
5017 | } | |
5018 | ||
5019 | ||
c370783e | 5020 | static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5021 | PyObject *resultobj; |
5022 | wxFrame *arg1 = (wxFrame *) 0 ; | |
5023 | int arg2 ; | |
5024 | bool result; | |
5025 | PyObject * obj0 = 0 ; | |
5026 | PyObject * obj1 = 0 ; | |
5027 | char *kwnames[] = { | |
5028 | (char *) "self",(char *) "winid", NULL | |
5029 | }; | |
5030 | ||
5031 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
5032 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5033 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5034 | { | |
5035 | arg2 = (int)(SWIG_As_int(obj1)); | |
5036 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5037 | } | |
d55e5bfc RD |
5038 | { |
5039 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5040 | result = (bool)(arg1)->ProcessCommand(arg2); | |
5041 | ||
5042 | wxPyEndAllowThreads(__tstate); | |
5043 | if (PyErr_Occurred()) SWIG_fail; | |
5044 | } | |
5045 | { | |
5046 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5047 | } | |
5048 | return resultobj; | |
5049 | fail: | |
5050 | return NULL; | |
5051 | } | |
5052 | ||
5053 | ||
c370783e | 5054 | static PyObject *_wrap_Frame_CreateStatusBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5055 | PyObject *resultobj; |
5056 | wxFrame *arg1 = (wxFrame *) 0 ; | |
5057 | int arg2 = (int) 1 ; | |
6d88e192 | 5058 | long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ; |
d55e5bfc RD |
5059 | int arg4 = (int) 0 ; |
5060 | wxString const &arg5_defvalue = wxPyStatusLineNameStr ; | |
5061 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
5062 | wxStatusBar *result; | |
b411df4a | 5063 | bool temp5 = false ; |
d55e5bfc RD |
5064 | PyObject * obj0 = 0 ; |
5065 | PyObject * obj1 = 0 ; | |
5066 | PyObject * obj2 = 0 ; | |
5067 | PyObject * obj3 = 0 ; | |
5068 | PyObject * obj4 = 0 ; | |
5069 | char *kwnames[] = { | |
5070 | (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL | |
5071 | }; | |
5072 | ||
5073 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
36ed4f51 RD |
5074 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5075 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 5076 | if (obj1) { |
36ed4f51 RD |
5077 | { |
5078 | arg2 = (int)(SWIG_As_int(obj1)); | |
5079 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5080 | } | |
d55e5bfc RD |
5081 | } |
5082 | if (obj2) { | |
36ed4f51 RD |
5083 | { |
5084 | arg3 = (long)(SWIG_As_long(obj2)); | |
5085 | if (SWIG_arg_fail(3)) SWIG_fail; | |
5086 | } | |
d55e5bfc RD |
5087 | } |
5088 | if (obj3) { | |
36ed4f51 RD |
5089 | { |
5090 | arg4 = (int)(SWIG_As_int(obj3)); | |
5091 | if (SWIG_arg_fail(4)) SWIG_fail; | |
5092 | } | |
d55e5bfc RD |
5093 | } |
5094 | if (obj4) { | |
5095 | { | |
5096 | arg5 = wxString_in_helper(obj4); | |
5097 | if (arg5 == NULL) SWIG_fail; | |
b411df4a | 5098 | temp5 = true; |
d55e5bfc RD |
5099 | } |
5100 | } | |
5101 | { | |
5102 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5103 | result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5); | |
5104 | ||
5105 | wxPyEndAllowThreads(__tstate); | |
5106 | if (PyErr_Occurred()) SWIG_fail; | |
5107 | } | |
5108 | { | |
412d302d | 5109 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
5110 | } |
5111 | { | |
5112 | if (temp5) | |
5113 | delete arg5; | |
5114 | } | |
5115 | return resultobj; | |
5116 | fail: | |
5117 | { | |
5118 | if (temp5) | |
5119 | delete arg5; | |
5120 | } | |
5121 | return NULL; | |
5122 | } | |
5123 | ||
5124 | ||
c370783e | 5125 | static PyObject *_wrap_Frame_GetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5126 | PyObject *resultobj; |
5127 | wxFrame *arg1 = (wxFrame *) 0 ; | |
5128 | wxStatusBar *result; | |
5129 | PyObject * obj0 = 0 ; | |
5130 | char *kwnames[] = { | |
5131 | (char *) "self", NULL | |
5132 | }; | |
5133 | ||
5134 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
5135 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5136 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
5137 | { |
5138 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5139 | result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar(); | |
5140 | ||
5141 | wxPyEndAllowThreads(__tstate); | |
5142 | if (PyErr_Occurred()) SWIG_fail; | |
5143 | } | |
5144 | { | |
412d302d | 5145 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
5146 | } |
5147 | return resultobj; | |
5148 | fail: | |
5149 | return NULL; | |
5150 | } | |
5151 | ||
5152 | ||
c370783e | 5153 | static PyObject *_wrap_Frame_SetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5154 | PyObject *resultobj; |
5155 | wxFrame *arg1 = (wxFrame *) 0 ; | |
5156 | wxStatusBar *arg2 = (wxStatusBar *) 0 ; | |
5157 | PyObject * obj0 = 0 ; | |
5158 | PyObject * obj1 = 0 ; | |
5159 | char *kwnames[] = { | |
5160 | (char *) "self",(char *) "statBar", NULL | |
5161 | }; | |
5162 | ||
5163 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
5164 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5165 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5166 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); | |
5167 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
5168 | { |
5169 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5170 | (arg1)->SetStatusBar(arg2); | |
5171 | ||
5172 | wxPyEndAllowThreads(__tstate); | |
5173 | if (PyErr_Occurred()) SWIG_fail; | |
5174 | } | |
5175 | Py_INCREF(Py_None); resultobj = Py_None; | |
5176 | return resultobj; | |
5177 | fail: | |
5178 | return NULL; | |
5179 | } | |
5180 | ||
5181 | ||
c370783e | 5182 | static PyObject *_wrap_Frame_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5183 | PyObject *resultobj; |
5184 | wxFrame *arg1 = (wxFrame *) 0 ; | |
5185 | wxString *arg2 = 0 ; | |
5186 | int arg3 = (int) 0 ; | |
b411df4a | 5187 | bool temp2 = false ; |
d55e5bfc RD |
5188 | PyObject * obj0 = 0 ; |
5189 | PyObject * obj1 = 0 ; | |
5190 | PyObject * obj2 = 0 ; | |
5191 | char *kwnames[] = { | |
5192 | (char *) "self",(char *) "text",(char *) "number", NULL | |
5193 | }; | |
5194 | ||
5195 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
5196 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5197 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
5198 | { |
5199 | arg2 = wxString_in_helper(obj1); | |
5200 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 5201 | temp2 = true; |
d55e5bfc RD |
5202 | } |
5203 | if (obj2) { | |
36ed4f51 RD |
5204 | { |
5205 | arg3 = (int)(SWIG_As_int(obj2)); | |
5206 | if (SWIG_arg_fail(3)) SWIG_fail; | |
5207 | } | |
d55e5bfc RD |
5208 | } |
5209 | { | |
5210 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5211 | (arg1)->SetStatusText((wxString const &)*arg2,arg3); | |
5212 | ||
5213 | wxPyEndAllowThreads(__tstate); | |
5214 | if (PyErr_Occurred()) SWIG_fail; | |
5215 | } | |
5216 | Py_INCREF(Py_None); resultobj = Py_None; | |
5217 | { | |
5218 | if (temp2) | |
5219 | delete arg2; | |
5220 | } | |
5221 | return resultobj; | |
5222 | fail: | |
5223 | { | |
5224 | if (temp2) | |
5225 | delete arg2; | |
5226 | } | |
5227 | return NULL; | |
5228 | } | |
5229 | ||
5230 | ||
c370783e | 5231 | static PyObject *_wrap_Frame_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5232 | PyObject *resultobj; |
5233 | wxFrame *arg1 = (wxFrame *) 0 ; | |
5234 | int arg2 ; | |
5235 | int *arg3 = (int *) 0 ; | |
5236 | PyObject * obj0 = 0 ; | |
5237 | PyObject * obj1 = 0 ; | |
5238 | char *kwnames[] = { | |
5239 | (char *) "self",(char *) "widths", NULL | |
5240 | }; | |
5241 | ||
5242 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
5243 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5244 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
5245 | { |
5246 | arg2 = PyList_Size(obj1); | |
5247 | arg3 = int_LIST_helper(obj1); | |
5248 | if (arg3 == NULL) SWIG_fail; | |
5249 | } | |
5250 | { | |
5251 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5252 | (arg1)->SetStatusWidths(arg2,(int const *)arg3); | |
5253 | ||
5254 | wxPyEndAllowThreads(__tstate); | |
5255 | if (PyErr_Occurred()) SWIG_fail; | |
5256 | } | |
5257 | Py_INCREF(Py_None); resultobj = Py_None; | |
5258 | { | |
5259 | if (arg3) delete [] arg3; | |
5260 | } | |
5261 | return resultobj; | |
5262 | fail: | |
5263 | { | |
5264 | if (arg3) delete [] arg3; | |
5265 | } | |
5266 | return NULL; | |
5267 | } | |
5268 | ||
5269 | ||
c370783e | 5270 | static PyObject *_wrap_Frame_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5271 | PyObject *resultobj; |
5272 | wxFrame *arg1 = (wxFrame *) 0 ; | |
5273 | wxString *arg2 = 0 ; | |
5274 | int arg3 = (int) 0 ; | |
b411df4a | 5275 | bool temp2 = false ; |
d55e5bfc RD |
5276 | PyObject * obj0 = 0 ; |
5277 | PyObject * obj1 = 0 ; | |
5278 | PyObject * obj2 = 0 ; | |
5279 | char *kwnames[] = { | |
5280 | (char *) "self",(char *) "text",(char *) "number", NULL | |
5281 | }; | |
5282 | ||
5283 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
5284 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5285 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
5286 | { |
5287 | arg2 = wxString_in_helper(obj1); | |
5288 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 5289 | temp2 = true; |
d55e5bfc RD |
5290 | } |
5291 | if (obj2) { | |
36ed4f51 RD |
5292 | { |
5293 | arg3 = (int)(SWIG_As_int(obj2)); | |
5294 | if (SWIG_arg_fail(3)) SWIG_fail; | |
5295 | } | |
d55e5bfc RD |
5296 | } |
5297 | { | |
5298 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5299 | (arg1)->PushStatusText((wxString const &)*arg2,arg3); | |
5300 | ||
5301 | wxPyEndAllowThreads(__tstate); | |
5302 | if (PyErr_Occurred()) SWIG_fail; | |
5303 | } | |
5304 | Py_INCREF(Py_None); resultobj = Py_None; | |
5305 | { | |
5306 | if (temp2) | |
5307 | delete arg2; | |
5308 | } | |
5309 | return resultobj; | |
5310 | fail: | |
5311 | { | |
5312 | if (temp2) | |
5313 | delete arg2; | |
5314 | } | |
5315 | return NULL; | |
5316 | } | |
5317 | ||
5318 | ||
c370783e | 5319 | static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5320 | PyObject *resultobj; |
5321 | wxFrame *arg1 = (wxFrame *) 0 ; | |
5322 | int arg2 = (int) 0 ; | |
5323 | PyObject * obj0 = 0 ; | |
5324 | PyObject * obj1 = 0 ; | |
5325 | char *kwnames[] = { | |
5326 | (char *) "self",(char *) "number", NULL | |
5327 | }; | |
5328 | ||
5329 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
5330 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5331 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 5332 | if (obj1) { |
36ed4f51 RD |
5333 | { |
5334 | arg2 = (int)(SWIG_As_int(obj1)); | |
5335 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5336 | } | |
d55e5bfc RD |
5337 | } |
5338 | { | |
5339 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5340 | (arg1)->PopStatusText(arg2); | |
5341 | ||
5342 | wxPyEndAllowThreads(__tstate); | |
5343 | if (PyErr_Occurred()) SWIG_fail; | |
5344 | } | |
5345 | Py_INCREF(Py_None); resultobj = Py_None; | |
5346 | return resultobj; | |
5347 | fail: | |
5348 | return NULL; | |
5349 | } | |
5350 | ||
5351 | ||
c370783e | 5352 | static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5353 | PyObject *resultobj; |
5354 | wxFrame *arg1 = (wxFrame *) 0 ; | |
5355 | int arg2 ; | |
5356 | PyObject * obj0 = 0 ; | |
5357 | PyObject * obj1 = 0 ; | |
5358 | char *kwnames[] = { | |
5359 | (char *) "self",(char *) "n", NULL | |
5360 | }; | |
5361 | ||
5362 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
5363 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5364 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5365 | { | |
5366 | arg2 = (int)(SWIG_As_int(obj1)); | |
5367 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5368 | } | |
d55e5bfc RD |
5369 | { |
5370 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5371 | (arg1)->SetStatusBarPane(arg2); | |
5372 | ||
5373 | wxPyEndAllowThreads(__tstate); | |
5374 | if (PyErr_Occurred()) SWIG_fail; | |
5375 | } | |
5376 | Py_INCREF(Py_None); resultobj = Py_None; | |
5377 | return resultobj; | |
5378 | fail: | |
5379 | return NULL; | |
5380 | } | |
5381 | ||
5382 | ||
c370783e | 5383 | static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5384 | PyObject *resultobj; |
5385 | wxFrame *arg1 = (wxFrame *) 0 ; | |
5386 | int result; | |
5387 | PyObject * obj0 = 0 ; | |
5388 | char *kwnames[] = { | |
5389 | (char *) "self", NULL | |
5390 | }; | |
5391 | ||
5392 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
5393 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5394 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
5395 | { |
5396 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5397 | result = (int)((wxFrame const *)arg1)->GetStatusBarPane(); | |
5398 | ||
5399 | wxPyEndAllowThreads(__tstate); | |
5400 | if (PyErr_Occurred()) SWIG_fail; | |
5401 | } | |
36ed4f51 RD |
5402 | { |
5403 | resultobj = SWIG_From_int((int)(result)); | |
5404 | } | |
d55e5bfc RD |
5405 | return resultobj; |
5406 | fail: | |
5407 | return NULL; | |
5408 | } | |
5409 | ||
5410 | ||
c370783e | 5411 | static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5412 | PyObject *resultobj; |
5413 | wxFrame *arg1 = (wxFrame *) 0 ; | |
5414 | long arg2 = (long) -1 ; | |
5415 | int arg3 = (int) -1 ; | |
5416 | wxString const &arg4_defvalue = wxPyToolBarNameStr ; | |
5417 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
5418 | wxToolBar *result; | |
b411df4a | 5419 | bool temp4 = false ; |
d55e5bfc RD |
5420 | PyObject * obj0 = 0 ; |
5421 | PyObject * obj1 = 0 ; | |
5422 | PyObject * obj2 = 0 ; | |
5423 | PyObject * obj3 = 0 ; | |
5424 | char *kwnames[] = { | |
5425 | (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL | |
5426 | }; | |
5427 | ||
5428 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
36ed4f51 RD |
5429 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5430 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 5431 | if (obj1) { |
36ed4f51 RD |
5432 | { |
5433 | arg2 = (long)(SWIG_As_long(obj1)); | |
5434 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5435 | } | |
d55e5bfc RD |
5436 | } |
5437 | if (obj2) { | |
36ed4f51 RD |
5438 | { |
5439 | arg3 = (int)(SWIG_As_int(obj2)); | |
5440 | if (SWIG_arg_fail(3)) SWIG_fail; | |
5441 | } | |
d55e5bfc RD |
5442 | } |
5443 | if (obj3) { | |
5444 | { | |
5445 | arg4 = wxString_in_helper(obj3); | |
5446 | if (arg4 == NULL) SWIG_fail; | |
b411df4a | 5447 | temp4 = true; |
d55e5bfc RD |
5448 | } |
5449 | } | |
5450 | { | |
5451 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5452 | result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4); | |
5453 | ||
5454 | wxPyEndAllowThreads(__tstate); | |
5455 | if (PyErr_Occurred()) SWIG_fail; | |
5456 | } | |
5457 | { | |
412d302d | 5458 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
5459 | } |
5460 | { | |
5461 | if (temp4) | |
5462 | delete arg4; | |
5463 | } | |
5464 | return resultobj; | |
5465 | fail: | |
5466 | { | |
5467 | if (temp4) | |
5468 | delete arg4; | |
5469 | } | |
5470 | return NULL; | |
5471 | } | |
5472 | ||
5473 | ||
c370783e | 5474 | static PyObject *_wrap_Frame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5475 | PyObject *resultobj; |
5476 | wxFrame *arg1 = (wxFrame *) 0 ; | |
5477 | wxToolBar *result; | |
5478 | PyObject * obj0 = 0 ; | |
5479 | char *kwnames[] = { | |
5480 | (char *) "self", NULL | |
5481 | }; | |
5482 | ||
5483 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
5484 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5485 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
5486 | { |
5487 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5488 | result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar(); | |
5489 | ||
5490 | wxPyEndAllowThreads(__tstate); | |
5491 | if (PyErr_Occurred()) SWIG_fail; | |
5492 | } | |
5493 | { | |
412d302d | 5494 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
5495 | } |
5496 | return resultobj; | |
5497 | fail: | |
5498 | return NULL; | |
5499 | } | |
5500 | ||
5501 | ||
c370783e | 5502 | static PyObject *_wrap_Frame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5503 | PyObject *resultobj; |
5504 | wxFrame *arg1 = (wxFrame *) 0 ; | |
5505 | wxToolBar *arg2 = (wxToolBar *) 0 ; | |
5506 | PyObject * obj0 = 0 ; | |
5507 | PyObject * obj1 = 0 ; | |
5508 | char *kwnames[] = { | |
5509 | (char *) "self",(char *) "toolbar", NULL | |
5510 | }; | |
5511 | ||
5512 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
5513 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5514 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5515 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0); | |
5516 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
5517 | { |
5518 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5519 | (arg1)->SetToolBar(arg2); | |
5520 | ||
5521 | wxPyEndAllowThreads(__tstate); | |
5522 | if (PyErr_Occurred()) SWIG_fail; | |
5523 | } | |
5524 | Py_INCREF(Py_None); resultobj = Py_None; | |
5525 | return resultobj; | |
5526 | fail: | |
5527 | return NULL; | |
5528 | } | |
5529 | ||
5530 | ||
c370783e | 5531 | static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5532 | PyObject *resultobj; |
5533 | wxFrame *arg1 = (wxFrame *) 0 ; | |
5534 | wxString *arg2 = 0 ; | |
5535 | bool arg3 ; | |
b411df4a | 5536 | bool temp2 = false ; |
d55e5bfc RD |
5537 | PyObject * obj0 = 0 ; |
5538 | PyObject * obj1 = 0 ; | |
5539 | PyObject * obj2 = 0 ; | |
5540 | char *kwnames[] = { | |
5541 | (char *) "self",(char *) "text",(char *) "show", NULL | |
5542 | }; | |
5543 | ||
5544 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
5545 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5546 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
5547 | { |
5548 | arg2 = wxString_in_helper(obj1); | |
5549 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 5550 | temp2 = true; |
d55e5bfc | 5551 | } |
36ed4f51 RD |
5552 | { |
5553 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
5554 | if (SWIG_arg_fail(3)) SWIG_fail; | |
5555 | } | |
d55e5bfc RD |
5556 | { |
5557 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5558 | (arg1)->DoGiveHelp((wxString const &)*arg2,arg3); | |
5559 | ||
5560 | wxPyEndAllowThreads(__tstate); | |
5561 | if (PyErr_Occurred()) SWIG_fail; | |
5562 | } | |
5563 | Py_INCREF(Py_None); resultobj = Py_None; | |
5564 | { | |
5565 | if (temp2) | |
5566 | delete arg2; | |
5567 | } | |
5568 | return resultobj; | |
5569 | fail: | |
5570 | { | |
5571 | if (temp2) | |
5572 | delete arg2; | |
5573 | } | |
5574 | return NULL; | |
5575 | } | |
5576 | ||
5577 | ||
c370783e | 5578 | static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5579 | PyObject *resultobj; |
5580 | wxFrame *arg1 = (wxFrame *) 0 ; | |
5581 | wxMenu *arg2 = (wxMenu *) NULL ; | |
5582 | PyObject * obj0 = 0 ; | |
5583 | PyObject * obj1 = 0 ; | |
5584 | char *kwnames[] = { | |
5585 | (char *) "self",(char *) "menu", NULL | |
5586 | }; | |
5587 | ||
5588 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
5589 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5590 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 5591 | if (obj1) { |
36ed4f51 RD |
5592 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); |
5593 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
5594 | } |
5595 | { | |
5596 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5597 | (arg1)->DoMenuUpdates(arg2); | |
5598 | ||
5599 | wxPyEndAllowThreads(__tstate); | |
5600 | if (PyErr_Occurred()) SWIG_fail; | |
5601 | } | |
5602 | Py_INCREF(Py_None); resultobj = Py_None; | |
5603 | return resultobj; | |
5604 | fail: | |
5605 | return NULL; | |
5606 | } | |
5607 | ||
5608 | ||
c370783e | 5609 | static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
f20a2e1f | 5610 | PyObject *resultobj; |
36ed4f51 | 5611 | wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; |
f20a2e1f RD |
5612 | wxVisualAttributes result; |
5613 | PyObject * obj0 = 0 ; | |
5614 | char *kwnames[] = { | |
5615 | (char *) "variant", NULL | |
5616 | }; | |
5617 | ||
5618 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
5619 | if (obj0) { | |
36ed4f51 RD |
5620 | { |
5621 | arg1 = (wxWindowVariant)(SWIG_As_int(obj0)); | |
5622 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5623 | } | |
f20a2e1f RD |
5624 | } |
5625 | { | |
0439c23b | 5626 | if (!wxPyCheckForApp()) SWIG_fail; |
f20a2e1f RD |
5627 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5628 | result = wxFrame::GetClassDefaultAttributes((wxWindowVariant )arg1); | |
5629 | ||
5630 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 5631 | if (PyErr_Occurred()) SWIG_fail; |
f20a2e1f RD |
5632 | } |
5633 | { | |
5634 | wxVisualAttributes * resultptr; | |
36ed4f51 | 5635 | resultptr = new wxVisualAttributes((wxVisualAttributes &)(result)); |
f20a2e1f RD |
5636 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); |
5637 | } | |
5638 | return resultobj; | |
5639 | fail: | |
5640 | return NULL; | |
5641 | } | |
5642 | ||
5643 | ||
c370783e | 5644 | static PyObject * Frame_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
5645 | PyObject *obj; |
5646 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5647 | SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj); | |
5648 | Py_INCREF(obj); | |
5649 | return Py_BuildValue((char *)""); | |
5650 | } | |
c370783e | 5651 | static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5652 | PyObject *resultobj; |
5653 | wxWindow *arg1 = (wxWindow *) 0 ; | |
bfddbb17 RD |
5654 | int arg2 = (int) (int)-1 ; |
5655 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
5656 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
d55e5bfc RD |
5657 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
5658 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
5659 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
5660 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
5661 | long arg6 = (long) wxDEFAULT_DIALOG_STYLE ; | |
5662 | wxString const &arg7_defvalue = wxPyDialogNameStr ; | |
5663 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
5664 | wxDialog *result; | |
b411df4a | 5665 | bool temp3 = false ; |
d55e5bfc RD |
5666 | wxPoint temp4 ; |
5667 | wxSize temp5 ; | |
b411df4a | 5668 | bool temp7 = false ; |
d55e5bfc RD |
5669 | PyObject * obj0 = 0 ; |
5670 | PyObject * obj1 = 0 ; | |
5671 | PyObject * obj2 = 0 ; | |
5672 | PyObject * obj3 = 0 ; | |
5673 | PyObject * obj4 = 0 ; | |
5674 | PyObject * obj5 = 0 ; | |
5675 | PyObject * obj6 = 0 ; | |
5676 | char *kwnames[] = { | |
5677 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
5678 | }; | |
5679 | ||
bfddbb17 | 5680 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
36ed4f51 RD |
5681 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
5682 | if (SWIG_arg_fail(1)) SWIG_fail; | |
bfddbb17 | 5683 | if (obj1) { |
36ed4f51 RD |
5684 | { |
5685 | arg2 = (int const)(SWIG_As_int(obj1)); | |
5686 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5687 | } | |
bfddbb17 RD |
5688 | } |
5689 | if (obj2) { | |
5690 | { | |
5691 | arg3 = wxString_in_helper(obj2); | |
5692 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 5693 | temp3 = true; |
bfddbb17 | 5694 | } |
d55e5bfc RD |
5695 | } |
5696 | if (obj3) { | |
5697 | { | |
5698 | arg4 = &temp4; | |
5699 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
5700 | } | |
5701 | } | |
5702 | if (obj4) { | |
5703 | { | |
5704 | arg5 = &temp5; | |
5705 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
5706 | } | |
5707 | } | |
5708 | if (obj5) { | |
36ed4f51 RD |
5709 | { |
5710 | arg6 = (long)(SWIG_As_long(obj5)); | |
5711 | if (SWIG_arg_fail(6)) SWIG_fail; | |
5712 | } | |
d55e5bfc RD |
5713 | } |
5714 | if (obj6) { | |
5715 | { | |
5716 | arg7 = wxString_in_helper(obj6); | |
5717 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 5718 | temp7 = true; |
d55e5bfc RD |
5719 | } |
5720 | } | |
5721 | { | |
0439c23b | 5722 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
5723 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5724 | result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
5725 | ||
5726 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 5727 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 5728 | } |
b0f7404b | 5729 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1); |
d55e5bfc RD |
5730 | { |
5731 | if (temp3) | |
5732 | delete arg3; | |
5733 | } | |
5734 | { | |
5735 | if (temp7) | |
5736 | delete arg7; | |
5737 | } | |
5738 | return resultobj; | |
5739 | fail: | |
5740 | { | |
5741 | if (temp3) | |
5742 | delete arg3; | |
5743 | } | |
5744 | { | |
5745 | if (temp7) | |
5746 | delete arg7; | |
5747 | } | |
5748 | return NULL; | |
5749 | } | |
5750 | ||
5751 | ||
c370783e | 5752 | static PyObject *_wrap_new_PreDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5753 | PyObject *resultobj; |
5754 | wxDialog *result; | |
5755 | char *kwnames[] = { | |
5756 | NULL | |
5757 | }; | |
5758 | ||
5759 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail; | |
5760 | { | |
0439c23b | 5761 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
5762 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5763 | result = (wxDialog *)new wxDialog(); | |
5764 | ||
5765 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 5766 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 5767 | } |
b0f7404b | 5768 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1); |
d55e5bfc RD |
5769 | return resultobj; |
5770 | fail: | |
5771 | return NULL; | |
5772 | } | |
5773 | ||
5774 | ||
c370783e | 5775 | static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5776 | PyObject *resultobj; |
5777 | wxDialog *arg1 = (wxDialog *) 0 ; | |
5778 | wxWindow *arg2 = (wxWindow *) 0 ; | |
bfddbb17 RD |
5779 | int arg3 = (int) (int)-1 ; |
5780 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
5781 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
d55e5bfc RD |
5782 | wxPoint const &arg5_defvalue = wxDefaultPosition ; |
5783 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
5784 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
5785 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
5786 | long arg7 = (long) wxDEFAULT_DIALOG_STYLE ; | |
5787 | wxString const &arg8_defvalue = wxPyDialogNameStr ; | |
5788 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
5789 | bool result; | |
b411df4a | 5790 | bool temp4 = false ; |
d55e5bfc RD |
5791 | wxPoint temp5 ; |
5792 | wxSize temp6 ; | |
b411df4a | 5793 | bool temp8 = false ; |
d55e5bfc RD |
5794 | PyObject * obj0 = 0 ; |
5795 | PyObject * obj1 = 0 ; | |
5796 | PyObject * obj2 = 0 ; | |
5797 | PyObject * obj3 = 0 ; | |
5798 | PyObject * obj4 = 0 ; | |
5799 | PyObject * obj5 = 0 ; | |
5800 | PyObject * obj6 = 0 ; | |
5801 | PyObject * obj7 = 0 ; | |
5802 | char *kwnames[] = { | |
5803 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
5804 | }; | |
5805 | ||
bfddbb17 | 5806 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
36ed4f51 RD |
5807 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0); |
5808 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5809 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
5810 | if (SWIG_arg_fail(2)) SWIG_fail; | |
bfddbb17 | 5811 | if (obj2) { |
36ed4f51 RD |
5812 | { |
5813 | arg3 = (int const)(SWIG_As_int(obj2)); | |
5814 | if (SWIG_arg_fail(3)) SWIG_fail; | |
5815 | } | |
bfddbb17 RD |
5816 | } |
5817 | if (obj3) { | |
5818 | { | |
5819 | arg4 = wxString_in_helper(obj3); | |
5820 | if (arg4 == NULL) SWIG_fail; | |
b411df4a | 5821 | temp4 = true; |
bfddbb17 | 5822 | } |
d55e5bfc RD |
5823 | } |
5824 | if (obj4) { | |
5825 | { | |
5826 | arg5 = &temp5; | |
5827 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
5828 | } | |
5829 | } | |
5830 | if (obj5) { | |
5831 | { | |
5832 | arg6 = &temp6; | |
5833 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
5834 | } | |
5835 | } | |
5836 | if (obj6) { | |
36ed4f51 RD |
5837 | { |
5838 | arg7 = (long)(SWIG_As_long(obj6)); | |
5839 | if (SWIG_arg_fail(7)) SWIG_fail; | |
5840 | } | |
d55e5bfc RD |
5841 | } |
5842 | if (obj7) { | |
5843 | { | |
5844 | arg8 = wxString_in_helper(obj7); | |
5845 | if (arg8 == NULL) SWIG_fail; | |
b411df4a | 5846 | temp8 = true; |
d55e5bfc RD |
5847 | } |
5848 | } | |
5849 | { | |
5850 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5851 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
5852 | ||
5853 | wxPyEndAllowThreads(__tstate); | |
5854 | if (PyErr_Occurred()) SWIG_fail; | |
5855 | } | |
5856 | { | |
5857 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5858 | } | |
5859 | { | |
5860 | if (temp4) | |
5861 | delete arg4; | |
5862 | } | |
5863 | { | |
5864 | if (temp8) | |
5865 | delete arg8; | |
5866 | } | |
5867 | return resultobj; | |
5868 | fail: | |
5869 | { | |
5870 | if (temp4) | |
5871 | delete arg4; | |
5872 | } | |
5873 | { | |
5874 | if (temp8) | |
5875 | delete arg8; | |
5876 | } | |
5877 | return NULL; | |
5878 | } | |
5879 | ||
5880 | ||
c370783e | 5881 | static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5882 | PyObject *resultobj; |
5883 | wxDialog *arg1 = (wxDialog *) 0 ; | |
5884 | int arg2 ; | |
5885 | PyObject * obj0 = 0 ; | |
5886 | PyObject * obj1 = 0 ; | |
5887 | char *kwnames[] = { | |
5888 | (char *) "self",(char *) "returnCode", NULL | |
5889 | }; | |
5890 | ||
5891 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
5892 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0); |
5893 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5894 | { | |
5895 | arg2 = (int)(SWIG_As_int(obj1)); | |
5896 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5897 | } | |
d55e5bfc RD |
5898 | { |
5899 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5900 | (arg1)->SetReturnCode(arg2); | |
5901 | ||
5902 | wxPyEndAllowThreads(__tstate); | |
5903 | if (PyErr_Occurred()) SWIG_fail; | |
5904 | } | |
5905 | Py_INCREF(Py_None); resultobj = Py_None; | |
5906 | return resultobj; | |
5907 | fail: | |
5908 | return NULL; | |
5909 | } | |
5910 | ||
5911 | ||
c370783e | 5912 | static PyObject *_wrap_Dialog_GetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5913 | PyObject *resultobj; |
5914 | wxDialog *arg1 = (wxDialog *) 0 ; | |
5915 | int result; | |
5916 | PyObject * obj0 = 0 ; | |
5917 | char *kwnames[] = { | |
5918 | (char *) "self", NULL | |
5919 | }; | |
5920 | ||
5921 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
5922 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0); |
5923 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
5924 | { |
5925 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5926 | result = (int)((wxDialog const *)arg1)->GetReturnCode(); | |
5927 | ||
5928 | wxPyEndAllowThreads(__tstate); | |
5929 | if (PyErr_Occurred()) SWIG_fail; | |
5930 | } | |
36ed4f51 RD |
5931 | { |
5932 | resultobj = SWIG_From_int((int)(result)); | |
5933 | } | |
d55e5bfc RD |
5934 | return resultobj; |
5935 | fail: | |
5936 | return NULL; | |
5937 | } | |
5938 | ||
5939 | ||
c370783e | 5940 | static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5941 | PyObject *resultobj; |
5942 | wxDialog *arg1 = (wxDialog *) 0 ; | |
5943 | wxString *arg2 = 0 ; | |
5944 | wxSizer *result; | |
b411df4a | 5945 | bool temp2 = false ; |
d55e5bfc RD |
5946 | PyObject * obj0 = 0 ; |
5947 | PyObject * obj1 = 0 ; | |
5948 | char *kwnames[] = { | |
5949 | (char *) "self",(char *) "message", NULL | |
5950 | }; | |
5951 | ||
5952 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
5953 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0); |
5954 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
5955 | { |
5956 | arg2 = wxString_in_helper(obj1); | |
5957 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 5958 | temp2 = true; |
d55e5bfc RD |
5959 | } |
5960 | { | |
5961 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5962 | result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2); | |
5963 | ||
5964 | wxPyEndAllowThreads(__tstate); | |
5965 | if (PyErr_Occurred()) SWIG_fail; | |
5966 | } | |
5967 | { | |
7a27cf7c | 5968 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
5969 | } |
5970 | { | |
5971 | if (temp2) | |
5972 | delete arg2; | |
5973 | } | |
5974 | return resultobj; | |
5975 | fail: | |
5976 | { | |
5977 | if (temp2) | |
5978 | delete arg2; | |
5979 | } | |
5980 | return NULL; | |
5981 | } | |
5982 | ||
5983 | ||
c370783e | 5984 | static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5985 | PyObject *resultobj; |
5986 | wxDialog *arg1 = (wxDialog *) 0 ; | |
5987 | long arg2 ; | |
5988 | wxSizer *result; | |
5989 | PyObject * obj0 = 0 ; | |
5990 | PyObject * obj1 = 0 ; | |
5991 | char *kwnames[] = { | |
5992 | (char *) "self",(char *) "flags", NULL | |
5993 | }; | |
5994 | ||
5995 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
5996 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0); |
5997 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5998 | { | |
5999 | arg2 = (long)(SWIG_As_long(obj1)); | |
6000 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6001 | } | |
d55e5bfc RD |
6002 | { |
6003 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6004 | result = (wxSizer *)(arg1)->CreateButtonSizer(arg2); | |
6005 | ||
6006 | wxPyEndAllowThreads(__tstate); | |
6007 | if (PyErr_Occurred()) SWIG_fail; | |
6008 | } | |
6009 | { | |
7a27cf7c | 6010 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
6011 | } |
6012 | return resultobj; | |
6013 | fail: | |
6014 | return NULL; | |
6015 | } | |
6016 | ||
6017 | ||
62d32a5f RD |
6018 | static PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) { |
6019 | PyObject *resultobj; | |
6020 | wxDialog *arg1 = (wxDialog *) 0 ; | |
6021 | long arg2 ; | |
6022 | wxStdDialogButtonSizer *result; | |
6023 | PyObject * obj0 = 0 ; | |
6024 | PyObject * obj1 = 0 ; | |
6025 | char *kwnames[] = { | |
6026 | (char *) "self",(char *) "flags", NULL | |
6027 | }; | |
6028 | ||
6029 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) goto fail; | |
6030 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0); | |
6031 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6032 | { | |
6033 | arg2 = (long)(SWIG_As_long(obj1)); | |
6034 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6035 | } | |
6036 | { | |
6037 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6038 | result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2); | |
6039 | ||
6040 | wxPyEndAllowThreads(__tstate); | |
6041 | if (PyErr_Occurred()) SWIG_fail; | |
6042 | } | |
6043 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0); | |
6044 | return resultobj; | |
6045 | fail: | |
6046 | return NULL; | |
6047 | } | |
6048 | ||
6049 | ||
c370783e | 6050 | static PyObject *_wrap_Dialog_IsModal(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6051 | PyObject *resultobj; |
6052 | wxDialog *arg1 = (wxDialog *) 0 ; | |
6053 | bool result; | |
6054 | PyObject * obj0 = 0 ; | |
6055 | char *kwnames[] = { | |
6056 | (char *) "self", NULL | |
6057 | }; | |
6058 | ||
6059 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
6060 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0); |
6061 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
6062 | { |
6063 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6064 | result = (bool)((wxDialog const *)arg1)->IsModal(); | |
6065 | ||
6066 | wxPyEndAllowThreads(__tstate); | |
6067 | if (PyErr_Occurred()) SWIG_fail; | |
6068 | } | |
6069 | { | |
6070 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6071 | } | |
6072 | return resultobj; | |
6073 | fail: | |
6074 | return NULL; | |
6075 | } | |
6076 | ||
6077 | ||
c370783e | 6078 | static PyObject *_wrap_Dialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6079 | PyObject *resultobj; |
6080 | wxDialog *arg1 = (wxDialog *) 0 ; | |
6081 | int result; | |
6082 | PyObject * obj0 = 0 ; | |
6083 | char *kwnames[] = { | |
6084 | (char *) "self", NULL | |
6085 | }; | |
6086 | ||
6087 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
6088 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0); |
6089 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
6090 | { |
6091 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6092 | result = (int)(arg1)->ShowModal(); | |
6093 | ||
6094 | wxPyEndAllowThreads(__tstate); | |
6095 | if (PyErr_Occurred()) SWIG_fail; | |
6096 | } | |
36ed4f51 RD |
6097 | { |
6098 | resultobj = SWIG_From_int((int)(result)); | |
6099 | } | |
d55e5bfc RD |
6100 | return resultobj; |
6101 | fail: | |
6102 | return NULL; | |
6103 | } | |
6104 | ||
6105 | ||
c370783e | 6106 | static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6107 | PyObject *resultobj; |
6108 | wxDialog *arg1 = (wxDialog *) 0 ; | |
6109 | int arg2 ; | |
6110 | PyObject * obj0 = 0 ; | |
6111 | PyObject * obj1 = 0 ; | |
6112 | char *kwnames[] = { | |
6113 | (char *) "self",(char *) "retCode", NULL | |
6114 | }; | |
6115 | ||
6116 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
6117 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0); |
6118 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6119 | { | |
6120 | arg2 = (int)(SWIG_As_int(obj1)); | |
6121 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6122 | } | |
d55e5bfc RD |
6123 | { |
6124 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6125 | (arg1)->EndModal(arg2); | |
6126 | ||
6127 | wxPyEndAllowThreads(__tstate); | |
6128 | if (PyErr_Occurred()) SWIG_fail; | |
6129 | } | |
6130 | Py_INCREF(Py_None); resultobj = Py_None; | |
6131 | return resultobj; | |
6132 | fail: | |
6133 | return NULL; | |
6134 | } | |
6135 | ||
6136 | ||
c370783e | 6137 | static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
f20a2e1f | 6138 | PyObject *resultobj; |
36ed4f51 | 6139 | wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; |
f20a2e1f RD |
6140 | wxVisualAttributes result; |
6141 | PyObject * obj0 = 0 ; | |
6142 | char *kwnames[] = { | |
6143 | (char *) "variant", NULL | |
6144 | }; | |
6145 | ||
6146 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
6147 | if (obj0) { | |
36ed4f51 RD |
6148 | { |
6149 | arg1 = (wxWindowVariant)(SWIG_As_int(obj0)); | |
6150 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6151 | } | |
f20a2e1f RD |
6152 | } |
6153 | { | |
0439c23b | 6154 | if (!wxPyCheckForApp()) SWIG_fail; |
f20a2e1f RD |
6155 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6156 | result = wxDialog::GetClassDefaultAttributes((wxWindowVariant )arg1); | |
6157 | ||
6158 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 6159 | if (PyErr_Occurred()) SWIG_fail; |
f20a2e1f RD |
6160 | } |
6161 | { | |
6162 | wxVisualAttributes * resultptr; | |
36ed4f51 | 6163 | resultptr = new wxVisualAttributes((wxVisualAttributes &)(result)); |
f20a2e1f RD |
6164 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); |
6165 | } | |
6166 | return resultobj; | |
6167 | fail: | |
6168 | return NULL; | |
6169 | } | |
6170 | ||
6171 | ||
c370783e | 6172 | static PyObject * Dialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
6173 | PyObject *obj; |
6174 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6175 | SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj); | |
6176 | Py_INCREF(obj); | |
6177 | return Py_BuildValue((char *)""); | |
6178 | } | |
c370783e | 6179 | static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6180 | PyObject *resultobj; |
6181 | wxWindow *arg1 = (wxWindow *) 0 ; | |
bfddbb17 RD |
6182 | int arg2 = (int) (int)-1 ; |
6183 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
6184 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
d55e5bfc RD |
6185 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
6186 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
6187 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
6188 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
6189 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
6190 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
6191 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
6192 | wxMiniFrame *result; | |
b411df4a | 6193 | bool temp3 = false ; |
d55e5bfc RD |
6194 | wxPoint temp4 ; |
6195 | wxSize temp5 ; | |
b411df4a | 6196 | bool temp7 = false ; |
d55e5bfc RD |
6197 | PyObject * obj0 = 0 ; |
6198 | PyObject * obj1 = 0 ; | |
6199 | PyObject * obj2 = 0 ; | |
6200 | PyObject * obj3 = 0 ; | |
6201 | PyObject * obj4 = 0 ; | |
6202 | PyObject * obj5 = 0 ; | |
6203 | PyObject * obj6 = 0 ; | |
6204 | char *kwnames[] = { | |
6205 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
6206 | }; | |
6207 | ||
bfddbb17 | 6208 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
36ed4f51 RD |
6209 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
6210 | if (SWIG_arg_fail(1)) SWIG_fail; | |
bfddbb17 | 6211 | if (obj1) { |
36ed4f51 RD |
6212 | { |
6213 | arg2 = (int const)(SWIG_As_int(obj1)); | |
6214 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6215 | } | |
bfddbb17 RD |
6216 | } |
6217 | if (obj2) { | |
6218 | { | |
6219 | arg3 = wxString_in_helper(obj2); | |
6220 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 6221 | temp3 = true; |
bfddbb17 | 6222 | } |
d55e5bfc RD |
6223 | } |
6224 | if (obj3) { | |
6225 | { | |
6226 | arg4 = &temp4; | |
6227 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
6228 | } | |
6229 | } | |
6230 | if (obj4) { | |
6231 | { | |
6232 | arg5 = &temp5; | |
6233 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
6234 | } | |
6235 | } | |
6236 | if (obj5) { | |
36ed4f51 RD |
6237 | { |
6238 | arg6 = (long)(SWIG_As_long(obj5)); | |
6239 | if (SWIG_arg_fail(6)) SWIG_fail; | |
6240 | } | |
d55e5bfc RD |
6241 | } |
6242 | if (obj6) { | |
6243 | { | |
6244 | arg7 = wxString_in_helper(obj6); | |
6245 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 6246 | temp7 = true; |
d55e5bfc RD |
6247 | } |
6248 | } | |
6249 | { | |
0439c23b | 6250 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
6251 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6252 | result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
6253 | ||
6254 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 6255 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
6256 | } |
6257 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1); | |
6258 | { | |
6259 | if (temp3) | |
6260 | delete arg3; | |
6261 | } | |
6262 | { | |
6263 | if (temp7) | |
6264 | delete arg7; | |
6265 | } | |
6266 | return resultobj; | |
6267 | fail: | |
6268 | { | |
6269 | if (temp3) | |
6270 | delete arg3; | |
6271 | } | |
6272 | { | |
6273 | if (temp7) | |
6274 | delete arg7; | |
6275 | } | |
6276 | return NULL; | |
6277 | } | |
6278 | ||
6279 | ||
c370783e | 6280 | static PyObject *_wrap_new_PreMiniFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6281 | PyObject *resultobj; |
6282 | wxMiniFrame *result; | |
6283 | char *kwnames[] = { | |
6284 | NULL | |
6285 | }; | |
6286 | ||
6287 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail; | |
6288 | { | |
0439c23b | 6289 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
6290 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6291 | result = (wxMiniFrame *)new wxMiniFrame(); | |
6292 | ||
6293 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 6294 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
6295 | } |
6296 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1); | |
6297 | return resultobj; | |
6298 | fail: | |
6299 | return NULL; | |
6300 | } | |
6301 | ||
6302 | ||
c370783e | 6303 | static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6304 | PyObject *resultobj; |
6305 | wxMiniFrame *arg1 = (wxMiniFrame *) 0 ; | |
6306 | wxWindow *arg2 = (wxWindow *) 0 ; | |
bfddbb17 RD |
6307 | int arg3 = (int) (int)-1 ; |
6308 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
6309 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
d55e5bfc RD |
6310 | wxPoint const &arg5_defvalue = wxDefaultPosition ; |
6311 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
6312 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
6313 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
6314 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
6315 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
6316 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
6317 | bool result; | |
b411df4a | 6318 | bool temp4 = false ; |
d55e5bfc RD |
6319 | wxPoint temp5 ; |
6320 | wxSize temp6 ; | |
b411df4a | 6321 | bool temp8 = false ; |
d55e5bfc RD |
6322 | PyObject * obj0 = 0 ; |
6323 | PyObject * obj1 = 0 ; | |
6324 | PyObject * obj2 = 0 ; | |
6325 | PyObject * obj3 = 0 ; | |
6326 | PyObject * obj4 = 0 ; | |
6327 | PyObject * obj5 = 0 ; | |
6328 | PyObject * obj6 = 0 ; | |
6329 | PyObject * obj7 = 0 ; | |
6330 | char *kwnames[] = { | |
6331 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
6332 | }; | |
6333 | ||
bfddbb17 | 6334 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
36ed4f51 RD |
6335 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_EXCEPTION | 0); |
6336 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6337 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
6338 | if (SWIG_arg_fail(2)) SWIG_fail; | |
bfddbb17 | 6339 | if (obj2) { |
36ed4f51 RD |
6340 | { |
6341 | arg3 = (int const)(SWIG_As_int(obj2)); | |
6342 | if (SWIG_arg_fail(3)) SWIG_fail; | |
6343 | } | |
bfddbb17 RD |
6344 | } |
6345 | if (obj3) { | |
6346 | { | |
6347 | arg4 = wxString_in_helper(obj3); | |
6348 | if (arg4 == NULL) SWIG_fail; | |
b411df4a | 6349 | temp4 = true; |
bfddbb17 | 6350 | } |
d55e5bfc RD |
6351 | } |
6352 | if (obj4) { | |
6353 | { | |
6354 | arg5 = &temp5; | |
6355 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
6356 | } | |
6357 | } | |
6358 | if (obj5) { | |
6359 | { | |
6360 | arg6 = &temp6; | |
6361 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
6362 | } | |
6363 | } | |
6364 | if (obj6) { | |
36ed4f51 RD |
6365 | { |
6366 | arg7 = (long)(SWIG_As_long(obj6)); | |
6367 | if (SWIG_arg_fail(7)) SWIG_fail; | |
6368 | } | |
d55e5bfc RD |
6369 | } |
6370 | if (obj7) { | |
6371 | { | |
6372 | arg8 = wxString_in_helper(obj7); | |
6373 | if (arg8 == NULL) SWIG_fail; | |
b411df4a | 6374 | temp8 = true; |
d55e5bfc RD |
6375 | } |
6376 | } | |
6377 | { | |
6378 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6379 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
6380 | ||
6381 | wxPyEndAllowThreads(__tstate); | |
6382 | if (PyErr_Occurred()) SWIG_fail; | |
6383 | } | |
6384 | { | |
6385 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6386 | } | |
6387 | { | |
6388 | if (temp4) | |
6389 | delete arg4; | |
6390 | } | |
6391 | { | |
6392 | if (temp8) | |
6393 | delete arg8; | |
6394 | } | |
6395 | return resultobj; | |
6396 | fail: | |
6397 | { | |
6398 | if (temp4) | |
6399 | delete arg4; | |
6400 | } | |
6401 | { | |
6402 | if (temp8) | |
6403 | delete arg8; | |
6404 | } | |
6405 | return NULL; | |
6406 | } | |
6407 | ||
6408 | ||
c370783e | 6409 | static PyObject * MiniFrame_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
6410 | PyObject *obj; |
6411 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6412 | SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj); | |
6413 | Py_INCREF(obj); | |
6414 | return Py_BuildValue((char *)""); | |
6415 | } | |
c370783e | 6416 | static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6417 | PyObject *resultobj; |
6418 | wxBitmap *arg1 = 0 ; | |
6419 | wxWindow *arg2 = (wxWindow *) 0 ; | |
6420 | int arg3 ; | |
6421 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
6422 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
6423 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
6424 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
6425 | long arg6 = (long) wxNO_BORDER ; | |
6426 | wxSplashScreenWindow *result; | |
6427 | wxPoint temp4 ; | |
6428 | wxSize temp5 ; | |
6429 | PyObject * obj0 = 0 ; | |
6430 | PyObject * obj1 = 0 ; | |
6431 | PyObject * obj2 = 0 ; | |
6432 | PyObject * obj3 = 0 ; | |
6433 | PyObject * obj4 = 0 ; | |
6434 | PyObject * obj5 = 0 ; | |
6435 | char *kwnames[] = { | |
6436 | (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
6437 | }; | |
6438 | ||
6439 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
36ed4f51 RD |
6440 | { |
6441 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0); | |
6442 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6443 | if (arg1 == NULL) { | |
6444 | SWIG_null_ref("wxBitmap"); | |
6445 | } | |
6446 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6447 | } | |
6448 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
6449 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6450 | { | |
6451 | arg3 = (int)(SWIG_As_int(obj2)); | |
6452 | if (SWIG_arg_fail(3)) SWIG_fail; | |
6453 | } | |
d55e5bfc RD |
6454 | if (obj3) { |
6455 | { | |
6456 | arg4 = &temp4; | |
6457 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
6458 | } | |
6459 | } | |
6460 | if (obj4) { | |
6461 | { | |
6462 | arg5 = &temp5; | |
6463 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
6464 | } | |
6465 | } | |
6466 | if (obj5) { | |
36ed4f51 RD |
6467 | { |
6468 | arg6 = (long)(SWIG_As_long(obj5)); | |
6469 | if (SWIG_arg_fail(6)) SWIG_fail; | |
6470 | } | |
d55e5bfc RD |
6471 | } |
6472 | { | |
0439c23b | 6473 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
6474 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6475 | result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6); | |
6476 | ||
6477 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 6478 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
6479 | } |
6480 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1); | |
6481 | return resultobj; | |
6482 | fail: | |
6483 | return NULL; | |
6484 | } | |
6485 | ||
6486 | ||
c370783e | 6487 | static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6488 | PyObject *resultobj; |
6489 | wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ; | |
6490 | wxBitmap *arg2 = 0 ; | |
6491 | PyObject * obj0 = 0 ; | |
6492 | PyObject * obj1 = 0 ; | |
6493 | char *kwnames[] = { | |
6494 | (char *) "self",(char *) "bitmap", NULL | |
6495 | }; | |
6496 | ||
6497 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
6498 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0); |
6499 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6500 | { | |
6501 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0); | |
6502 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6503 | if (arg2 == NULL) { | |
6504 | SWIG_null_ref("wxBitmap"); | |
6505 | } | |
6506 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
6507 | } |
6508 | { | |
6509 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6510 | (arg1)->SetBitmap((wxBitmap const &)*arg2); | |
6511 | ||
6512 | wxPyEndAllowThreads(__tstate); | |
6513 | if (PyErr_Occurred()) SWIG_fail; | |
6514 | } | |
6515 | Py_INCREF(Py_None); resultobj = Py_None; | |
6516 | return resultobj; | |
6517 | fail: | |
6518 | return NULL; | |
6519 | } | |
6520 | ||
6521 | ||
c370783e | 6522 | static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6523 | PyObject *resultobj; |
6524 | wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ; | |
6525 | wxBitmap *result; | |
6526 | PyObject * obj0 = 0 ; | |
6527 | char *kwnames[] = { | |
6528 | (char *) "self", NULL | |
6529 | }; | |
6530 | ||
6531 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
6532 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0); |
6533 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
6534 | { |
6535 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6536 | { | |
6537 | wxBitmap &_result_ref = (arg1)->GetBitmap(); | |
6538 | result = (wxBitmap *) &_result_ref; | |
6539 | } | |
6540 | ||
6541 | wxPyEndAllowThreads(__tstate); | |
6542 | if (PyErr_Occurred()) SWIG_fail; | |
6543 | } | |
6544 | { | |
6545 | wxBitmap* resultptr = new wxBitmap(*result); | |
6546 | resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1); | |
6547 | } | |
6548 | return resultobj; | |
6549 | fail: | |
6550 | return NULL; | |
6551 | } | |
6552 | ||
6553 | ||
c370783e | 6554 | static PyObject * SplashScreenWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
6555 | PyObject *obj; |
6556 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6557 | SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj); | |
6558 | Py_INCREF(obj); | |
6559 | return Py_BuildValue((char *)""); | |
6560 | } | |
c370783e | 6561 | static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6562 | PyObject *resultobj; |
6563 | wxBitmap *arg1 = 0 ; | |
6564 | long arg2 ; | |
6565 | int arg3 ; | |
6566 | wxWindow *arg4 = (wxWindow *) 0 ; | |
bfddbb17 | 6567 | int arg5 = (int) -1 ; |
d55e5bfc RD |
6568 | wxPoint const &arg6_defvalue = wxDefaultPosition ; |
6569 | wxPoint *arg6 = (wxPoint *) &arg6_defvalue ; | |
6570 | wxSize const &arg7_defvalue = wxDefaultSize ; | |
6571 | wxSize *arg7 = (wxSize *) &arg7_defvalue ; | |
6572 | long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ; | |
6573 | wxSplashScreen *result; | |
6574 | wxPoint temp6 ; | |
6575 | wxSize temp7 ; | |
6576 | PyObject * obj0 = 0 ; | |
6577 | PyObject * obj1 = 0 ; | |
6578 | PyObject * obj2 = 0 ; | |
6579 | PyObject * obj3 = 0 ; | |
6580 | PyObject * obj4 = 0 ; | |
6581 | PyObject * obj5 = 0 ; | |
6582 | PyObject * obj6 = 0 ; | |
6583 | PyObject * obj7 = 0 ; | |
6584 | char *kwnames[] = { | |
6585 | (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
6586 | }; | |
6587 | ||
bfddbb17 | 6588 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
36ed4f51 RD |
6589 | { |
6590 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0); | |
6591 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6592 | if (arg1 == NULL) { | |
6593 | SWIG_null_ref("wxBitmap"); | |
6594 | } | |
6595 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6596 | } | |
6597 | { | |
6598 | arg2 = (long)(SWIG_As_long(obj1)); | |
6599 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6600 | } | |
6601 | { | |
6602 | arg3 = (int)(SWIG_As_int(obj2)); | |
6603 | if (SWIG_arg_fail(3)) SWIG_fail; | |
6604 | } | |
6605 | SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
6606 | if (SWIG_arg_fail(4)) SWIG_fail; | |
bfddbb17 | 6607 | if (obj4) { |
36ed4f51 RD |
6608 | { |
6609 | arg5 = (int)(SWIG_As_int(obj4)); | |
6610 | if (SWIG_arg_fail(5)) SWIG_fail; | |
6611 | } | |
bfddbb17 | 6612 | } |
d55e5bfc RD |
6613 | if (obj5) { |
6614 | { | |
6615 | arg6 = &temp6; | |
6616 | if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail; | |
6617 | } | |
6618 | } | |
6619 | if (obj6) { | |
6620 | { | |
6621 | arg7 = &temp7; | |
6622 | if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail; | |
6623 | } | |
6624 | } | |
6625 | if (obj7) { | |
36ed4f51 RD |
6626 | { |
6627 | arg8 = (long)(SWIG_As_long(obj7)); | |
6628 | if (SWIG_arg_fail(8)) SWIG_fail; | |
6629 | } | |
d55e5bfc RD |
6630 | } |
6631 | { | |
0439c23b | 6632 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
6633 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6634 | result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8); | |
6635 | ||
6636 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 6637 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
6638 | } |
6639 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1); | |
6640 | return resultobj; | |
6641 | fail: | |
6642 | return NULL; | |
6643 | } | |
6644 | ||
6645 | ||
c370783e | 6646 | static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6647 | PyObject *resultobj; |
6648 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; | |
6649 | long result; | |
6650 | PyObject * obj0 = 0 ; | |
6651 | char *kwnames[] = { | |
6652 | (char *) "self", NULL | |
6653 | }; | |
6654 | ||
6655 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
6656 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0); |
6657 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
6658 | { |
6659 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6660 | result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle(); | |
6661 | ||
6662 | wxPyEndAllowThreads(__tstate); | |
6663 | if (PyErr_Occurred()) SWIG_fail; | |
6664 | } | |
36ed4f51 RD |
6665 | { |
6666 | resultobj = SWIG_From_long((long)(result)); | |
6667 | } | |
d55e5bfc RD |
6668 | return resultobj; |
6669 | fail: | |
6670 | return NULL; | |
6671 | } | |
6672 | ||
6673 | ||
c370783e | 6674 | static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6675 | PyObject *resultobj; |
6676 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; | |
6677 | wxSplashScreenWindow *result; | |
6678 | PyObject * obj0 = 0 ; | |
6679 | char *kwnames[] = { | |
6680 | (char *) "self", NULL | |
6681 | }; | |
6682 | ||
6683 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
6684 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0); |
6685 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
6686 | { |
6687 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6688 | result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow(); | |
6689 | ||
6690 | wxPyEndAllowThreads(__tstate); | |
6691 | if (PyErr_Occurred()) SWIG_fail; | |
6692 | } | |
6693 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0); | |
6694 | return resultobj; | |
6695 | fail: | |
6696 | return NULL; | |
6697 | } | |
6698 | ||
6699 | ||
c370783e | 6700 | static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6701 | PyObject *resultobj; |
6702 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; | |
6703 | int result; | |
6704 | PyObject * obj0 = 0 ; | |
6705 | char *kwnames[] = { | |
6706 | (char *) "self", NULL | |
6707 | }; | |
6708 | ||
6709 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
6710 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0); |
6711 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
6712 | { |
6713 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6714 | result = (int)((wxSplashScreen const *)arg1)->GetTimeout(); | |
6715 | ||
6716 | wxPyEndAllowThreads(__tstate); | |
6717 | if (PyErr_Occurred()) SWIG_fail; | |
6718 | } | |
36ed4f51 RD |
6719 | { |
6720 | resultobj = SWIG_From_int((int)(result)); | |
6721 | } | |
d55e5bfc RD |
6722 | return resultobj; |
6723 | fail: | |
6724 | return NULL; | |
6725 | } | |
6726 | ||
6727 | ||
c370783e | 6728 | static PyObject * SplashScreen_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
6729 | PyObject *obj; |
6730 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6731 | SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj); | |
6732 | Py_INCREF(obj); | |
6733 | return Py_BuildValue((char *)""); | |
6734 | } | |
c370783e | 6735 | static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6736 | PyObject *resultobj; |
6737 | wxWindow *arg1 = (wxWindow *) 0 ; | |
6738 | int arg2 = (int) -1 ; | |
6d88e192 | 6739 | long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ; |
d55e5bfc RD |
6740 | wxString const &arg4_defvalue = wxPyStatusLineNameStr ; |
6741 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
6742 | wxStatusBar *result; | |
b411df4a | 6743 | bool temp4 = false ; |
d55e5bfc RD |
6744 | PyObject * obj0 = 0 ; |
6745 | PyObject * obj1 = 0 ; | |
6746 | PyObject * obj2 = 0 ; | |
6747 | PyObject * obj3 = 0 ; | |
6748 | char *kwnames[] = { | |
6749 | (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL | |
6750 | }; | |
6751 | ||
6752 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
36ed4f51 RD |
6753 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
6754 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 6755 | if (obj1) { |
36ed4f51 RD |
6756 | { |
6757 | arg2 = (int)(SWIG_As_int(obj1)); | |
6758 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6759 | } | |
d55e5bfc RD |
6760 | } |
6761 | if (obj2) { | |
36ed4f51 RD |
6762 | { |
6763 | arg3 = (long)(SWIG_As_long(obj2)); | |
6764 | if (SWIG_arg_fail(3)) SWIG_fail; | |
6765 | } | |
d55e5bfc RD |
6766 | } |
6767 | if (obj3) { | |
6768 | { | |
6769 | arg4 = wxString_in_helper(obj3); | |
6770 | if (arg4 == NULL) SWIG_fail; | |
b411df4a | 6771 | temp4 = true; |
d55e5bfc RD |
6772 | } |
6773 | } | |
6774 | { | |
0439c23b | 6775 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
6776 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6777 | result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4); | |
6778 | ||
6779 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 6780 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 6781 | } |
b0f7404b | 6782 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1); |
d55e5bfc RD |
6783 | { |
6784 | if (temp4) | |
6785 | delete arg4; | |
6786 | } | |
6787 | return resultobj; | |
6788 | fail: | |
6789 | { | |
6790 | if (temp4) | |
6791 | delete arg4; | |
6792 | } | |
6793 | return NULL; | |
6794 | } | |
6795 | ||
6796 | ||
c370783e | 6797 | static PyObject *_wrap_new_PreStatusBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6798 | PyObject *resultobj; |
6799 | wxStatusBar *result; | |
6800 | char *kwnames[] = { | |
6801 | NULL | |
6802 | }; | |
6803 | ||
6804 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail; | |
6805 | { | |
0439c23b | 6806 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
6807 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6808 | result = (wxStatusBar *)new wxStatusBar(); | |
6809 | ||
6810 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 6811 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 6812 | } |
b0f7404b | 6813 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1); |
d55e5bfc RD |
6814 | return resultobj; |
6815 | fail: | |
6816 | return NULL; | |
6817 | } | |
6818 | ||
6819 | ||
c370783e | 6820 | static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6821 | PyObject *resultobj; |
6822 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
6823 | wxWindow *arg2 = (wxWindow *) 0 ; | |
bfddbb17 | 6824 | int arg3 = (int) -1 ; |
d55e5bfc RD |
6825 | long arg4 = (long) wxST_SIZEGRIP ; |
6826 | wxString const &arg5_defvalue = wxPyStatusLineNameStr ; | |
6827 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
6828 | bool result; | |
b411df4a | 6829 | bool temp5 = false ; |
d55e5bfc RD |
6830 | PyObject * obj0 = 0 ; |
6831 | PyObject * obj1 = 0 ; | |
6832 | PyObject * obj2 = 0 ; | |
6833 | PyObject * obj3 = 0 ; | |
6834 | PyObject * obj4 = 0 ; | |
6835 | char *kwnames[] = { | |
6836 | (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL | |
6837 | }; | |
6838 | ||
bfddbb17 | 6839 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
36ed4f51 RD |
6840 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
6841 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6842 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
6843 | if (SWIG_arg_fail(2)) SWIG_fail; | |
bfddbb17 | 6844 | if (obj2) { |
36ed4f51 RD |
6845 | { |
6846 | arg3 = (int)(SWIG_As_int(obj2)); | |
6847 | if (SWIG_arg_fail(3)) SWIG_fail; | |
6848 | } | |
bfddbb17 | 6849 | } |
d55e5bfc | 6850 | if (obj3) { |
36ed4f51 RD |
6851 | { |
6852 | arg4 = (long)(SWIG_As_long(obj3)); | |
6853 | if (SWIG_arg_fail(4)) SWIG_fail; | |
6854 | } | |
d55e5bfc RD |
6855 | } |
6856 | if (obj4) { | |
6857 | { | |
6858 | arg5 = wxString_in_helper(obj4); | |
6859 | if (arg5 == NULL) SWIG_fail; | |
b411df4a | 6860 | temp5 = true; |
d55e5bfc RD |
6861 | } |
6862 | } | |
6863 | { | |
6864 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6865 | result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5); | |
6866 | ||
6867 | wxPyEndAllowThreads(__tstate); | |
6868 | if (PyErr_Occurred()) SWIG_fail; | |
6869 | } | |
6870 | { | |
6871 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6872 | } | |
6873 | { | |
6874 | if (temp5) | |
6875 | delete arg5; | |
6876 | } | |
6877 | return resultobj; | |
6878 | fail: | |
6879 | { | |
6880 | if (temp5) | |
6881 | delete arg5; | |
6882 | } | |
6883 | return NULL; | |
6884 | } | |
6885 | ||
6886 | ||
c370783e | 6887 | static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6888 | PyObject *resultobj; |
6889 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
6890 | int arg2 = (int) 1 ; | |
6891 | PyObject * obj0 = 0 ; | |
6892 | PyObject * obj1 = 0 ; | |
6893 | char *kwnames[] = { | |
6894 | (char *) "self",(char *) "number", NULL | |
6895 | }; | |
6896 | ||
6897 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
6898 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
6899 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 6900 | if (obj1) { |
36ed4f51 RD |
6901 | { |
6902 | arg2 = (int)(SWIG_As_int(obj1)); | |
6903 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6904 | } | |
d55e5bfc RD |
6905 | } |
6906 | { | |
6907 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6908 | (arg1)->SetFieldsCount(arg2); | |
6909 | ||
6910 | wxPyEndAllowThreads(__tstate); | |
6911 | if (PyErr_Occurred()) SWIG_fail; | |
6912 | } | |
6913 | Py_INCREF(Py_None); resultobj = Py_None; | |
6914 | return resultobj; | |
6915 | fail: | |
6916 | return NULL; | |
6917 | } | |
6918 | ||
6919 | ||
c370783e | 6920 | static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6921 | PyObject *resultobj; |
6922 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
6923 | int result; | |
6924 | PyObject * obj0 = 0 ; | |
6925 | char *kwnames[] = { | |
6926 | (char *) "self", NULL | |
6927 | }; | |
6928 | ||
6929 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
6930 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
6931 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
6932 | { |
6933 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6934 | result = (int)((wxStatusBar const *)arg1)->GetFieldsCount(); | |
6935 | ||
6936 | wxPyEndAllowThreads(__tstate); | |
6937 | if (PyErr_Occurred()) SWIG_fail; | |
6938 | } | |
36ed4f51 RD |
6939 | { |
6940 | resultobj = SWIG_From_int((int)(result)); | |
6941 | } | |
d55e5bfc RD |
6942 | return resultobj; |
6943 | fail: | |
6944 | return NULL; | |
6945 | } | |
6946 | ||
6947 | ||
c370783e | 6948 | static PyObject *_wrap_StatusBar_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6949 | PyObject *resultobj; |
6950 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
6951 | wxString *arg2 = 0 ; | |
6952 | int arg3 = (int) 0 ; | |
b411df4a | 6953 | bool temp2 = false ; |
d55e5bfc RD |
6954 | PyObject * obj0 = 0 ; |
6955 | PyObject * obj1 = 0 ; | |
6956 | PyObject * obj2 = 0 ; | |
6957 | char *kwnames[] = { | |
6958 | (char *) "self",(char *) "text",(char *) "number", NULL | |
6959 | }; | |
6960 | ||
6961 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
6962 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
6963 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
6964 | { |
6965 | arg2 = wxString_in_helper(obj1); | |
6966 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 6967 | temp2 = true; |
d55e5bfc RD |
6968 | } |
6969 | if (obj2) { | |
36ed4f51 RD |
6970 | { |
6971 | arg3 = (int)(SWIG_As_int(obj2)); | |
6972 | if (SWIG_arg_fail(3)) SWIG_fail; | |
6973 | } | |
d55e5bfc RD |
6974 | } |
6975 | { | |
6976 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6977 | (arg1)->SetStatusText((wxString const &)*arg2,arg3); | |
6978 | ||
6979 | wxPyEndAllowThreads(__tstate); | |
6980 | if (PyErr_Occurred()) SWIG_fail; | |
6981 | } | |
6982 | Py_INCREF(Py_None); resultobj = Py_None; | |
6983 | { | |
6984 | if (temp2) | |
6985 | delete arg2; | |
6986 | } | |
6987 | return resultobj; | |
6988 | fail: | |
6989 | { | |
6990 | if (temp2) | |
6991 | delete arg2; | |
6992 | } | |
6993 | return NULL; | |
6994 | } | |
6995 | ||
6996 | ||
c370783e | 6997 | static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6998 | PyObject *resultobj; |
6999 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
7000 | int arg2 = (int) 0 ; | |
7001 | wxString result; | |
7002 | PyObject * obj0 = 0 ; | |
7003 | PyObject * obj1 = 0 ; | |
7004 | char *kwnames[] = { | |
7005 | (char *) "self",(char *) "number", NULL | |
7006 | }; | |
7007 | ||
7008 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
7009 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
7010 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 7011 | if (obj1) { |
36ed4f51 RD |
7012 | { |
7013 | arg2 = (int)(SWIG_As_int(obj1)); | |
7014 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7015 | } | |
d55e5bfc RD |
7016 | } |
7017 | { | |
7018 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7019 | result = ((wxStatusBar const *)arg1)->GetStatusText(arg2); | |
7020 | ||
7021 | wxPyEndAllowThreads(__tstate); | |
7022 | if (PyErr_Occurred()) SWIG_fail; | |
7023 | } | |
7024 | { | |
7025 | #if wxUSE_UNICODE | |
7026 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7027 | #else | |
7028 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7029 | #endif | |
7030 | } | |
7031 | return resultobj; | |
7032 | fail: | |
7033 | return NULL; | |
7034 | } | |
7035 | ||
7036 | ||
c370783e | 7037 | static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7038 | PyObject *resultobj; |
7039 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
7040 | wxString *arg2 = 0 ; | |
7041 | int arg3 = (int) 0 ; | |
b411df4a | 7042 | bool temp2 = false ; |
d55e5bfc RD |
7043 | PyObject * obj0 = 0 ; |
7044 | PyObject * obj1 = 0 ; | |
7045 | PyObject * obj2 = 0 ; | |
7046 | char *kwnames[] = { | |
7047 | (char *) "self",(char *) "text",(char *) "number", NULL | |
7048 | }; | |
7049 | ||
7050 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
7051 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
7052 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
7053 | { |
7054 | arg2 = wxString_in_helper(obj1); | |
7055 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 7056 | temp2 = true; |
d55e5bfc RD |
7057 | } |
7058 | if (obj2) { | |
36ed4f51 RD |
7059 | { |
7060 | arg3 = (int)(SWIG_As_int(obj2)); | |
7061 | if (SWIG_arg_fail(3)) SWIG_fail; | |
7062 | } | |
d55e5bfc RD |
7063 | } |
7064 | { | |
7065 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7066 | (arg1)->PushStatusText((wxString const &)*arg2,arg3); | |
7067 | ||
7068 | wxPyEndAllowThreads(__tstate); | |
7069 | if (PyErr_Occurred()) SWIG_fail; | |
7070 | } | |
7071 | Py_INCREF(Py_None); resultobj = Py_None; | |
7072 | { | |
7073 | if (temp2) | |
7074 | delete arg2; | |
7075 | } | |
7076 | return resultobj; | |
7077 | fail: | |
7078 | { | |
7079 | if (temp2) | |
7080 | delete arg2; | |
7081 | } | |
7082 | return NULL; | |
7083 | } | |
7084 | ||
7085 | ||
c370783e | 7086 | static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7087 | PyObject *resultobj; |
7088 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
7089 | int arg2 = (int) 0 ; | |
7090 | PyObject * obj0 = 0 ; | |
7091 | PyObject * obj1 = 0 ; | |
7092 | char *kwnames[] = { | |
7093 | (char *) "self",(char *) "number", NULL | |
7094 | }; | |
7095 | ||
7096 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
7097 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
7098 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 7099 | if (obj1) { |
36ed4f51 RD |
7100 | { |
7101 | arg2 = (int)(SWIG_As_int(obj1)); | |
7102 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7103 | } | |
d55e5bfc RD |
7104 | } |
7105 | { | |
7106 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7107 | (arg1)->PopStatusText(arg2); | |
7108 | ||
7109 | wxPyEndAllowThreads(__tstate); | |
7110 | if (PyErr_Occurred()) SWIG_fail; | |
7111 | } | |
7112 | Py_INCREF(Py_None); resultobj = Py_None; | |
7113 | return resultobj; | |
7114 | fail: | |
7115 | return NULL; | |
7116 | } | |
7117 | ||
7118 | ||
c370783e | 7119 | static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7120 | PyObject *resultobj; |
7121 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
7122 | int arg2 ; | |
7123 | int *arg3 = (int *) 0 ; | |
7124 | PyObject * obj0 = 0 ; | |
7125 | PyObject * obj1 = 0 ; | |
7126 | char *kwnames[] = { | |
7127 | (char *) "self",(char *) "widths", NULL | |
7128 | }; | |
7129 | ||
7130 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
7131 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
7132 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
7133 | { |
7134 | arg2 = PyList_Size(obj1); | |
7135 | arg3 = int_LIST_helper(obj1); | |
7136 | if (arg3 == NULL) SWIG_fail; | |
7137 | } | |
7138 | { | |
7139 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7140 | (arg1)->SetStatusWidths(arg2,(int const *)arg3); | |
7141 | ||
7142 | wxPyEndAllowThreads(__tstate); | |
7143 | if (PyErr_Occurred()) SWIG_fail; | |
7144 | } | |
7145 | Py_INCREF(Py_None); resultobj = Py_None; | |
7146 | { | |
7147 | if (arg3) delete [] arg3; | |
7148 | } | |
7149 | return resultobj; | |
7150 | fail: | |
7151 | { | |
7152 | if (arg3) delete [] arg3; | |
7153 | } | |
7154 | return NULL; | |
7155 | } | |
7156 | ||
7157 | ||
c370783e | 7158 | static PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *, PyObject *args, PyObject *kwargs) { |
03837c5c RD |
7159 | PyObject *resultobj; |
7160 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
7161 | int arg2 ; | |
7162 | int *arg3 = (int *) 0 ; | |
7163 | PyObject * obj0 = 0 ; | |
7164 | PyObject * obj1 = 0 ; | |
7165 | char *kwnames[] = { | |
7166 | (char *) "self",(char *) "styles", NULL | |
7167 | }; | |
7168 | ||
7169 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
7170 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
7171 | if (SWIG_arg_fail(1)) SWIG_fail; | |
03837c5c RD |
7172 | { |
7173 | arg2 = PyList_Size(obj1); | |
7174 | arg3 = int_LIST_helper(obj1); | |
7175 | if (arg3 == NULL) SWIG_fail; | |
7176 | } | |
7177 | { | |
7178 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7179 | (arg1)->SetStatusStyles(arg2,(int const *)arg3); | |
7180 | ||
7181 | wxPyEndAllowThreads(__tstate); | |
7182 | if (PyErr_Occurred()) SWIG_fail; | |
7183 | } | |
7184 | Py_INCREF(Py_None); resultobj = Py_None; | |
7185 | { | |
7186 | if (arg3) delete [] arg3; | |
7187 | } | |
7188 | return resultobj; | |
7189 | fail: | |
7190 | { | |
7191 | if (arg3) delete [] arg3; | |
7192 | } | |
7193 | return NULL; | |
7194 | } | |
7195 | ||
7196 | ||
c370783e | 7197 | static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7198 | PyObject *resultobj; |
7199 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
7200 | int arg2 ; | |
7201 | wxRect result; | |
7202 | PyObject * obj0 = 0 ; | |
7203 | PyObject * obj1 = 0 ; | |
7204 | char *kwnames[] = { | |
7205 | (char *) "self",(char *) "i", NULL | |
7206 | }; | |
7207 | ||
7208 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
7209 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
7210 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7211 | { | |
7212 | arg2 = (int)(SWIG_As_int(obj1)); | |
7213 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7214 | } | |
d55e5bfc RD |
7215 | { |
7216 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7217 | result = wxStatusBar_GetFieldRect(arg1,arg2); | |
7218 | ||
7219 | wxPyEndAllowThreads(__tstate); | |
7220 | if (PyErr_Occurred()) SWIG_fail; | |
7221 | } | |
7222 | { | |
7223 | wxRect * resultptr; | |
36ed4f51 | 7224 | resultptr = new wxRect((wxRect &)(result)); |
d55e5bfc RD |
7225 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); |
7226 | } | |
7227 | return resultobj; | |
7228 | fail: | |
7229 | return NULL; | |
7230 | } | |
7231 | ||
7232 | ||
c370783e | 7233 | static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7234 | PyObject *resultobj; |
7235 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
7236 | int arg2 ; | |
7237 | PyObject * obj0 = 0 ; | |
7238 | PyObject * obj1 = 0 ; | |
7239 | char *kwnames[] = { | |
7240 | (char *) "self",(char *) "height", NULL | |
7241 | }; | |
7242 | ||
7243 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
7244 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
7245 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7246 | { | |
7247 | arg2 = (int)(SWIG_As_int(obj1)); | |
7248 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7249 | } | |
d55e5bfc RD |
7250 | { |
7251 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7252 | (arg1)->SetMinHeight(arg2); | |
7253 | ||
7254 | wxPyEndAllowThreads(__tstate); | |
7255 | if (PyErr_Occurred()) SWIG_fail; | |
7256 | } | |
7257 | Py_INCREF(Py_None); resultobj = Py_None; | |
7258 | return resultobj; | |
7259 | fail: | |
7260 | return NULL; | |
7261 | } | |
7262 | ||
7263 | ||
c370783e | 7264 | static PyObject *_wrap_StatusBar_GetBorderX(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7265 | PyObject *resultobj; |
7266 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
7267 | int result; | |
7268 | PyObject * obj0 = 0 ; | |
7269 | char *kwnames[] = { | |
7270 | (char *) "self", NULL | |
7271 | }; | |
7272 | ||
7273 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
7274 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
7275 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
7276 | { |
7277 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7278 | result = (int)((wxStatusBar const *)arg1)->GetBorderX(); | |
7279 | ||
7280 | wxPyEndAllowThreads(__tstate); | |
7281 | if (PyErr_Occurred()) SWIG_fail; | |
7282 | } | |
36ed4f51 RD |
7283 | { |
7284 | resultobj = SWIG_From_int((int)(result)); | |
7285 | } | |
d55e5bfc RD |
7286 | return resultobj; |
7287 | fail: | |
7288 | return NULL; | |
7289 | } | |
7290 | ||
7291 | ||
c370783e | 7292 | static PyObject *_wrap_StatusBar_GetBorderY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7293 | PyObject *resultobj; |
7294 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
7295 | int result; | |
7296 | PyObject * obj0 = 0 ; | |
7297 | char *kwnames[] = { | |
7298 | (char *) "self", NULL | |
7299 | }; | |
7300 | ||
7301 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
7302 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
7303 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
7304 | { |
7305 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7306 | result = (int)((wxStatusBar const *)arg1)->GetBorderY(); | |
7307 | ||
7308 | wxPyEndAllowThreads(__tstate); | |
7309 | if (PyErr_Occurred()) SWIG_fail; | |
7310 | } | |
36ed4f51 RD |
7311 | { |
7312 | resultobj = SWIG_From_int((int)(result)); | |
7313 | } | |
d55e5bfc RD |
7314 | return resultobj; |
7315 | fail: | |
7316 | return NULL; | |
7317 | } | |
7318 | ||
7319 | ||
c370783e | 7320 | static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
f20a2e1f | 7321 | PyObject *resultobj; |
36ed4f51 | 7322 | wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; |
f20a2e1f RD |
7323 | wxVisualAttributes result; |
7324 | PyObject * obj0 = 0 ; | |
7325 | char *kwnames[] = { | |
7326 | (char *) "variant", NULL | |
7327 | }; | |
7328 | ||
7329 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
7330 | if (obj0) { | |
36ed4f51 RD |
7331 | { |
7332 | arg1 = (wxWindowVariant)(SWIG_As_int(obj0)); | |
7333 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7334 | } | |
f20a2e1f RD |
7335 | } |
7336 | { | |
0439c23b | 7337 | if (!wxPyCheckForApp()) SWIG_fail; |
f20a2e1f RD |
7338 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
7339 | result = wxStatusBar::GetClassDefaultAttributes((wxWindowVariant )arg1); | |
7340 | ||
7341 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 7342 | if (PyErr_Occurred()) SWIG_fail; |
f20a2e1f RD |
7343 | } |
7344 | { | |
7345 | wxVisualAttributes * resultptr; | |
36ed4f51 | 7346 | resultptr = new wxVisualAttributes((wxVisualAttributes &)(result)); |
f20a2e1f RD |
7347 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); |
7348 | } | |
7349 | return resultobj; | |
7350 | fail: | |
7351 | return NULL; | |
7352 | } | |
7353 | ||
7354 | ||
c370783e | 7355 | static PyObject * StatusBar_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
7356 | PyObject *obj; |
7357 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7358 | SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj); | |
7359 | Py_INCREF(obj); | |
7360 | return Py_BuildValue((char *)""); | |
7361 | } | |
c370783e | 7362 | static int _wrap_SplitterNameStr_set(PyObject *) { |
d55e5bfc RD |
7363 | PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only."); |
7364 | return 1; | |
7365 | } | |
7366 | ||
7367 | ||
36ed4f51 | 7368 | static PyObject *_wrap_SplitterNameStr_get(void) { |
d55e5bfc RD |
7369 | PyObject *pyobj; |
7370 | ||
7371 | { | |
7372 | #if wxUSE_UNICODE | |
7373 | pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len()); | |
7374 | #else | |
7375 | pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len()); | |
7376 | #endif | |
7377 | } | |
7378 | return pyobj; | |
7379 | } | |
7380 | ||
7381 | ||
c370783e | 7382 | static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7383 | PyObject *resultobj; |
7384 | wxWindow *arg1 = (wxWindow *) 0 ; | |
7385 | int arg2 = (int) -1 ; | |
7386 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
7387 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
7388 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
7389 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
7390 | long arg5 = (long) wxSP_3D ; | |
7391 | wxString const &arg6_defvalue = wxPySplitterNameStr ; | |
7392 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
7393 | wxSplitterWindow *result; | |
7394 | wxPoint temp3 ; | |
7395 | wxSize temp4 ; | |
b411df4a | 7396 | bool temp6 = false ; |
d55e5bfc RD |
7397 | PyObject * obj0 = 0 ; |
7398 | PyObject * obj1 = 0 ; | |
7399 | PyObject * obj2 = 0 ; | |
7400 | PyObject * obj3 = 0 ; | |
7401 | PyObject * obj4 = 0 ; | |
7402 | PyObject * obj5 = 0 ; | |
7403 | char *kwnames[] = { | |
7404 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
7405 | }; | |
7406 | ||
7407 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
36ed4f51 RD |
7408 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
7409 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 7410 | if (obj1) { |
36ed4f51 RD |
7411 | { |
7412 | arg2 = (int)(SWIG_As_int(obj1)); | |
7413 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7414 | } | |
d55e5bfc RD |
7415 | } |
7416 | if (obj2) { | |
7417 | { | |
7418 | arg3 = &temp3; | |
7419 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
7420 | } | |
7421 | } | |
7422 | if (obj3) { | |
7423 | { | |
7424 | arg4 = &temp4; | |
7425 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
7426 | } | |
7427 | } | |
7428 | if (obj4) { | |
36ed4f51 RD |
7429 | { |
7430 | arg5 = (long)(SWIG_As_long(obj4)); | |
7431 | if (SWIG_arg_fail(5)) SWIG_fail; | |
7432 | } | |
d55e5bfc RD |
7433 | } |
7434 | if (obj5) { | |
7435 | { | |
7436 | arg6 = wxString_in_helper(obj5); | |
7437 | if (arg6 == NULL) SWIG_fail; | |
b411df4a | 7438 | temp6 = true; |
d55e5bfc RD |
7439 | } |
7440 | } | |
7441 | { | |
0439c23b | 7442 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
7443 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
7444 | result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
7445 | ||
7446 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 7447 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
7448 | } |
7449 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1); | |
7450 | { | |
7451 | if (temp6) | |
7452 | delete arg6; | |
7453 | } | |
7454 | return resultobj; | |
7455 | fail: | |
7456 | { | |
7457 | if (temp6) | |
7458 | delete arg6; | |
7459 | } | |
7460 | return NULL; | |
7461 | } | |
7462 | ||
7463 | ||
c370783e | 7464 | static PyObject *_wrap_new_PreSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7465 | PyObject *resultobj; |
7466 | wxSplitterWindow *result; | |
7467 | char *kwnames[] = { | |
7468 | NULL | |
7469 | }; | |
7470 | ||
7471 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail; | |
7472 | { | |
0439c23b | 7473 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
7474 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
7475 | result = (wxSplitterWindow *)new wxSplitterWindow(); | |
7476 | ||
7477 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 7478 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
7479 | } |
7480 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1); | |
7481 | return resultobj; | |
7482 | fail: | |
7483 | return NULL; | |
7484 | } | |
7485 | ||
7486 | ||
c370783e | 7487 | static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7488 | PyObject *resultobj; |
7489 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
7490 | wxWindow *arg2 = (wxWindow *) 0 ; | |
7491 | int arg3 = (int) -1 ; | |
7492 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
7493 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
7494 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
7495 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
7496 | long arg6 = (long) wxSP_3D ; | |
7497 | wxString const &arg7_defvalue = wxPySplitterNameStr ; | |
7498 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
7499 | bool result; | |
7500 | wxPoint temp4 ; | |
7501 | wxSize temp5 ; | |
b411df4a | 7502 | bool temp7 = false ; |
d55e5bfc RD |
7503 | PyObject * obj0 = 0 ; |
7504 | PyObject * obj1 = 0 ; | |
7505 | PyObject * obj2 = 0 ; | |
7506 | PyObject * obj3 = 0 ; | |
7507 | PyObject * obj4 = 0 ; | |
7508 | PyObject * obj5 = 0 ; | |
7509 | PyObject * obj6 = 0 ; | |
7510 | char *kwnames[] = { | |
7511 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
7512 | }; | |
7513 | ||
7514 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
36ed4f51 RD |
7515 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7516 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7517 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
7518 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc | 7519 | if (obj2) { |
36ed4f51 RD |
7520 | { |
7521 | arg3 = (int)(SWIG_As_int(obj2)); | |
7522 | if (SWIG_arg_fail(3)) SWIG_fail; | |
7523 | } | |
d55e5bfc RD |
7524 | } |
7525 | if (obj3) { | |
7526 | { | |
7527 | arg4 = &temp4; | |
7528 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
7529 | } | |
7530 | } | |
7531 | if (obj4) { | |
7532 | { | |
7533 | arg5 = &temp5; | |
7534 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
7535 | } | |
7536 | } | |
7537 | if (obj5) { | |
36ed4f51 RD |
7538 | { |
7539 | arg6 = (long)(SWIG_As_long(obj5)); | |
7540 | if (SWIG_arg_fail(6)) SWIG_fail; | |
7541 | } | |
d55e5bfc RD |
7542 | } |
7543 | if (obj6) { | |
7544 | { | |
7545 | arg7 = wxString_in_helper(obj6); | |
7546 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 7547 | temp7 = true; |
d55e5bfc RD |
7548 | } |
7549 | } | |
7550 | { | |
7551 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7552 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
7553 | ||
7554 | wxPyEndAllowThreads(__tstate); | |
7555 | if (PyErr_Occurred()) SWIG_fail; | |
7556 | } | |
7557 | { | |
7558 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7559 | } | |
7560 | { | |
7561 | if (temp7) | |
7562 | delete arg7; | |
7563 | } | |
7564 | return resultobj; | |
7565 | fail: | |
7566 | { | |
7567 | if (temp7) | |
7568 | delete arg7; | |
7569 | } | |
7570 | return NULL; | |
7571 | } | |
7572 | ||
7573 | ||
c370783e | 7574 | static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7575 | PyObject *resultobj; |
7576 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
7577 | wxWindow *result; | |
7578 | PyObject * obj0 = 0 ; | |
7579 | char *kwnames[] = { | |
7580 | (char *) "self", NULL | |
7581 | }; | |
7582 | ||
7583 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
7584 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7585 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
7586 | { |
7587 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7588 | result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1(); | |
7589 | ||
7590 | wxPyEndAllowThreads(__tstate); | |
7591 | if (PyErr_Occurred()) SWIG_fail; | |
7592 | } | |
7593 | { | |
412d302d | 7594 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
7595 | } |
7596 | return resultobj; | |
7597 | fail: | |
7598 | return NULL; | |
7599 | } | |
7600 | ||
7601 | ||
c370783e | 7602 | static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7603 | PyObject *resultobj; |
7604 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
7605 | wxWindow *result; | |
7606 | PyObject * obj0 = 0 ; | |
7607 | char *kwnames[] = { | |
7608 | (char *) "self", NULL | |
7609 | }; | |
7610 | ||
7611 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
7612 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7613 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
7614 | { |
7615 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7616 | result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2(); | |
7617 | ||
7618 | wxPyEndAllowThreads(__tstate); | |
7619 | if (PyErr_Occurred()) SWIG_fail; | |
7620 | } | |
7621 | { | |
412d302d | 7622 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
7623 | } |
7624 | return resultobj; | |
7625 | fail: | |
7626 | return NULL; | |
7627 | } | |
7628 | ||
7629 | ||
c370783e | 7630 | static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7631 | PyObject *resultobj; |
7632 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
7633 | int arg2 ; | |
7634 | PyObject * obj0 = 0 ; | |
7635 | PyObject * obj1 = 0 ; | |
7636 | char *kwnames[] = { | |
7637 | (char *) "self",(char *) "mode", NULL | |
7638 | }; | |
7639 | ||
7640 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
7641 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7642 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7643 | { | |
7644 | arg2 = (int)(SWIG_As_int(obj1)); | |
7645 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7646 | } | |
d55e5bfc RD |
7647 | { |
7648 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7649 | (arg1)->SetSplitMode(arg2); | |
7650 | ||
7651 | wxPyEndAllowThreads(__tstate); | |
7652 | if (PyErr_Occurred()) SWIG_fail; | |
7653 | } | |
7654 | Py_INCREF(Py_None); resultobj = Py_None; | |
7655 | return resultobj; | |
7656 | fail: | |
7657 | return NULL; | |
7658 | } | |
7659 | ||
7660 | ||
c370783e | 7661 | static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7662 | PyObject *resultobj; |
7663 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
36ed4f51 | 7664 | wxSplitMode result; |
d55e5bfc RD |
7665 | PyObject * obj0 = 0 ; |
7666 | char *kwnames[] = { | |
7667 | (char *) "self", NULL | |
7668 | }; | |
7669 | ||
7670 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
7671 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7672 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
7673 | { |
7674 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 7675 | result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode(); |
d55e5bfc RD |
7676 | |
7677 | wxPyEndAllowThreads(__tstate); | |
7678 | if (PyErr_Occurred()) SWIG_fail; | |
7679 | } | |
36ed4f51 | 7680 | resultobj = SWIG_From_int((result)); |
d55e5bfc RD |
7681 | return resultobj; |
7682 | fail: | |
7683 | return NULL; | |
7684 | } | |
7685 | ||
7686 | ||
c370783e | 7687 | static PyObject *_wrap_SplitterWindow_Initialize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7688 | PyObject *resultobj; |
7689 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
7690 | wxWindow *arg2 = (wxWindow *) 0 ; | |
7691 | PyObject * obj0 = 0 ; | |
7692 | PyObject * obj1 = 0 ; | |
7693 | char *kwnames[] = { | |
7694 | (char *) "self",(char *) "window", NULL | |
7695 | }; | |
7696 | ||
7697 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
7698 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7699 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7700 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
7701 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
7702 | { |
7703 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7704 | (arg1)->Initialize(arg2); | |
7705 | ||
7706 | wxPyEndAllowThreads(__tstate); | |
7707 | if (PyErr_Occurred()) SWIG_fail; | |
7708 | } | |
7709 | Py_INCREF(Py_None); resultobj = Py_None; | |
7710 | return resultobj; | |
7711 | fail: | |
7712 | return NULL; | |
7713 | } | |
7714 | ||
7715 | ||
c370783e | 7716 | static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7717 | PyObject *resultobj; |
7718 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
7719 | wxWindow *arg2 = (wxWindow *) 0 ; | |
7720 | wxWindow *arg3 = (wxWindow *) 0 ; | |
7721 | int arg4 = (int) 0 ; | |
7722 | bool result; | |
7723 | PyObject * obj0 = 0 ; | |
7724 | PyObject * obj1 = 0 ; | |
7725 | PyObject * obj2 = 0 ; | |
7726 | PyObject * obj3 = 0 ; | |
7727 | char *kwnames[] = { | |
7728 | (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL | |
7729 | }; | |
7730 | ||
7731 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
36ed4f51 RD |
7732 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7733 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7734 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
7735 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7736 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
7737 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc | 7738 | if (obj3) { |
36ed4f51 RD |
7739 | { |
7740 | arg4 = (int)(SWIG_As_int(obj3)); | |
7741 | if (SWIG_arg_fail(4)) SWIG_fail; | |
7742 | } | |
d55e5bfc RD |
7743 | } |
7744 | { | |
7745 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7746 | result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4); | |
7747 | ||
7748 | wxPyEndAllowThreads(__tstate); | |
7749 | if (PyErr_Occurred()) SWIG_fail; | |
7750 | } | |
7751 | { | |
7752 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7753 | } | |
7754 | return resultobj; | |
7755 | fail: | |
7756 | return NULL; | |
7757 | } | |
7758 | ||
7759 | ||
c370783e | 7760 | static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7761 | PyObject *resultobj; |
7762 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
7763 | wxWindow *arg2 = (wxWindow *) 0 ; | |
7764 | wxWindow *arg3 = (wxWindow *) 0 ; | |
7765 | int arg4 = (int) 0 ; | |
7766 | bool result; | |
7767 | PyObject * obj0 = 0 ; | |
7768 | PyObject * obj1 = 0 ; | |
7769 | PyObject * obj2 = 0 ; | |
7770 | PyObject * obj3 = 0 ; | |
7771 | char *kwnames[] = { | |
7772 | (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL | |
7773 | }; | |
7774 | ||
7775 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) 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; | |
7778 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
7779 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7780 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
7781 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc | 7782 | if (obj3) { |
36ed4f51 RD |
7783 | { |
7784 | arg4 = (int)(SWIG_As_int(obj3)); | |
7785 | if (SWIG_arg_fail(4)) SWIG_fail; | |
7786 | } | |
d55e5bfc RD |
7787 | } |
7788 | { | |
7789 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7790 | result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4); | |
7791 | ||
7792 | wxPyEndAllowThreads(__tstate); | |
7793 | if (PyErr_Occurred()) SWIG_fail; | |
7794 | } | |
7795 | { | |
7796 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7797 | } | |
7798 | return resultobj; | |
7799 | fail: | |
7800 | return NULL; | |
7801 | } | |
7802 | ||
7803 | ||
c370783e | 7804 | static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7805 | PyObject *resultobj; |
7806 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
7807 | wxWindow *arg2 = (wxWindow *) NULL ; | |
7808 | bool result; | |
7809 | PyObject * obj0 = 0 ; | |
7810 | PyObject * obj1 = 0 ; | |
7811 | char *kwnames[] = { | |
7812 | (char *) "self",(char *) "toRemove", NULL | |
7813 | }; | |
7814 | ||
7815 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
7816 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7817 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 7818 | if (obj1) { |
36ed4f51 RD |
7819 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
7820 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
7821 | } |
7822 | { | |
7823 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7824 | result = (bool)(arg1)->Unsplit(arg2); | |
7825 | ||
7826 | wxPyEndAllowThreads(__tstate); | |
7827 | if (PyErr_Occurred()) SWIG_fail; | |
7828 | } | |
7829 | { | |
7830 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7831 | } | |
7832 | return resultobj; | |
7833 | fail: | |
7834 | return NULL; | |
7835 | } | |
7836 | ||
7837 | ||
c370783e | 7838 | static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7839 | PyObject *resultobj; |
7840 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
7841 | wxWindow *arg2 = (wxWindow *) 0 ; | |
7842 | wxWindow *arg3 = (wxWindow *) 0 ; | |
7843 | bool result; | |
7844 | PyObject * obj0 = 0 ; | |
7845 | PyObject * obj1 = 0 ; | |
7846 | PyObject * obj2 = 0 ; | |
7847 | char *kwnames[] = { | |
7848 | (char *) "self",(char *) "winOld",(char *) "winNew", NULL | |
7849 | }; | |
7850 | ||
7851 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
7852 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7853 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7854 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
7855 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7856 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
7857 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc RD |
7858 | { |
7859 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7860 | result = (bool)(arg1)->ReplaceWindow(arg2,arg3); | |
7861 | ||
7862 | wxPyEndAllowThreads(__tstate); | |
7863 | if (PyErr_Occurred()) SWIG_fail; | |
7864 | } | |
7865 | { | |
7866 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7867 | } | |
7868 | return resultobj; | |
7869 | fail: | |
7870 | return NULL; | |
7871 | } | |
7872 | ||
7873 | ||
c370783e | 7874 | static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7875 | PyObject *resultobj; |
7876 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
7877 | PyObject * obj0 = 0 ; | |
7878 | char *kwnames[] = { | |
7879 | (char *) "self", NULL | |
7880 | }; | |
7881 | ||
7882 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
7883 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7884 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
7885 | { |
7886 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7887 | (arg1)->UpdateSize(); | |
7888 | ||
7889 | wxPyEndAllowThreads(__tstate); | |
7890 | if (PyErr_Occurred()) SWIG_fail; | |
7891 | } | |
7892 | Py_INCREF(Py_None); resultobj = Py_None; | |
7893 | return resultobj; | |
7894 | fail: | |
7895 | return NULL; | |
7896 | } | |
7897 | ||
7898 | ||
c370783e | 7899 | static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7900 | PyObject *resultobj; |
7901 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
7902 | bool result; | |
7903 | PyObject * obj0 = 0 ; | |
7904 | char *kwnames[] = { | |
7905 | (char *) "self", NULL | |
7906 | }; | |
7907 | ||
7908 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
7909 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7910 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
7911 | { |
7912 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7913 | result = (bool)((wxSplitterWindow const *)arg1)->IsSplit(); | |
7914 | ||
7915 | wxPyEndAllowThreads(__tstate); | |
7916 | if (PyErr_Occurred()) SWIG_fail; | |
7917 | } | |
7918 | { | |
7919 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7920 | } | |
7921 | return resultobj; | |
7922 | fail: | |
7923 | return NULL; | |
7924 | } | |
7925 | ||
7926 | ||
c370783e | 7927 | static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7928 | PyObject *resultobj; |
7929 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
7930 | int arg2 ; | |
7931 | PyObject * obj0 = 0 ; | |
7932 | PyObject * obj1 = 0 ; | |
7933 | char *kwnames[] = { | |
7934 | (char *) "self",(char *) "width", NULL | |
7935 | }; | |
7936 | ||
7937 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
7938 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7939 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7940 | { | |
7941 | arg2 = (int)(SWIG_As_int(obj1)); | |
7942 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7943 | } | |
d55e5bfc RD |
7944 | { |
7945 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7946 | (arg1)->SetSashSize(arg2); | |
7947 | ||
7948 | wxPyEndAllowThreads(__tstate); | |
7949 | if (PyErr_Occurred()) SWIG_fail; | |
7950 | } | |
7951 | Py_INCREF(Py_None); resultobj = Py_None; | |
7952 | return resultobj; | |
7953 | fail: | |
7954 | return NULL; | |
7955 | } | |
7956 | ||
7957 | ||
c370783e | 7958 | static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7959 | PyObject *resultobj; |
7960 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
7961 | int arg2 ; | |
7962 | PyObject * obj0 = 0 ; | |
7963 | PyObject * obj1 = 0 ; | |
7964 | char *kwnames[] = { | |
7965 | (char *) "self",(char *) "width", NULL | |
7966 | }; | |
7967 | ||
7968 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
7969 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7970 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7971 | { | |
7972 | arg2 = (int)(SWIG_As_int(obj1)); | |
7973 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7974 | } | |
d55e5bfc RD |
7975 | { |
7976 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7977 | (arg1)->SetBorderSize(arg2); | |
7978 | ||
7979 | wxPyEndAllowThreads(__tstate); | |
7980 | if (PyErr_Occurred()) SWIG_fail; | |
7981 | } | |
7982 | Py_INCREF(Py_None); resultobj = Py_None; | |
7983 | return resultobj; | |
7984 | fail: | |
7985 | return NULL; | |
7986 | } | |
7987 | ||
7988 | ||
c370783e | 7989 | static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7990 | PyObject *resultobj; |
7991 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
7992 | int result; | |
7993 | PyObject * obj0 = 0 ; | |
7994 | char *kwnames[] = { | |
7995 | (char *) "self", NULL | |
7996 | }; | |
7997 | ||
7998 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
7999 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8000 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
8001 | { |
8002 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8003 | result = (int)((wxSplitterWindow const *)arg1)->GetSashSize(); | |
8004 | ||
8005 | wxPyEndAllowThreads(__tstate); | |
8006 | if (PyErr_Occurred()) SWIG_fail; | |
8007 | } | |
36ed4f51 RD |
8008 | { |
8009 | resultobj = SWIG_From_int((int)(result)); | |
8010 | } | |
d55e5bfc RD |
8011 | return resultobj; |
8012 | fail: | |
8013 | return NULL; | |
8014 | } | |
8015 | ||
8016 | ||
c370783e | 8017 | static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8018 | PyObject *resultobj; |
8019 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
8020 | int result; | |
8021 | PyObject * obj0 = 0 ; | |
8022 | char *kwnames[] = { | |
8023 | (char *) "self", NULL | |
8024 | }; | |
8025 | ||
8026 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
8027 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8028 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
8029 | { |
8030 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8031 | result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize(); | |
8032 | ||
8033 | wxPyEndAllowThreads(__tstate); | |
8034 | if (PyErr_Occurred()) SWIG_fail; | |
8035 | } | |
36ed4f51 RD |
8036 | { |
8037 | resultobj = SWIG_From_int((int)(result)); | |
8038 | } | |
d55e5bfc RD |
8039 | return resultobj; |
8040 | fail: | |
8041 | return NULL; | |
8042 | } | |
8043 | ||
8044 | ||
c370783e | 8045 | static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8046 | PyObject *resultobj; |
8047 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
8048 | int arg2 ; | |
b411df4a | 8049 | bool arg3 = (bool) true ; |
d55e5bfc RD |
8050 | PyObject * obj0 = 0 ; |
8051 | PyObject * obj1 = 0 ; | |
8052 | PyObject * obj2 = 0 ; | |
8053 | char *kwnames[] = { | |
8054 | (char *) "self",(char *) "position",(char *) "redraw", NULL | |
8055 | }; | |
8056 | ||
8057 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
8058 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8059 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8060 | { | |
8061 | arg2 = (int)(SWIG_As_int(obj1)); | |
8062 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8063 | } | |
d55e5bfc | 8064 | if (obj2) { |
36ed4f51 RD |
8065 | { |
8066 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
8067 | if (SWIG_arg_fail(3)) SWIG_fail; | |
8068 | } | |
d55e5bfc RD |
8069 | } |
8070 | { | |
8071 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8072 | (arg1)->SetSashPosition(arg2,arg3); | |
8073 | ||
8074 | wxPyEndAllowThreads(__tstate); | |
8075 | if (PyErr_Occurred()) SWIG_fail; | |
8076 | } | |
8077 | Py_INCREF(Py_None); resultobj = Py_None; | |
8078 | return resultobj; | |
8079 | fail: | |
8080 | return NULL; | |
8081 | } | |
8082 | ||
8083 | ||
c370783e | 8084 | static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8085 | PyObject *resultobj; |
8086 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
8087 | int result; | |
8088 | PyObject * obj0 = 0 ; | |
8089 | char *kwnames[] = { | |
8090 | (char *) "self", NULL | |
8091 | }; | |
8092 | ||
8093 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
8094 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8095 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
8096 | { |
8097 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8098 | result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition(); | |
8099 | ||
8100 | wxPyEndAllowThreads(__tstate); | |
8101 | if (PyErr_Occurred()) SWIG_fail; | |
8102 | } | |
36ed4f51 RD |
8103 | { |
8104 | resultobj = SWIG_From_int((int)(result)); | |
8105 | } | |
d55e5bfc RD |
8106 | return resultobj; |
8107 | fail: | |
8108 | return NULL; | |
8109 | } | |
8110 | ||
8111 | ||
5cbf236d RD |
8112 | static PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) { |
8113 | PyObject *resultobj; | |
8114 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
8115 | double arg2 ; | |
8116 | PyObject * obj0 = 0 ; | |
8117 | PyObject * obj1 = 0 ; | |
8118 | char *kwnames[] = { | |
8119 | (char *) "self",(char *) "gravity", NULL | |
8120 | }; | |
8121 | ||
8122 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
8123 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8124 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8125 | { | |
8126 | arg2 = (double)(SWIG_As_double(obj1)); | |
8127 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8128 | } | |
5cbf236d RD |
8129 | { |
8130 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8131 | (arg1)->SetSashGravity(arg2); | |
8132 | ||
8133 | wxPyEndAllowThreads(__tstate); | |
8134 | if (PyErr_Occurred()) SWIG_fail; | |
8135 | } | |
8136 | Py_INCREF(Py_None); resultobj = Py_None; | |
8137 | return resultobj; | |
8138 | fail: | |
8139 | return NULL; | |
8140 | } | |
8141 | ||
8142 | ||
8143 | static PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) { | |
8144 | PyObject *resultobj; | |
8145 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
8146 | double result; | |
8147 | PyObject * obj0 = 0 ; | |
8148 | char *kwnames[] = { | |
8149 | (char *) "self", NULL | |
8150 | }; | |
8151 | ||
8152 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashGravity",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
8153 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8154 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5cbf236d RD |
8155 | { |
8156 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8157 | result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity(); | |
8158 | ||
8159 | wxPyEndAllowThreads(__tstate); | |
8160 | if (PyErr_Occurred()) SWIG_fail; | |
8161 | } | |
36ed4f51 RD |
8162 | { |
8163 | resultobj = SWIG_From_double((double)(result)); | |
8164 | } | |
5cbf236d RD |
8165 | return resultobj; |
8166 | fail: | |
8167 | return NULL; | |
8168 | } | |
8169 | ||
8170 | ||
c370783e | 8171 | static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8172 | PyObject *resultobj; |
8173 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
8174 | int arg2 ; | |
8175 | PyObject * obj0 = 0 ; | |
8176 | PyObject * obj1 = 0 ; | |
8177 | char *kwnames[] = { | |
8178 | (char *) "self",(char *) "min", NULL | |
8179 | }; | |
8180 | ||
8181 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
8182 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8183 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8184 | { | |
8185 | arg2 = (int)(SWIG_As_int(obj1)); | |
8186 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8187 | } | |
d55e5bfc RD |
8188 | { |
8189 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8190 | (arg1)->SetMinimumPaneSize(arg2); | |
8191 | ||
8192 | wxPyEndAllowThreads(__tstate); | |
8193 | if (PyErr_Occurred()) SWIG_fail; | |
8194 | } | |
8195 | Py_INCREF(Py_None); resultobj = Py_None; | |
8196 | return resultobj; | |
8197 | fail: | |
8198 | return NULL; | |
8199 | } | |
8200 | ||
8201 | ||
c370783e | 8202 | static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8203 | PyObject *resultobj; |
8204 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
8205 | int result; | |
8206 | PyObject * obj0 = 0 ; | |
8207 | char *kwnames[] = { | |
8208 | (char *) "self", NULL | |
8209 | }; | |
8210 | ||
8211 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
8212 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8213 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
8214 | { |
8215 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8216 | result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize(); | |
8217 | ||
8218 | wxPyEndAllowThreads(__tstate); | |
8219 | if (PyErr_Occurred()) SWIG_fail; | |
8220 | } | |
36ed4f51 RD |
8221 | { |
8222 | resultobj = SWIG_From_int((int)(result)); | |
8223 | } | |
d55e5bfc RD |
8224 | return resultobj; |
8225 | fail: | |
8226 | return NULL; | |
8227 | } | |
8228 | ||
8229 | ||
c370783e | 8230 | static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8231 | PyObject *resultobj; |
8232 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
8233 | int arg2 ; | |
8234 | int arg3 ; | |
8235 | int arg4 = (int) 5 ; | |
8236 | bool result; | |
8237 | PyObject * obj0 = 0 ; | |
8238 | PyObject * obj1 = 0 ; | |
8239 | PyObject * obj2 = 0 ; | |
8240 | PyObject * obj3 = 0 ; | |
8241 | char *kwnames[] = { | |
8242 | (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL | |
8243 | }; | |
8244 | ||
8245 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
36ed4f51 RD |
8246 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8247 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8248 | { | |
8249 | arg2 = (int)(SWIG_As_int(obj1)); | |
8250 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8251 | } | |
8252 | { | |
8253 | arg3 = (int)(SWIG_As_int(obj2)); | |
8254 | if (SWIG_arg_fail(3)) SWIG_fail; | |
8255 | } | |
d55e5bfc | 8256 | if (obj3) { |
36ed4f51 RD |
8257 | { |
8258 | arg4 = (int)(SWIG_As_int(obj3)); | |
8259 | if (SWIG_arg_fail(4)) SWIG_fail; | |
8260 | } | |
d55e5bfc RD |
8261 | } |
8262 | { | |
8263 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8264 | result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4); | |
8265 | ||
8266 | wxPyEndAllowThreads(__tstate); | |
8267 | if (PyErr_Occurred()) SWIG_fail; | |
8268 | } | |
8269 | { | |
8270 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8271 | } | |
8272 | return resultobj; | |
8273 | fail: | |
8274 | return NULL; | |
8275 | } | |
8276 | ||
8277 | ||
c370783e | 8278 | static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8279 | PyObject *resultobj; |
8280 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
8281 | PyObject * obj0 = 0 ; | |
8282 | char *kwnames[] = { | |
8283 | (char *) "self", NULL | |
8284 | }; | |
8285 | ||
8286 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
8287 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8288 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
8289 | { |
8290 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8291 | (arg1)->SizeWindows(); | |
8292 | ||
8293 | wxPyEndAllowThreads(__tstate); | |
8294 | if (PyErr_Occurred()) SWIG_fail; | |
8295 | } | |
8296 | Py_INCREF(Py_None); resultobj = Py_None; | |
8297 | return resultobj; | |
8298 | fail: | |
8299 | return NULL; | |
8300 | } | |
8301 | ||
8302 | ||
c370783e | 8303 | static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8304 | PyObject *resultobj; |
8305 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
8306 | bool arg2 ; | |
8307 | PyObject * obj0 = 0 ; | |
8308 | PyObject * obj1 = 0 ; | |
8309 | char *kwnames[] = { | |
8310 | (char *) "self",(char *) "needUpdating", NULL | |
8311 | }; | |
8312 | ||
8313 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
8314 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8315 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8316 | { | |
8317 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
8318 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8319 | } | |
d55e5bfc RD |
8320 | { |
8321 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8322 | (arg1)->SetNeedUpdating(arg2); | |
8323 | ||
8324 | wxPyEndAllowThreads(__tstate); | |
8325 | if (PyErr_Occurred()) SWIG_fail; | |
8326 | } | |
8327 | Py_INCREF(Py_None); resultobj = Py_None; | |
8328 | return resultobj; | |
8329 | fail: | |
8330 | return NULL; | |
8331 | } | |
8332 | ||
8333 | ||
c370783e | 8334 | static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8335 | PyObject *resultobj; |
8336 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
8337 | bool result; | |
8338 | PyObject * obj0 = 0 ; | |
8339 | char *kwnames[] = { | |
8340 | (char *) "self", NULL | |
8341 | }; | |
8342 | ||
8343 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
8344 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8345 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
8346 | { |
8347 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8348 | result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating(); | |
8349 | ||
8350 | wxPyEndAllowThreads(__tstate); | |
8351 | if (PyErr_Occurred()) SWIG_fail; | |
8352 | } | |
8353 | { | |
8354 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8355 | } | |
8356 | return resultobj; | |
8357 | fail: | |
8358 | return NULL; | |
8359 | } | |
8360 | ||
8361 | ||
c370783e | 8362 | static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
f20a2e1f | 8363 | PyObject *resultobj; |
36ed4f51 | 8364 | wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; |
f20a2e1f RD |
8365 | wxVisualAttributes result; |
8366 | PyObject * obj0 = 0 ; | |
8367 | char *kwnames[] = { | |
8368 | (char *) "variant", NULL | |
8369 | }; | |
8370 | ||
8371 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
8372 | if (obj0) { | |
36ed4f51 RD |
8373 | { |
8374 | arg1 = (wxWindowVariant)(SWIG_As_int(obj0)); | |
8375 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8376 | } | |
f20a2e1f RD |
8377 | } |
8378 | { | |
0439c23b | 8379 | if (!wxPyCheckForApp()) SWIG_fail; |
f20a2e1f RD |
8380 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
8381 | result = wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant )arg1); | |
8382 | ||
8383 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 8384 | if (PyErr_Occurred()) SWIG_fail; |
f20a2e1f RD |
8385 | } |
8386 | { | |
8387 | wxVisualAttributes * resultptr; | |
36ed4f51 | 8388 | resultptr = new wxVisualAttributes((wxVisualAttributes &)(result)); |
f20a2e1f RD |
8389 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); |
8390 | } | |
8391 | return resultobj; | |
8392 | fail: | |
8393 | return NULL; | |
8394 | } | |
8395 | ||
8396 | ||
c370783e | 8397 | static PyObject * SplitterWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
8398 | PyObject *obj; |
8399 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8400 | SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj); | |
8401 | Py_INCREF(obj); | |
8402 | return Py_BuildValue((char *)""); | |
8403 | } | |
c370783e | 8404 | static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8405 | PyObject *resultobj; |
8406 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; | |
8407 | wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ; | |
8408 | wxSplitterEvent *result; | |
8409 | PyObject * obj0 = 0 ; | |
8410 | PyObject * obj1 = 0 ; | |
8411 | char *kwnames[] = { | |
8412 | (char *) "type",(char *) "splitter", NULL | |
8413 | }; | |
8414 | ||
8415 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail; | |
8416 | if (obj0) { | |
36ed4f51 RD |
8417 | { |
8418 | arg1 = (wxEventType)(SWIG_As_int(obj0)); | |
8419 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8420 | } | |
d55e5bfc RD |
8421 | } |
8422 | if (obj1) { | |
36ed4f51 RD |
8423 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8424 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
8425 | } |
8426 | { | |
8427 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8428 | result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2); | |
8429 | ||
8430 | wxPyEndAllowThreads(__tstate); | |
8431 | if (PyErr_Occurred()) SWIG_fail; | |
8432 | } | |
8433 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1); | |
8434 | return resultobj; | |
8435 | fail: | |
8436 | return NULL; | |
8437 | } | |
8438 | ||
8439 | ||
c370783e | 8440 | static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8441 | PyObject *resultobj; |
8442 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
8443 | int arg2 ; | |
8444 | PyObject * obj0 = 0 ; | |
8445 | PyObject * obj1 = 0 ; | |
8446 | char *kwnames[] = { | |
8447 | (char *) "self",(char *) "pos", NULL | |
8448 | }; | |
8449 | ||
8450 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
8451 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0); |
8452 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8453 | { | |
8454 | arg2 = (int)(SWIG_As_int(obj1)); | |
8455 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8456 | } | |
d55e5bfc RD |
8457 | { |
8458 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8459 | (arg1)->SetSashPosition(arg2); | |
8460 | ||
8461 | wxPyEndAllowThreads(__tstate); | |
8462 | if (PyErr_Occurred()) SWIG_fail; | |
8463 | } | |
8464 | Py_INCREF(Py_None); resultobj = Py_None; | |
8465 | return resultobj; | |
8466 | fail: | |
8467 | return NULL; | |
8468 | } | |
8469 | ||
8470 | ||
c370783e | 8471 | static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8472 | PyObject *resultobj; |
8473 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
8474 | int result; | |
8475 | PyObject * obj0 = 0 ; | |
8476 | char *kwnames[] = { | |
8477 | (char *) "self", NULL | |
8478 | }; | |
8479 | ||
8480 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
8481 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0); |
8482 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
8483 | { |
8484 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8485 | result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition(); | |
8486 | ||
8487 | wxPyEndAllowThreads(__tstate); | |
8488 | if (PyErr_Occurred()) SWIG_fail; | |
8489 | } | |
36ed4f51 RD |
8490 | { |
8491 | resultobj = SWIG_From_int((int)(result)); | |
8492 | } | |
d55e5bfc RD |
8493 | return resultobj; |
8494 | fail: | |
8495 | return NULL; | |
8496 | } | |
8497 | ||
8498 | ||
c370783e | 8499 | static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8500 | PyObject *resultobj; |
8501 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
8502 | wxWindow *result; | |
8503 | PyObject * obj0 = 0 ; | |
8504 | char *kwnames[] = { | |
8505 | (char *) "self", NULL | |
8506 | }; | |
8507 | ||
8508 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
8509 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0); |
8510 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
8511 | { |
8512 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8513 | result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved(); | |
8514 | ||
8515 | wxPyEndAllowThreads(__tstate); | |
8516 | if (PyErr_Occurred()) SWIG_fail; | |
8517 | } | |
8518 | { | |
412d302d | 8519 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
8520 | } |
8521 | return resultobj; | |
8522 | fail: | |
8523 | return NULL; | |
8524 | } | |
8525 | ||
8526 | ||
c370783e | 8527 | static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8528 | PyObject *resultobj; |
8529 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
8530 | int result; | |
8531 | PyObject * obj0 = 0 ; | |
8532 | char *kwnames[] = { | |
8533 | (char *) "self", NULL | |
8534 | }; | |
8535 | ||
8536 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
8537 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0); |
8538 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
8539 | { |
8540 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8541 | result = (int)((wxSplitterEvent const *)arg1)->GetX(); | |
8542 | ||
8543 | wxPyEndAllowThreads(__tstate); | |
8544 | if (PyErr_Occurred()) SWIG_fail; | |
8545 | } | |
36ed4f51 RD |
8546 | { |
8547 | resultobj = SWIG_From_int((int)(result)); | |
8548 | } | |
d55e5bfc RD |
8549 | return resultobj; |
8550 | fail: | |
8551 | return NULL; | |
8552 | } | |
8553 | ||
8554 | ||
c370783e | 8555 | static PyObject *_wrap_SplitterEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8556 | PyObject *resultobj; |
8557 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
8558 | int result; | |
8559 | PyObject * obj0 = 0 ; | |
8560 | char *kwnames[] = { | |
8561 | (char *) "self", NULL | |
8562 | }; | |
8563 | ||
8564 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
8565 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0); |
8566 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
8567 | { |
8568 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8569 | result = (int)((wxSplitterEvent const *)arg1)->GetY(); | |
8570 | ||
8571 | wxPyEndAllowThreads(__tstate); | |
8572 | if (PyErr_Occurred()) SWIG_fail; | |
8573 | } | |
36ed4f51 RD |
8574 | { |
8575 | resultobj = SWIG_From_int((int)(result)); | |
8576 | } | |
d55e5bfc RD |
8577 | return resultobj; |
8578 | fail: | |
8579 | return NULL; | |
8580 | } | |
8581 | ||
8582 | ||
c370783e | 8583 | static PyObject * SplitterEvent_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
8584 | PyObject *obj; |
8585 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8586 | SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj); | |
8587 | Py_INCREF(obj); | |
8588 | return Py_BuildValue((char *)""); | |
8589 | } | |
c370783e | 8590 | static int _wrap_SashNameStr_set(PyObject *) { |
d55e5bfc RD |
8591 | PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only."); |
8592 | return 1; | |
8593 | } | |
8594 | ||
8595 | ||
36ed4f51 | 8596 | static PyObject *_wrap_SashNameStr_get(void) { |
d55e5bfc RD |
8597 | PyObject *pyobj; |
8598 | ||
8599 | { | |
8600 | #if wxUSE_UNICODE | |
8601 | pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len()); | |
8602 | #else | |
8603 | pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len()); | |
8604 | #endif | |
8605 | } | |
8606 | return pyobj; | |
8607 | } | |
8608 | ||
8609 | ||
c370783e | 8610 | static int _wrap_SashLayoutNameStr_set(PyObject *) { |
d55e5bfc RD |
8611 | PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only."); |
8612 | return 1; | |
8613 | } | |
8614 | ||
8615 | ||
36ed4f51 | 8616 | static PyObject *_wrap_SashLayoutNameStr_get(void) { |
d55e5bfc RD |
8617 | PyObject *pyobj; |
8618 | ||
8619 | { | |
8620 | #if wxUSE_UNICODE | |
8621 | pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len()); | |
8622 | #else | |
8623 | pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len()); | |
8624 | #endif | |
8625 | } | |
8626 | return pyobj; | |
8627 | } | |
8628 | ||
8629 | ||
c370783e | 8630 | static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8631 | PyObject *resultobj; |
8632 | wxWindow *arg1 = (wxWindow *) 0 ; | |
bfddbb17 | 8633 | int arg2 = (int) -1 ; |
d55e5bfc RD |
8634 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
8635 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
8636 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
8637 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
8638 | long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
8639 | wxString const &arg6_defvalue = wxPySashNameStr ; | |
8640 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
8641 | wxSashWindow *result; | |
8642 | wxPoint temp3 ; | |
8643 | wxSize temp4 ; | |
b411df4a | 8644 | bool temp6 = false ; |
d55e5bfc RD |
8645 | PyObject * obj0 = 0 ; |
8646 | PyObject * obj1 = 0 ; | |
8647 | PyObject * obj2 = 0 ; | |
8648 | PyObject * obj3 = 0 ; | |
8649 | PyObject * obj4 = 0 ; | |
8650 | PyObject * obj5 = 0 ; | |
8651 | char *kwnames[] = { | |
8652 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
8653 | }; | |
8654 | ||
bfddbb17 | 8655 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
36ed4f51 RD |
8656 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
8657 | if (SWIG_arg_fail(1)) SWIG_fail; | |
bfddbb17 | 8658 | if (obj1) { |
36ed4f51 RD |
8659 | { |
8660 | arg2 = (int)(SWIG_As_int(obj1)); | |
8661 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8662 | } | |
bfddbb17 | 8663 | } |
d55e5bfc RD |
8664 | if (obj2) { |
8665 | { | |
8666 | arg3 = &temp3; | |
8667 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
8668 | } | |
8669 | } | |
8670 | if (obj3) { | |
8671 | { | |
8672 | arg4 = &temp4; | |
8673 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
8674 | } | |
8675 | } | |
8676 | if (obj4) { | |
36ed4f51 RD |
8677 | { |
8678 | arg5 = (long)(SWIG_As_long(obj4)); | |
8679 | if (SWIG_arg_fail(5)) SWIG_fail; | |
8680 | } | |
d55e5bfc RD |
8681 | } |
8682 | if (obj5) { | |
8683 | { | |
8684 | arg6 = wxString_in_helper(obj5); | |
8685 | if (arg6 == NULL) SWIG_fail; | |
b411df4a | 8686 | temp6 = true; |
d55e5bfc RD |
8687 | } |
8688 | } | |
8689 | { | |
0439c23b | 8690 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
8691 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
8692 | result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
8693 | ||
8694 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 8695 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
8696 | } |
8697 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1); | |
8698 | { | |
8699 | if (temp6) | |
8700 | delete arg6; | |
8701 | } | |
8702 | return resultobj; | |
8703 | fail: | |
8704 | { | |
8705 | if (temp6) | |
8706 | delete arg6; | |
8707 | } | |
8708 | return NULL; | |
8709 | } | |
8710 | ||
8711 | ||
c370783e | 8712 | static PyObject *_wrap_new_PreSashWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8713 | PyObject *resultobj; |
8714 | wxSashWindow *result; | |
8715 | char *kwnames[] = { | |
8716 | NULL | |
8717 | }; | |
8718 | ||
8719 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail; | |
8720 | { | |
0439c23b | 8721 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
8722 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
8723 | result = (wxSashWindow *)new wxSashWindow(); | |
8724 | ||
8725 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 8726 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
8727 | } |
8728 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1); | |
8729 | return resultobj; | |
8730 | fail: | |
8731 | return NULL; | |
8732 | } | |
8733 | ||
8734 | ||
c370783e | 8735 | static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8736 | PyObject *resultobj; |
8737 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
8738 | wxWindow *arg2 = (wxWindow *) 0 ; | |
bfddbb17 | 8739 | int arg3 = (int) -1 ; |
d55e5bfc RD |
8740 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
8741 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
8742 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
8743 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
8744 | long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
8745 | wxString const &arg7_defvalue = wxPySashNameStr ; | |
8746 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
8747 | bool result; | |
8748 | wxPoint temp4 ; | |
8749 | wxSize temp5 ; | |
b411df4a | 8750 | bool temp7 = false ; |
d55e5bfc RD |
8751 | PyObject * obj0 = 0 ; |
8752 | PyObject * obj1 = 0 ; | |
8753 | PyObject * obj2 = 0 ; | |
8754 | PyObject * obj3 = 0 ; | |
8755 | PyObject * obj4 = 0 ; | |
8756 | PyObject * obj5 = 0 ; | |
8757 | PyObject * obj6 = 0 ; | |
8758 | char *kwnames[] = { | |
8759 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
8760 | }; | |
8761 | ||
bfddbb17 | 8762 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
36ed4f51 RD |
8763 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
8764 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8765 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
8766 | if (SWIG_arg_fail(2)) SWIG_fail; | |
bfddbb17 | 8767 | if (obj2) { |
36ed4f51 RD |
8768 | { |
8769 | arg3 = (int)(SWIG_As_int(obj2)); | |
8770 | if (SWIG_arg_fail(3)) SWIG_fail; | |
8771 | } | |
bfddbb17 | 8772 | } |
d55e5bfc RD |
8773 | if (obj3) { |
8774 | { | |
8775 | arg4 = &temp4; | |
8776 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
8777 | } | |
8778 | } | |
8779 | if (obj4) { | |
8780 | { | |
8781 | arg5 = &temp5; | |
8782 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
8783 | } | |
8784 | } | |
8785 | if (obj5) { | |
36ed4f51 RD |
8786 | { |
8787 | arg6 = (long)(SWIG_As_long(obj5)); | |
8788 | if (SWIG_arg_fail(6)) SWIG_fail; | |
8789 | } | |
d55e5bfc RD |
8790 | } |
8791 | if (obj6) { | |
8792 | { | |
8793 | arg7 = wxString_in_helper(obj6); | |
8794 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 8795 | temp7 = true; |
d55e5bfc RD |
8796 | } |
8797 | } | |
8798 | { | |
8799 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8800 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
8801 | ||
8802 | wxPyEndAllowThreads(__tstate); | |
8803 | if (PyErr_Occurred()) SWIG_fail; | |
8804 | } | |
8805 | { | |
8806 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8807 | } | |
8808 | { | |
8809 | if (temp7) | |
8810 | delete arg7; | |
8811 | } | |
8812 | return resultobj; | |
8813 | fail: | |
8814 | { | |
8815 | if (temp7) | |
8816 | delete arg7; | |
8817 | } | |
8818 | return NULL; | |
8819 | } | |
8820 | ||
8821 | ||
c370783e | 8822 | static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8823 | PyObject *resultobj; |
8824 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
36ed4f51 | 8825 | wxSashEdgePosition arg2 ; |
d55e5bfc RD |
8826 | bool arg3 ; |
8827 | PyObject * obj0 = 0 ; | |
8828 | PyObject * obj1 = 0 ; | |
8829 | PyObject * obj2 = 0 ; | |
8830 | char *kwnames[] = { | |
8831 | (char *) "self",(char *) "edge",(char *) "sash", NULL | |
8832 | }; | |
8833 | ||
8834 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
8835 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
8836 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8837 | { | |
8838 | arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1)); | |
8839 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8840 | } | |
8841 | { | |
8842 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
8843 | if (SWIG_arg_fail(3)) SWIG_fail; | |
8844 | } | |
d55e5bfc RD |
8845 | { |
8846 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8847 | (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3); | |
8848 | ||
8849 | wxPyEndAllowThreads(__tstate); | |
8850 | if (PyErr_Occurred()) SWIG_fail; | |
8851 | } | |
8852 | Py_INCREF(Py_None); resultobj = Py_None; | |
8853 | return resultobj; | |
8854 | fail: | |
8855 | return NULL; | |
8856 | } | |
8857 | ||
8858 | ||
c370783e | 8859 | static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8860 | PyObject *resultobj; |
8861 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
36ed4f51 | 8862 | wxSashEdgePosition arg2 ; |
d55e5bfc RD |
8863 | bool result; |
8864 | PyObject * obj0 = 0 ; | |
8865 | PyObject * obj1 = 0 ; | |
8866 | char *kwnames[] = { | |
8867 | (char *) "self",(char *) "edge", NULL | |
8868 | }; | |
8869 | ||
8870 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
8871 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
8872 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8873 | { | |
8874 | arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1)); | |
8875 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8876 | } | |
d55e5bfc RD |
8877 | { |
8878 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8879 | result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2); | |
8880 | ||
8881 | wxPyEndAllowThreads(__tstate); | |
8882 | if (PyErr_Occurred()) SWIG_fail; | |
8883 | } | |
8884 | { | |
8885 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8886 | } | |
8887 | return resultobj; | |
8888 | fail: | |
8889 | return NULL; | |
8890 | } | |
8891 | ||
8892 | ||
c370783e | 8893 | static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8894 | PyObject *resultobj; |
8895 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
36ed4f51 | 8896 | wxSashEdgePosition arg2 ; |
d55e5bfc RD |
8897 | bool arg3 ; |
8898 | PyObject * obj0 = 0 ; | |
8899 | PyObject * obj1 = 0 ; | |
8900 | PyObject * obj2 = 0 ; | |
8901 | char *kwnames[] = { | |
8902 | (char *) "self",(char *) "edge",(char *) "border", NULL | |
8903 | }; | |
8904 | ||
8905 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
8906 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
8907 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8908 | { | |
8909 | arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1)); | |
8910 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8911 | } | |
8912 | { | |
8913 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
8914 | if (SWIG_arg_fail(3)) SWIG_fail; | |
8915 | } | |
d55e5bfc RD |
8916 | { |
8917 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8918 | (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3); | |
8919 | ||
8920 | wxPyEndAllowThreads(__tstate); | |
8921 | if (PyErr_Occurred()) SWIG_fail; | |
8922 | } | |
8923 | Py_INCREF(Py_None); resultobj = Py_None; | |
8924 | return resultobj; | |
8925 | fail: | |
8926 | return NULL; | |
8927 | } | |
8928 | ||
8929 | ||
c370783e | 8930 | static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8931 | PyObject *resultobj; |
8932 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
36ed4f51 | 8933 | wxSashEdgePosition arg2 ; |
d55e5bfc RD |
8934 | bool result; |
8935 | PyObject * obj0 = 0 ; | |
8936 | PyObject * obj1 = 0 ; | |
8937 | char *kwnames[] = { | |
8938 | (char *) "self",(char *) "edge", NULL | |
8939 | }; | |
8940 | ||
8941 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
8942 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
8943 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8944 | { | |
8945 | arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1)); | |
8946 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8947 | } | |
d55e5bfc RD |
8948 | { |
8949 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8950 | result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2); | |
8951 | ||
8952 | wxPyEndAllowThreads(__tstate); | |
8953 | if (PyErr_Occurred()) SWIG_fail; | |
8954 | } | |
8955 | { | |
8956 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8957 | } | |
8958 | return resultobj; | |
8959 | fail: | |
8960 | return NULL; | |
8961 | } | |
8962 | ||
8963 | ||
c370783e | 8964 | static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8965 | PyObject *resultobj; |
8966 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
36ed4f51 | 8967 | wxSashEdgePosition arg2 ; |
d55e5bfc RD |
8968 | int result; |
8969 | PyObject * obj0 = 0 ; | |
8970 | PyObject * obj1 = 0 ; | |
8971 | char *kwnames[] = { | |
8972 | (char *) "self",(char *) "edge", NULL | |
8973 | }; | |
8974 | ||
8975 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
8976 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
8977 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8978 | { | |
8979 | arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1)); | |
8980 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8981 | } | |
d55e5bfc RD |
8982 | { |
8983 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8984 | result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2); | |
8985 | ||
8986 | wxPyEndAllowThreads(__tstate); | |
8987 | if (PyErr_Occurred()) SWIG_fail; | |
8988 | } | |
36ed4f51 RD |
8989 | { |
8990 | resultobj = SWIG_From_int((int)(result)); | |
8991 | } | |
d55e5bfc RD |
8992 | return resultobj; |
8993 | fail: | |
8994 | return NULL; | |
8995 | } | |
8996 | ||
8997 | ||
c370783e | 8998 | static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8999 | PyObject *resultobj; |
9000 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
9001 | int arg2 ; | |
9002 | PyObject * obj0 = 0 ; | |
9003 | PyObject * obj1 = 0 ; | |
9004 | char *kwnames[] = { | |
9005 | (char *) "self",(char *) "width", NULL | |
9006 | }; | |
9007 | ||
9008 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
9009 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9010 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9011 | { | |
9012 | arg2 = (int)(SWIG_As_int(obj1)); | |
9013 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9014 | } | |
d55e5bfc RD |
9015 | { |
9016 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9017 | (arg1)->SetDefaultBorderSize(arg2); | |
9018 | ||
9019 | wxPyEndAllowThreads(__tstate); | |
9020 | if (PyErr_Occurred()) SWIG_fail; | |
9021 | } | |
9022 | Py_INCREF(Py_None); resultobj = Py_None; | |
9023 | return resultobj; | |
9024 | fail: | |
9025 | return NULL; | |
9026 | } | |
9027 | ||
9028 | ||
c370783e | 9029 | static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9030 | PyObject *resultobj; |
9031 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
9032 | int result; | |
9033 | PyObject * obj0 = 0 ; | |
9034 | char *kwnames[] = { | |
9035 | (char *) "self", NULL | |
9036 | }; | |
9037 | ||
9038 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
9039 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9040 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9041 | { |
9042 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9043 | result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize(); | |
9044 | ||
9045 | wxPyEndAllowThreads(__tstate); | |
9046 | if (PyErr_Occurred()) SWIG_fail; | |
9047 | } | |
36ed4f51 RD |
9048 | { |
9049 | resultobj = SWIG_From_int((int)(result)); | |
9050 | } | |
d55e5bfc RD |
9051 | return resultobj; |
9052 | fail: | |
9053 | return NULL; | |
9054 | } | |
9055 | ||
9056 | ||
c370783e | 9057 | static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9058 | PyObject *resultobj; |
9059 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
9060 | int arg2 ; | |
9061 | PyObject * obj0 = 0 ; | |
9062 | PyObject * obj1 = 0 ; | |
9063 | char *kwnames[] = { | |
9064 | (char *) "self",(char *) "width", NULL | |
9065 | }; | |
9066 | ||
9067 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
9068 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9069 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9070 | { | |
9071 | arg2 = (int)(SWIG_As_int(obj1)); | |
9072 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9073 | } | |
d55e5bfc RD |
9074 | { |
9075 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9076 | (arg1)->SetExtraBorderSize(arg2); | |
9077 | ||
9078 | wxPyEndAllowThreads(__tstate); | |
9079 | if (PyErr_Occurred()) SWIG_fail; | |
9080 | } | |
9081 | Py_INCREF(Py_None); resultobj = Py_None; | |
9082 | return resultobj; | |
9083 | fail: | |
9084 | return NULL; | |
9085 | } | |
9086 | ||
9087 | ||
c370783e | 9088 | static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9089 | PyObject *resultobj; |
9090 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
9091 | int result; | |
9092 | PyObject * obj0 = 0 ; | |
9093 | char *kwnames[] = { | |
9094 | (char *) "self", NULL | |
9095 | }; | |
9096 | ||
9097 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
9098 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9099 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9100 | { |
9101 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9102 | result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize(); | |
9103 | ||
9104 | wxPyEndAllowThreads(__tstate); | |
9105 | if (PyErr_Occurred()) SWIG_fail; | |
9106 | } | |
36ed4f51 RD |
9107 | { |
9108 | resultobj = SWIG_From_int((int)(result)); | |
9109 | } | |
d55e5bfc RD |
9110 | return resultobj; |
9111 | fail: | |
9112 | return NULL; | |
9113 | } | |
9114 | ||
9115 | ||
c370783e | 9116 | static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9117 | PyObject *resultobj; |
9118 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
9119 | int arg2 ; | |
9120 | PyObject * obj0 = 0 ; | |
9121 | PyObject * obj1 = 0 ; | |
9122 | char *kwnames[] = { | |
9123 | (char *) "self",(char *) "min", NULL | |
9124 | }; | |
9125 | ||
9126 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
9127 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9128 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9129 | { | |
9130 | arg2 = (int)(SWIG_As_int(obj1)); | |
9131 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9132 | } | |
d55e5bfc RD |
9133 | { |
9134 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9135 | (arg1)->SetMinimumSizeX(arg2); | |
9136 | ||
9137 | wxPyEndAllowThreads(__tstate); | |
9138 | if (PyErr_Occurred()) SWIG_fail; | |
9139 | } | |
9140 | Py_INCREF(Py_None); resultobj = Py_None; | |
9141 | return resultobj; | |
9142 | fail: | |
9143 | return NULL; | |
9144 | } | |
9145 | ||
9146 | ||
c370783e | 9147 | static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9148 | PyObject *resultobj; |
9149 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
9150 | int arg2 ; | |
9151 | PyObject * obj0 = 0 ; | |
9152 | PyObject * obj1 = 0 ; | |
9153 | char *kwnames[] = { | |
9154 | (char *) "self",(char *) "min", NULL | |
9155 | }; | |
9156 | ||
9157 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
9158 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9159 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9160 | { | |
9161 | arg2 = (int)(SWIG_As_int(obj1)); | |
9162 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9163 | } | |
d55e5bfc RD |
9164 | { |
9165 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9166 | (arg1)->SetMinimumSizeY(arg2); | |
9167 | ||
9168 | wxPyEndAllowThreads(__tstate); | |
9169 | if (PyErr_Occurred()) SWIG_fail; | |
9170 | } | |
9171 | Py_INCREF(Py_None); resultobj = Py_None; | |
9172 | return resultobj; | |
9173 | fail: | |
9174 | return NULL; | |
9175 | } | |
9176 | ||
9177 | ||
c370783e | 9178 | static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9179 | PyObject *resultobj; |
9180 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
9181 | int result; | |
9182 | PyObject * obj0 = 0 ; | |
9183 | char *kwnames[] = { | |
9184 | (char *) "self", NULL | |
9185 | }; | |
9186 | ||
9187 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
9188 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9189 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9190 | { |
9191 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9192 | result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX(); | |
9193 | ||
9194 | wxPyEndAllowThreads(__tstate); | |
9195 | if (PyErr_Occurred()) SWIG_fail; | |
9196 | } | |
36ed4f51 RD |
9197 | { |
9198 | resultobj = SWIG_From_int((int)(result)); | |
9199 | } | |
d55e5bfc RD |
9200 | return resultobj; |
9201 | fail: | |
9202 | return NULL; | |
9203 | } | |
9204 | ||
9205 | ||
c370783e | 9206 | static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9207 | PyObject *resultobj; |
9208 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
9209 | int result; | |
9210 | PyObject * obj0 = 0 ; | |
9211 | char *kwnames[] = { | |
9212 | (char *) "self", NULL | |
9213 | }; | |
9214 | ||
9215 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
9216 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9217 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9218 | { |
9219 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9220 | result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY(); | |
9221 | ||
9222 | wxPyEndAllowThreads(__tstate); | |
9223 | if (PyErr_Occurred()) SWIG_fail; | |
9224 | } | |
36ed4f51 RD |
9225 | { |
9226 | resultobj = SWIG_From_int((int)(result)); | |
9227 | } | |
d55e5bfc RD |
9228 | return resultobj; |
9229 | fail: | |
9230 | return NULL; | |
9231 | } | |
9232 | ||
9233 | ||
c370783e | 9234 | static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9235 | PyObject *resultobj; |
9236 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
9237 | int arg2 ; | |
9238 | PyObject * obj0 = 0 ; | |
9239 | PyObject * obj1 = 0 ; | |
9240 | char *kwnames[] = { | |
9241 | (char *) "self",(char *) "max", NULL | |
9242 | }; | |
9243 | ||
9244 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
9245 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9246 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9247 | { | |
9248 | arg2 = (int)(SWIG_As_int(obj1)); | |
9249 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9250 | } | |
d55e5bfc RD |
9251 | { |
9252 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9253 | (arg1)->SetMaximumSizeX(arg2); | |
9254 | ||
9255 | wxPyEndAllowThreads(__tstate); | |
9256 | if (PyErr_Occurred()) SWIG_fail; | |
9257 | } | |
9258 | Py_INCREF(Py_None); resultobj = Py_None; | |
9259 | return resultobj; | |
9260 | fail: | |
9261 | return NULL; | |
9262 | } | |
9263 | ||
9264 | ||
c370783e | 9265 | static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9266 | PyObject *resultobj; |
9267 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
9268 | int arg2 ; | |
9269 | PyObject * obj0 = 0 ; | |
9270 | PyObject * obj1 = 0 ; | |
9271 | char *kwnames[] = { | |
9272 | (char *) "self",(char *) "max", NULL | |
9273 | }; | |
9274 | ||
9275 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
9276 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9277 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9278 | { | |
9279 | arg2 = (int)(SWIG_As_int(obj1)); | |
9280 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9281 | } | |
d55e5bfc RD |
9282 | { |
9283 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9284 | (arg1)->SetMaximumSizeY(arg2); | |
9285 | ||
9286 | wxPyEndAllowThreads(__tstate); | |
9287 | if (PyErr_Occurred()) SWIG_fail; | |
9288 | } | |
9289 | Py_INCREF(Py_None); resultobj = Py_None; | |
9290 | return resultobj; | |
9291 | fail: | |
9292 | return NULL; | |
9293 | } | |
9294 | ||
9295 | ||
c370783e | 9296 | static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9297 | PyObject *resultobj; |
9298 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
9299 | int result; | |
9300 | PyObject * obj0 = 0 ; | |
9301 | char *kwnames[] = { | |
9302 | (char *) "self", NULL | |
9303 | }; | |
9304 | ||
9305 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
9306 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9307 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9308 | { |
9309 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9310 | result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX(); | |
9311 | ||
9312 | wxPyEndAllowThreads(__tstate); | |
9313 | if (PyErr_Occurred()) SWIG_fail; | |
9314 | } | |
36ed4f51 RD |
9315 | { |
9316 | resultobj = SWIG_From_int((int)(result)); | |
9317 | } | |
d55e5bfc RD |
9318 | return resultobj; |
9319 | fail: | |
9320 | return NULL; | |
9321 | } | |
9322 | ||
9323 | ||
c370783e | 9324 | static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9325 | PyObject *resultobj; |
9326 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
9327 | int result; | |
9328 | PyObject * obj0 = 0 ; | |
9329 | char *kwnames[] = { | |
9330 | (char *) "self", NULL | |
9331 | }; | |
9332 | ||
9333 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
9334 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9335 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9336 | { |
9337 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9338 | result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY(); | |
9339 | ||
9340 | wxPyEndAllowThreads(__tstate); | |
9341 | if (PyErr_Occurred()) SWIG_fail; | |
9342 | } | |
36ed4f51 RD |
9343 | { |
9344 | resultobj = SWIG_From_int((int)(result)); | |
9345 | } | |
d55e5bfc RD |
9346 | return resultobj; |
9347 | fail: | |
9348 | return NULL; | |
9349 | } | |
9350 | ||
9351 | ||
c370783e | 9352 | static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9353 | PyObject *resultobj; |
9354 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
9355 | int arg2 ; | |
9356 | int arg3 ; | |
9357 | int arg4 = (int) 2 ; | |
36ed4f51 | 9358 | wxSashEdgePosition result; |
d55e5bfc RD |
9359 | PyObject * obj0 = 0 ; |
9360 | PyObject * obj1 = 0 ; | |
9361 | PyObject * obj2 = 0 ; | |
9362 | PyObject * obj3 = 0 ; | |
9363 | char *kwnames[] = { | |
9364 | (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL | |
9365 | }; | |
9366 | ||
9367 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
36ed4f51 RD |
9368 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9369 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9370 | { | |
9371 | arg2 = (int)(SWIG_As_int(obj1)); | |
9372 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9373 | } | |
9374 | { | |
9375 | arg3 = (int)(SWIG_As_int(obj2)); | |
9376 | if (SWIG_arg_fail(3)) SWIG_fail; | |
9377 | } | |
d55e5bfc | 9378 | if (obj3) { |
36ed4f51 RD |
9379 | { |
9380 | arg4 = (int)(SWIG_As_int(obj3)); | |
9381 | if (SWIG_arg_fail(4)) SWIG_fail; | |
9382 | } | |
d55e5bfc RD |
9383 | } |
9384 | { | |
9385 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 9386 | result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4); |
d55e5bfc RD |
9387 | |
9388 | wxPyEndAllowThreads(__tstate); | |
9389 | if (PyErr_Occurred()) SWIG_fail; | |
9390 | } | |
36ed4f51 | 9391 | resultobj = SWIG_From_int((result)); |
d55e5bfc RD |
9392 | return resultobj; |
9393 | fail: | |
9394 | return NULL; | |
9395 | } | |
9396 | ||
9397 | ||
c370783e | 9398 | static PyObject *_wrap_SashWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9399 | PyObject *resultobj; |
9400 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
9401 | PyObject * obj0 = 0 ; | |
9402 | char *kwnames[] = { | |
9403 | (char *) "self", NULL | |
9404 | }; | |
9405 | ||
9406 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
9407 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9408 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9409 | { |
9410 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9411 | (arg1)->SizeWindows(); | |
9412 | ||
9413 | wxPyEndAllowThreads(__tstate); | |
9414 | if (PyErr_Occurred()) SWIG_fail; | |
9415 | } | |
9416 | Py_INCREF(Py_None); resultobj = Py_None; | |
9417 | return resultobj; | |
9418 | fail: | |
9419 | return NULL; | |
9420 | } | |
9421 | ||
9422 | ||
c370783e | 9423 | static PyObject * SashWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
9424 | PyObject *obj; |
9425 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9426 | SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj); | |
9427 | Py_INCREF(obj); | |
9428 | return Py_BuildValue((char *)""); | |
9429 | } | |
c370783e | 9430 | static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9431 | PyObject *resultobj; |
9432 | int arg1 = (int) 0 ; | |
36ed4f51 | 9433 | wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ; |
d55e5bfc RD |
9434 | wxSashEvent *result; |
9435 | PyObject * obj0 = 0 ; | |
9436 | PyObject * obj1 = 0 ; | |
9437 | char *kwnames[] = { | |
9438 | (char *) "id",(char *) "edge", NULL | |
9439 | }; | |
9440 | ||
9441 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail; | |
9442 | if (obj0) { | |
36ed4f51 RD |
9443 | { |
9444 | arg1 = (int)(SWIG_As_int(obj0)); | |
9445 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9446 | } | |
d55e5bfc RD |
9447 | } |
9448 | if (obj1) { | |
36ed4f51 RD |
9449 | { |
9450 | arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1)); | |
9451 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9452 | } | |
d55e5bfc RD |
9453 | } |
9454 | { | |
9455 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9456 | result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2); | |
9457 | ||
9458 | wxPyEndAllowThreads(__tstate); | |
9459 | if (PyErr_Occurred()) SWIG_fail; | |
9460 | } | |
9461 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1); | |
9462 | return resultobj; | |
9463 | fail: | |
9464 | return NULL; | |
9465 | } | |
9466 | ||
9467 | ||
c370783e | 9468 | static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9469 | PyObject *resultobj; |
9470 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
36ed4f51 | 9471 | wxSashEdgePosition arg2 ; |
d55e5bfc RD |
9472 | PyObject * obj0 = 0 ; |
9473 | PyObject * obj1 = 0 ; | |
9474 | char *kwnames[] = { | |
9475 | (char *) "self",(char *) "edge", NULL | |
9476 | }; | |
9477 | ||
9478 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
9479 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0); |
9480 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9481 | { | |
9482 | arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1)); | |
9483 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9484 | } | |
d55e5bfc RD |
9485 | { |
9486 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9487 | (arg1)->SetEdge((wxSashEdgePosition )arg2); | |
9488 | ||
9489 | wxPyEndAllowThreads(__tstate); | |
9490 | if (PyErr_Occurred()) SWIG_fail; | |
9491 | } | |
9492 | Py_INCREF(Py_None); resultobj = Py_None; | |
9493 | return resultobj; | |
9494 | fail: | |
9495 | return NULL; | |
9496 | } | |
9497 | ||
9498 | ||
c370783e | 9499 | static PyObject *_wrap_SashEvent_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9500 | PyObject *resultobj; |
9501 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
36ed4f51 | 9502 | wxSashEdgePosition result; |
d55e5bfc RD |
9503 | PyObject * obj0 = 0 ; |
9504 | char *kwnames[] = { | |
9505 | (char *) "self", NULL | |
9506 | }; | |
9507 | ||
9508 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
9509 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0); |
9510 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9511 | { |
9512 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 9513 | result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge(); |
d55e5bfc RD |
9514 | |
9515 | wxPyEndAllowThreads(__tstate); | |
9516 | if (PyErr_Occurred()) SWIG_fail; | |
9517 | } | |
36ed4f51 | 9518 | resultobj = SWIG_From_int((result)); |
d55e5bfc RD |
9519 | return resultobj; |
9520 | fail: | |
9521 | return NULL; | |
9522 | } | |
9523 | ||
9524 | ||
c370783e | 9525 | static PyObject *_wrap_SashEvent_SetDragRect(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9526 | PyObject *resultobj; |
9527 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
9528 | wxRect *arg2 = 0 ; | |
9529 | wxRect temp2 ; | |
9530 | PyObject * obj0 = 0 ; | |
9531 | PyObject * obj1 = 0 ; | |
9532 | char *kwnames[] = { | |
9533 | (char *) "self",(char *) "rect", NULL | |
9534 | }; | |
9535 | ||
9536 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
9537 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0); |
9538 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9539 | { |
9540 | arg2 = &temp2; | |
9541 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
9542 | } | |
9543 | { | |
9544 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9545 | (arg1)->SetDragRect((wxRect const &)*arg2); | |
9546 | ||
9547 | wxPyEndAllowThreads(__tstate); | |
9548 | if (PyErr_Occurred()) SWIG_fail; | |
9549 | } | |
9550 | Py_INCREF(Py_None); resultobj = Py_None; | |
9551 | return resultobj; | |
9552 | fail: | |
9553 | return NULL; | |
9554 | } | |
9555 | ||
9556 | ||
c370783e | 9557 | static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9558 | PyObject *resultobj; |
9559 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
9560 | wxRect result; | |
9561 | PyObject * obj0 = 0 ; | |
9562 | char *kwnames[] = { | |
9563 | (char *) "self", NULL | |
9564 | }; | |
9565 | ||
9566 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
9567 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0); |
9568 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9569 | { |
9570 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9571 | result = ((wxSashEvent const *)arg1)->GetDragRect(); | |
9572 | ||
9573 | wxPyEndAllowThreads(__tstate); | |
9574 | if (PyErr_Occurred()) SWIG_fail; | |
9575 | } | |
9576 | { | |
9577 | wxRect * resultptr; | |
36ed4f51 | 9578 | resultptr = new wxRect((wxRect &)(result)); |
d55e5bfc RD |
9579 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); |
9580 | } | |
9581 | return resultobj; | |
9582 | fail: | |
9583 | return NULL; | |
9584 | } | |
9585 | ||
9586 | ||
c370783e | 9587 | static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9588 | PyObject *resultobj; |
9589 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
36ed4f51 | 9590 | wxSashDragStatus arg2 ; |
d55e5bfc RD |
9591 | PyObject * obj0 = 0 ; |
9592 | PyObject * obj1 = 0 ; | |
9593 | char *kwnames[] = { | |
9594 | (char *) "self",(char *) "status", NULL | |
9595 | }; | |
9596 | ||
9597 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
9598 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0); |
9599 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9600 | { | |
9601 | arg2 = (wxSashDragStatus)(SWIG_As_int(obj1)); | |
9602 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9603 | } | |
d55e5bfc RD |
9604 | { |
9605 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9606 | (arg1)->SetDragStatus((wxSashDragStatus )arg2); | |
9607 | ||
9608 | wxPyEndAllowThreads(__tstate); | |
9609 | if (PyErr_Occurred()) SWIG_fail; | |
9610 | } | |
9611 | Py_INCREF(Py_None); resultobj = Py_None; | |
9612 | return resultobj; | |
9613 | fail: | |
9614 | return NULL; | |
9615 | } | |
9616 | ||
9617 | ||
c370783e | 9618 | static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9619 | PyObject *resultobj; |
9620 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
36ed4f51 | 9621 | wxSashDragStatus result; |
d55e5bfc RD |
9622 | PyObject * obj0 = 0 ; |
9623 | char *kwnames[] = { | |
9624 | (char *) "self", NULL | |
9625 | }; | |
9626 | ||
9627 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
9628 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0); |
9629 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9630 | { |
9631 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 9632 | result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus(); |
d55e5bfc RD |
9633 | |
9634 | wxPyEndAllowThreads(__tstate); | |
9635 | if (PyErr_Occurred()) SWIG_fail; | |
9636 | } | |
36ed4f51 | 9637 | resultobj = SWIG_From_int((result)); |
d55e5bfc RD |
9638 | return resultobj; |
9639 | fail: | |
9640 | return NULL; | |
9641 | } | |
9642 | ||
9643 | ||
c370783e | 9644 | static PyObject * SashEvent_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
9645 | PyObject *obj; |
9646 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9647 | SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj); | |
9648 | Py_INCREF(obj); | |
9649 | return Py_BuildValue((char *)""); | |
9650 | } | |
c370783e | 9651 | static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9652 | PyObject *resultobj; |
9653 | int arg1 = (int) 0 ; | |
9654 | wxQueryLayoutInfoEvent *result; | |
9655 | PyObject * obj0 = 0 ; | |
9656 | char *kwnames[] = { | |
9657 | (char *) "id", NULL | |
9658 | }; | |
9659 | ||
9660 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail; | |
9661 | if (obj0) { | |
36ed4f51 RD |
9662 | { |
9663 | arg1 = (int)(SWIG_As_int(obj0)); | |
9664 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9665 | } | |
d55e5bfc RD |
9666 | } |
9667 | { | |
9668 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9669 | result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1); | |
9670 | ||
9671 | wxPyEndAllowThreads(__tstate); | |
9672 | if (PyErr_Occurred()) SWIG_fail; | |
9673 | } | |
9674 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1); | |
9675 | return resultobj; | |
9676 | fail: | |
9677 | return NULL; | |
9678 | } | |
9679 | ||
9680 | ||
c370783e | 9681 | static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9682 | PyObject *resultobj; |
9683 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
9684 | int arg2 ; | |
9685 | PyObject * obj0 = 0 ; | |
9686 | PyObject * obj1 = 0 ; | |
9687 | char *kwnames[] = { | |
9688 | (char *) "self",(char *) "length", NULL | |
9689 | }; | |
9690 | ||
9691 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
9692 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); |
9693 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9694 | { | |
9695 | arg2 = (int)(SWIG_As_int(obj1)); | |
9696 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9697 | } | |
d55e5bfc RD |
9698 | { |
9699 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9700 | (arg1)->SetRequestedLength(arg2); | |
9701 | ||
9702 | wxPyEndAllowThreads(__tstate); | |
9703 | if (PyErr_Occurred()) SWIG_fail; | |
9704 | } | |
9705 | Py_INCREF(Py_None); resultobj = Py_None; | |
9706 | return resultobj; | |
9707 | fail: | |
9708 | return NULL; | |
9709 | } | |
9710 | ||
9711 | ||
c370783e | 9712 | static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9713 | PyObject *resultobj; |
9714 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
9715 | int result; | |
9716 | PyObject * obj0 = 0 ; | |
9717 | char *kwnames[] = { | |
9718 | (char *) "self", NULL | |
9719 | }; | |
9720 | ||
9721 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
9722 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); |
9723 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9724 | { |
9725 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9726 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength(); | |
9727 | ||
9728 | wxPyEndAllowThreads(__tstate); | |
9729 | if (PyErr_Occurred()) SWIG_fail; | |
9730 | } | |
36ed4f51 RD |
9731 | { |
9732 | resultobj = SWIG_From_int((int)(result)); | |
9733 | } | |
d55e5bfc RD |
9734 | return resultobj; |
9735 | fail: | |
9736 | return NULL; | |
9737 | } | |
9738 | ||
9739 | ||
c370783e | 9740 | static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9741 | PyObject *resultobj; |
9742 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
9743 | int arg2 ; | |
9744 | PyObject * obj0 = 0 ; | |
9745 | PyObject * obj1 = 0 ; | |
9746 | char *kwnames[] = { | |
9747 | (char *) "self",(char *) "flags", NULL | |
9748 | }; | |
9749 | ||
9750 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
9751 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); |
9752 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9753 | { | |
9754 | arg2 = (int)(SWIG_As_int(obj1)); | |
9755 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9756 | } | |
d55e5bfc RD |
9757 | { |
9758 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9759 | (arg1)->SetFlags(arg2); | |
9760 | ||
9761 | wxPyEndAllowThreads(__tstate); | |
9762 | if (PyErr_Occurred()) SWIG_fail; | |
9763 | } | |
9764 | Py_INCREF(Py_None); resultobj = Py_None; | |
9765 | return resultobj; | |
9766 | fail: | |
9767 | return NULL; | |
9768 | } | |
9769 | ||
9770 | ||
c370783e | 9771 | static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9772 | PyObject *resultobj; |
9773 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
9774 | int result; | |
9775 | PyObject * obj0 = 0 ; | |
9776 | char *kwnames[] = { | |
9777 | (char *) "self", NULL | |
9778 | }; | |
9779 | ||
9780 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
9781 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); |
9782 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9783 | { |
9784 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9785 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags(); | |
9786 | ||
9787 | wxPyEndAllowThreads(__tstate); | |
9788 | if (PyErr_Occurred()) SWIG_fail; | |
9789 | } | |
36ed4f51 RD |
9790 | { |
9791 | resultobj = SWIG_From_int((int)(result)); | |
9792 | } | |
d55e5bfc RD |
9793 | return resultobj; |
9794 | fail: | |
9795 | return NULL; | |
9796 | } | |
9797 | ||
9798 | ||
c370783e | 9799 | static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9800 | PyObject *resultobj; |
9801 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
9802 | wxSize *arg2 = 0 ; | |
9803 | wxSize temp2 ; | |
9804 | PyObject * obj0 = 0 ; | |
9805 | PyObject * obj1 = 0 ; | |
9806 | char *kwnames[] = { | |
9807 | (char *) "self",(char *) "size", NULL | |
9808 | }; | |
9809 | ||
9810 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
9811 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); |
9812 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9813 | { |
9814 | arg2 = &temp2; | |
9815 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
9816 | } | |
9817 | { | |
9818 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9819 | (arg1)->SetSize((wxSize const &)*arg2); | |
9820 | ||
9821 | wxPyEndAllowThreads(__tstate); | |
9822 | if (PyErr_Occurred()) SWIG_fail; | |
9823 | } | |
9824 | Py_INCREF(Py_None); resultobj = Py_None; | |
9825 | return resultobj; | |
9826 | fail: | |
9827 | return NULL; | |
9828 | } | |
9829 | ||
9830 | ||
c370783e | 9831 | static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9832 | PyObject *resultobj; |
9833 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
9834 | wxSize result; | |
9835 | PyObject * obj0 = 0 ; | |
9836 | char *kwnames[] = { | |
9837 | (char *) "self", NULL | |
9838 | }; | |
9839 | ||
9840 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
9841 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); |
9842 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9843 | { |
9844 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9845 | result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize(); | |
9846 | ||
9847 | wxPyEndAllowThreads(__tstate); | |
9848 | if (PyErr_Occurred()) SWIG_fail; | |
9849 | } | |
9850 | { | |
9851 | wxSize * resultptr; | |
36ed4f51 | 9852 | resultptr = new wxSize((wxSize &)(result)); |
d55e5bfc RD |
9853 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
9854 | } | |
9855 | return resultobj; | |
9856 | fail: | |
9857 | return NULL; | |
9858 | } | |
9859 | ||
9860 | ||
c370783e | 9861 | static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9862 | PyObject *resultobj; |
9863 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
36ed4f51 | 9864 | wxLayoutOrientation arg2 ; |
d55e5bfc RD |
9865 | PyObject * obj0 = 0 ; |
9866 | PyObject * obj1 = 0 ; | |
9867 | char *kwnames[] = { | |
9868 | (char *) "self",(char *) "orient", NULL | |
9869 | }; | |
9870 | ||
9871 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
9872 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); |
9873 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9874 | { | |
9875 | arg2 = (wxLayoutOrientation)(SWIG_As_int(obj1)); | |
9876 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9877 | } | |
d55e5bfc RD |
9878 | { |
9879 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9880 | (arg1)->SetOrientation((wxLayoutOrientation )arg2); | |
9881 | ||
9882 | wxPyEndAllowThreads(__tstate); | |
9883 | if (PyErr_Occurred()) SWIG_fail; | |
9884 | } | |
9885 | Py_INCREF(Py_None); resultobj = Py_None; | |
9886 | return resultobj; | |
9887 | fail: | |
9888 | return NULL; | |
9889 | } | |
9890 | ||
9891 | ||
c370783e | 9892 | static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9893 | PyObject *resultobj; |
9894 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
36ed4f51 | 9895 | wxLayoutOrientation result; |
d55e5bfc RD |
9896 | PyObject * obj0 = 0 ; |
9897 | char *kwnames[] = { | |
9898 | (char *) "self", NULL | |
9899 | }; | |
9900 | ||
9901 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
9902 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); |
9903 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9904 | { |
9905 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 9906 | result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation(); |
d55e5bfc RD |
9907 | |
9908 | wxPyEndAllowThreads(__tstate); | |
9909 | if (PyErr_Occurred()) SWIG_fail; | |
9910 | } | |
36ed4f51 | 9911 | resultobj = SWIG_From_int((result)); |
d55e5bfc RD |
9912 | return resultobj; |
9913 | fail: | |
9914 | return NULL; | |
9915 | } | |
9916 | ||
9917 | ||
c370783e | 9918 | static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9919 | PyObject *resultobj; |
9920 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
36ed4f51 | 9921 | wxLayoutAlignment arg2 ; |
d55e5bfc RD |
9922 | PyObject * obj0 = 0 ; |
9923 | PyObject * obj1 = 0 ; | |
9924 | char *kwnames[] = { | |
9925 | (char *) "self",(char *) "align", NULL | |
9926 | }; | |
9927 | ||
9928 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
9929 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); |
9930 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9931 | { | |
9932 | arg2 = (wxLayoutAlignment)(SWIG_As_int(obj1)); | |
9933 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9934 | } | |
d55e5bfc RD |
9935 | { |
9936 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9937 | (arg1)->SetAlignment((wxLayoutAlignment )arg2); | |
9938 | ||
9939 | wxPyEndAllowThreads(__tstate); | |
9940 | if (PyErr_Occurred()) SWIG_fail; | |
9941 | } | |
9942 | Py_INCREF(Py_None); resultobj = Py_None; | |
9943 | return resultobj; | |
9944 | fail: | |
9945 | return NULL; | |
9946 | } | |
9947 | ||
9948 | ||
c370783e | 9949 | static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9950 | PyObject *resultobj; |
9951 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
36ed4f51 | 9952 | wxLayoutAlignment result; |
d55e5bfc RD |
9953 | PyObject * obj0 = 0 ; |
9954 | char *kwnames[] = { | |
9955 | (char *) "self", NULL | |
9956 | }; | |
9957 | ||
9958 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
9959 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); |
9960 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9961 | { |
9962 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 9963 | result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment(); |
d55e5bfc RD |
9964 | |
9965 | wxPyEndAllowThreads(__tstate); | |
9966 | if (PyErr_Occurred()) SWIG_fail; | |
9967 | } | |
36ed4f51 | 9968 | resultobj = SWIG_From_int((result)); |
d55e5bfc RD |
9969 | return resultobj; |
9970 | fail: | |
9971 | return NULL; | |
9972 | } | |
9973 | ||
9974 | ||
c370783e | 9975 | static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
9976 | PyObject *obj; |
9977 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9978 | SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj); | |
9979 | Py_INCREF(obj); | |
9980 | return Py_BuildValue((char *)""); | |
9981 | } | |
c370783e | 9982 | static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9983 | PyObject *resultobj; |
9984 | int arg1 = (int) 0 ; | |
9985 | wxCalculateLayoutEvent *result; | |
9986 | PyObject * obj0 = 0 ; | |
9987 | char *kwnames[] = { | |
9988 | (char *) "id", NULL | |
9989 | }; | |
9990 | ||
9991 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail; | |
9992 | if (obj0) { | |
36ed4f51 RD |
9993 | { |
9994 | arg1 = (int)(SWIG_As_int(obj0)); | |
9995 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9996 | } | |
d55e5bfc RD |
9997 | } |
9998 | { | |
9999 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10000 | result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1); | |
10001 | ||
10002 | wxPyEndAllowThreads(__tstate); | |
10003 | if (PyErr_Occurred()) SWIG_fail; | |
10004 | } | |
10005 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1); | |
10006 | return resultobj; | |
10007 | fail: | |
10008 | return NULL; | |
10009 | } | |
10010 | ||
10011 | ||
c370783e | 10012 | static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10013 | PyObject *resultobj; |
10014 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
10015 | int arg2 ; | |
10016 | PyObject * obj0 = 0 ; | |
10017 | PyObject * obj1 = 0 ; | |
10018 | char *kwnames[] = { | |
10019 | (char *) "self",(char *) "flags", NULL | |
10020 | }; | |
10021 | ||
10022 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
10023 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0); |
10024 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10025 | { | |
10026 | arg2 = (int)(SWIG_As_int(obj1)); | |
10027 | if (SWIG_arg_fail(2)) SWIG_fail; | |
10028 | } | |
d55e5bfc RD |
10029 | { |
10030 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10031 | (arg1)->SetFlags(arg2); | |
10032 | ||
10033 | wxPyEndAllowThreads(__tstate); | |
10034 | if (PyErr_Occurred()) SWIG_fail; | |
10035 | } | |
10036 | Py_INCREF(Py_None); resultobj = Py_None; | |
10037 | return resultobj; | |
10038 | fail: | |
10039 | return NULL; | |
10040 | } | |
10041 | ||
10042 | ||
c370783e | 10043 | static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10044 | PyObject *resultobj; |
10045 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
10046 | int result; | |
10047 | PyObject * obj0 = 0 ; | |
10048 | char *kwnames[] = { | |
10049 | (char *) "self", NULL | |
10050 | }; | |
10051 | ||
10052 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
10053 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0); |
10054 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
10055 | { |
10056 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10057 | result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags(); | |
10058 | ||
10059 | wxPyEndAllowThreads(__tstate); | |
10060 | if (PyErr_Occurred()) SWIG_fail; | |
10061 | } | |
36ed4f51 RD |
10062 | { |
10063 | resultobj = SWIG_From_int((int)(result)); | |
10064 | } | |
d55e5bfc RD |
10065 | return resultobj; |
10066 | fail: | |
10067 | return NULL; | |
10068 | } | |
10069 | ||
10070 | ||
c370783e | 10071 | static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10072 | PyObject *resultobj; |
10073 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
10074 | wxRect *arg2 = 0 ; | |
10075 | wxRect temp2 ; | |
10076 | PyObject * obj0 = 0 ; | |
10077 | PyObject * obj1 = 0 ; | |
10078 | char *kwnames[] = { | |
10079 | (char *) "self",(char *) "rect", NULL | |
10080 | }; | |
10081 | ||
10082 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
10083 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0); |
10084 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
10085 | { |
10086 | arg2 = &temp2; | |
10087 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
10088 | } | |
10089 | { | |
10090 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10091 | (arg1)->SetRect((wxRect const &)*arg2); | |
10092 | ||
10093 | wxPyEndAllowThreads(__tstate); | |
10094 | if (PyErr_Occurred()) SWIG_fail; | |
10095 | } | |
10096 | Py_INCREF(Py_None); resultobj = Py_None; | |
10097 | return resultobj; | |
10098 | fail: | |
10099 | return NULL; | |
10100 | } | |
10101 | ||
10102 | ||
c370783e | 10103 | static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10104 | PyObject *resultobj; |
10105 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
10106 | wxRect result; | |
10107 | PyObject * obj0 = 0 ; | |
10108 | char *kwnames[] = { | |
10109 | (char *) "self", NULL | |
10110 | }; | |
10111 | ||
10112 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
10113 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0); |
10114 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
10115 | { |
10116 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10117 | result = ((wxCalculateLayoutEvent const *)arg1)->GetRect(); | |
10118 | ||
10119 | wxPyEndAllowThreads(__tstate); | |
10120 | if (PyErr_Occurred()) SWIG_fail; | |
10121 | } | |
10122 | { | |
10123 | wxRect * resultptr; | |
36ed4f51 | 10124 | resultptr = new wxRect((wxRect &)(result)); |
d55e5bfc RD |
10125 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); |
10126 | } | |
10127 | return resultobj; | |
10128 | fail: | |
10129 | return NULL; | |
10130 | } | |
10131 | ||
10132 | ||
c370783e | 10133 | static PyObject * CalculateLayoutEvent_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
10134 | PyObject *obj; |
10135 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10136 | SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj); | |
10137 | Py_INCREF(obj); | |
10138 | return Py_BuildValue((char *)""); | |
10139 | } | |
c370783e | 10140 | static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10141 | PyObject *resultobj; |
10142 | wxWindow *arg1 = (wxWindow *) 0 ; | |
bfddbb17 | 10143 | int arg2 = (int) -1 ; |
d55e5bfc RD |
10144 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
10145 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
10146 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
10147 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
10148 | long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
10149 | wxString const &arg6_defvalue = wxPySashLayoutNameStr ; | |
10150 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
10151 | wxSashLayoutWindow *result; | |
10152 | wxPoint temp3 ; | |
10153 | wxSize temp4 ; | |
b411df4a | 10154 | bool temp6 = false ; |
d55e5bfc RD |
10155 | PyObject * obj0 = 0 ; |
10156 | PyObject * obj1 = 0 ; | |
10157 | PyObject * obj2 = 0 ; | |
10158 | PyObject * obj3 = 0 ; | |
10159 | PyObject * obj4 = 0 ; | |
10160 | PyObject * obj5 = 0 ; | |
10161 | char *kwnames[] = { | |
10162 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
10163 | }; | |
10164 | ||
bfddbb17 | 10165 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
36ed4f51 RD |
10166 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
10167 | if (SWIG_arg_fail(1)) SWIG_fail; | |
bfddbb17 | 10168 | if (obj1) { |
36ed4f51 RD |
10169 | { |
10170 | arg2 = (int)(SWIG_As_int(obj1)); | |
10171 | if (SWIG_arg_fail(2)) SWIG_fail; | |
10172 | } | |
bfddbb17 | 10173 | } |
d55e5bfc RD |
10174 | if (obj2) { |
10175 | { | |
10176 | arg3 = &temp3; | |
10177 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
10178 | } | |
10179 | } | |
10180 | if (obj3) { | |
10181 | { | |
10182 | arg4 = &temp4; | |
10183 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
10184 | } | |
10185 | } | |
10186 | if (obj4) { | |
36ed4f51 RD |
10187 | { |
10188 | arg5 = (long)(SWIG_As_long(obj4)); | |
10189 | if (SWIG_arg_fail(5)) SWIG_fail; | |
10190 | } | |
d55e5bfc RD |
10191 | } |
10192 | if (obj5) { | |
10193 | { | |
10194 | arg6 = wxString_in_helper(obj5); | |
10195 | if (arg6 == NULL) SWIG_fail; | |
b411df4a | 10196 | temp6 = true; |
d55e5bfc RD |
10197 | } |
10198 | } | |
10199 | { | |
0439c23b | 10200 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
10201 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
10202 | result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
10203 | ||
10204 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 10205 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
10206 | } |
10207 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1); | |
10208 | { | |
10209 | if (temp6) | |
10210 | delete arg6; | |
10211 | } | |
10212 | return resultobj; | |
10213 | fail: | |
10214 | { | |
10215 | if (temp6) | |
10216 | delete arg6; | |
10217 | } | |
10218 | return NULL; | |
10219 | } | |
10220 | ||
10221 | ||
c370783e | 10222 | static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10223 | PyObject *resultobj; |
10224 | wxSashLayoutWindow *result; | |
10225 | char *kwnames[] = { | |
10226 | NULL | |
10227 | }; | |
10228 | ||
10229 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail; | |
10230 | { | |
0439c23b | 10231 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
10232 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
10233 | result = (wxSashLayoutWindow *)new wxSashLayoutWindow(); | |
10234 | ||
10235 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 10236 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
10237 | } |
10238 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1); | |
10239 | return resultobj; | |
10240 | fail: | |
10241 | return NULL; | |
10242 | } | |
10243 | ||
10244 | ||
c370783e | 10245 | static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10246 | PyObject *resultobj; |
10247 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
10248 | wxWindow *arg2 = (wxWindow *) 0 ; | |
bfddbb17 | 10249 | int arg3 = (int) -1 ; |
d55e5bfc RD |
10250 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
10251 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
10252 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
10253 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
10254 | long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
10255 | wxString const &arg7_defvalue = wxPySashLayoutNameStr ; | |
10256 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
10257 | bool result; | |
10258 | wxPoint temp4 ; | |
10259 | wxSize temp5 ; | |
b411df4a | 10260 | bool temp7 = false ; |
d55e5bfc RD |
10261 | PyObject * obj0 = 0 ; |
10262 | PyObject * obj1 = 0 ; | |
10263 | PyObject * obj2 = 0 ; | |
10264 | PyObject * obj3 = 0 ; | |
10265 | PyObject * obj4 = 0 ; | |
10266 | PyObject * obj5 = 0 ; | |
10267 | PyObject * obj6 = 0 ; | |
10268 | char *kwnames[] = { | |
10269 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
10270 | }; | |
10271 | ||
bfddbb17 | 10272 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
36ed4f51 RD |
10273 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0); |
10274 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10275 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
10276 | if (SWIG_arg_fail(2)) SWIG_fail; | |
bfddbb17 | 10277 | if (obj2) { |
36ed4f51 RD |
10278 | { |
10279 | arg3 = (int)(SWIG_As_int(obj2)); | |
10280 | if (SWIG_arg_fail(3)) SWIG_fail; | |
10281 | } | |
bfddbb17 | 10282 | } |
d55e5bfc RD |
10283 | if (obj3) { |
10284 | { | |
10285 | arg4 = &temp4; | |
10286 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
10287 | } | |
10288 | } | |
10289 | if (obj4) { | |
10290 | { | |
10291 | arg5 = &temp5; | |
10292 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
10293 | } | |
10294 | } | |
10295 | if (obj5) { | |
36ed4f51 RD |
10296 | { |
10297 | arg6 = (long)(SWIG_As_long(obj5)); | |
10298 | if (SWIG_arg_fail(6)) SWIG_fail; | |
10299 | } | |
d55e5bfc RD |
10300 | } |
10301 | if (obj6) { | |
10302 | { | |
10303 | arg7 = wxString_in_helper(obj6); | |
10304 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 10305 | temp7 = true; |
d55e5bfc RD |
10306 | } |
10307 | } | |
10308 | { | |
10309 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10310 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
10311 | ||
10312 | wxPyEndAllowThreads(__tstate); | |
10313 | if (PyErr_Occurred()) SWIG_fail; | |
10314 | } | |
10315 | { | |
10316 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10317 | } | |
10318 | { | |
10319 | if (temp7) | |
10320 | delete arg7; | |
10321 | } | |
10322 | return resultobj; | |
10323 | fail: | |
10324 | { | |
10325 | if (temp7) | |
10326 | delete arg7; | |
10327 | } | |
10328 | return NULL; | |
10329 | } | |
10330 | ||
10331 | ||
c370783e | 10332 | static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10333 | PyObject *resultobj; |
10334 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
36ed4f51 | 10335 | wxLayoutAlignment result; |
d55e5bfc RD |
10336 | PyObject * obj0 = 0 ; |
10337 | char *kwnames[] = { | |
10338 | (char *) "self", NULL | |
10339 | }; | |
10340 | ||
10341 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
10342 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0); |
10343 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
10344 | { |
10345 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 10346 | result = (wxLayoutAlignment)(arg1)->GetAlignment(); |
d55e5bfc RD |
10347 | |
10348 | wxPyEndAllowThreads(__tstate); | |
10349 | if (PyErr_Occurred()) SWIG_fail; | |
10350 | } | |
36ed4f51 | 10351 | resultobj = SWIG_From_int((result)); |
d55e5bfc RD |
10352 | return resultobj; |
10353 | fail: | |
10354 | return NULL; | |
10355 | } | |
10356 | ||
10357 | ||
c370783e | 10358 | static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10359 | PyObject *resultobj; |
10360 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
36ed4f51 | 10361 | wxLayoutOrientation result; |
d55e5bfc RD |
10362 | PyObject * obj0 = 0 ; |
10363 | char *kwnames[] = { | |
10364 | (char *) "self", NULL | |
10365 | }; | |
10366 | ||
10367 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
10368 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0); |
10369 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
10370 | { |
10371 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 10372 | result = (wxLayoutOrientation)(arg1)->GetOrientation(); |
d55e5bfc RD |
10373 | |
10374 | wxPyEndAllowThreads(__tstate); | |
10375 | if (PyErr_Occurred()) SWIG_fail; | |
10376 | } | |
36ed4f51 | 10377 | resultobj = SWIG_From_int((result)); |
d55e5bfc RD |
10378 | return resultobj; |
10379 | fail: | |
10380 | return NULL; | |
10381 | } | |
10382 | ||
10383 | ||
c370783e | 10384 | static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10385 | PyObject *resultobj; |
10386 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
36ed4f51 | 10387 | wxLayoutAlignment arg2 ; |
d55e5bfc RD |
10388 | PyObject * obj0 = 0 ; |
10389 | PyObject * obj1 = 0 ; | |
10390 | char *kwnames[] = { | |
10391 | (char *) "self",(char *) "alignment", NULL | |
10392 | }; | |
10393 | ||
10394 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
10395 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0); |
10396 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10397 | { | |
10398 | arg2 = (wxLayoutAlignment)(SWIG_As_int(obj1)); | |
10399 | if (SWIG_arg_fail(2)) SWIG_fail; | |
10400 | } | |
d55e5bfc RD |
10401 | { |
10402 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10403 | (arg1)->SetAlignment((wxLayoutAlignment )arg2); | |
10404 | ||
10405 | wxPyEndAllowThreads(__tstate); | |
10406 | if (PyErr_Occurred()) SWIG_fail; | |
10407 | } | |
10408 | Py_INCREF(Py_None); resultobj = Py_None; | |
10409 | return resultobj; | |
10410 | fail: | |
10411 | return NULL; | |
10412 | } | |
10413 | ||
10414 | ||
c370783e | 10415 | static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10416 | PyObject *resultobj; |
10417 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
10418 | wxSize *arg2 = 0 ; | |
10419 | wxSize temp2 ; | |
10420 | PyObject * obj0 = 0 ; | |
10421 | PyObject * obj1 = 0 ; | |
10422 | char *kwnames[] = { | |
10423 | (char *) "self",(char *) "size", NULL | |
10424 | }; | |
10425 | ||
10426 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
10427 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0); |
10428 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
10429 | { |
10430 | arg2 = &temp2; | |
10431 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
10432 | } | |
10433 | { | |
10434 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10435 | (arg1)->SetDefaultSize((wxSize const &)*arg2); | |
10436 | ||
10437 | wxPyEndAllowThreads(__tstate); | |
10438 | if (PyErr_Occurred()) SWIG_fail; | |
10439 | } | |
10440 | Py_INCREF(Py_None); resultobj = Py_None; | |
10441 | return resultobj; | |
10442 | fail: | |
10443 | return NULL; | |
10444 | } | |
10445 | ||
10446 | ||
c370783e | 10447 | static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10448 | PyObject *resultobj; |
10449 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
36ed4f51 | 10450 | wxLayoutOrientation arg2 ; |
d55e5bfc RD |
10451 | PyObject * obj0 = 0 ; |
10452 | PyObject * obj1 = 0 ; | |
10453 | char *kwnames[] = { | |
10454 | (char *) "self",(char *) "orientation", NULL | |
10455 | }; | |
10456 | ||
10457 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
10458 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0); |
10459 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10460 | { | |
10461 | arg2 = (wxLayoutOrientation)(SWIG_As_int(obj1)); | |
10462 | if (SWIG_arg_fail(2)) SWIG_fail; | |
10463 | } | |
d55e5bfc RD |
10464 | { |
10465 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10466 | (arg1)->SetOrientation((wxLayoutOrientation )arg2); | |
10467 | ||
10468 | wxPyEndAllowThreads(__tstate); | |
10469 | if (PyErr_Occurred()) SWIG_fail; | |
10470 | } | |
10471 | Py_INCREF(Py_None); resultobj = Py_None; | |
10472 | return resultobj; | |
10473 | fail: | |
10474 | return NULL; | |
10475 | } | |
10476 | ||
10477 | ||
c370783e | 10478 | static PyObject * SashLayoutWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
10479 | PyObject *obj; |
10480 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10481 | SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj); | |
10482 | Py_INCREF(obj); | |
10483 | return Py_BuildValue((char *)""); | |
10484 | } | |
c370783e | 10485 | static PyObject *_wrap_new_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10486 | PyObject *resultobj; |
10487 | wxLayoutAlgorithm *result; | |
10488 | char *kwnames[] = { | |
10489 | NULL | |
10490 | }; | |
10491 | ||
10492 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail; | |
10493 | { | |
10494 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10495 | result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm(); | |
10496 | ||
10497 | wxPyEndAllowThreads(__tstate); | |
10498 | if (PyErr_Occurred()) SWIG_fail; | |
10499 | } | |
10500 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1); | |
10501 | return resultobj; | |
10502 | fail: | |
10503 | return NULL; | |
10504 | } | |
10505 | ||
10506 | ||
c370783e | 10507 | static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10508 | PyObject *resultobj; |
10509 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
10510 | PyObject * obj0 = 0 ; | |
10511 | char *kwnames[] = { | |
10512 | (char *) "self", NULL | |
10513 | }; | |
10514 | ||
10515 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
10516 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0); |
10517 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
10518 | { |
10519 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10520 | delete arg1; | |
10521 | ||
10522 | wxPyEndAllowThreads(__tstate); | |
10523 | if (PyErr_Occurred()) SWIG_fail; | |
10524 | } | |
10525 | Py_INCREF(Py_None); resultobj = Py_None; | |
10526 | return resultobj; | |
10527 | fail: | |
10528 | return NULL; | |
10529 | } | |
10530 | ||
10531 | ||
c370783e | 10532 | static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10533 | PyObject *resultobj; |
10534 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
10535 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
10536 | wxRect *arg3 = (wxRect *) NULL ; | |
10537 | bool result; | |
10538 | PyObject * obj0 = 0 ; | |
10539 | PyObject * obj1 = 0 ; | |
10540 | PyObject * obj2 = 0 ; | |
10541 | char *kwnames[] = { | |
10542 | (char *) "self",(char *) "frame",(char *) "rect", NULL | |
10543 | }; | |
10544 | ||
10545 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
10546 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0); |
10547 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10548 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); | |
10549 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc | 10550 | if (obj2) { |
36ed4f51 RD |
10551 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); |
10552 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc RD |
10553 | } |
10554 | { | |
10555 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10556 | result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3); | |
10557 | ||
10558 | wxPyEndAllowThreads(__tstate); | |
10559 | if (PyErr_Occurred()) SWIG_fail; | |
10560 | } | |
10561 | { | |
10562 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10563 | } | |
10564 | return resultobj; | |
10565 | fail: | |
10566 | return NULL; | |
10567 | } | |
10568 | ||
10569 | ||
c370783e | 10570 | static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10571 | PyObject *resultobj; |
10572 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
10573 | wxFrame *arg2 = (wxFrame *) 0 ; | |
10574 | wxWindow *arg3 = (wxWindow *) NULL ; | |
10575 | bool result; | |
10576 | PyObject * obj0 = 0 ; | |
10577 | PyObject * obj1 = 0 ; | |
10578 | PyObject * obj2 = 0 ; | |
10579 | char *kwnames[] = { | |
10580 | (char *) "self",(char *) "frame",(char *) "mainWindow", NULL | |
10581 | }; | |
10582 | ||
10583 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
10584 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0); |
10585 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10586 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); | |
10587 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc | 10588 | if (obj2) { |
36ed4f51 RD |
10589 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
10590 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc RD |
10591 | } |
10592 | { | |
10593 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10594 | result = (bool)(arg1)->LayoutFrame(arg2,arg3); | |
10595 | ||
10596 | wxPyEndAllowThreads(__tstate); | |
10597 | if (PyErr_Occurred()) SWIG_fail; | |
10598 | } | |
10599 | { | |
10600 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10601 | } | |
10602 | return resultobj; | |
10603 | fail: | |
10604 | return NULL; | |
10605 | } | |
10606 | ||
10607 | ||
c370783e | 10608 | static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10609 | PyObject *resultobj; |
10610 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
10611 | wxWindow *arg2 = (wxWindow *) 0 ; | |
10612 | wxWindow *arg3 = (wxWindow *) NULL ; | |
10613 | bool result; | |
10614 | PyObject * obj0 = 0 ; | |
10615 | PyObject * obj1 = 0 ; | |
10616 | PyObject * obj2 = 0 ; | |
10617 | char *kwnames[] = { | |
10618 | (char *) "self",(char *) "parent",(char *) "mainWindow", NULL | |
10619 | }; | |
10620 | ||
10621 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
10622 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0); |
10623 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10624 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
10625 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc | 10626 | if (obj2) { |
36ed4f51 RD |
10627 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
10628 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc RD |
10629 | } |
10630 | { | |
10631 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10632 | result = (bool)(arg1)->LayoutWindow(arg2,arg3); | |
10633 | ||
10634 | wxPyEndAllowThreads(__tstate); | |
10635 | if (PyErr_Occurred()) SWIG_fail; | |
10636 | } | |
10637 | { | |
10638 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10639 | } | |
10640 | return resultobj; | |
10641 | fail: | |
10642 | return NULL; | |
10643 | } | |
10644 | ||
10645 | ||
c370783e | 10646 | static PyObject * LayoutAlgorithm_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
10647 | PyObject *obj; |
10648 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10649 | SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj); | |
10650 | Py_INCREF(obj); | |
10651 | return Py_BuildValue((char *)""); | |
10652 | } | |
c370783e | 10653 | static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10654 | PyObject *resultobj; |
10655 | wxWindow *arg1 = (wxWindow *) 0 ; | |
10656 | int arg2 = (int) wxBORDER_NONE ; | |
10657 | wxPopupWindow *result; | |
10658 | PyObject * obj0 = 0 ; | |
10659 | PyObject * obj1 = 0 ; | |
10660 | char *kwnames[] = { | |
10661 | (char *) "parent",(char *) "flags", NULL | |
10662 | }; | |
10663 | ||
10664 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
10665 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
10666 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 10667 | if (obj1) { |
36ed4f51 RD |
10668 | { |
10669 | arg2 = (int)(SWIG_As_int(obj1)); | |
10670 | if (SWIG_arg_fail(2)) SWIG_fail; | |
10671 | } | |
d55e5bfc RD |
10672 | } |
10673 | { | |
10674 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10675 | result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2); | |
10676 | ||
10677 | wxPyEndAllowThreads(__tstate); | |
10678 | if (PyErr_Occurred()) SWIG_fail; | |
10679 | } | |
10680 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1); | |
10681 | return resultobj; | |
10682 | fail: | |
10683 | return NULL; | |
10684 | } | |
10685 | ||
10686 | ||
c370783e | 10687 | static PyObject *_wrap_new_PrePopupWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10688 | PyObject *resultobj; |
10689 | wxPopupWindow *result; | |
10690 | char *kwnames[] = { | |
10691 | NULL | |
10692 | }; | |
10693 | ||
10694 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail; | |
10695 | { | |
10696 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10697 | result = (wxPopupWindow *)new wxPopupWindow(); | |
10698 | ||
10699 | wxPyEndAllowThreads(__tstate); | |
10700 | if (PyErr_Occurred()) SWIG_fail; | |
10701 | } | |
10702 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1); | |
10703 | return resultobj; | |
10704 | fail: | |
10705 | return NULL; | |
10706 | } | |
10707 | ||
10708 | ||
c370783e | 10709 | static PyObject * PopupWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
10710 | PyObject *obj; |
10711 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10712 | SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj); | |
10713 | Py_INCREF(obj); | |
10714 | return Py_BuildValue((char *)""); | |
10715 | } | |
c370783e | 10716 | static PyObject *_wrap_new_PopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10717 | PyObject *resultobj; |
10718 | wxWindow *arg1 = (wxWindow *) 0 ; | |
10719 | int arg2 = (int) wxBORDER_NONE ; | |
10720 | wxPyPopupTransientWindow *result; | |
10721 | PyObject * obj0 = 0 ; | |
10722 | PyObject * obj1 = 0 ; | |
10723 | char *kwnames[] = { | |
10724 | (char *) "parent",(char *) "style", NULL | |
10725 | }; | |
10726 | ||
10727 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
10728 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
10729 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 10730 | if (obj1) { |
36ed4f51 RD |
10731 | { |
10732 | arg2 = (int)(SWIG_As_int(obj1)); | |
10733 | if (SWIG_arg_fail(2)) SWIG_fail; | |
10734 | } | |
d55e5bfc RD |
10735 | } |
10736 | { | |
10737 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10738 | result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2); | |
10739 | ||
10740 | wxPyEndAllowThreads(__tstate); | |
10741 | if (PyErr_Occurred()) SWIG_fail; | |
10742 | } | |
10743 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1); | |
10744 | return resultobj; | |
10745 | fail: | |
10746 | return NULL; | |
10747 | } | |
10748 | ||
10749 | ||
c370783e | 10750 | static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10751 | PyObject *resultobj; |
10752 | wxPyPopupTransientWindow *result; | |
10753 | char *kwnames[] = { | |
10754 | NULL | |
10755 | }; | |
10756 | ||
10757 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail; | |
10758 | { | |
10759 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10760 | result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(); | |
10761 | ||
10762 | wxPyEndAllowThreads(__tstate); | |
10763 | if (PyErr_Occurred()) SWIG_fail; | |
10764 | } | |
10765 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1); | |
10766 | return resultobj; | |
10767 | fail: | |
10768 | return NULL; | |
10769 | } | |
10770 | ||
10771 | ||
c370783e | 10772 | static PyObject * PopupTransientWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
10773 | PyObject *obj; |
10774 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10775 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj); | |
10776 | Py_INCREF(obj); | |
10777 | return Py_BuildValue((char *)""); | |
10778 | } | |
c370783e | 10779 | static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10780 | PyObject *resultobj; |
10781 | wxWindow *arg1 = (wxWindow *) 0 ; | |
10782 | wxString *arg2 = 0 ; | |
10783 | int arg3 = (int) 100 ; | |
10784 | wxRect *arg4 = (wxRect *) NULL ; | |
10785 | wxTipWindow *result; | |
b411df4a | 10786 | bool temp2 = false ; |
d55e5bfc RD |
10787 | PyObject * obj0 = 0 ; |
10788 | PyObject * obj1 = 0 ; | |
10789 | PyObject * obj2 = 0 ; | |
10790 | PyObject * obj3 = 0 ; | |
10791 | char *kwnames[] = { | |
10792 | (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL | |
10793 | }; | |
10794 | ||
10795 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
36ed4f51 RD |
10796 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
10797 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
10798 | { |
10799 | arg2 = wxString_in_helper(obj1); | |
10800 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 10801 | temp2 = true; |
d55e5bfc RD |
10802 | } |
10803 | if (obj2) { | |
36ed4f51 RD |
10804 | { |
10805 | arg3 = (int)(SWIG_As_int(obj2)); | |
10806 | if (SWIG_arg_fail(3)) SWIG_fail; | |
10807 | } | |
d55e5bfc RD |
10808 | } |
10809 | if (obj3) { | |
36ed4f51 RD |
10810 | SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); |
10811 | if (SWIG_arg_fail(4)) SWIG_fail; | |
d55e5bfc RD |
10812 | } |
10813 | { | |
0439c23b | 10814 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
10815 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
10816 | result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4); | |
10817 | ||
10818 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 10819 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
10820 | } |
10821 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1); | |
10822 | { | |
10823 | if (temp2) | |
10824 | delete arg2; | |
10825 | } | |
10826 | return resultobj; | |
10827 | fail: | |
10828 | { | |
10829 | if (temp2) | |
10830 | delete arg2; | |
10831 | } | |
10832 | return NULL; | |
10833 | } | |
10834 | ||
10835 | ||
c370783e | 10836 | static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10837 | PyObject *resultobj; |
10838 | wxTipWindow *arg1 = (wxTipWindow *) 0 ; | |
10839 | wxRect *arg2 = 0 ; | |
10840 | wxRect temp2 ; | |
10841 | PyObject * obj0 = 0 ; | |
10842 | PyObject * obj1 = 0 ; | |
10843 | char *kwnames[] = { | |
10844 | (char *) "self",(char *) "rectBound", NULL | |
10845 | }; | |
10846 | ||
10847 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
10848 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0); |
10849 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
10850 | { |
10851 | arg2 = &temp2; | |
10852 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
10853 | } | |
10854 | { | |
10855 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10856 | (arg1)->SetBoundingRect((wxRect const &)*arg2); | |
10857 | ||
10858 | wxPyEndAllowThreads(__tstate); | |
10859 | if (PyErr_Occurred()) SWIG_fail; | |
10860 | } | |
10861 | Py_INCREF(Py_None); resultobj = Py_None; | |
10862 | return resultobj; | |
10863 | fail: | |
10864 | return NULL; | |
10865 | } | |
10866 | ||
10867 | ||
c370783e | 10868 | static PyObject *_wrap_TipWindow_Close(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10869 | PyObject *resultobj; |
10870 | wxTipWindow *arg1 = (wxTipWindow *) 0 ; | |
10871 | PyObject * obj0 = 0 ; | |
10872 | char *kwnames[] = { | |
10873 | (char *) "self", NULL | |
10874 | }; | |
10875 | ||
10876 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
10877 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0); |
10878 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
10879 | { |
10880 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10881 | (arg1)->Close(); | |
10882 | ||
10883 | wxPyEndAllowThreads(__tstate); | |
10884 | if (PyErr_Occurred()) SWIG_fail; | |
10885 | } | |
10886 | Py_INCREF(Py_None); resultobj = Py_None; | |
10887 | return resultobj; | |
10888 | fail: | |
10889 | return NULL; | |
10890 | } | |
10891 | ||
10892 | ||
c370783e | 10893 | static PyObject * TipWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
10894 | PyObject *obj; |
10895 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10896 | SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj); | |
10897 | Py_INCREF(obj); | |
10898 | return Py_BuildValue((char *)""); | |
10899 | } | |
c370783e | 10900 | static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10901 | PyObject *resultobj; |
10902 | wxWindow *arg1 = (wxWindow *) 0 ; | |
10903 | int arg2 = (int) wxID_ANY ; | |
10904 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
10905 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
10906 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
10907 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
10908 | long arg5 = (long) 0 ; | |
10909 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
10910 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
10911 | wxPyVScrolledWindow *result; | |
10912 | wxPoint temp3 ; | |
10913 | wxSize temp4 ; | |
b411df4a | 10914 | bool temp6 = false ; |
d55e5bfc RD |
10915 | PyObject * obj0 = 0 ; |
10916 | PyObject * obj1 = 0 ; | |
10917 | PyObject * obj2 = 0 ; | |
10918 | PyObject * obj3 = 0 ; | |
10919 | PyObject * obj4 = 0 ; | |
10920 | PyObject * obj5 = 0 ; | |
10921 | char *kwnames[] = { | |
10922 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
10923 | }; | |
10924 | ||
10925 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
36ed4f51 RD |
10926 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
10927 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 10928 | if (obj1) { |
36ed4f51 RD |
10929 | { |
10930 | arg2 = (int)(SWIG_As_int(obj1)); | |
10931 | if (SWIG_arg_fail(2)) SWIG_fail; | |
10932 | } | |
d55e5bfc RD |
10933 | } |
10934 | if (obj2) { | |
10935 | { | |
10936 | arg3 = &temp3; | |
10937 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
10938 | } | |
10939 | } | |
10940 | if (obj3) { | |
10941 | { | |
10942 | arg4 = &temp4; | |
10943 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
10944 | } | |
10945 | } | |
10946 | if (obj4) { | |
36ed4f51 RD |
10947 | { |
10948 | arg5 = (long)(SWIG_As_long(obj4)); | |
10949 | if (SWIG_arg_fail(5)) SWIG_fail; | |
10950 | } | |
d55e5bfc RD |
10951 | } |
10952 | if (obj5) { | |
10953 | { | |
10954 | arg6 = wxString_in_helper(obj5); | |
10955 | if (arg6 == NULL) SWIG_fail; | |
b411df4a | 10956 | temp6 = true; |
d55e5bfc RD |
10957 | } |
10958 | } | |
10959 | { | |
0439c23b | 10960 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
10961 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
10962 | result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
10963 | ||
10964 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 10965 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
10966 | } |
10967 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1); | |
10968 | { | |
10969 | if (temp6) | |
10970 | delete arg6; | |
10971 | } | |
10972 | return resultobj; | |
10973 | fail: | |
10974 | { | |
10975 | if (temp6) | |
10976 | delete arg6; | |
10977 | } | |
10978 | return NULL; | |
10979 | } | |
10980 | ||
10981 | ||
c370783e | 10982 | static PyObject *_wrap_new_PreVScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10983 | PyObject *resultobj; |
10984 | wxPyVScrolledWindow *result; | |
10985 | char *kwnames[] = { | |
10986 | NULL | |
10987 | }; | |
10988 | ||
10989 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail; | |
10990 | { | |
0439c23b | 10991 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
10992 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
10993 | result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(); | |
10994 | ||
10995 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 10996 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
10997 | } |
10998 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1); | |
10999 | return resultobj; | |
11000 | fail: | |
11001 | return NULL; | |
11002 | } | |
11003 | ||
11004 | ||
c370783e | 11005 | static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11006 | PyObject *resultobj; |
11007 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
11008 | PyObject *arg2 = (PyObject *) 0 ; | |
11009 | PyObject *arg3 = (PyObject *) 0 ; | |
11010 | PyObject * obj0 = 0 ; | |
11011 | PyObject * obj1 = 0 ; | |
11012 | PyObject * obj2 = 0 ; | |
11013 | char *kwnames[] = { | |
11014 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
11015 | }; | |
11016 | ||
11017 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
11018 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11019 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
11020 | arg2 = obj1; |
11021 | arg3 = obj2; | |
11022 | { | |
11023 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11024 | (arg1)->_setCallbackInfo(arg2,arg3); | |
11025 | ||
11026 | wxPyEndAllowThreads(__tstate); | |
11027 | if (PyErr_Occurred()) SWIG_fail; | |
11028 | } | |
11029 | Py_INCREF(Py_None); resultobj = Py_None; | |
11030 | return resultobj; | |
11031 | fail: | |
11032 | return NULL; | |
11033 | } | |
11034 | ||
11035 | ||
c370783e | 11036 | static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11037 | PyObject *resultobj; |
11038 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
11039 | wxWindow *arg2 = (wxWindow *) 0 ; | |
11040 | int arg3 = (int) wxID_ANY ; | |
11041 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
11042 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
11043 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
11044 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
11045 | long arg6 = (long) 0 ; | |
11046 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
11047 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
11048 | bool result; | |
11049 | wxPoint temp4 ; | |
11050 | wxSize temp5 ; | |
b411df4a | 11051 | bool temp7 = false ; |
d55e5bfc RD |
11052 | PyObject * obj0 = 0 ; |
11053 | PyObject * obj1 = 0 ; | |
11054 | PyObject * obj2 = 0 ; | |
11055 | PyObject * obj3 = 0 ; | |
11056 | PyObject * obj4 = 0 ; | |
11057 | PyObject * obj5 = 0 ; | |
11058 | PyObject * obj6 = 0 ; | |
11059 | char *kwnames[] = { | |
11060 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
11061 | }; | |
11062 | ||
11063 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
36ed4f51 RD |
11064 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11065 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11066 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
11067 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc | 11068 | if (obj2) { |
36ed4f51 RD |
11069 | { |
11070 | arg3 = (int)(SWIG_As_int(obj2)); | |
11071 | if (SWIG_arg_fail(3)) SWIG_fail; | |
11072 | } | |
d55e5bfc RD |
11073 | } |
11074 | if (obj3) { | |
11075 | { | |
11076 | arg4 = &temp4; | |
11077 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
11078 | } | |
11079 | } | |
11080 | if (obj4) { | |
11081 | { | |
11082 | arg5 = &temp5; | |
11083 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
11084 | } | |
11085 | } | |
11086 | if (obj5) { | |
36ed4f51 RD |
11087 | { |
11088 | arg6 = (long)(SWIG_As_long(obj5)); | |
11089 | if (SWIG_arg_fail(6)) SWIG_fail; | |
11090 | } | |
d55e5bfc RD |
11091 | } |
11092 | if (obj6) { | |
11093 | { | |
11094 | arg7 = wxString_in_helper(obj6); | |
11095 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 11096 | temp7 = true; |
d55e5bfc RD |
11097 | } |
11098 | } | |
11099 | { | |
11100 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11101 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
11102 | ||
11103 | wxPyEndAllowThreads(__tstate); | |
11104 | if (PyErr_Occurred()) SWIG_fail; | |
11105 | } | |
11106 | { | |
11107 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11108 | } | |
11109 | { | |
11110 | if (temp7) | |
11111 | delete arg7; | |
11112 | } | |
11113 | return resultobj; | |
11114 | fail: | |
11115 | { | |
11116 | if (temp7) | |
11117 | delete arg7; | |
11118 | } | |
11119 | return NULL; | |
11120 | } | |
11121 | ||
11122 | ||
c370783e | 11123 | static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11124 | PyObject *resultobj; |
11125 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
11126 | size_t arg2 ; | |
11127 | PyObject * obj0 = 0 ; | |
11128 | PyObject * obj1 = 0 ; | |
11129 | char *kwnames[] = { | |
11130 | (char *) "self",(char *) "count", NULL | |
11131 | }; | |
11132 | ||
11133 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
11134 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11135 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11136 | { | |
11137 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
11138 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11139 | } | |
d55e5bfc RD |
11140 | { |
11141 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11142 | (arg1)->SetLineCount(arg2); | |
11143 | ||
11144 | wxPyEndAllowThreads(__tstate); | |
11145 | if (PyErr_Occurred()) SWIG_fail; | |
11146 | } | |
11147 | Py_INCREF(Py_None); resultobj = Py_None; | |
11148 | return resultobj; | |
11149 | fail: | |
11150 | return NULL; | |
11151 | } | |
11152 | ||
11153 | ||
c370783e | 11154 | static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11155 | PyObject *resultobj; |
11156 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
11157 | size_t arg2 ; | |
11158 | bool result; | |
11159 | PyObject * obj0 = 0 ; | |
11160 | PyObject * obj1 = 0 ; | |
11161 | char *kwnames[] = { | |
11162 | (char *) "self",(char *) "line", NULL | |
11163 | }; | |
11164 | ||
11165 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
11166 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11167 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11168 | { | |
11169 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
11170 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11171 | } | |
d55e5bfc RD |
11172 | { |
11173 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11174 | result = (bool)(arg1)->ScrollToLine(arg2); | |
11175 | ||
11176 | wxPyEndAllowThreads(__tstate); | |
11177 | if (PyErr_Occurred()) SWIG_fail; | |
11178 | } | |
11179 | { | |
11180 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11181 | } | |
11182 | return resultobj; | |
11183 | fail: | |
11184 | return NULL; | |
11185 | } | |
11186 | ||
11187 | ||
c370783e | 11188 | static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11189 | PyObject *resultobj; |
11190 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
11191 | int arg2 ; | |
11192 | bool result; | |
11193 | PyObject * obj0 = 0 ; | |
11194 | PyObject * obj1 = 0 ; | |
11195 | char *kwnames[] = { | |
11196 | (char *) "self",(char *) "lines", NULL | |
11197 | }; | |
11198 | ||
11199 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
11200 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11201 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11202 | { | |
11203 | arg2 = (int)(SWIG_As_int(obj1)); | |
11204 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11205 | } | |
d55e5bfc RD |
11206 | { |
11207 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11208 | result = (bool)(arg1)->ScrollLines(arg2); | |
11209 | ||
11210 | wxPyEndAllowThreads(__tstate); | |
11211 | if (PyErr_Occurred()) SWIG_fail; | |
11212 | } | |
11213 | { | |
11214 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11215 | } | |
11216 | return resultobj; | |
11217 | fail: | |
11218 | return NULL; | |
11219 | } | |
11220 | ||
11221 | ||
c370783e | 11222 | static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11223 | PyObject *resultobj; |
11224 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
11225 | int arg2 ; | |
11226 | bool result; | |
11227 | PyObject * obj0 = 0 ; | |
11228 | PyObject * obj1 = 0 ; | |
11229 | char *kwnames[] = { | |
11230 | (char *) "self",(char *) "pages", NULL | |
11231 | }; | |
11232 | ||
11233 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
11234 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11235 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11236 | { | |
11237 | arg2 = (int)(SWIG_As_int(obj1)); | |
11238 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11239 | } | |
d55e5bfc RD |
11240 | { |
11241 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11242 | result = (bool)(arg1)->ScrollPages(arg2); | |
11243 | ||
11244 | wxPyEndAllowThreads(__tstate); | |
11245 | if (PyErr_Occurred()) SWIG_fail; | |
11246 | } | |
11247 | { | |
11248 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11249 | } | |
11250 | return resultobj; | |
11251 | fail: | |
11252 | return NULL; | |
11253 | } | |
11254 | ||
11255 | ||
c370783e | 11256 | static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11257 | PyObject *resultobj; |
11258 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
11259 | size_t arg2 ; | |
11260 | PyObject * obj0 = 0 ; | |
11261 | PyObject * obj1 = 0 ; | |
11262 | char *kwnames[] = { | |
11263 | (char *) "self",(char *) "line", NULL | |
11264 | }; | |
11265 | ||
11266 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
11267 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11268 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11269 | { | |
11270 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
11271 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11272 | } | |
d55e5bfc RD |
11273 | { |
11274 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11275 | (arg1)->RefreshLine(arg2); | |
11276 | ||
11277 | wxPyEndAllowThreads(__tstate); | |
11278 | if (PyErr_Occurred()) SWIG_fail; | |
11279 | } | |
11280 | Py_INCREF(Py_None); resultobj = Py_None; | |
11281 | return resultobj; | |
11282 | fail: | |
11283 | return NULL; | |
11284 | } | |
11285 | ||
11286 | ||
c370783e | 11287 | static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11288 | PyObject *resultobj; |
11289 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
11290 | size_t arg2 ; | |
11291 | size_t arg3 ; | |
11292 | PyObject * obj0 = 0 ; | |
11293 | PyObject * obj1 = 0 ; | |
11294 | PyObject * obj2 = 0 ; | |
11295 | char *kwnames[] = { | |
11296 | (char *) "self",(char *) "from",(char *) "to", NULL | |
11297 | }; | |
11298 | ||
11299 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
11300 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11301 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11302 | { | |
11303 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
11304 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11305 | } | |
11306 | { | |
11307 | arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2)); | |
11308 | if (SWIG_arg_fail(3)) SWIG_fail; | |
11309 | } | |
d55e5bfc RD |
11310 | { |
11311 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11312 | (arg1)->RefreshLines(arg2,arg3); | |
11313 | ||
11314 | wxPyEndAllowThreads(__tstate); | |
11315 | if (PyErr_Occurred()) SWIG_fail; | |
11316 | } | |
11317 | Py_INCREF(Py_None); resultobj = Py_None; | |
11318 | return resultobj; | |
11319 | fail: | |
11320 | return NULL; | |
11321 | } | |
11322 | ||
11323 | ||
c370783e | 11324 | static PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11325 | PyObject *resultobj; |
11326 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
11327 | int arg2 ; | |
11328 | int arg3 ; | |
11329 | int result; | |
11330 | PyObject * obj0 = 0 ; | |
11331 | PyObject * obj1 = 0 ; | |
11332 | PyObject * obj2 = 0 ; | |
11333 | char *kwnames[] = { | |
11334 | (char *) "self",(char *) "x",(char *) "y", NULL | |
11335 | }; | |
11336 | ||
03ee685a | 11337 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail; |
36ed4f51 RD |
11338 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11339 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11340 | { | |
11341 | arg2 = (int)(SWIG_As_int(obj1)); | |
11342 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11343 | } | |
11344 | { | |
11345 | arg3 = (int)(SWIG_As_int(obj2)); | |
11346 | if (SWIG_arg_fail(3)) SWIG_fail; | |
11347 | } | |
d55e5bfc RD |
11348 | { |
11349 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11350 | result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3); | |
11351 | ||
11352 | wxPyEndAllowThreads(__tstate); | |
11353 | if (PyErr_Occurred()) SWIG_fail; | |
11354 | } | |
36ed4f51 RD |
11355 | { |
11356 | resultobj = SWIG_From_int((int)(result)); | |
11357 | } | |
d55e5bfc RD |
11358 | return resultobj; |
11359 | fail: | |
11360 | return NULL; | |
11361 | } | |
11362 | ||
11363 | ||
c370783e | 11364 | static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11365 | PyObject *resultobj; |
11366 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
11367 | wxPoint *arg2 = 0 ; | |
11368 | int result; | |
11369 | wxPoint temp2 ; | |
11370 | PyObject * obj0 = 0 ; | |
11371 | PyObject * obj1 = 0 ; | |
11372 | char *kwnames[] = { | |
11373 | (char *) "self",(char *) "pt", NULL | |
11374 | }; | |
11375 | ||
11376 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
11377 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11378 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
11379 | { |
11380 | arg2 = &temp2; | |
11381 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
11382 | } | |
11383 | { | |
11384 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11385 | result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2); | |
11386 | ||
11387 | wxPyEndAllowThreads(__tstate); | |
11388 | if (PyErr_Occurred()) SWIG_fail; | |
11389 | } | |
36ed4f51 RD |
11390 | { |
11391 | resultobj = SWIG_From_int((int)(result)); | |
11392 | } | |
d55e5bfc RD |
11393 | return resultobj; |
11394 | fail: | |
11395 | return NULL; | |
11396 | } | |
11397 | ||
11398 | ||
c370783e | 11399 | static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11400 | PyObject *resultobj; |
11401 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
11402 | PyObject * obj0 = 0 ; | |
11403 | char *kwnames[] = { | |
11404 | (char *) "self", NULL | |
11405 | }; | |
11406 | ||
11407 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
11408 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11409 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
11410 | { |
11411 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11412 | (arg1)->RefreshAll(); | |
11413 | ||
11414 | wxPyEndAllowThreads(__tstate); | |
11415 | if (PyErr_Occurred()) SWIG_fail; | |
11416 | } | |
11417 | Py_INCREF(Py_None); resultobj = Py_None; | |
11418 | return resultobj; | |
11419 | fail: | |
11420 | return NULL; | |
11421 | } | |
11422 | ||
11423 | ||
c370783e | 11424 | static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11425 | PyObject *resultobj; |
11426 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
11427 | size_t result; | |
11428 | PyObject * obj0 = 0 ; | |
11429 | char *kwnames[] = { | |
11430 | (char *) "self", NULL | |
11431 | }; | |
11432 | ||
11433 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
11434 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11435 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
11436 | { |
11437 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11438 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount(); | |
11439 | ||
11440 | wxPyEndAllowThreads(__tstate); | |
11441 | if (PyErr_Occurred()) SWIG_fail; | |
11442 | } | |
36ed4f51 RD |
11443 | { |
11444 | resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); | |
11445 | } | |
d55e5bfc RD |
11446 | return resultobj; |
11447 | fail: | |
11448 | return NULL; | |
11449 | } | |
11450 | ||
11451 | ||
7993762b | 11452 | static PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11453 | PyObject *resultobj; |
11454 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
11455 | size_t result; | |
11456 | PyObject * obj0 = 0 ; | |
11457 | char *kwnames[] = { | |
11458 | (char *) "self", NULL | |
11459 | }; | |
11460 | ||
7993762b | 11461 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetVisibleBegin",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
11462 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11463 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
11464 | { |
11465 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7993762b | 11466 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin(); |
d55e5bfc RD |
11467 | |
11468 | wxPyEndAllowThreads(__tstate); | |
11469 | if (PyErr_Occurred()) SWIG_fail; | |
11470 | } | |
36ed4f51 RD |
11471 | { |
11472 | resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); | |
11473 | } | |
d55e5bfc RD |
11474 | return resultobj; |
11475 | fail: | |
11476 | return NULL; | |
11477 | } | |
11478 | ||
11479 | ||
7993762b | 11480 | static PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11481 | PyObject *resultobj; |
11482 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
11483 | size_t result; | |
11484 | PyObject * obj0 = 0 ; | |
11485 | char *kwnames[] = { | |
11486 | (char *) "self", NULL | |
11487 | }; | |
11488 | ||
7993762b | 11489 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetVisibleEnd",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
11490 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11491 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
11492 | { |
11493 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7993762b | 11494 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd(); |
d55e5bfc RD |
11495 | |
11496 | wxPyEndAllowThreads(__tstate); | |
11497 | if (PyErr_Occurred()) SWIG_fail; | |
11498 | } | |
36ed4f51 RD |
11499 | { |
11500 | resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); | |
11501 | } | |
d55e5bfc RD |
11502 | return resultobj; |
11503 | fail: | |
11504 | return NULL; | |
11505 | } | |
11506 | ||
11507 | ||
c370783e | 11508 | static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11509 | PyObject *resultobj; |
11510 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
11511 | size_t arg2 ; | |
11512 | bool result; | |
11513 | PyObject * obj0 = 0 ; | |
11514 | PyObject * obj1 = 0 ; | |
11515 | char *kwnames[] = { | |
11516 | (char *) "self",(char *) "line", NULL | |
11517 | }; | |
11518 | ||
11519 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
11520 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11521 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11522 | { | |
11523 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
11524 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11525 | } | |
d55e5bfc RD |
11526 | { |
11527 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11528 | result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2); | |
11529 | ||
11530 | wxPyEndAllowThreads(__tstate); | |
11531 | if (PyErr_Occurred()) SWIG_fail; | |
11532 | } | |
11533 | { | |
11534 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11535 | } | |
11536 | return resultobj; | |
11537 | fail: | |
11538 | return NULL; | |
11539 | } | |
11540 | ||
11541 | ||
7993762b RD |
11542 | static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) { |
11543 | PyObject *resultobj; | |
11544 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
11545 | size_t result; | |
11546 | PyObject * obj0 = 0 ; | |
11547 | char *kwnames[] = { | |
11548 | (char *) "self", NULL | |
11549 | }; | |
11550 | ||
11551 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail; | |
11552 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); | |
11553 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11554 | { | |
11555 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11556 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine(); | |
11557 | ||
11558 | wxPyEndAllowThreads(__tstate); | |
11559 | if (PyErr_Occurred()) SWIG_fail; | |
11560 | } | |
11561 | { | |
11562 | resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); | |
11563 | } | |
11564 | return resultobj; | |
11565 | fail: | |
11566 | return NULL; | |
11567 | } | |
11568 | ||
11569 | ||
11570 | static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) { | |
11571 | PyObject *resultobj; | |
11572 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
11573 | size_t result; | |
11574 | PyObject * obj0 = 0 ; | |
11575 | char *kwnames[] = { | |
11576 | (char *) "self", NULL | |
11577 | }; | |
11578 | ||
11579 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail; | |
11580 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); | |
11581 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11582 | { | |
11583 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11584 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine(); | |
11585 | ||
11586 | wxPyEndAllowThreads(__tstate); | |
11587 | if (PyErr_Occurred()) SWIG_fail; | |
11588 | } | |
11589 | { | |
11590 | resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); | |
11591 | } | |
11592 | return resultobj; | |
11593 | fail: | |
11594 | return NULL; | |
11595 | } | |
11596 | ||
11597 | ||
c370783e | 11598 | static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
11599 | PyObject *obj; |
11600 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11601 | SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj); | |
11602 | Py_INCREF(obj); | |
11603 | return Py_BuildValue((char *)""); | |
11604 | } | |
c370783e | 11605 | static int _wrap_VListBoxNameStr_set(PyObject *) { |
d55e5bfc RD |
11606 | PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only."); |
11607 | return 1; | |
11608 | } | |
11609 | ||
11610 | ||
36ed4f51 | 11611 | static PyObject *_wrap_VListBoxNameStr_get(void) { |
d55e5bfc RD |
11612 | PyObject *pyobj; |
11613 | ||
11614 | { | |
11615 | #if wxUSE_UNICODE | |
11616 | pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len()); | |
11617 | #else | |
11618 | pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len()); | |
11619 | #endif | |
11620 | } | |
11621 | return pyobj; | |
11622 | } | |
11623 | ||
11624 | ||
c370783e | 11625 | static PyObject *_wrap_new_VListBox(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11626 | PyObject *resultobj; |
11627 | wxWindow *arg1 = (wxWindow *) 0 ; | |
11628 | int arg2 = (int) wxID_ANY ; | |
11629 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
11630 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
11631 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
11632 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
11633 | long arg5 = (long) 0 ; | |
11634 | wxString const &arg6_defvalue = wxPyVListBoxNameStr ; | |
11635 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
11636 | wxPyVListBox *result; | |
11637 | wxPoint temp3 ; | |
11638 | wxSize temp4 ; | |
b411df4a | 11639 | bool temp6 = false ; |
d55e5bfc RD |
11640 | PyObject * obj0 = 0 ; |
11641 | PyObject * obj1 = 0 ; | |
11642 | PyObject * obj2 = 0 ; | |
11643 | PyObject * obj3 = 0 ; | |
11644 | PyObject * obj4 = 0 ; | |
11645 | PyObject * obj5 = 0 ; | |
11646 | char *kwnames[] = { | |
11647 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
11648 | }; | |
11649 | ||
11650 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
36ed4f51 RD |
11651 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
11652 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 11653 | if (obj1) { |
36ed4f51 RD |
11654 | { |
11655 | arg2 = (int)(SWIG_As_int(obj1)); | |
11656 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11657 | } | |
d55e5bfc RD |
11658 | } |
11659 | if (obj2) { | |
11660 | { | |
11661 | arg3 = &temp3; | |
11662 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
11663 | } | |
11664 | } | |
11665 | if (obj3) { | |
11666 | { | |
11667 | arg4 = &temp4; | |
11668 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
11669 | } | |
11670 | } | |
11671 | if (obj4) { | |
36ed4f51 RD |
11672 | { |
11673 | arg5 = (long)(SWIG_As_long(obj4)); | |
11674 | if (SWIG_arg_fail(5)) SWIG_fail; | |
11675 | } | |
d55e5bfc RD |
11676 | } |
11677 | if (obj5) { | |
11678 | { | |
11679 | arg6 = wxString_in_helper(obj5); | |
11680 | if (arg6 == NULL) SWIG_fail; | |
b411df4a | 11681 | temp6 = true; |
d55e5bfc RD |
11682 | } |
11683 | } | |
11684 | { | |
0439c23b | 11685 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
11686 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
11687 | result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
11688 | ||
11689 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 11690 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
11691 | } |
11692 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1); | |
11693 | { | |
11694 | if (temp6) | |
11695 | delete arg6; | |
11696 | } | |
11697 | return resultobj; | |
11698 | fail: | |
11699 | { | |
11700 | if (temp6) | |
11701 | delete arg6; | |
11702 | } | |
11703 | return NULL; | |
11704 | } | |
11705 | ||
11706 | ||
c370783e | 11707 | static PyObject *_wrap_new_PreVListBox(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11708 | PyObject *resultobj; |
11709 | wxPyVListBox *result; | |
11710 | char *kwnames[] = { | |
11711 | NULL | |
11712 | }; | |
11713 | ||
11714 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail; | |
11715 | { | |
0439c23b | 11716 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
11717 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
11718 | result = (wxPyVListBox *)new wxPyVListBox(); | |
11719 | ||
11720 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 11721 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
11722 | } |
11723 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1); | |
11724 | return resultobj; | |
11725 | fail: | |
11726 | return NULL; | |
11727 | } | |
11728 | ||
11729 | ||
c370783e | 11730 | static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11731 | PyObject *resultobj; |
11732 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
11733 | PyObject *arg2 = (PyObject *) 0 ; | |
11734 | PyObject *arg3 = (PyObject *) 0 ; | |
11735 | PyObject * obj0 = 0 ; | |
11736 | PyObject * obj1 = 0 ; | |
11737 | PyObject * obj2 = 0 ; | |
11738 | char *kwnames[] = { | |
11739 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
11740 | }; | |
11741 | ||
11742 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
11743 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
11744 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
11745 | arg2 = obj1; |
11746 | arg3 = obj2; | |
11747 | { | |
11748 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11749 | (arg1)->_setCallbackInfo(arg2,arg3); | |
11750 | ||
11751 | wxPyEndAllowThreads(__tstate); | |
11752 | if (PyErr_Occurred()) SWIG_fail; | |
11753 | } | |
11754 | Py_INCREF(Py_None); resultobj = Py_None; | |
11755 | return resultobj; | |
11756 | fail: | |
11757 | return NULL; | |
11758 | } | |
11759 | ||
11760 | ||
c370783e | 11761 | static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11762 | PyObject *resultobj; |
11763 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
11764 | wxWindow *arg2 = (wxWindow *) 0 ; | |
11765 | int arg3 = (int) wxID_ANY ; | |
11766 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
11767 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
11768 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
11769 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
11770 | long arg6 = (long) 0 ; | |
11771 | wxString const &arg7_defvalue = wxPyVListBoxNameStr ; | |
11772 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
11773 | bool result; | |
11774 | wxPoint temp4 ; | |
11775 | wxSize temp5 ; | |
b411df4a | 11776 | bool temp7 = false ; |
d55e5bfc RD |
11777 | PyObject * obj0 = 0 ; |
11778 | PyObject * obj1 = 0 ; | |
11779 | PyObject * obj2 = 0 ; | |
11780 | PyObject * obj3 = 0 ; | |
11781 | PyObject * obj4 = 0 ; | |
11782 | PyObject * obj5 = 0 ; | |
11783 | PyObject * obj6 = 0 ; | |
11784 | char *kwnames[] = { | |
11785 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
11786 | }; | |
11787 | ||
11788 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
36ed4f51 RD |
11789 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
11790 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11791 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
11792 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc | 11793 | if (obj2) { |
36ed4f51 RD |
11794 | { |
11795 | arg3 = (int)(SWIG_As_int(obj2)); | |
11796 | if (SWIG_arg_fail(3)) SWIG_fail; | |
11797 | } | |
d55e5bfc RD |
11798 | } |
11799 | if (obj3) { | |
11800 | { | |
11801 | arg4 = &temp4; | |
11802 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
11803 | } | |
11804 | } | |
11805 | if (obj4) { | |
11806 | { | |
11807 | arg5 = &temp5; | |
11808 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
11809 | } | |
11810 | } | |
11811 | if (obj5) { | |
36ed4f51 RD |
11812 | { |
11813 | arg6 = (long)(SWIG_As_long(obj5)); | |
11814 | if (SWIG_arg_fail(6)) SWIG_fail; | |
11815 | } | |
d55e5bfc RD |
11816 | } |
11817 | if (obj6) { | |
11818 | { | |
11819 | arg7 = wxString_in_helper(obj6); | |
11820 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 11821 | temp7 = true; |
d55e5bfc RD |
11822 | } |
11823 | } | |
11824 | { | |
11825 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11826 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
11827 | ||
11828 | wxPyEndAllowThreads(__tstate); | |
11829 | if (PyErr_Occurred()) SWIG_fail; | |
11830 | } | |
11831 | { | |
11832 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11833 | } | |
11834 | { | |
11835 | if (temp7) | |
11836 | delete arg7; | |
11837 | } | |
11838 | return resultobj; | |
11839 | fail: | |
11840 | { | |
11841 | if (temp7) | |
11842 | delete arg7; | |
11843 | } | |
11844 | return NULL; | |
11845 | } | |
11846 | ||
11847 | ||
c370783e | 11848 | static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11849 | PyObject *resultobj; |
11850 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
11851 | size_t result; | |
11852 | PyObject * obj0 = 0 ; | |
11853 | char *kwnames[] = { | |
11854 | (char *) "self", NULL | |
11855 | }; | |
11856 | ||
11857 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
11858 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
11859 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
11860 | { |
11861 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11862 | result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount(); | |
11863 | ||
11864 | wxPyEndAllowThreads(__tstate); | |
11865 | if (PyErr_Occurred()) SWIG_fail; | |
11866 | } | |
36ed4f51 RD |
11867 | { |
11868 | resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); | |
11869 | } | |
d55e5bfc RD |
11870 | return resultobj; |
11871 | fail: | |
11872 | return NULL; | |
11873 | } | |
11874 | ||
11875 | ||
c370783e | 11876 | static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11877 | PyObject *resultobj; |
11878 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
11879 | bool result; | |
11880 | PyObject * obj0 = 0 ; | |
11881 | char *kwnames[] = { | |
11882 | (char *) "self", NULL | |
11883 | }; | |
11884 | ||
11885 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
11886 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
11887 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
11888 | { |
11889 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11890 | result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection(); | |
11891 | ||
11892 | wxPyEndAllowThreads(__tstate); | |
11893 | if (PyErr_Occurred()) SWIG_fail; | |
11894 | } | |
11895 | { | |
11896 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11897 | } | |
11898 | return resultobj; | |
11899 | fail: | |
11900 | return NULL; | |
11901 | } | |
11902 | ||
11903 | ||
c370783e | 11904 | static PyObject *_wrap_VListBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11905 | PyObject *resultobj; |
11906 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
11907 | int result; | |
11908 | PyObject * obj0 = 0 ; | |
11909 | char *kwnames[] = { | |
11910 | (char *) "self", NULL | |
11911 | }; | |
11912 | ||
11913 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
11914 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
11915 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
11916 | { |
11917 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11918 | result = (int)((wxPyVListBox const *)arg1)->GetSelection(); | |
11919 | ||
11920 | wxPyEndAllowThreads(__tstate); | |
11921 | if (PyErr_Occurred()) SWIG_fail; | |
11922 | } | |
36ed4f51 RD |
11923 | { |
11924 | resultobj = SWIG_From_int((int)(result)); | |
11925 | } | |
d55e5bfc RD |
11926 | return resultobj; |
11927 | fail: | |
11928 | return NULL; | |
11929 | } | |
11930 | ||
11931 | ||
c370783e | 11932 | static PyObject *_wrap_VListBox_IsCurrent(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11933 | PyObject *resultobj; |
11934 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
11935 | size_t arg2 ; | |
11936 | bool result; | |
11937 | PyObject * obj0 = 0 ; | |
11938 | PyObject * obj1 = 0 ; | |
11939 | char *kwnames[] = { | |
11940 | (char *) "self",(char *) "item", NULL | |
11941 | }; | |
11942 | ||
11943 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
11944 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
11945 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11946 | { | |
11947 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
11948 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11949 | } | |
d55e5bfc RD |
11950 | { |
11951 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11952 | result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2); | |
11953 | ||
11954 | wxPyEndAllowThreads(__tstate); | |
11955 | if (PyErr_Occurred()) SWIG_fail; | |
11956 | } | |
11957 | { | |
11958 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11959 | } | |
11960 | return resultobj; | |
11961 | fail: | |
11962 | return NULL; | |
11963 | } | |
11964 | ||
11965 | ||
c370783e | 11966 | static PyObject *_wrap_VListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11967 | PyObject *resultobj; |
11968 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
11969 | size_t arg2 ; | |
11970 | bool result; | |
11971 | PyObject * obj0 = 0 ; | |
11972 | PyObject * obj1 = 0 ; | |
11973 | char *kwnames[] = { | |
11974 | (char *) "self",(char *) "item", NULL | |
11975 | }; | |
11976 | ||
11977 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
11978 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
11979 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11980 | { | |
11981 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
11982 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11983 | } | |
d55e5bfc RD |
11984 | { |
11985 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11986 | result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2); | |
11987 | ||
11988 | wxPyEndAllowThreads(__tstate); | |
11989 | if (PyErr_Occurred()) SWIG_fail; | |
11990 | } | |
11991 | { | |
11992 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11993 | } | |
11994 | return resultobj; | |
11995 | fail: | |
11996 | return NULL; | |
11997 | } | |
11998 | ||
11999 | ||
c370783e | 12000 | static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12001 | PyObject *resultobj; |
12002 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
12003 | size_t result; | |
12004 | PyObject * obj0 = 0 ; | |
12005 | char *kwnames[] = { | |
12006 | (char *) "self", NULL | |
12007 | }; | |
12008 | ||
12009 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
12010 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12011 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
12012 | { |
12013 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12014 | result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount(); | |
12015 | ||
12016 | wxPyEndAllowThreads(__tstate); | |
12017 | if (PyErr_Occurred()) SWIG_fail; | |
12018 | } | |
36ed4f51 RD |
12019 | { |
12020 | resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); | |
12021 | } | |
d55e5bfc RD |
12022 | return resultobj; |
12023 | fail: | |
12024 | return NULL; | |
12025 | } | |
12026 | ||
12027 | ||
c370783e | 12028 | static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12029 | PyObject *resultobj; |
12030 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
09c21d3b | 12031 | PyObject *result; |
d55e5bfc | 12032 | PyObject * obj0 = 0 ; |
d55e5bfc | 12033 | char *kwnames[] = { |
09c21d3b | 12034 | (char *) "self", NULL |
d55e5bfc RD |
12035 | }; |
12036 | ||
09c21d3b | 12037 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetFirstSelected",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
12038 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12039 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
12040 | { |
12041 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
09c21d3b | 12042 | result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1); |
d55e5bfc RD |
12043 | |
12044 | wxPyEndAllowThreads(__tstate); | |
12045 | if (PyErr_Occurred()) SWIG_fail; | |
12046 | } | |
09c21d3b | 12047 | resultobj = result; |
d55e5bfc RD |
12048 | return resultobj; |
12049 | fail: | |
12050 | return NULL; | |
12051 | } | |
12052 | ||
12053 | ||
c370783e | 12054 | static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12055 | PyObject *resultobj; |
12056 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
09c21d3b RD |
12057 | unsigned long arg2 ; |
12058 | PyObject *result; | |
d55e5bfc RD |
12059 | PyObject * obj0 = 0 ; |
12060 | PyObject * obj1 = 0 ; | |
12061 | char *kwnames[] = { | |
12062 | (char *) "self",(char *) "cookie", NULL | |
12063 | }; | |
12064 | ||
12065 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
12066 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12067 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12068 | { | |
12069 | arg2 = (unsigned long)(SWIG_As_unsigned_SS_long(obj1)); | |
12070 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12071 | } | |
d55e5bfc RD |
12072 | { |
12073 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
09c21d3b | 12074 | result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2); |
d55e5bfc RD |
12075 | |
12076 | wxPyEndAllowThreads(__tstate); | |
12077 | if (PyErr_Occurred()) SWIG_fail; | |
12078 | } | |
09c21d3b | 12079 | resultobj = result; |
d55e5bfc RD |
12080 | return resultobj; |
12081 | fail: | |
12082 | return NULL; | |
12083 | } | |
12084 | ||
12085 | ||
c370783e | 12086 | static PyObject *_wrap_VListBox_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12087 | PyObject *resultobj; |
12088 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
12089 | wxPoint result; | |
12090 | PyObject * obj0 = 0 ; | |
12091 | char *kwnames[] = { | |
12092 | (char *) "self", NULL | |
12093 | }; | |
12094 | ||
12095 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
12096 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12097 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
12098 | { |
12099 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12100 | result = ((wxPyVListBox const *)arg1)->GetMargins(); | |
12101 | ||
12102 | wxPyEndAllowThreads(__tstate); | |
12103 | if (PyErr_Occurred()) SWIG_fail; | |
12104 | } | |
12105 | { | |
12106 | wxPoint * resultptr; | |
36ed4f51 | 12107 | resultptr = new wxPoint((wxPoint &)(result)); |
d55e5bfc RD |
12108 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
12109 | } | |
12110 | return resultobj; | |
12111 | fail: | |
12112 | return NULL; | |
12113 | } | |
12114 | ||
12115 | ||
c370783e | 12116 | static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12117 | PyObject *resultobj; |
12118 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
12119 | wxColour *result; | |
12120 | PyObject * obj0 = 0 ; | |
12121 | char *kwnames[] = { | |
12122 | (char *) "self", NULL | |
12123 | }; | |
12124 | ||
12125 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
12126 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12127 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
12128 | { |
12129 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12130 | { | |
12131 | wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground(); | |
12132 | result = (wxColour *) &_result_ref; | |
12133 | } | |
12134 | ||
12135 | wxPyEndAllowThreads(__tstate); | |
12136 | if (PyErr_Occurred()) SWIG_fail; | |
12137 | } | |
12138 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0); | |
12139 | return resultobj; | |
12140 | fail: | |
12141 | return NULL; | |
12142 | } | |
12143 | ||
12144 | ||
c370783e | 12145 | static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12146 | PyObject *resultobj; |
12147 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
12148 | size_t arg2 ; | |
12149 | PyObject * obj0 = 0 ; | |
12150 | PyObject * obj1 = 0 ; | |
12151 | char *kwnames[] = { | |
12152 | (char *) "self",(char *) "count", NULL | |
12153 | }; | |
12154 | ||
12155 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
12156 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12157 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12158 | { | |
12159 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
12160 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12161 | } | |
d55e5bfc RD |
12162 | { |
12163 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12164 | (arg1)->SetItemCount(arg2); | |
12165 | ||
12166 | wxPyEndAllowThreads(__tstate); | |
12167 | if (PyErr_Occurred()) SWIG_fail; | |
12168 | } | |
12169 | Py_INCREF(Py_None); resultobj = Py_None; | |
12170 | return resultobj; | |
12171 | fail: | |
12172 | return NULL; | |
12173 | } | |
12174 | ||
12175 | ||
c370783e | 12176 | static PyObject *_wrap_VListBox_Clear(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12177 | PyObject *resultobj; |
12178 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
12179 | PyObject * obj0 = 0 ; | |
12180 | char *kwnames[] = { | |
12181 | (char *) "self", NULL | |
12182 | }; | |
12183 | ||
12184 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
12185 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12186 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
12187 | { |
12188 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12189 | (arg1)->Clear(); | |
12190 | ||
12191 | wxPyEndAllowThreads(__tstate); | |
12192 | if (PyErr_Occurred()) SWIG_fail; | |
12193 | } | |
12194 | Py_INCREF(Py_None); resultobj = Py_None; | |
12195 | return resultobj; | |
12196 | fail: | |
12197 | return NULL; | |
12198 | } | |
12199 | ||
12200 | ||
c370783e | 12201 | static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12202 | PyObject *resultobj; |
12203 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
12204 | int arg2 ; | |
12205 | PyObject * obj0 = 0 ; | |
12206 | PyObject * obj1 = 0 ; | |
12207 | char *kwnames[] = { | |
12208 | (char *) "self",(char *) "selection", NULL | |
12209 | }; | |
12210 | ||
12211 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
12212 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12213 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12214 | { | |
12215 | arg2 = (int)(SWIG_As_int(obj1)); | |
12216 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12217 | } | |
d55e5bfc RD |
12218 | { |
12219 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12220 | (arg1)->SetSelection(arg2); | |
12221 | ||
12222 | wxPyEndAllowThreads(__tstate); | |
12223 | if (PyErr_Occurred()) SWIG_fail; | |
12224 | } | |
12225 | Py_INCREF(Py_None); resultobj = Py_None; | |
12226 | return resultobj; | |
12227 | fail: | |
12228 | return NULL; | |
12229 | } | |
12230 | ||
12231 | ||
c370783e | 12232 | static PyObject *_wrap_VListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12233 | PyObject *resultobj; |
12234 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
12235 | size_t arg2 ; | |
b411df4a | 12236 | bool arg3 = (bool) true ; |
d55e5bfc RD |
12237 | bool result; |
12238 | PyObject * obj0 = 0 ; | |
12239 | PyObject * obj1 = 0 ; | |
12240 | PyObject * obj2 = 0 ; | |
12241 | char *kwnames[] = { | |
12242 | (char *) "self",(char *) "item",(char *) "select", NULL | |
12243 | }; | |
12244 | ||
12245 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
12246 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12247 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12248 | { | |
12249 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
12250 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12251 | } | |
d55e5bfc | 12252 | if (obj2) { |
36ed4f51 RD |
12253 | { |
12254 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
12255 | if (SWIG_arg_fail(3)) SWIG_fail; | |
12256 | } | |
d55e5bfc RD |
12257 | } |
12258 | { | |
12259 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12260 | result = (bool)(arg1)->Select(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_SelectRange(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12275 | PyObject *resultobj; |
12276 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
12277 | size_t arg2 ; | |
12278 | size_t arg3 ; | |
12279 | bool result; | |
12280 | PyObject * obj0 = 0 ; | |
12281 | PyObject * obj1 = 0 ; | |
12282 | PyObject * obj2 = 0 ; | |
12283 | char *kwnames[] = { | |
12284 | (char *) "self",(char *) "from",(char *) "to", NULL | |
12285 | }; | |
12286 | ||
12287 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
12288 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12289 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12290 | { | |
12291 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
12292 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12293 | } | |
12294 | { | |
12295 | arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2)); | |
12296 | if (SWIG_arg_fail(3)) SWIG_fail; | |
12297 | } | |
d55e5bfc RD |
12298 | { |
12299 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12300 | result = (bool)(arg1)->SelectRange(arg2,arg3); | |
12301 | ||
12302 | wxPyEndAllowThreads(__tstate); | |
12303 | if (PyErr_Occurred()) SWIG_fail; | |
12304 | } | |
12305 | { | |
12306 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12307 | } | |
12308 | return resultobj; | |
12309 | fail: | |
12310 | return NULL; | |
12311 | } | |
12312 | ||
12313 | ||
c370783e | 12314 | static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12315 | PyObject *resultobj; |
12316 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
12317 | size_t arg2 ; | |
12318 | PyObject * obj0 = 0 ; | |
12319 | PyObject * obj1 = 0 ; | |
12320 | char *kwnames[] = { | |
12321 | (char *) "self",(char *) "item", NULL | |
12322 | }; | |
12323 | ||
12324 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
12325 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12326 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12327 | { | |
12328 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
12329 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12330 | } | |
d55e5bfc RD |
12331 | { |
12332 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12333 | (arg1)->Toggle(arg2); | |
12334 | ||
12335 | wxPyEndAllowThreads(__tstate); | |
12336 | if (PyErr_Occurred()) SWIG_fail; | |
12337 | } | |
12338 | Py_INCREF(Py_None); resultobj = Py_None; | |
12339 | return resultobj; | |
12340 | fail: | |
12341 | return NULL; | |
12342 | } | |
12343 | ||
12344 | ||
c370783e | 12345 | static PyObject *_wrap_VListBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12346 | PyObject *resultobj; |
12347 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
12348 | bool result; | |
12349 | PyObject * obj0 = 0 ; | |
12350 | char *kwnames[] = { | |
12351 | (char *) "self", NULL | |
12352 | }; | |
12353 | ||
12354 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
12355 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12356 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
12357 | { |
12358 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12359 | result = (bool)(arg1)->SelectAll(); | |
12360 | ||
12361 | wxPyEndAllowThreads(__tstate); | |
12362 | if (PyErr_Occurred()) SWIG_fail; | |
12363 | } | |
12364 | { | |
12365 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12366 | } | |
12367 | return resultobj; | |
12368 | fail: | |
12369 | return NULL; | |
12370 | } | |
12371 | ||
12372 | ||
c370783e | 12373 | static PyObject *_wrap_VListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12374 | PyObject *resultobj; |
12375 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
12376 | bool result; | |
12377 | PyObject * obj0 = 0 ; | |
12378 | char *kwnames[] = { | |
12379 | (char *) "self", NULL | |
12380 | }; | |
12381 | ||
12382 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
12383 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12384 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
12385 | { |
12386 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12387 | result = (bool)(arg1)->DeselectAll(); | |
12388 | ||
12389 | wxPyEndAllowThreads(__tstate); | |
12390 | if (PyErr_Occurred()) SWIG_fail; | |
12391 | } | |
12392 | { | |
12393 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12394 | } | |
12395 | return resultobj; | |
12396 | fail: | |
12397 | return NULL; | |
12398 | } | |
12399 | ||
12400 | ||
c370783e | 12401 | static PyObject *_wrap_VListBox_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12402 | PyObject *resultobj; |
12403 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
12404 | wxPoint *arg2 = 0 ; | |
12405 | wxPoint temp2 ; | |
12406 | PyObject * obj0 = 0 ; | |
12407 | PyObject * obj1 = 0 ; | |
12408 | char *kwnames[] = { | |
12409 | (char *) "self",(char *) "pt", NULL | |
12410 | }; | |
12411 | ||
12412 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
12413 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12414 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
12415 | { |
12416 | arg2 = &temp2; | |
12417 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
12418 | } | |
12419 | { | |
12420 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12421 | (arg1)->SetMargins((wxPoint const &)*arg2); | |
12422 | ||
12423 | wxPyEndAllowThreads(__tstate); | |
12424 | if (PyErr_Occurred()) SWIG_fail; | |
12425 | } | |
12426 | Py_INCREF(Py_None); resultobj = Py_None; | |
12427 | return resultobj; | |
12428 | fail: | |
12429 | return NULL; | |
12430 | } | |
12431 | ||
12432 | ||
c370783e | 12433 | static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12434 | PyObject *resultobj; |
12435 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
12436 | int arg2 ; | |
12437 | int arg3 ; | |
12438 | PyObject * obj0 = 0 ; | |
12439 | PyObject * obj1 = 0 ; | |
12440 | PyObject * obj2 = 0 ; | |
12441 | char *kwnames[] = { | |
12442 | (char *) "self",(char *) "x",(char *) "y", NULL | |
12443 | }; | |
12444 | ||
12445 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
12446 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12447 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12448 | { | |
12449 | arg2 = (int)(SWIG_As_int(obj1)); | |
12450 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12451 | } | |
12452 | { | |
12453 | arg3 = (int)(SWIG_As_int(obj2)); | |
12454 | if (SWIG_arg_fail(3)) SWIG_fail; | |
12455 | } | |
d55e5bfc RD |
12456 | { |
12457 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12458 | (arg1)->SetMargins(arg2,arg3); | |
12459 | ||
12460 | wxPyEndAllowThreads(__tstate); | |
12461 | if (PyErr_Occurred()) SWIG_fail; | |
12462 | } | |
12463 | Py_INCREF(Py_None); resultobj = Py_None; | |
12464 | return resultobj; | |
12465 | fail: | |
12466 | return NULL; | |
12467 | } | |
12468 | ||
12469 | ||
c370783e | 12470 | static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12471 | PyObject *resultobj; |
12472 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
12473 | wxColour *arg2 = 0 ; | |
12474 | wxColour temp2 ; | |
12475 | PyObject * obj0 = 0 ; | |
12476 | PyObject * obj1 = 0 ; | |
12477 | char *kwnames[] = { | |
12478 | (char *) "self",(char *) "col", NULL | |
12479 | }; | |
12480 | ||
12481 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
12482 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12483 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
12484 | { |
12485 | arg2 = &temp2; | |
12486 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
12487 | } | |
12488 | { | |
12489 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12490 | (arg1)->SetSelectionBackground((wxColour const &)*arg2); | |
12491 | ||
12492 | wxPyEndAllowThreads(__tstate); | |
12493 | if (PyErr_Occurred()) SWIG_fail; | |
12494 | } | |
12495 | Py_INCREF(Py_None); resultobj = Py_None; | |
12496 | return resultobj; | |
12497 | fail: | |
12498 | return NULL; | |
12499 | } | |
12500 | ||
12501 | ||
c370783e | 12502 | static PyObject * VListBox_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
12503 | PyObject *obj; |
12504 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12505 | SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj); | |
12506 | Py_INCREF(obj); | |
12507 | return Py_BuildValue((char *)""); | |
12508 | } | |
c370783e | 12509 | static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12510 | PyObject *resultobj; |
12511 | wxWindow *arg1 = (wxWindow *) 0 ; | |
12512 | int arg2 = (int) wxID_ANY ; | |
12513 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
12514 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
12515 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
12516 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
12517 | long arg5 = (long) 0 ; | |
12518 | wxString const &arg6_defvalue = wxPyVListBoxNameStr ; | |
12519 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
12520 | wxPyHtmlListBox *result; | |
12521 | wxPoint temp3 ; | |
12522 | wxSize temp4 ; | |
b411df4a | 12523 | bool temp6 = false ; |
d55e5bfc RD |
12524 | PyObject * obj0 = 0 ; |
12525 | PyObject * obj1 = 0 ; | |
12526 | PyObject * obj2 = 0 ; | |
12527 | PyObject * obj3 = 0 ; | |
12528 | PyObject * obj4 = 0 ; | |
12529 | PyObject * obj5 = 0 ; | |
12530 | char *kwnames[] = { | |
12531 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
12532 | }; | |
12533 | ||
12534 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
36ed4f51 RD |
12535 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
12536 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 12537 | if (obj1) { |
36ed4f51 RD |
12538 | { |
12539 | arg2 = (int)(SWIG_As_int(obj1)); | |
12540 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12541 | } | |
d55e5bfc RD |
12542 | } |
12543 | if (obj2) { | |
12544 | { | |
12545 | arg3 = &temp3; | |
12546 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
12547 | } | |
12548 | } | |
12549 | if (obj3) { | |
12550 | { | |
12551 | arg4 = &temp4; | |
12552 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
12553 | } | |
12554 | } | |
12555 | if (obj4) { | |
36ed4f51 RD |
12556 | { |
12557 | arg5 = (long)(SWIG_As_long(obj4)); | |
12558 | if (SWIG_arg_fail(5)) SWIG_fail; | |
12559 | } | |
d55e5bfc RD |
12560 | } |
12561 | if (obj5) { | |
12562 | { | |
12563 | arg6 = wxString_in_helper(obj5); | |
12564 | if (arg6 == NULL) SWIG_fail; | |
b411df4a | 12565 | temp6 = true; |
d55e5bfc RD |
12566 | } |
12567 | } | |
12568 | { | |
0439c23b | 12569 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
12570 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
12571 | result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
12572 | ||
12573 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 12574 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
12575 | } |
12576 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1); | |
12577 | { | |
12578 | if (temp6) | |
12579 | delete arg6; | |
12580 | } | |
12581 | return resultobj; | |
12582 | fail: | |
12583 | { | |
12584 | if (temp6) | |
12585 | delete arg6; | |
12586 | } | |
12587 | return NULL; | |
12588 | } | |
12589 | ||
12590 | ||
c370783e | 12591 | static PyObject *_wrap_new_PreHtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12592 | PyObject *resultobj; |
12593 | wxPyHtmlListBox *result; | |
12594 | char *kwnames[] = { | |
12595 | NULL | |
12596 | }; | |
12597 | ||
12598 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail; | |
12599 | { | |
0439c23b | 12600 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
12601 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
12602 | result = (wxPyHtmlListBox *)new wxPyHtmlListBox(); | |
12603 | ||
12604 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 12605 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
12606 | } |
12607 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1); | |
12608 | return resultobj; | |
12609 | fail: | |
12610 | return NULL; | |
12611 | } | |
12612 | ||
12613 | ||
c370783e | 12614 | static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12615 | PyObject *resultobj; |
12616 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
12617 | PyObject *arg2 = (PyObject *) 0 ; | |
12618 | PyObject *arg3 = (PyObject *) 0 ; | |
12619 | PyObject * obj0 = 0 ; | |
12620 | PyObject * obj1 = 0 ; | |
12621 | PyObject * obj2 = 0 ; | |
12622 | char *kwnames[] = { | |
12623 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
12624 | }; | |
12625 | ||
12626 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
12627 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0); |
12628 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
12629 | arg2 = obj1; |
12630 | arg3 = obj2; | |
12631 | { | |
12632 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12633 | (arg1)->_setCallbackInfo(arg2,arg3); | |
12634 | ||
12635 | wxPyEndAllowThreads(__tstate); | |
12636 | if (PyErr_Occurred()) SWIG_fail; | |
12637 | } | |
12638 | Py_INCREF(Py_None); resultobj = Py_None; | |
12639 | return resultobj; | |
12640 | fail: | |
12641 | return NULL; | |
12642 | } | |
12643 | ||
12644 | ||
c370783e | 12645 | static PyObject *_wrap_HtmlListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12646 | PyObject *resultobj; |
12647 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
12648 | wxWindow *arg2 = (wxWindow *) 0 ; | |
12649 | int arg3 = (int) wxID_ANY ; | |
12650 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
12651 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
12652 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
12653 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
12654 | long arg6 = (long) 0 ; | |
12655 | wxString const &arg7_defvalue = wxPyVListBoxNameStr ; | |
12656 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
12657 | bool result; | |
12658 | wxPoint temp4 ; | |
12659 | wxSize temp5 ; | |
b411df4a | 12660 | bool temp7 = false ; |
d55e5bfc RD |
12661 | PyObject * obj0 = 0 ; |
12662 | PyObject * obj1 = 0 ; | |
12663 | PyObject * obj2 = 0 ; | |
12664 | PyObject * obj3 = 0 ; | |
12665 | PyObject * obj4 = 0 ; | |
12666 | PyObject * obj5 = 0 ; | |
12667 | PyObject * obj6 = 0 ; | |
12668 | char *kwnames[] = { | |
12669 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
12670 | }; | |
12671 | ||
12672 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
36ed4f51 RD |
12673 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0); |
12674 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12675 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
12676 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc | 12677 | if (obj2) { |
36ed4f51 RD |
12678 | { |
12679 | arg3 = (int)(SWIG_As_int(obj2)); | |
12680 | if (SWIG_arg_fail(3)) SWIG_fail; | |
12681 | } | |
d55e5bfc RD |
12682 | } |
12683 | if (obj3) { | |
12684 | { | |
12685 | arg4 = &temp4; | |
12686 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
12687 | } | |
12688 | } | |
12689 | if (obj4) { | |
12690 | { | |
12691 | arg5 = &temp5; | |
12692 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
12693 | } | |
12694 | } | |
12695 | if (obj5) { | |
36ed4f51 RD |
12696 | { |
12697 | arg6 = (long)(SWIG_As_long(obj5)); | |
12698 | if (SWIG_arg_fail(6)) SWIG_fail; | |
12699 | } | |
d55e5bfc RD |
12700 | } |
12701 | if (obj6) { | |
12702 | { | |
12703 | arg7 = wxString_in_helper(obj6); | |
12704 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 12705 | temp7 = true; |
d55e5bfc RD |
12706 | } |
12707 | } | |
12708 | { | |
12709 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12710 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
12711 | ||
12712 | wxPyEndAllowThreads(__tstate); | |
12713 | if (PyErr_Occurred()) SWIG_fail; | |
12714 | } | |
12715 | { | |
12716 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12717 | } | |
12718 | { | |
12719 | if (temp7) | |
12720 | delete arg7; | |
12721 | } | |
12722 | return resultobj; | |
12723 | fail: | |
12724 | { | |
12725 | if (temp7) | |
12726 | delete arg7; | |
12727 | } | |
12728 | return NULL; | |
12729 | } | |
12730 | ||
12731 | ||
c370783e | 12732 | static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12733 | PyObject *resultobj; |
12734 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
12735 | PyObject * obj0 = 0 ; | |
12736 | char *kwnames[] = { | |
12737 | (char *) "self", NULL | |
12738 | }; | |
12739 | ||
12740 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
12741 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0); |
12742 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
12743 | { |
12744 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12745 | (arg1)->RefreshAll(); | |
12746 | ||
12747 | wxPyEndAllowThreads(__tstate); | |
12748 | if (PyErr_Occurred()) SWIG_fail; | |
12749 | } | |
12750 | Py_INCREF(Py_None); resultobj = Py_None; | |
12751 | return resultobj; | |
12752 | fail: | |
12753 | return NULL; | |
12754 | } | |
12755 | ||
12756 | ||
c370783e | 12757 | static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12758 | PyObject *resultobj; |
12759 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
12760 | size_t arg2 ; | |
12761 | PyObject * obj0 = 0 ; | |
12762 | PyObject * obj1 = 0 ; | |
12763 | char *kwnames[] = { | |
12764 | (char *) "self",(char *) "count", NULL | |
12765 | }; | |
12766 | ||
12767 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
12768 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0); |
12769 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12770 | { | |
12771 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
12772 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12773 | } | |
d55e5bfc RD |
12774 | { |
12775 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12776 | (arg1)->SetItemCount(arg2); | |
12777 | ||
12778 | wxPyEndAllowThreads(__tstate); | |
12779 | if (PyErr_Occurred()) SWIG_fail; | |
12780 | } | |
12781 | Py_INCREF(Py_None); resultobj = Py_None; | |
12782 | return resultobj; | |
12783 | fail: | |
12784 | return NULL; | |
12785 | } | |
12786 | ||
12787 | ||
c370783e | 12788 | static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *, PyObject *args, PyObject *kwargs) { |
d6c14a4c RD |
12789 | PyObject *resultobj; |
12790 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
12791 | wxFileSystem *result; | |
12792 | PyObject * obj0 = 0 ; | |
12793 | char *kwnames[] = { | |
12794 | (char *) "self", NULL | |
12795 | }; | |
12796 | ||
12797 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
12798 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0); |
12799 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d6c14a4c RD |
12800 | { |
12801 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12802 | { | |
12803 | wxFileSystem &_result_ref = (arg1)->GetFileSystem(); | |
12804 | result = (wxFileSystem *) &_result_ref; | |
12805 | } | |
12806 | ||
12807 | wxPyEndAllowThreads(__tstate); | |
12808 | if (PyErr_Occurred()) SWIG_fail; | |
12809 | } | |
12810 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0); | |
12811 | return resultobj; | |
12812 | fail: | |
12813 | return NULL; | |
12814 | } | |
12815 | ||
12816 | ||
c370783e | 12817 | static PyObject * HtmlListBox_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
12818 | PyObject *obj; |
12819 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12820 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj); | |
12821 | Py_INCREF(obj); | |
12822 | return Py_BuildValue((char *)""); | |
12823 | } | |
c370783e | 12824 | static PyObject *_wrap_new_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc | 12825 | PyObject *resultobj; |
5e483524 | 12826 | wxPyTaskBarIcon *result; |
d55e5bfc RD |
12827 | char *kwnames[] = { |
12828 | NULL | |
12829 | }; | |
12830 | ||
12831 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail; | |
12832 | { | |
0439c23b | 12833 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc | 12834 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5e483524 | 12835 | result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon(); |
d55e5bfc RD |
12836 | |
12837 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 12838 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 12839 | } |
5e483524 | 12840 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTaskBarIcon, 1); |
d55e5bfc RD |
12841 | return resultobj; |
12842 | fail: | |
12843 | return NULL; | |
12844 | } | |
12845 | ||
12846 | ||
5e483524 | 12847 | static PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc | 12848 | PyObject *resultobj; |
5e483524 RD |
12849 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
12850 | PyObject *arg2 = (PyObject *) 0 ; | |
12851 | PyObject *arg3 = (PyObject *) 0 ; | |
12852 | int arg4 ; | |
d55e5bfc | 12853 | PyObject * obj0 = 0 ; |
5e483524 RD |
12854 | PyObject * obj1 = 0 ; |
12855 | PyObject * obj2 = 0 ; | |
12856 | PyObject * obj3 = 0 ; | |
d55e5bfc | 12857 | char *kwnames[] = { |
5e483524 | 12858 | (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL |
d55e5bfc RD |
12859 | }; |
12860 | ||
5e483524 | 12861 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
36ed4f51 RD |
12862 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0); |
12863 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5e483524 RD |
12864 | arg2 = obj1; |
12865 | arg3 = obj2; | |
36ed4f51 RD |
12866 | { |
12867 | arg4 = (int)(SWIG_As_int(obj3)); | |
12868 | if (SWIG_arg_fail(4)) SWIG_fail; | |
12869 | } | |
d55e5bfc RD |
12870 | { |
12871 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5e483524 | 12872 | (arg1)->_setCallbackInfo(arg2,arg3,arg4); |
d55e5bfc RD |
12873 | |
12874 | wxPyEndAllowThreads(__tstate); | |
12875 | if (PyErr_Occurred()) SWIG_fail; | |
12876 | } | |
12877 | Py_INCREF(Py_None); resultobj = Py_None; | |
12878 | return resultobj; | |
12879 | fail: | |
12880 | return NULL; | |
12881 | } | |
12882 | ||
12883 | ||
c370783e | 12884 | static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc | 12885 | PyObject *resultobj; |
5e483524 | 12886 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
d55e5bfc RD |
12887 | PyObject * obj0 = 0 ; |
12888 | char *kwnames[] = { | |
12889 | (char *) "self", NULL | |
12890 | }; | |
12891 | ||
12892 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
12893 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0); |
12894 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
12895 | { |
12896 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5e483524 | 12897 | wxPyTaskBarIcon_Destroy(arg1); |
d55e5bfc RD |
12898 | |
12899 | wxPyEndAllowThreads(__tstate); | |
12900 | if (PyErr_Occurred()) SWIG_fail; | |
12901 | } | |
12902 | Py_INCREF(Py_None); resultobj = Py_None; | |
12903 | return resultobj; | |
12904 | fail: | |
12905 | return NULL; | |
12906 | } | |
12907 | ||
12908 | ||
b411df4a RD |
12909 | static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *, PyObject *args, PyObject *kwargs) { |
12910 | PyObject *resultobj; | |
5e483524 | 12911 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
b411df4a RD |
12912 | bool result; |
12913 | PyObject * obj0 = 0 ; | |
12914 | char *kwnames[] = { | |
12915 | (char *) "self", NULL | |
12916 | }; | |
12917 | ||
12918 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
12919 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0); |
12920 | if (SWIG_arg_fail(1)) SWIG_fail; | |
b411df4a RD |
12921 | { |
12922 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5e483524 | 12923 | result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk(); |
b411df4a RD |
12924 | |
12925 | wxPyEndAllowThreads(__tstate); | |
12926 | if (PyErr_Occurred()) SWIG_fail; | |
12927 | } | |
12928 | { | |
12929 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12930 | } | |
12931 | return resultobj; | |
12932 | fail: | |
12933 | return NULL; | |
12934 | } | |
12935 | ||
12936 | ||
12937 | static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *, PyObject *args, PyObject *kwargs) { | |
12938 | PyObject *resultobj; | |
5e483524 | 12939 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
b411df4a RD |
12940 | bool result; |
12941 | PyObject * obj0 = 0 ; | |
12942 | char *kwnames[] = { | |
12943 | (char *) "self", NULL | |
12944 | }; | |
12945 | ||
12946 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
12947 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0); |
12948 | if (SWIG_arg_fail(1)) SWIG_fail; | |
b411df4a RD |
12949 | { |
12950 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5e483524 | 12951 | result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled(); |
b411df4a RD |
12952 | |
12953 | wxPyEndAllowThreads(__tstate); | |
12954 | if (PyErr_Occurred()) SWIG_fail; | |
12955 | } | |
12956 | { | |
12957 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12958 | } | |
12959 | return resultobj; | |
12960 | fail: | |
12961 | return NULL; | |
12962 | } | |
12963 | ||
12964 | ||
12965 | static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) { | |
12966 | PyObject *resultobj; | |
5e483524 | 12967 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
b411df4a RD |
12968 | wxIcon *arg2 = 0 ; |
12969 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
12970 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
12971 | bool result; | |
12972 | bool temp3 = false ; | |
12973 | PyObject * obj0 = 0 ; | |
12974 | PyObject * obj1 = 0 ; | |
12975 | PyObject * obj2 = 0 ; | |
12976 | char *kwnames[] = { | |
12977 | (char *) "self",(char *) "icon",(char *) "tooltip", NULL | |
12978 | }; | |
12979 | ||
12980 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
12981 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0); |
12982 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12983 | { | |
12984 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0); | |
12985 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12986 | if (arg2 == NULL) { | |
12987 | SWIG_null_ref("wxIcon"); | |
12988 | } | |
12989 | if (SWIG_arg_fail(2)) SWIG_fail; | |
b411df4a RD |
12990 | } |
12991 | if (obj2) { | |
12992 | { | |
12993 | arg3 = wxString_in_helper(obj2); | |
12994 | if (arg3 == NULL) SWIG_fail; | |
12995 | temp3 = true; | |
12996 | } | |
12997 | } | |
12998 | { | |
12999 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13000 | result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3); | |
13001 | ||
13002 | wxPyEndAllowThreads(__tstate); | |
13003 | if (PyErr_Occurred()) SWIG_fail; | |
13004 | } | |
13005 | { | |
13006 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13007 | } | |
13008 | { | |
13009 | if (temp3) | |
13010 | delete arg3; | |
13011 | } | |
13012 | return resultobj; | |
13013 | fail: | |
13014 | { | |
13015 | if (temp3) | |
13016 | delete arg3; | |
13017 | } | |
13018 | return NULL; | |
13019 | } | |
13020 | ||
13021 | ||
13022 | static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *, PyObject *args, PyObject *kwargs) { | |
13023 | PyObject *resultobj; | |
5e483524 | 13024 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
b411df4a RD |
13025 | bool result; |
13026 | PyObject * obj0 = 0 ; | |
13027 | char *kwnames[] = { | |
13028 | (char *) "self", NULL | |
13029 | }; | |
13030 | ||
13031 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
13032 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0); |
13033 | if (SWIG_arg_fail(1)) SWIG_fail; | |
b411df4a RD |
13034 | { |
13035 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13036 | result = (bool)(arg1)->RemoveIcon(); | |
13037 | ||
13038 | wxPyEndAllowThreads(__tstate); | |
13039 | if (PyErr_Occurred()) SWIG_fail; | |
13040 | } | |
13041 | { | |
13042 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13043 | } | |
13044 | return resultobj; | |
13045 | fail: | |
13046 | return NULL; | |
13047 | } | |
13048 | ||
13049 | ||
13050 | static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) { | |
13051 | PyObject *resultobj; | |
5e483524 | 13052 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
b411df4a RD |
13053 | wxMenu *arg2 = (wxMenu *) 0 ; |
13054 | bool result; | |
13055 | PyObject * obj0 = 0 ; | |
13056 | PyObject * obj1 = 0 ; | |
13057 | char *kwnames[] = { | |
13058 | (char *) "self",(char *) "menu", NULL | |
13059 | }; | |
13060 | ||
13061 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
13062 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0); |
13063 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13064 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); | |
13065 | if (SWIG_arg_fail(2)) SWIG_fail; | |
b411df4a RD |
13066 | { |
13067 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13068 | result = (bool)(arg1)->PopupMenu(arg2); | |
13069 | ||
13070 | wxPyEndAllowThreads(__tstate); | |
13071 | if (PyErr_Occurred()) SWIG_fail; | |
13072 | } | |
13073 | { | |
13074 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13075 | } | |
13076 | return resultobj; | |
13077 | fail: | |
13078 | return NULL; | |
13079 | } | |
13080 | ||
13081 | ||
c370783e | 13082 | static PyObject * TaskBarIcon_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
13083 | PyObject *obj; |
13084 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5e483524 | 13085 | SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon, obj); |
d55e5bfc RD |
13086 | Py_INCREF(obj); |
13087 | return Py_BuildValue((char *)""); | |
13088 | } | |
c370783e | 13089 | static PyObject *_wrap_new_TaskBarIconEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13090 | PyObject *resultobj; |
13091 | wxEventType arg1 ; | |
13092 | wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ; | |
13093 | wxTaskBarIconEvent *result; | |
13094 | PyObject * obj0 = 0 ; | |
13095 | PyObject * obj1 = 0 ; | |
13096 | char *kwnames[] = { | |
13097 | (char *) "evtType",(char *) "tbIcon", NULL | |
13098 | }; | |
13099 | ||
13100 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
13101 | { |
13102 | arg1 = (wxEventType)(SWIG_As_int(obj0)); | |
13103 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13104 | } | |
13105 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTaskBarIcon, SWIG_POINTER_EXCEPTION | 0); | |
13106 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
13107 | { |
13108 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13109 | result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2); | |
13110 | ||
13111 | wxPyEndAllowThreads(__tstate); | |
13112 | if (PyErr_Occurred()) SWIG_fail; | |
13113 | } | |
13114 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1); | |
13115 | return resultobj; | |
13116 | fail: | |
13117 | return NULL; | |
13118 | } | |
13119 | ||
13120 | ||
c370783e | 13121 | static PyObject * TaskBarIconEvent_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
13122 | PyObject *obj; |
13123 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13124 | SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj); | |
13125 | Py_INCREF(obj); | |
13126 | return Py_BuildValue((char *)""); | |
13127 | } | |
c370783e | 13128 | static int _wrap_FileSelectorPromptStr_set(PyObject *) { |
d55e5bfc RD |
13129 | PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only."); |
13130 | return 1; | |
13131 | } | |
13132 | ||
13133 | ||
36ed4f51 | 13134 | static PyObject *_wrap_FileSelectorPromptStr_get(void) { |
d55e5bfc RD |
13135 | PyObject *pyobj; |
13136 | ||
13137 | { | |
13138 | #if wxUSE_UNICODE | |
13139 | pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len()); | |
13140 | #else | |
13141 | pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len()); | |
13142 | #endif | |
13143 | } | |
13144 | return pyobj; | |
13145 | } | |
13146 | ||
13147 | ||
c370783e | 13148 | static int _wrap_DirSelectorPromptStr_set(PyObject *) { |
d55e5bfc RD |
13149 | PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only."); |
13150 | return 1; | |
13151 | } | |
13152 | ||
13153 | ||
36ed4f51 | 13154 | static PyObject *_wrap_DirSelectorPromptStr_get(void) { |
d55e5bfc RD |
13155 | PyObject *pyobj; |
13156 | ||
13157 | { | |
13158 | #if wxUSE_UNICODE | |
13159 | pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len()); | |
13160 | #else | |
13161 | pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len()); | |
13162 | #endif | |
13163 | } | |
13164 | return pyobj; | |
13165 | } | |
13166 | ||
13167 | ||
c370783e | 13168 | static int _wrap_DirDialogNameStr_set(PyObject *) { |
d55e5bfc RD |
13169 | PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only."); |
13170 | return 1; | |
13171 | } | |
13172 | ||
13173 | ||
36ed4f51 | 13174 | static PyObject *_wrap_DirDialogNameStr_get(void) { |
d55e5bfc RD |
13175 | PyObject *pyobj; |
13176 | ||
13177 | { | |
13178 | #if wxUSE_UNICODE | |
13179 | pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len()); | |
13180 | #else | |
13181 | pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len()); | |
13182 | #endif | |
13183 | } | |
13184 | return pyobj; | |
13185 | } | |
13186 | ||
13187 | ||
c370783e | 13188 | static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) { |
d55e5bfc RD |
13189 | PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only."); |
13190 | return 1; | |
13191 | } | |
13192 | ||
13193 | ||
36ed4f51 | 13194 | static PyObject *_wrap_FileSelectorDefaultWildcardStr_get(void) { |
d55e5bfc RD |
13195 | PyObject *pyobj; |
13196 | ||
13197 | { | |
13198 | #if wxUSE_UNICODE | |
13199 | pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len()); | |
13200 | #else | |
13201 | pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len()); | |
13202 | #endif | |
13203 | } | |
13204 | return pyobj; | |
13205 | } | |
13206 | ||
13207 | ||
c370783e | 13208 | static int _wrap_GetTextFromUserPromptStr_set(PyObject *) { |
d55e5bfc RD |
13209 | PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only."); |
13210 | return 1; | |
13211 | } | |
13212 | ||
13213 | ||
36ed4f51 | 13214 | static PyObject *_wrap_GetTextFromUserPromptStr_get(void) { |
d55e5bfc RD |
13215 | PyObject *pyobj; |
13216 | ||
13217 | { | |
13218 | #if wxUSE_UNICODE | |
13219 | pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len()); | |
13220 | #else | |
13221 | pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len()); | |
13222 | #endif | |
13223 | } | |
13224 | return pyobj; | |
13225 | } | |
13226 | ||
13227 | ||
c370783e | 13228 | static int _wrap_MessageBoxCaptionStr_set(PyObject *) { |
d55e5bfc RD |
13229 | PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only."); |
13230 | return 1; | |
13231 | } | |
13232 | ||
13233 | ||
36ed4f51 | 13234 | static PyObject *_wrap_MessageBoxCaptionStr_get(void) { |
d55e5bfc RD |
13235 | PyObject *pyobj; |
13236 | ||
13237 | { | |
13238 | #if wxUSE_UNICODE | |
13239 | pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len()); | |
13240 | #else | |
13241 | pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len()); | |
13242 | #endif | |
13243 | } | |
13244 | return pyobj; | |
13245 | } | |
13246 | ||
13247 | ||
c370783e | 13248 | static PyObject *_wrap_new_ColourData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13249 | PyObject *resultobj; |
13250 | wxColourData *result; | |
13251 | char *kwnames[] = { | |
13252 | NULL | |
13253 | }; | |
13254 | ||
13255 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail; | |
13256 | { | |
13257 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13258 | result = (wxColourData *)new wxColourData(); | |
13259 | ||
13260 | wxPyEndAllowThreads(__tstate); | |
13261 | if (PyErr_Occurred()) SWIG_fail; | |
13262 | } | |
13263 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1); | |
13264 | return resultobj; | |
13265 | fail: | |
13266 | return NULL; | |
13267 | } | |
13268 | ||
13269 | ||
c370783e | 13270 | static PyObject *_wrap_delete_ColourData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13271 | PyObject *resultobj; |
13272 | wxColourData *arg1 = (wxColourData *) 0 ; | |
13273 | PyObject * obj0 = 0 ; | |
13274 | char *kwnames[] = { | |
13275 | (char *) "self", NULL | |
13276 | }; | |
13277 | ||
13278 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
13279 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0); |
13280 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
13281 | { |
13282 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13283 | delete arg1; | |
13284 | ||
13285 | wxPyEndAllowThreads(__tstate); | |
13286 | if (PyErr_Occurred()) SWIG_fail; | |
13287 | } | |
13288 | Py_INCREF(Py_None); resultobj = Py_None; | |
13289 | return resultobj; | |
13290 | fail: | |
13291 | return NULL; | |
13292 | } | |
13293 | ||
13294 | ||
c370783e | 13295 | static PyObject *_wrap_ColourData_GetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13296 | PyObject *resultobj; |
13297 | wxColourData *arg1 = (wxColourData *) 0 ; | |
13298 | bool result; | |
13299 | PyObject * obj0 = 0 ; | |
13300 | char *kwnames[] = { | |
13301 | (char *) "self", NULL | |
13302 | }; | |
13303 | ||
13304 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
13305 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0); |
13306 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
13307 | { |
13308 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13309 | result = (bool)(arg1)->GetChooseFull(); | |
13310 | ||
13311 | wxPyEndAllowThreads(__tstate); | |
13312 | if (PyErr_Occurred()) SWIG_fail; | |
13313 | } | |
13314 | { | |
13315 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13316 | } | |
13317 | return resultobj; | |
13318 | fail: | |
13319 | return NULL; | |
13320 | } | |
13321 | ||
13322 | ||
c370783e | 13323 | static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13324 | PyObject *resultobj; |
13325 | wxColourData *arg1 = (wxColourData *) 0 ; | |
13326 | wxColour result; | |
13327 | PyObject * obj0 = 0 ; | |
13328 | char *kwnames[] = { | |
13329 | (char *) "self", NULL | |
13330 | }; | |
13331 | ||
13332 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
13333 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0); |
13334 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
13335 | { |
13336 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13337 | result = (arg1)->GetColour(); | |
13338 | ||
13339 | wxPyEndAllowThreads(__tstate); | |
13340 | if (PyErr_Occurred()) SWIG_fail; | |
13341 | } | |
13342 | { | |
13343 | wxColour * resultptr; | |
36ed4f51 | 13344 | resultptr = new wxColour((wxColour &)(result)); |
d55e5bfc RD |
13345 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
13346 | } | |
13347 | return resultobj; | |
13348 | fail: | |
13349 | return NULL; | |
13350 | } | |
13351 | ||
13352 | ||
c370783e | 13353 | static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13354 | PyObject *resultobj; |
13355 | wxColourData *arg1 = (wxColourData *) 0 ; | |
13356 | int arg2 ; | |
13357 | wxColour result; | |
13358 | PyObject * obj0 = 0 ; | |
13359 | PyObject * obj1 = 0 ; | |
13360 | char *kwnames[] = { | |
13361 | (char *) "self",(char *) "i", NULL | |
13362 | }; | |
13363 | ||
13364 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
13365 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0); |
13366 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13367 | { | |
13368 | arg2 = (int)(SWIG_As_int(obj1)); | |
13369 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13370 | } | |
d55e5bfc RD |
13371 | { |
13372 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13373 | result = (arg1)->GetCustomColour(arg2); | |
13374 | ||
13375 | wxPyEndAllowThreads(__tstate); | |
13376 | if (PyErr_Occurred()) SWIG_fail; | |
13377 | } | |
13378 | { | |
13379 | wxColour * resultptr; | |
36ed4f51 | 13380 | resultptr = new wxColour((wxColour &)(result)); |
d55e5bfc RD |
13381 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
13382 | } | |
13383 | return resultobj; | |
13384 | fail: | |
13385 | return NULL; | |
13386 | } | |
13387 | ||
13388 | ||
c370783e | 13389 | static PyObject *_wrap_ColourData_SetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13390 | PyObject *resultobj; |
13391 | wxColourData *arg1 = (wxColourData *) 0 ; | |
13392 | int arg2 ; | |
13393 | PyObject * obj0 = 0 ; | |
13394 | PyObject * obj1 = 0 ; | |
13395 | char *kwnames[] = { | |
13396 | (char *) "self",(char *) "flag", NULL | |
13397 | }; | |
13398 | ||
13399 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
13400 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0); |
13401 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13402 | { | |
13403 | arg2 = (int)(SWIG_As_int(obj1)); | |
13404 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13405 | } | |
d55e5bfc RD |
13406 | { |
13407 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13408 | (arg1)->SetChooseFull(arg2); | |
13409 | ||
13410 | wxPyEndAllowThreads(__tstate); | |
13411 | if (PyErr_Occurred()) SWIG_fail; | |
13412 | } | |
13413 | Py_INCREF(Py_None); resultobj = Py_None; | |
13414 | return resultobj; | |
13415 | fail: | |
13416 | return NULL; | |
13417 | } | |
13418 | ||
13419 | ||
c370783e | 13420 | static PyObject *_wrap_ColourData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13421 | PyObject *resultobj; |
13422 | wxColourData *arg1 = (wxColourData *) 0 ; | |
13423 | wxColour *arg2 = 0 ; | |
13424 | wxColour temp2 ; | |
13425 | PyObject * obj0 = 0 ; | |
13426 | PyObject * obj1 = 0 ; | |
13427 | char *kwnames[] = { | |
13428 | (char *) "self",(char *) "colour", NULL | |
13429 | }; | |
13430 | ||
13431 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
13432 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0); |
13433 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
13434 | { |
13435 | arg2 = &temp2; | |
13436 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
13437 | } | |
13438 | { | |
13439 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13440 | (arg1)->SetColour((wxColour const &)*arg2); | |
13441 | ||
13442 | wxPyEndAllowThreads(__tstate); | |
13443 | if (PyErr_Occurred()) SWIG_fail; | |
13444 | } | |
13445 | Py_INCREF(Py_None); resultobj = Py_None; | |
13446 | return resultobj; | |
13447 | fail: | |
13448 | return NULL; | |
13449 | } | |
13450 | ||
13451 | ||
c370783e | 13452 | static PyObject *_wrap_ColourData_SetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13453 | PyObject *resultobj; |
13454 | wxColourData *arg1 = (wxColourData *) 0 ; | |
13455 | int arg2 ; | |
13456 | wxColour *arg3 = 0 ; | |
13457 | wxColour temp3 ; | |
13458 | PyObject * obj0 = 0 ; | |
13459 | PyObject * obj1 = 0 ; | |
13460 | PyObject * obj2 = 0 ; | |
13461 | char *kwnames[] = { | |
13462 | (char *) "self",(char *) "i",(char *) "colour", NULL | |
13463 | }; | |
13464 | ||
13465 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
13466 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0); |
13467 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13468 | { | |
13469 | arg2 = (int)(SWIG_As_int(obj1)); | |
13470 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13471 | } | |
d55e5bfc RD |
13472 | { |
13473 | arg3 = &temp3; | |
13474 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
13475 | } | |
13476 | { | |
13477 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13478 | (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3); | |
13479 | ||
13480 | wxPyEndAllowThreads(__tstate); | |
13481 | if (PyErr_Occurred()) SWIG_fail; | |
13482 | } | |
13483 | Py_INCREF(Py_None); resultobj = Py_None; | |
13484 | return resultobj; | |
13485 | fail: | |
13486 | return NULL; | |
13487 | } | |
13488 | ||
13489 | ||
c370783e | 13490 | static PyObject * ColourData_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
13491 | PyObject *obj; |
13492 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13493 | SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj); | |
13494 | Py_INCREF(obj); | |
13495 | return Py_BuildValue((char *)""); | |
13496 | } | |
c370783e | 13497 | static PyObject *_wrap_new_ColourDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13498 | PyObject *resultobj; |
13499 | wxWindow *arg1 = (wxWindow *) 0 ; | |
13500 | wxColourData *arg2 = (wxColourData *) NULL ; | |
13501 | wxColourDialog *result; | |
13502 | PyObject * obj0 = 0 ; | |
13503 | PyObject * obj1 = 0 ; | |
13504 | char *kwnames[] = { | |
13505 | (char *) "parent",(char *) "data", NULL | |
13506 | }; | |
13507 | ||
13508 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
13509 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
13510 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 13511 | if (obj1) { |
36ed4f51 RD |
13512 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0); |
13513 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
13514 | } |
13515 | { | |
0439c23b | 13516 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
13517 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
13518 | result = (wxColourDialog *)new wxColourDialog(arg1,arg2); | |
13519 | ||
13520 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 13521 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
13522 | } |
13523 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1); | |
13524 | return resultobj; | |
13525 | fail: | |
13526 | return NULL; | |
13527 | } | |
13528 | ||
13529 | ||
c370783e | 13530 | static PyObject *_wrap_ColourDialog_GetColourData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13531 | PyObject *resultobj; |
13532 | wxColourDialog *arg1 = (wxColourDialog *) 0 ; | |
13533 | wxColourData *result; | |
13534 | PyObject * obj0 = 0 ; | |
13535 | char *kwnames[] = { | |
13536 | (char *) "self", NULL | |
13537 | }; | |
13538 | ||
13539 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
13540 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourDialog, SWIG_POINTER_EXCEPTION | 0); |
13541 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
13542 | { |
13543 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13544 | { | |
13545 | wxColourData &_result_ref = (arg1)->GetColourData(); | |
13546 | result = (wxColourData *) &_result_ref; | |
13547 | } | |
13548 | ||
13549 | wxPyEndAllowThreads(__tstate); | |
13550 | if (PyErr_Occurred()) SWIG_fail; | |
13551 | } | |
13552 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0); | |
13553 | return resultobj; | |
13554 | fail: | |
13555 | return NULL; | |
13556 | } | |
13557 | ||
13558 | ||
c370783e | 13559 | static PyObject * ColourDialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
13560 | PyObject *obj; |
13561 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13562 | SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj); | |
13563 | Py_INCREF(obj); | |
13564 | return Py_BuildValue((char *)""); | |
13565 | } | |
c370783e | 13566 | static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13567 | PyObject *resultobj; |
13568 | wxWindow *arg1 = (wxWindow *) 0 ; | |
13569 | wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ; | |
13570 | wxString *arg2 = (wxString *) &arg2_defvalue ; | |
13571 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
13572 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
13573 | long arg4 = (long) 0 ; | |
13574 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
13575 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
13576 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
13577 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
13578 | wxString const &arg7_defvalue = wxPyDirDialogNameStr ; | |
13579 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
13580 | wxDirDialog *result; | |
b411df4a RD |
13581 | bool temp2 = false ; |
13582 | bool temp3 = false ; | |
d55e5bfc RD |
13583 | wxPoint temp5 ; |
13584 | wxSize temp6 ; | |
b411df4a | 13585 | bool temp7 = false ; |
d55e5bfc RD |
13586 | PyObject * obj0 = 0 ; |
13587 | PyObject * obj1 = 0 ; | |
13588 | PyObject * obj2 = 0 ; | |
13589 | PyObject * obj3 = 0 ; | |
13590 | PyObject * obj4 = 0 ; | |
13591 | PyObject * obj5 = 0 ; | |
13592 | PyObject * obj6 = 0 ; | |
13593 | char *kwnames[] = { | |
13594 | (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL | |
13595 | }; | |
13596 | ||
13597 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
36ed4f51 RD |
13598 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
13599 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
13600 | if (obj1) { |
13601 | { | |
13602 | arg2 = wxString_in_helper(obj1); | |
13603 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 13604 | temp2 = true; |
d55e5bfc RD |
13605 | } |
13606 | } | |
13607 | if (obj2) { | |
13608 | { | |
13609 | arg3 = wxString_in_helper(obj2); | |
13610 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 13611 | temp3 = true; |
d55e5bfc RD |
13612 | } |
13613 | } | |
13614 | if (obj3) { | |
36ed4f51 RD |
13615 | { |
13616 | arg4 = (long)(SWIG_As_long(obj3)); | |
13617 | if (SWIG_arg_fail(4)) SWIG_fail; | |
13618 | } | |
d55e5bfc RD |
13619 | } |
13620 | if (obj4) { | |
13621 | { | |
13622 | arg5 = &temp5; | |
13623 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
13624 | } | |
13625 | } | |
13626 | if (obj5) { | |
13627 | { | |
13628 | arg6 = &temp6; | |
13629 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
13630 | } | |
13631 | } | |
13632 | if (obj6) { | |
13633 | { | |
13634 | arg7 = wxString_in_helper(obj6); | |
13635 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 13636 | temp7 = true; |
d55e5bfc RD |
13637 | } |
13638 | } | |
13639 | { | |
0439c23b | 13640 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
13641 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
13642 | result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7); | |
13643 | ||
13644 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 13645 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
13646 | } |
13647 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1); | |
13648 | { | |
13649 | if (temp2) | |
13650 | delete arg2; | |
13651 | } | |
13652 | { | |
13653 | if (temp3) | |
13654 | delete arg3; | |
13655 | } | |
13656 | { | |
13657 | if (temp7) | |
13658 | delete arg7; | |
13659 | } | |
13660 | return resultobj; | |
13661 | fail: | |
13662 | { | |
13663 | if (temp2) | |
13664 | delete arg2; | |
13665 | } | |
13666 | { | |
13667 | if (temp3) | |
13668 | delete arg3; | |
13669 | } | |
13670 | { | |
13671 | if (temp7) | |
13672 | delete arg7; | |
13673 | } | |
13674 | return NULL; | |
13675 | } | |
13676 | ||
13677 | ||
c370783e | 13678 | static PyObject *_wrap_DirDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13679 | PyObject *resultobj; |
13680 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
13681 | wxString result; | |
13682 | PyObject * obj0 = 0 ; | |
13683 | char *kwnames[] = { | |
13684 | (char *) "self", NULL | |
13685 | }; | |
13686 | ||
13687 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
13688 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0); |
13689 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
13690 | { |
13691 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13692 | result = (arg1)->GetPath(); | |
13693 | ||
13694 | wxPyEndAllowThreads(__tstate); | |
13695 | if (PyErr_Occurred()) SWIG_fail; | |
13696 | } | |
13697 | { | |
13698 | #if wxUSE_UNICODE | |
13699 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
13700 | #else | |
13701 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
13702 | #endif | |
13703 | } | |
13704 | return resultobj; | |
13705 | fail: | |
13706 | return NULL; | |
13707 | } | |
13708 | ||
13709 | ||
c370783e | 13710 | static PyObject *_wrap_DirDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13711 | PyObject *resultobj; |
13712 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
13713 | wxString result; | |
13714 | PyObject * obj0 = 0 ; | |
13715 | char *kwnames[] = { | |
13716 | (char *) "self", NULL | |
13717 | }; | |
13718 | ||
13719 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
13720 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0); |
13721 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
13722 | { |
13723 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13724 | result = (arg1)->GetMessage(); | |
13725 | ||
13726 | wxPyEndAllowThreads(__tstate); | |
13727 | if (PyErr_Occurred()) SWIG_fail; | |
13728 | } | |
13729 | { | |
13730 | #if wxUSE_UNICODE | |
13731 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
13732 | #else | |
13733 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
13734 | #endif | |
13735 | } | |
13736 | return resultobj; | |
13737 | fail: | |
13738 | return NULL; | |
13739 | } | |
13740 | ||
13741 | ||
c370783e | 13742 | static PyObject *_wrap_DirDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13743 | PyObject *resultobj; |
13744 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
13745 | long result; | |
13746 | PyObject * obj0 = 0 ; | |
13747 | char *kwnames[] = { | |
13748 | (char *) "self", NULL | |
13749 | }; | |
13750 | ||
13751 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
13752 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0); |
13753 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
13754 | { |
13755 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13756 | result = (long)(arg1)->GetStyle(); | |
13757 | ||
13758 | wxPyEndAllowThreads(__tstate); | |
13759 | if (PyErr_Occurred()) SWIG_fail; | |
13760 | } | |
36ed4f51 RD |
13761 | { |
13762 | resultobj = SWIG_From_long((long)(result)); | |
13763 | } | |
d55e5bfc RD |
13764 | return resultobj; |
13765 | fail: | |
13766 | return NULL; | |
13767 | } | |
13768 | ||
13769 | ||
c370783e | 13770 | static PyObject *_wrap_DirDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13771 | PyObject *resultobj; |
13772 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
13773 | wxString *arg2 = 0 ; | |
b411df4a | 13774 | bool temp2 = false ; |
d55e5bfc RD |
13775 | PyObject * obj0 = 0 ; |
13776 | PyObject * obj1 = 0 ; | |
13777 | char *kwnames[] = { | |
13778 | (char *) "self",(char *) "message", NULL | |
13779 | }; | |
13780 | ||
13781 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
13782 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0); |
13783 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
13784 | { |
13785 | arg2 = wxString_in_helper(obj1); | |
13786 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 13787 | temp2 = true; |
d55e5bfc RD |
13788 | } |
13789 | { | |
13790 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13791 | (arg1)->SetMessage((wxString const &)*arg2); | |
13792 | ||
13793 | wxPyEndAllowThreads(__tstate); | |
13794 | if (PyErr_Occurred()) SWIG_fail; | |
13795 | } | |
13796 | Py_INCREF(Py_None); resultobj = Py_None; | |
13797 | { | |
13798 | if (temp2) | |
13799 | delete arg2; | |
13800 | } | |
13801 | return resultobj; | |
13802 | fail: | |
13803 | { | |
13804 | if (temp2) | |
13805 | delete arg2; | |
13806 | } | |
13807 | return NULL; | |
13808 | } | |
13809 | ||
13810 | ||
c370783e | 13811 | static PyObject *_wrap_DirDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13812 | PyObject *resultobj; |
13813 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
13814 | wxString *arg2 = 0 ; | |
b411df4a | 13815 | bool temp2 = false ; |
d55e5bfc RD |
13816 | PyObject * obj0 = 0 ; |
13817 | PyObject * obj1 = 0 ; | |
13818 | char *kwnames[] = { | |
13819 | (char *) "self",(char *) "path", NULL | |
13820 | }; | |
13821 | ||
13822 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
13823 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0); |
13824 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
13825 | { |
13826 | arg2 = wxString_in_helper(obj1); | |
13827 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 13828 | temp2 = true; |
d55e5bfc RD |
13829 | } |
13830 | { | |
13831 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13832 | (arg1)->SetPath((wxString const &)*arg2); | |
13833 | ||
13834 | wxPyEndAllowThreads(__tstate); | |
13835 | if (PyErr_Occurred()) SWIG_fail; | |
13836 | } | |
13837 | Py_INCREF(Py_None); resultobj = Py_None; | |
13838 | { | |
13839 | if (temp2) | |
13840 | delete arg2; | |
13841 | } | |
13842 | return resultobj; | |
13843 | fail: | |
13844 | { | |
13845 | if (temp2) | |
13846 | delete arg2; | |
13847 | } | |
13848 | return NULL; | |
13849 | } | |
13850 | ||
13851 | ||
c370783e | 13852 | static PyObject * DirDialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
13853 | PyObject *obj; |
13854 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13855 | SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj); | |
13856 | Py_INCREF(obj); | |
13857 | return Py_BuildValue((char *)""); | |
13858 | } | |
c370783e | 13859 | static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13860 | PyObject *resultobj; |
13861 | wxWindow *arg1 = (wxWindow *) 0 ; | |
13862 | wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ; | |
13863 | wxString *arg2 = (wxString *) &arg2_defvalue ; | |
13864 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
13865 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
13866 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
13867 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
13868 | wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ; | |
13869 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
13870 | long arg6 = (long) 0 ; | |
13871 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
13872 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
13873 | wxFileDialog *result; | |
b411df4a RD |
13874 | bool temp2 = false ; |
13875 | bool temp3 = false ; | |
13876 | bool temp4 = false ; | |
13877 | bool temp5 = false ; | |
d55e5bfc RD |
13878 | wxPoint temp7 ; |
13879 | PyObject * obj0 = 0 ; | |
13880 | PyObject * obj1 = 0 ; | |
13881 | PyObject * obj2 = 0 ; | |
13882 | PyObject * obj3 = 0 ; | |
13883 | PyObject * obj4 = 0 ; | |
13884 | PyObject * obj5 = 0 ; | |
13885 | PyObject * obj6 = 0 ; | |
13886 | char *kwnames[] = { | |
13887 | (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL | |
13888 | }; | |
13889 | ||
13890 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
36ed4f51 RD |
13891 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
13892 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
13893 | if (obj1) { |
13894 | { | |
13895 | arg2 = wxString_in_helper(obj1); | |
13896 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 13897 | temp2 = true; |
d55e5bfc RD |
13898 | } |
13899 | } | |
13900 | if (obj2) { | |
13901 | { | |
13902 | arg3 = wxString_in_helper(obj2); | |
13903 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 13904 | temp3 = true; |
d55e5bfc RD |
13905 | } |
13906 | } | |
13907 | if (obj3) { | |
13908 | { | |
13909 | arg4 = wxString_in_helper(obj3); | |
13910 | if (arg4 == NULL) SWIG_fail; | |
b411df4a | 13911 | temp4 = true; |
d55e5bfc RD |
13912 | } |
13913 | } | |
13914 | if (obj4) { | |
13915 | { | |
13916 | arg5 = wxString_in_helper(obj4); | |
13917 | if (arg5 == NULL) SWIG_fail; | |
b411df4a | 13918 | temp5 = true; |
d55e5bfc RD |
13919 | } |
13920 | } | |
13921 | if (obj5) { | |
36ed4f51 RD |
13922 | { |
13923 | arg6 = (long)(SWIG_As_long(obj5)); | |
13924 | if (SWIG_arg_fail(6)) SWIG_fail; | |
13925 | } | |
d55e5bfc RD |
13926 | } |
13927 | if (obj6) { | |
13928 | { | |
13929 | arg7 = &temp7; | |
13930 | if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail; | |
13931 | } | |
13932 | } | |
13933 | { | |
0439c23b | 13934 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
13935 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
13936 | result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7); | |
13937 | ||
13938 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 13939 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
13940 | } |
13941 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1); | |
13942 | { | |
13943 | if (temp2) | |
13944 | delete arg2; | |
13945 | } | |
13946 | { | |
13947 | if (temp3) | |
13948 | delete arg3; | |
13949 | } | |
13950 | { | |
13951 | if (temp4) | |
13952 | delete arg4; | |
13953 | } | |
13954 | { | |
13955 | if (temp5) | |
13956 | delete arg5; | |
13957 | } | |
13958 | return resultobj; | |
13959 | fail: | |
13960 | { | |
13961 | if (temp2) | |
13962 | delete arg2; | |
13963 | } | |
13964 | { | |
13965 | if (temp3) | |
13966 | delete arg3; | |
13967 | } | |
13968 | { | |
13969 | if (temp4) | |
13970 | delete arg4; | |
13971 | } | |
13972 | { | |
13973 | if (temp5) | |
13974 | delete arg5; | |
13975 | } | |
13976 | return NULL; | |
13977 | } | |
13978 | ||
13979 | ||
c370783e | 13980 | static PyObject *_wrap_FileDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13981 | PyObject *resultobj; |
13982 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
13983 | wxString *arg2 = 0 ; | |
b411df4a | 13984 | bool temp2 = false ; |
d55e5bfc RD |
13985 | PyObject * obj0 = 0 ; |
13986 | PyObject * obj1 = 0 ; | |
13987 | char *kwnames[] = { | |
13988 | (char *) "self",(char *) "message", NULL | |
13989 | }; | |
13990 | ||
13991 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
13992 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
13993 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
13994 | { |
13995 | arg2 = wxString_in_helper(obj1); | |
13996 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 13997 | temp2 = true; |
d55e5bfc RD |
13998 | } |
13999 | { | |
14000 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14001 | (arg1)->SetMessage((wxString const &)*arg2); | |
14002 | ||
14003 | wxPyEndAllowThreads(__tstate); | |
14004 | if (PyErr_Occurred()) SWIG_fail; | |
14005 | } | |
14006 | Py_INCREF(Py_None); resultobj = Py_None; | |
14007 | { | |
14008 | if (temp2) | |
14009 | delete arg2; | |
14010 | } | |
14011 | return resultobj; | |
14012 | fail: | |
14013 | { | |
14014 | if (temp2) | |
14015 | delete arg2; | |
14016 | } | |
14017 | return NULL; | |
14018 | } | |
14019 | ||
14020 | ||
c370783e | 14021 | static PyObject *_wrap_FileDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14022 | PyObject *resultobj; |
14023 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
14024 | wxString *arg2 = 0 ; | |
b411df4a | 14025 | bool temp2 = false ; |
d55e5bfc RD |
14026 | PyObject * obj0 = 0 ; |
14027 | PyObject * obj1 = 0 ; | |
14028 | char *kwnames[] = { | |
14029 | (char *) "self",(char *) "path", NULL | |
14030 | }; | |
14031 | ||
14032 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
14033 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14034 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14035 | { |
14036 | arg2 = wxString_in_helper(obj1); | |
14037 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 14038 | temp2 = true; |
d55e5bfc RD |
14039 | } |
14040 | { | |
14041 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14042 | (arg1)->SetPath((wxString const &)*arg2); | |
14043 | ||
14044 | wxPyEndAllowThreads(__tstate); | |
14045 | if (PyErr_Occurred()) SWIG_fail; | |
14046 | } | |
14047 | Py_INCREF(Py_None); resultobj = Py_None; | |
14048 | { | |
14049 | if (temp2) | |
14050 | delete arg2; | |
14051 | } | |
14052 | return resultobj; | |
14053 | fail: | |
14054 | { | |
14055 | if (temp2) | |
14056 | delete arg2; | |
14057 | } | |
14058 | return NULL; | |
14059 | } | |
14060 | ||
14061 | ||
c370783e | 14062 | static PyObject *_wrap_FileDialog_SetDirectory(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14063 | PyObject *resultobj; |
14064 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
14065 | wxString *arg2 = 0 ; | |
b411df4a | 14066 | bool temp2 = false ; |
d55e5bfc RD |
14067 | PyObject * obj0 = 0 ; |
14068 | PyObject * obj1 = 0 ; | |
14069 | char *kwnames[] = { | |
14070 | (char *) "self",(char *) "dir", NULL | |
14071 | }; | |
14072 | ||
14073 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
14074 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14075 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14076 | { |
14077 | arg2 = wxString_in_helper(obj1); | |
14078 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 14079 | temp2 = true; |
d55e5bfc RD |
14080 | } |
14081 | { | |
14082 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14083 | (arg1)->SetDirectory((wxString const &)*arg2); | |
14084 | ||
14085 | wxPyEndAllowThreads(__tstate); | |
14086 | if (PyErr_Occurred()) SWIG_fail; | |
14087 | } | |
14088 | Py_INCREF(Py_None); resultobj = Py_None; | |
14089 | { | |
14090 | if (temp2) | |
14091 | delete arg2; | |
14092 | } | |
14093 | return resultobj; | |
14094 | fail: | |
14095 | { | |
14096 | if (temp2) | |
14097 | delete arg2; | |
14098 | } | |
14099 | return NULL; | |
14100 | } | |
14101 | ||
14102 | ||
c370783e | 14103 | static PyObject *_wrap_FileDialog_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14104 | PyObject *resultobj; |
14105 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
14106 | wxString *arg2 = 0 ; | |
b411df4a | 14107 | bool temp2 = false ; |
d55e5bfc RD |
14108 | PyObject * obj0 = 0 ; |
14109 | PyObject * obj1 = 0 ; | |
14110 | char *kwnames[] = { | |
14111 | (char *) "self",(char *) "name", NULL | |
14112 | }; | |
14113 | ||
14114 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
14115 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14116 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14117 | { |
14118 | arg2 = wxString_in_helper(obj1); | |
14119 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 14120 | temp2 = true; |
d55e5bfc RD |
14121 | } |
14122 | { | |
14123 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14124 | (arg1)->SetFilename((wxString const &)*arg2); | |
14125 | ||
14126 | wxPyEndAllowThreads(__tstate); | |
14127 | if (PyErr_Occurred()) SWIG_fail; | |
14128 | } | |
14129 | Py_INCREF(Py_None); resultobj = Py_None; | |
14130 | { | |
14131 | if (temp2) | |
14132 | delete arg2; | |
14133 | } | |
14134 | return resultobj; | |
14135 | fail: | |
14136 | { | |
14137 | if (temp2) | |
14138 | delete arg2; | |
14139 | } | |
14140 | return NULL; | |
14141 | } | |
14142 | ||
14143 | ||
c370783e | 14144 | static PyObject *_wrap_FileDialog_SetWildcard(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14145 | PyObject *resultobj; |
14146 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
14147 | wxString *arg2 = 0 ; | |
b411df4a | 14148 | bool temp2 = false ; |
d55e5bfc RD |
14149 | PyObject * obj0 = 0 ; |
14150 | PyObject * obj1 = 0 ; | |
14151 | char *kwnames[] = { | |
14152 | (char *) "self",(char *) "wildCard", NULL | |
14153 | }; | |
14154 | ||
14155 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",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; | |
d55e5bfc RD |
14158 | { |
14159 | arg2 = wxString_in_helper(obj1); | |
14160 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 14161 | temp2 = true; |
d55e5bfc RD |
14162 | } |
14163 | { | |
14164 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14165 | (arg1)->SetWildcard((wxString const &)*arg2); | |
14166 | ||
14167 | wxPyEndAllowThreads(__tstate); | |
14168 | if (PyErr_Occurred()) SWIG_fail; | |
14169 | } | |
14170 | Py_INCREF(Py_None); resultobj = Py_None; | |
14171 | { | |
14172 | if (temp2) | |
14173 | delete arg2; | |
14174 | } | |
14175 | return resultobj; | |
14176 | fail: | |
14177 | { | |
14178 | if (temp2) | |
14179 | delete arg2; | |
14180 | } | |
14181 | return NULL; | |
14182 | } | |
14183 | ||
14184 | ||
c370783e | 14185 | static PyObject *_wrap_FileDialog_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14186 | PyObject *resultobj; |
14187 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
14188 | long arg2 ; | |
14189 | PyObject * obj0 = 0 ; | |
14190 | PyObject * obj1 = 0 ; | |
14191 | char *kwnames[] = { | |
14192 | (char *) "self",(char *) "style", NULL | |
14193 | }; | |
14194 | ||
14195 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
14196 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14197 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14198 | { | |
14199 | arg2 = (long)(SWIG_As_long(obj1)); | |
14200 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14201 | } | |
d55e5bfc RD |
14202 | { |
14203 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14204 | (arg1)->SetStyle(arg2); | |
14205 | ||
14206 | wxPyEndAllowThreads(__tstate); | |
14207 | if (PyErr_Occurred()) SWIG_fail; | |
14208 | } | |
14209 | Py_INCREF(Py_None); resultobj = Py_None; | |
14210 | return resultobj; | |
14211 | fail: | |
14212 | return NULL; | |
14213 | } | |
14214 | ||
14215 | ||
c370783e | 14216 | static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14217 | PyObject *resultobj; |
14218 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
14219 | int arg2 ; | |
14220 | PyObject * obj0 = 0 ; | |
14221 | PyObject * obj1 = 0 ; | |
14222 | char *kwnames[] = { | |
14223 | (char *) "self",(char *) "filterIndex", NULL | |
14224 | }; | |
14225 | ||
14226 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
14227 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14228 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14229 | { | |
14230 | arg2 = (int)(SWIG_As_int(obj1)); | |
14231 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14232 | } | |
d55e5bfc RD |
14233 | { |
14234 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14235 | (arg1)->SetFilterIndex(arg2); | |
14236 | ||
14237 | wxPyEndAllowThreads(__tstate); | |
14238 | if (PyErr_Occurred()) SWIG_fail; | |
14239 | } | |
14240 | Py_INCREF(Py_None); resultobj = Py_None; | |
14241 | return resultobj; | |
14242 | fail: | |
14243 | return NULL; | |
14244 | } | |
14245 | ||
14246 | ||
c370783e | 14247 | static PyObject *_wrap_FileDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14248 | PyObject *resultobj; |
14249 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
14250 | wxString result; | |
14251 | PyObject * obj0 = 0 ; | |
14252 | char *kwnames[] = { | |
14253 | (char *) "self", NULL | |
14254 | }; | |
14255 | ||
14256 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
14257 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14258 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14259 | { |
14260 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14261 | result = ((wxFileDialog const *)arg1)->GetMessage(); | |
14262 | ||
14263 | wxPyEndAllowThreads(__tstate); | |
14264 | if (PyErr_Occurred()) SWIG_fail; | |
14265 | } | |
14266 | { | |
14267 | #if wxUSE_UNICODE | |
14268 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
14269 | #else | |
14270 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
14271 | #endif | |
14272 | } | |
14273 | return resultobj; | |
14274 | fail: | |
14275 | return NULL; | |
14276 | } | |
14277 | ||
14278 | ||
c370783e | 14279 | static PyObject *_wrap_FileDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14280 | PyObject *resultobj; |
14281 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
14282 | wxString result; | |
14283 | PyObject * obj0 = 0 ; | |
14284 | char *kwnames[] = { | |
14285 | (char *) "self", NULL | |
14286 | }; | |
14287 | ||
14288 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
14289 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14290 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14291 | { |
14292 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14293 | result = ((wxFileDialog const *)arg1)->GetPath(); | |
14294 | ||
14295 | wxPyEndAllowThreads(__tstate); | |
14296 | if (PyErr_Occurred()) SWIG_fail; | |
14297 | } | |
14298 | { | |
14299 | #if wxUSE_UNICODE | |
14300 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
14301 | #else | |
14302 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
14303 | #endif | |
14304 | } | |
14305 | return resultobj; | |
14306 | fail: | |
14307 | return NULL; | |
14308 | } | |
14309 | ||
14310 | ||
c370783e | 14311 | static PyObject *_wrap_FileDialog_GetDirectory(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14312 | PyObject *resultobj; |
14313 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
14314 | wxString result; | |
14315 | PyObject * obj0 = 0 ; | |
14316 | char *kwnames[] = { | |
14317 | (char *) "self", NULL | |
14318 | }; | |
14319 | ||
14320 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
14321 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14322 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14323 | { |
14324 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14325 | result = ((wxFileDialog const *)arg1)->GetDirectory(); | |
14326 | ||
14327 | wxPyEndAllowThreads(__tstate); | |
14328 | if (PyErr_Occurred()) SWIG_fail; | |
14329 | } | |
14330 | { | |
14331 | #if wxUSE_UNICODE | |
14332 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
14333 | #else | |
14334 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
14335 | #endif | |
14336 | } | |
14337 | return resultobj; | |
14338 | fail: | |
14339 | return NULL; | |
14340 | } | |
14341 | ||
14342 | ||
c370783e | 14343 | static PyObject *_wrap_FileDialog_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14344 | PyObject *resultobj; |
14345 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
14346 | wxString result; | |
14347 | PyObject * obj0 = 0 ; | |
14348 | char *kwnames[] = { | |
14349 | (char *) "self", NULL | |
14350 | }; | |
14351 | ||
14352 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
14353 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14354 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14355 | { |
14356 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14357 | result = ((wxFileDialog const *)arg1)->GetFilename(); | |
14358 | ||
14359 | wxPyEndAllowThreads(__tstate); | |
14360 | if (PyErr_Occurred()) SWIG_fail; | |
14361 | } | |
14362 | { | |
14363 | #if wxUSE_UNICODE | |
14364 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
14365 | #else | |
14366 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
14367 | #endif | |
14368 | } | |
14369 | return resultobj; | |
14370 | fail: | |
14371 | return NULL; | |
14372 | } | |
14373 | ||
14374 | ||
c370783e | 14375 | static PyObject *_wrap_FileDialog_GetWildcard(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14376 | PyObject *resultobj; |
14377 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
14378 | wxString result; | |
14379 | PyObject * obj0 = 0 ; | |
14380 | char *kwnames[] = { | |
14381 | (char *) "self", NULL | |
14382 | }; | |
14383 | ||
14384 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
14385 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14386 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14387 | { |
14388 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14389 | result = ((wxFileDialog const *)arg1)->GetWildcard(); | |
14390 | ||
14391 | wxPyEndAllowThreads(__tstate); | |
14392 | if (PyErr_Occurred()) SWIG_fail; | |
14393 | } | |
14394 | { | |
14395 | #if wxUSE_UNICODE | |
14396 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
14397 | #else | |
14398 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
14399 | #endif | |
14400 | } | |
14401 | return resultobj; | |
14402 | fail: | |
14403 | return NULL; | |
14404 | } | |
14405 | ||
14406 | ||
c370783e | 14407 | static PyObject *_wrap_FileDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14408 | PyObject *resultobj; |
14409 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
14410 | long result; | |
14411 | PyObject * obj0 = 0 ; | |
14412 | char *kwnames[] = { | |
14413 | (char *) "self", NULL | |
14414 | }; | |
14415 | ||
14416 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
14417 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14418 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14419 | { |
14420 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14421 | result = (long)((wxFileDialog const *)arg1)->GetStyle(); | |
14422 | ||
14423 | wxPyEndAllowThreads(__tstate); | |
14424 | if (PyErr_Occurred()) SWIG_fail; | |
14425 | } | |
36ed4f51 RD |
14426 | { |
14427 | resultobj = SWIG_From_long((long)(result)); | |
14428 | } | |
d55e5bfc RD |
14429 | return resultobj; |
14430 | fail: | |
14431 | return NULL; | |
14432 | } | |
14433 | ||
14434 | ||
c370783e | 14435 | static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14436 | PyObject *resultobj; |
14437 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
14438 | int result; | |
14439 | PyObject * obj0 = 0 ; | |
14440 | char *kwnames[] = { | |
14441 | (char *) "self", NULL | |
14442 | }; | |
14443 | ||
14444 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
14445 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14446 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14447 | { |
14448 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14449 | result = (int)((wxFileDialog const *)arg1)->GetFilterIndex(); | |
14450 | ||
14451 | wxPyEndAllowThreads(__tstate); | |
14452 | if (PyErr_Occurred()) SWIG_fail; | |
14453 | } | |
36ed4f51 RD |
14454 | { |
14455 | resultobj = SWIG_From_int((int)(result)); | |
14456 | } | |
d55e5bfc RD |
14457 | return resultobj; |
14458 | fail: | |
14459 | return NULL; | |
14460 | } | |
14461 | ||
14462 | ||
c370783e | 14463 | static PyObject *_wrap_FileDialog_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14464 | PyObject *resultobj; |
14465 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
14466 | PyObject *result; | |
14467 | PyObject * obj0 = 0 ; | |
14468 | char *kwnames[] = { | |
14469 | (char *) "self", NULL | |
14470 | }; | |
14471 | ||
14472 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
14473 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14474 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14475 | { |
14476 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14477 | result = (PyObject *)wxFileDialog_GetFilenames(arg1); | |
14478 | ||
14479 | wxPyEndAllowThreads(__tstate); | |
14480 | if (PyErr_Occurred()) SWIG_fail; | |
14481 | } | |
14482 | resultobj = result; | |
14483 | return resultobj; | |
14484 | fail: | |
14485 | return NULL; | |
14486 | } | |
14487 | ||
14488 | ||
c370783e | 14489 | static PyObject *_wrap_FileDialog_GetPaths(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14490 | PyObject *resultobj; |
14491 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
14492 | PyObject *result; | |
14493 | PyObject * obj0 = 0 ; | |
14494 | char *kwnames[] = { | |
14495 | (char *) "self", NULL | |
14496 | }; | |
14497 | ||
14498 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
14499 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14500 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14501 | { |
14502 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14503 | result = (PyObject *)wxFileDialog_GetPaths(arg1); | |
14504 | ||
14505 | wxPyEndAllowThreads(__tstate); | |
14506 | if (PyErr_Occurred()) SWIG_fail; | |
14507 | } | |
14508 | resultobj = result; | |
14509 | return resultobj; | |
14510 | fail: | |
14511 | return NULL; | |
14512 | } | |
14513 | ||
14514 | ||
c370783e | 14515 | static PyObject * FileDialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
14516 | PyObject *obj; |
14517 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14518 | SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj); | |
14519 | Py_INCREF(obj); | |
14520 | return Py_BuildValue((char *)""); | |
14521 | } | |
c370783e | 14522 | static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14523 | PyObject *resultobj; |
14524 | wxWindow *arg1 = (wxWindow *) 0 ; | |
14525 | wxString *arg2 = 0 ; | |
14526 | wxString *arg3 = 0 ; | |
14527 | int arg4 = (int) 0 ; | |
bfddbb17 | 14528 | wxString *arg5 = (wxString *) NULL ; |
d55e5bfc RD |
14529 | long arg6 = (long) wxCHOICEDLG_STYLE ; |
14530 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
14531 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
14532 | wxMultiChoiceDialog *result; | |
b411df4a RD |
14533 | bool temp2 = false ; |
14534 | bool temp3 = false ; | |
36ed4f51 | 14535 | wxPoint temp7 ; |
d55e5bfc RD |
14536 | PyObject * obj0 = 0 ; |
14537 | PyObject * obj1 = 0 ; | |
14538 | PyObject * obj2 = 0 ; | |
14539 | PyObject * obj3 = 0 ; | |
14540 | PyObject * obj4 = 0 ; | |
14541 | PyObject * obj5 = 0 ; | |
14542 | char *kwnames[] = { | |
14543 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL | |
14544 | }; | |
14545 | ||
14546 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
36ed4f51 RD |
14547 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
14548 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14549 | { |
14550 | arg2 = wxString_in_helper(obj1); | |
14551 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 14552 | temp2 = true; |
d55e5bfc RD |
14553 | } |
14554 | { | |
14555 | arg3 = wxString_in_helper(obj2); | |
14556 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 14557 | temp3 = true; |
d55e5bfc RD |
14558 | } |
14559 | if (obj3) { | |
14560 | { | |
14561 | arg4 = PyList_Size(obj3); | |
14562 | arg5 = wxString_LIST_helper(obj3); | |
14563 | if (arg5 == NULL) SWIG_fail; | |
14564 | } | |
14565 | } | |
14566 | if (obj4) { | |
36ed4f51 RD |
14567 | { |
14568 | arg6 = (long)(SWIG_As_long(obj4)); | |
14569 | if (SWIG_arg_fail(6)) SWIG_fail; | |
14570 | } | |
d55e5bfc RD |
14571 | } |
14572 | if (obj5) { | |
14573 | { | |
36ed4f51 | 14574 | arg7 = &temp7; |
d55e5bfc RD |
14575 | if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail; |
14576 | } | |
14577 | } | |
14578 | { | |
0439c23b | 14579 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
14580 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
14581 | result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7); | |
14582 | ||
14583 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 14584 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
14585 | } |
14586 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1); | |
14587 | { | |
14588 | if (temp2) | |
14589 | delete arg2; | |
14590 | } | |
14591 | { | |
14592 | if (temp3) | |
14593 | delete arg3; | |
14594 | } | |
14595 | { | |
14596 | if (arg5) delete [] arg5; | |
14597 | } | |
14598 | return resultobj; | |
14599 | fail: | |
14600 | { | |
14601 | if (temp2) | |
14602 | delete arg2; | |
14603 | } | |
14604 | { | |
14605 | if (temp3) | |
14606 | delete arg3; | |
14607 | } | |
14608 | { | |
14609 | if (arg5) delete [] arg5; | |
14610 | } | |
14611 | return NULL; | |
14612 | } | |
14613 | ||
14614 | ||
c370783e | 14615 | static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14616 | PyObject *resultobj; |
14617 | wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ; | |
14618 | wxArrayInt *arg2 = 0 ; | |
b411df4a | 14619 | bool temp2 = false ; |
d55e5bfc RD |
14620 | PyObject * obj0 = 0 ; |
14621 | PyObject * obj1 = 0 ; | |
14622 | char *kwnames[] = { | |
14623 | (char *) "self",(char *) "selections", NULL | |
14624 | }; | |
14625 | ||
14626 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
14627 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0); |
14628 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14629 | { |
14630 | if (! PySequence_Check(obj1)) { | |
14631 | PyErr_SetString(PyExc_TypeError, "Sequence of integers expected."); | |
14632 | SWIG_fail; | |
14633 | } | |
14634 | arg2 = new wxArrayInt; | |
b411df4a | 14635 | temp2 = true; |
d55e5bfc RD |
14636 | int i, len=PySequence_Length(obj1); |
14637 | for (i=0; i<len; i++) { | |
14638 | PyObject* item = PySequence_GetItem(obj1, i); | |
14639 | PyObject* number = PyNumber_Int(item); | |
14640 | arg2->Add(PyInt_AS_LONG(number)); | |
14641 | Py_DECREF(item); | |
14642 | Py_DECREF(number); | |
14643 | } | |
14644 | } | |
14645 | { | |
14646 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14647 | (arg1)->SetSelections((wxArrayInt const &)*arg2); | |
14648 | ||
14649 | wxPyEndAllowThreads(__tstate); | |
14650 | if (PyErr_Occurred()) SWIG_fail; | |
14651 | } | |
14652 | Py_INCREF(Py_None); resultobj = Py_None; | |
14653 | { | |
14654 | if (temp2) delete arg2; | |
14655 | } | |
14656 | return resultobj; | |
14657 | fail: | |
14658 | { | |
14659 | if (temp2) delete arg2; | |
14660 | } | |
14661 | return NULL; | |
14662 | } | |
14663 | ||
14664 | ||
c370783e | 14665 | static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14666 | PyObject *resultobj; |
14667 | wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ; | |
14668 | PyObject *result; | |
14669 | PyObject * obj0 = 0 ; | |
14670 | char *kwnames[] = { | |
14671 | (char *) "self", NULL | |
14672 | }; | |
14673 | ||
14674 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
14675 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0); |
14676 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14677 | { |
14678 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14679 | result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1); | |
14680 | ||
14681 | wxPyEndAllowThreads(__tstate); | |
14682 | if (PyErr_Occurred()) SWIG_fail; | |
14683 | } | |
14684 | resultobj = result; | |
14685 | return resultobj; | |
14686 | fail: | |
14687 | return NULL; | |
14688 | } | |
14689 | ||
14690 | ||
c370783e | 14691 | static PyObject * MultiChoiceDialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
14692 | PyObject *obj; |
14693 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14694 | SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj); | |
14695 | Py_INCREF(obj); | |
14696 | return Py_BuildValue((char *)""); | |
14697 | } | |
c370783e | 14698 | static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14699 | PyObject *resultobj; |
14700 | wxWindow *arg1 = (wxWindow *) 0 ; | |
14701 | wxString *arg2 = 0 ; | |
14702 | wxString *arg3 = 0 ; | |
14703 | int arg4 ; | |
14704 | wxString *arg5 = (wxString *) 0 ; | |
14705 | long arg6 = (long) wxCHOICEDLG_STYLE ; | |
14706 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
14707 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
14708 | wxSingleChoiceDialog *result; | |
b411df4a RD |
14709 | bool temp2 = false ; |
14710 | bool temp3 = false ; | |
36ed4f51 | 14711 | wxPoint temp7 ; |
d55e5bfc RD |
14712 | PyObject * obj0 = 0 ; |
14713 | PyObject * obj1 = 0 ; | |
14714 | PyObject * obj2 = 0 ; | |
14715 | PyObject * obj3 = 0 ; | |
14716 | PyObject * obj4 = 0 ; | |
14717 | PyObject * obj5 = 0 ; | |
14718 | char *kwnames[] = { | |
14719 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL | |
14720 | }; | |
14721 | ||
14722 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
36ed4f51 RD |
14723 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
14724 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14725 | { |
14726 | arg2 = wxString_in_helper(obj1); | |
14727 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 14728 | temp2 = true; |
d55e5bfc RD |
14729 | } |
14730 | { | |
14731 | arg3 = wxString_in_helper(obj2); | |
14732 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 14733 | temp3 = true; |
d55e5bfc RD |
14734 | } |
14735 | { | |
14736 | arg4 = PyList_Size(obj3); | |
14737 | arg5 = wxString_LIST_helper(obj3); | |
14738 | if (arg5 == NULL) SWIG_fail; | |
14739 | } | |
14740 | if (obj4) { | |
36ed4f51 RD |
14741 | { |
14742 | arg6 = (long)(SWIG_As_long(obj4)); | |
14743 | if (SWIG_arg_fail(6)) SWIG_fail; | |
14744 | } | |
d55e5bfc RD |
14745 | } |
14746 | if (obj5) { | |
14747 | { | |
36ed4f51 | 14748 | arg7 = &temp7; |
d55e5bfc RD |
14749 | if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail; |
14750 | } | |
14751 | } | |
14752 | { | |
0439c23b | 14753 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
14754 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
14755 | result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7); | |
14756 | ||
14757 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 14758 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
14759 | } |
14760 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1); | |
14761 | { | |
14762 | if (temp2) | |
14763 | delete arg2; | |
14764 | } | |
14765 | { | |
14766 | if (temp3) | |
14767 | delete arg3; | |
14768 | } | |
14769 | { | |
14770 | if (arg5) delete [] arg5; | |
14771 | } | |
14772 | return resultobj; | |
14773 | fail: | |
14774 | { | |
14775 | if (temp2) | |
14776 | delete arg2; | |
14777 | } | |
14778 | { | |
14779 | if (temp3) | |
14780 | delete arg3; | |
14781 | } | |
14782 | { | |
14783 | if (arg5) delete [] arg5; | |
14784 | } | |
14785 | return NULL; | |
14786 | } | |
14787 | ||
14788 | ||
c370783e | 14789 | static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14790 | PyObject *resultobj; |
14791 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; | |
14792 | int result; | |
14793 | PyObject * obj0 = 0 ; | |
14794 | char *kwnames[] = { | |
14795 | (char *) "self", NULL | |
14796 | }; | |
14797 | ||
14798 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
14799 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0); |
14800 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14801 | { |
14802 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14803 | result = (int)(arg1)->GetSelection(); | |
14804 | ||
14805 | wxPyEndAllowThreads(__tstate); | |
14806 | if (PyErr_Occurred()) SWIG_fail; | |
14807 | } | |
36ed4f51 RD |
14808 | { |
14809 | resultobj = SWIG_From_int((int)(result)); | |
14810 | } | |
d55e5bfc RD |
14811 | return resultobj; |
14812 | fail: | |
14813 | return NULL; | |
14814 | } | |
14815 | ||
14816 | ||
c370783e | 14817 | static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14818 | PyObject *resultobj; |
14819 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; | |
14820 | wxString result; | |
14821 | PyObject * obj0 = 0 ; | |
14822 | char *kwnames[] = { | |
14823 | (char *) "self", NULL | |
14824 | }; | |
14825 | ||
14826 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
14827 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0); |
14828 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14829 | { |
14830 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14831 | result = (arg1)->GetStringSelection(); | |
14832 | ||
14833 | wxPyEndAllowThreads(__tstate); | |
14834 | if (PyErr_Occurred()) SWIG_fail; | |
14835 | } | |
14836 | { | |
14837 | #if wxUSE_UNICODE | |
14838 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
14839 | #else | |
14840 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
14841 | #endif | |
14842 | } | |
14843 | return resultobj; | |
14844 | fail: | |
14845 | return NULL; | |
14846 | } | |
14847 | ||
14848 | ||
c370783e | 14849 | static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14850 | PyObject *resultobj; |
14851 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; | |
14852 | int arg2 ; | |
14853 | PyObject * obj0 = 0 ; | |
14854 | PyObject * obj1 = 0 ; | |
14855 | char *kwnames[] = { | |
14856 | (char *) "self",(char *) "sel", NULL | |
14857 | }; | |
14858 | ||
14859 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
14860 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0); |
14861 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14862 | { | |
14863 | arg2 = (int)(SWIG_As_int(obj1)); | |
14864 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14865 | } | |
d55e5bfc RD |
14866 | { |
14867 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14868 | (arg1)->SetSelection(arg2); | |
14869 | ||
14870 | wxPyEndAllowThreads(__tstate); | |
14871 | if (PyErr_Occurred()) SWIG_fail; | |
14872 | } | |
14873 | Py_INCREF(Py_None); resultobj = Py_None; | |
14874 | return resultobj; | |
14875 | fail: | |
14876 | return NULL; | |
14877 | } | |
14878 | ||
14879 | ||
c370783e | 14880 | static PyObject * SingleChoiceDialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
14881 | PyObject *obj; |
14882 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14883 | SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj); | |
14884 | Py_INCREF(obj); | |
14885 | return Py_BuildValue((char *)""); | |
14886 | } | |
c370783e | 14887 | static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14888 | PyObject *resultobj; |
14889 | wxWindow *arg1 = (wxWindow *) 0 ; | |
14890 | wxString *arg2 = 0 ; | |
14891 | wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ; | |
14892 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
14893 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
14894 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
070c48b4 | 14895 | long arg5 = (long) wxTextEntryDialogStyle ; |
d55e5bfc RD |
14896 | wxPoint const &arg6_defvalue = wxDefaultPosition ; |
14897 | wxPoint *arg6 = (wxPoint *) &arg6_defvalue ; | |
14898 | wxTextEntryDialog *result; | |
b411df4a RD |
14899 | bool temp2 = false ; |
14900 | bool temp3 = false ; | |
14901 | bool temp4 = false ; | |
d55e5bfc RD |
14902 | wxPoint temp6 ; |
14903 | PyObject * obj0 = 0 ; | |
14904 | PyObject * obj1 = 0 ; | |
14905 | PyObject * obj2 = 0 ; | |
14906 | PyObject * obj3 = 0 ; | |
14907 | PyObject * obj4 = 0 ; | |
14908 | PyObject * obj5 = 0 ; | |
14909 | char *kwnames[] = { | |
14910 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL | |
14911 | }; | |
14912 | ||
14913 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
36ed4f51 RD |
14914 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
14915 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14916 | { |
14917 | arg2 = wxString_in_helper(obj1); | |
14918 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 14919 | temp2 = true; |
d55e5bfc RD |
14920 | } |
14921 | if (obj2) { | |
14922 | { | |
14923 | arg3 = wxString_in_helper(obj2); | |
14924 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 14925 | temp3 = true; |
d55e5bfc RD |
14926 | } |
14927 | } | |
14928 | if (obj3) { | |
14929 | { | |
14930 | arg4 = wxString_in_helper(obj3); | |
14931 | if (arg4 == NULL) SWIG_fail; | |
b411df4a | 14932 | temp4 = true; |
d55e5bfc RD |
14933 | } |
14934 | } | |
14935 | if (obj4) { | |
36ed4f51 RD |
14936 | { |
14937 | arg5 = (long)(SWIG_As_long(obj4)); | |
14938 | if (SWIG_arg_fail(5)) SWIG_fail; | |
14939 | } | |
d55e5bfc RD |
14940 | } |
14941 | if (obj5) { | |
14942 | { | |
14943 | arg6 = &temp6; | |
14944 | if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail; | |
14945 | } | |
14946 | } | |
14947 | { | |
0439c23b | 14948 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
14949 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
14950 | result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6); | |
14951 | ||
14952 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 14953 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
14954 | } |
14955 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1); | |
14956 | { | |
14957 | if (temp2) | |
14958 | delete arg2; | |
14959 | } | |
14960 | { | |
14961 | if (temp3) | |
14962 | delete arg3; | |
14963 | } | |
14964 | { | |
14965 | if (temp4) | |
14966 | delete arg4; | |
14967 | } | |
14968 | return resultobj; | |
14969 | fail: | |
14970 | { | |
14971 | if (temp2) | |
14972 | delete arg2; | |
14973 | } | |
14974 | { | |
14975 | if (temp3) | |
14976 | delete arg3; | |
14977 | } | |
14978 | { | |
14979 | if (temp4) | |
14980 | delete arg4; | |
14981 | } | |
14982 | return NULL; | |
14983 | } | |
14984 | ||
14985 | ||
c370783e | 14986 | static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14987 | PyObject *resultobj; |
14988 | wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ; | |
14989 | wxString result; | |
14990 | PyObject * obj0 = 0 ; | |
14991 | char *kwnames[] = { | |
14992 | (char *) "self", NULL | |
14993 | }; | |
14994 | ||
14995 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
14996 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0); |
14997 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14998 | { |
14999 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15000 | result = (arg1)->GetValue(); | |
15001 | ||
15002 | wxPyEndAllowThreads(__tstate); | |
15003 | if (PyErr_Occurred()) SWIG_fail; | |
15004 | } | |
15005 | { | |
15006 | #if wxUSE_UNICODE | |
15007 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
15008 | #else | |
15009 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
15010 | #endif | |
15011 | } | |
15012 | return resultobj; | |
15013 | fail: | |
15014 | return NULL; | |
15015 | } | |
15016 | ||
15017 | ||
c370783e | 15018 | static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15019 | PyObject *resultobj; |
15020 | wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ; | |
15021 | wxString *arg2 = 0 ; | |
b411df4a | 15022 | bool temp2 = false ; |
d55e5bfc RD |
15023 | PyObject * obj0 = 0 ; |
15024 | PyObject * obj1 = 0 ; | |
15025 | char *kwnames[] = { | |
15026 | (char *) "self",(char *) "value", NULL | |
15027 | }; | |
15028 | ||
15029 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
15030 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0); |
15031 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
15032 | { |
15033 | arg2 = wxString_in_helper(obj1); | |
15034 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 15035 | temp2 = true; |
d55e5bfc RD |
15036 | } |
15037 | { | |
15038 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15039 | (arg1)->SetValue((wxString const &)*arg2); | |
15040 | ||
15041 | wxPyEndAllowThreads(__tstate); | |
15042 | if (PyErr_Occurred()) SWIG_fail; | |
15043 | } | |
15044 | Py_INCREF(Py_None); resultobj = Py_None; | |
15045 | { | |
15046 | if (temp2) | |
15047 | delete arg2; | |
15048 | } | |
15049 | return resultobj; | |
15050 | fail: | |
15051 | { | |
15052 | if (temp2) | |
15053 | delete arg2; | |
15054 | } | |
15055 | return NULL; | |
15056 | } | |
15057 | ||
15058 | ||
c370783e | 15059 | static PyObject * TextEntryDialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
15060 | PyObject *obj; |
15061 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15062 | SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj); | |
15063 | Py_INCREF(obj); | |
15064 | return Py_BuildValue((char *)""); | |
15065 | } | |
070c48b4 RD |
15066 | static int _wrap_GetPasswordFromUserPromptStr_set(PyObject *) { |
15067 | PyErr_SetString(PyExc_TypeError,"Variable GetPasswordFromUserPromptStr is read-only."); | |
15068 | return 1; | |
15069 | } | |
15070 | ||
15071 | ||
36ed4f51 | 15072 | static PyObject *_wrap_GetPasswordFromUserPromptStr_get(void) { |
070c48b4 RD |
15073 | PyObject *pyobj; |
15074 | ||
15075 | { | |
15076 | #if wxUSE_UNICODE | |
15077 | pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len()); | |
15078 | #else | |
15079 | pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len()); | |
15080 | #endif | |
15081 | } | |
15082 | return pyobj; | |
15083 | } | |
15084 | ||
15085 | ||
15086 | static PyObject *_wrap_new_PasswordEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) { | |
15087 | PyObject *resultobj; | |
15088 | wxWindow *arg1 = (wxWindow *) 0 ; | |
15089 | wxString *arg2 = 0 ; | |
15090 | wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ; | |
15091 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
15092 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
15093 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
15094 | long arg5 = (long) wxTextEntryDialogStyle ; | |
15095 | wxPoint const &arg6_defvalue = wxDefaultPosition ; | |
15096 | wxPoint *arg6 = (wxPoint *) &arg6_defvalue ; | |
15097 | wxPasswordEntryDialog *result; | |
15098 | bool temp2 = false ; | |
15099 | bool temp3 = false ; | |
15100 | bool temp4 = false ; | |
15101 | wxPoint temp6 ; | |
15102 | PyObject * obj0 = 0 ; | |
15103 | PyObject * obj1 = 0 ; | |
15104 | PyObject * obj2 = 0 ; | |
15105 | PyObject * obj3 = 0 ; | |
15106 | PyObject * obj4 = 0 ; | |
15107 | PyObject * obj5 = 0 ; | |
15108 | char *kwnames[] = { | |
15109 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL | |
15110 | }; | |
15111 | ||
15112 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
36ed4f51 RD |
15113 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
15114 | if (SWIG_arg_fail(1)) SWIG_fail; | |
070c48b4 RD |
15115 | { |
15116 | arg2 = wxString_in_helper(obj1); | |
15117 | if (arg2 == NULL) SWIG_fail; | |
15118 | temp2 = true; | |
15119 | } | |
15120 | if (obj2) { | |
15121 | { | |
15122 | arg3 = wxString_in_helper(obj2); | |
15123 | if (arg3 == NULL) SWIG_fail; | |
15124 | temp3 = true; | |
15125 | } | |
15126 | } | |
15127 | if (obj3) { | |
15128 | { | |
15129 | arg4 = wxString_in_helper(obj3); | |
15130 | if (arg4 == NULL) SWIG_fail; | |
15131 | temp4 = true; | |
15132 | } | |
15133 | } | |
15134 | if (obj4) { | |
36ed4f51 RD |
15135 | { |
15136 | arg5 = (long)(SWIG_As_long(obj4)); | |
15137 | if (SWIG_arg_fail(5)) SWIG_fail; | |
15138 | } | |
070c48b4 RD |
15139 | } |
15140 | if (obj5) { | |
15141 | { | |
15142 | arg6 = &temp6; | |
15143 | if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail; | |
15144 | } | |
15145 | } | |
15146 | { | |
15147 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15148 | result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6); | |
15149 | ||
15150 | wxPyEndAllowThreads(__tstate); | |
15151 | if (PyErr_Occurred()) SWIG_fail; | |
15152 | } | |
15153 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPasswordEntryDialog, 1); | |
15154 | { | |
15155 | if (temp2) | |
15156 | delete arg2; | |
15157 | } | |
15158 | { | |
15159 | if (temp3) | |
15160 | delete arg3; | |
15161 | } | |
15162 | { | |
15163 | if (temp4) | |
15164 | delete arg4; | |
15165 | } | |
15166 | return resultobj; | |
15167 | fail: | |
15168 | { | |
15169 | if (temp2) | |
15170 | delete arg2; | |
15171 | } | |
15172 | { | |
15173 | if (temp3) | |
15174 | delete arg3; | |
15175 | } | |
15176 | { | |
15177 | if (temp4) | |
15178 | delete arg4; | |
15179 | } | |
15180 | return NULL; | |
15181 | } | |
15182 | ||
15183 | ||
15184 | static PyObject * PasswordEntryDialog_swigregister(PyObject *, PyObject *args) { | |
15185 | PyObject *obj; | |
15186 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15187 | SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog, obj); | |
15188 | Py_INCREF(obj); | |
15189 | return Py_BuildValue((char *)""); | |
15190 | } | |
c370783e | 15191 | static PyObject *_wrap_new_FontData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15192 | PyObject *resultobj; |
15193 | wxFontData *result; | |
15194 | char *kwnames[] = { | |
15195 | NULL | |
15196 | }; | |
15197 | ||
15198 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail; | |
15199 | { | |
15200 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15201 | result = (wxFontData *)new wxFontData(); | |
15202 | ||
15203 | wxPyEndAllowThreads(__tstate); | |
15204 | if (PyErr_Occurred()) SWIG_fail; | |
15205 | } | |
15206 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1); | |
15207 | return resultobj; | |
15208 | fail: | |
15209 | return NULL; | |
15210 | } | |
15211 | ||
15212 | ||
c370783e | 15213 | static PyObject *_wrap_delete_FontData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15214 | PyObject *resultobj; |
15215 | wxFontData *arg1 = (wxFontData *) 0 ; | |
15216 | PyObject * obj0 = 0 ; | |
15217 | char *kwnames[] = { | |
15218 | (char *) "self", NULL | |
15219 | }; | |
15220 | ||
15221 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
15222 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15223 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
15224 | { |
15225 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15226 | delete arg1; | |
15227 | ||
15228 | wxPyEndAllowThreads(__tstate); | |
15229 | if (PyErr_Occurred()) SWIG_fail; | |
15230 | } | |
15231 | Py_INCREF(Py_None); resultobj = Py_None; | |
15232 | return resultobj; | |
15233 | fail: | |
15234 | return NULL; | |
15235 | } | |
15236 | ||
15237 | ||
c370783e | 15238 | static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15239 | PyObject *resultobj; |
15240 | wxFontData *arg1 = (wxFontData *) 0 ; | |
15241 | bool arg2 ; | |
15242 | PyObject * obj0 = 0 ; | |
15243 | PyObject * obj1 = 0 ; | |
15244 | char *kwnames[] = { | |
15245 | (char *) "self",(char *) "enable", NULL | |
15246 | }; | |
15247 | ||
15248 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
15249 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15250 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15251 | { | |
15252 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
15253 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15254 | } | |
d55e5bfc RD |
15255 | { |
15256 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15257 | (arg1)->EnableEffects(arg2); | |
15258 | ||
15259 | wxPyEndAllowThreads(__tstate); | |
15260 | if (PyErr_Occurred()) SWIG_fail; | |
15261 | } | |
15262 | Py_INCREF(Py_None); resultobj = Py_None; | |
15263 | return resultobj; | |
15264 | fail: | |
15265 | return NULL; | |
15266 | } | |
15267 | ||
15268 | ||
c370783e | 15269 | static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15270 | PyObject *resultobj; |
15271 | wxFontData *arg1 = (wxFontData *) 0 ; | |
15272 | bool result; | |
15273 | PyObject * obj0 = 0 ; | |
15274 | char *kwnames[] = { | |
15275 | (char *) "self", NULL | |
15276 | }; | |
15277 | ||
15278 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
15279 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15280 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
15281 | { |
15282 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15283 | result = (bool)(arg1)->GetAllowSymbols(); | |
15284 | ||
15285 | wxPyEndAllowThreads(__tstate); | |
15286 | if (PyErr_Occurred()) SWIG_fail; | |
15287 | } | |
15288 | { | |
15289 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15290 | } | |
15291 | return resultobj; | |
15292 | fail: | |
15293 | return NULL; | |
15294 | } | |
15295 | ||
15296 | ||
c370783e | 15297 | static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15298 | PyObject *resultobj; |
15299 | wxFontData *arg1 = (wxFontData *) 0 ; | |
15300 | wxColour result; | |
15301 | PyObject * obj0 = 0 ; | |
15302 | char *kwnames[] = { | |
15303 | (char *) "self", NULL | |
15304 | }; | |
15305 | ||
15306 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
15307 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15308 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
15309 | { |
15310 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15311 | result = (arg1)->GetColour(); | |
15312 | ||
15313 | wxPyEndAllowThreads(__tstate); | |
15314 | if (PyErr_Occurred()) SWIG_fail; | |
15315 | } | |
15316 | { | |
15317 | wxColour * resultptr; | |
36ed4f51 | 15318 | resultptr = new wxColour((wxColour &)(result)); |
d55e5bfc RD |
15319 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
15320 | } | |
15321 | return resultobj; | |
15322 | fail: | |
15323 | return NULL; | |
15324 | } | |
15325 | ||
15326 | ||
c370783e | 15327 | static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15328 | PyObject *resultobj; |
15329 | wxFontData *arg1 = (wxFontData *) 0 ; | |
15330 | wxFont result; | |
15331 | PyObject * obj0 = 0 ; | |
15332 | char *kwnames[] = { | |
15333 | (char *) "self", NULL | |
15334 | }; | |
15335 | ||
15336 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
15337 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15338 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
15339 | { |
15340 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15341 | result = (arg1)->GetChosenFont(); | |
15342 | ||
15343 | wxPyEndAllowThreads(__tstate); | |
15344 | if (PyErr_Occurred()) SWIG_fail; | |
15345 | } | |
15346 | { | |
15347 | wxFont * resultptr; | |
36ed4f51 | 15348 | resultptr = new wxFont((wxFont &)(result)); |
d55e5bfc RD |
15349 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); |
15350 | } | |
15351 | return resultobj; | |
15352 | fail: | |
15353 | return NULL; | |
15354 | } | |
15355 | ||
15356 | ||
c370783e | 15357 | static PyObject *_wrap_FontData_GetEnableEffects(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15358 | PyObject *resultobj; |
15359 | wxFontData *arg1 = (wxFontData *) 0 ; | |
15360 | bool result; | |
15361 | PyObject * obj0 = 0 ; | |
15362 | char *kwnames[] = { | |
15363 | (char *) "self", NULL | |
15364 | }; | |
15365 | ||
15366 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
15367 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15368 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
15369 | { |
15370 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15371 | result = (bool)(arg1)->GetEnableEffects(); | |
15372 | ||
15373 | wxPyEndAllowThreads(__tstate); | |
15374 | if (PyErr_Occurred()) SWIG_fail; | |
15375 | } | |
15376 | { | |
15377 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15378 | } | |
15379 | return resultobj; | |
15380 | fail: | |
15381 | return NULL; | |
15382 | } | |
15383 | ||
15384 | ||
c370783e | 15385 | static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15386 | PyObject *resultobj; |
15387 | wxFontData *arg1 = (wxFontData *) 0 ; | |
15388 | wxFont result; | |
15389 | PyObject * obj0 = 0 ; | |
15390 | char *kwnames[] = { | |
15391 | (char *) "self", NULL | |
15392 | }; | |
15393 | ||
15394 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
15395 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15396 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
15397 | { |
15398 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15399 | result = (arg1)->GetInitialFont(); | |
15400 | ||
15401 | wxPyEndAllowThreads(__tstate); | |
15402 | if (PyErr_Occurred()) SWIG_fail; | |
15403 | } | |
15404 | { | |
15405 | wxFont * resultptr; | |
36ed4f51 | 15406 | resultptr = new wxFont((wxFont &)(result)); |
d55e5bfc RD |
15407 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); |
15408 | } | |
15409 | return resultobj; | |
15410 | fail: | |
15411 | return NULL; | |
15412 | } | |
15413 | ||
15414 | ||
c370783e | 15415 | static PyObject *_wrap_FontData_GetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15416 | PyObject *resultobj; |
15417 | wxFontData *arg1 = (wxFontData *) 0 ; | |
15418 | bool result; | |
15419 | PyObject * obj0 = 0 ; | |
15420 | char *kwnames[] = { | |
15421 | (char *) "self", NULL | |
15422 | }; | |
15423 | ||
15424 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
15425 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15426 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
15427 | { |
15428 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15429 | result = (bool)(arg1)->GetShowHelp(); | |
15430 | ||
15431 | wxPyEndAllowThreads(__tstate); | |
15432 | if (PyErr_Occurred()) SWIG_fail; | |
15433 | } | |
15434 | { | |
15435 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15436 | } | |
15437 | return resultobj; | |
15438 | fail: | |
15439 | return NULL; | |
15440 | } | |
15441 | ||
15442 | ||
c370783e | 15443 | static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15444 | PyObject *resultobj; |
15445 | wxFontData *arg1 = (wxFontData *) 0 ; | |
15446 | bool arg2 ; | |
15447 | PyObject * obj0 = 0 ; | |
15448 | PyObject * obj1 = 0 ; | |
15449 | char *kwnames[] = { | |
15450 | (char *) "self",(char *) "allowSymbols", NULL | |
15451 | }; | |
15452 | ||
15453 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
15454 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15455 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15456 | { | |
15457 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
15458 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15459 | } | |
d55e5bfc RD |
15460 | { |
15461 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15462 | (arg1)->SetAllowSymbols(arg2); | |
15463 | ||
15464 | wxPyEndAllowThreads(__tstate); | |
15465 | if (PyErr_Occurred()) SWIG_fail; | |
15466 | } | |
15467 | Py_INCREF(Py_None); resultobj = Py_None; | |
15468 | return resultobj; | |
15469 | fail: | |
15470 | return NULL; | |
15471 | } | |
15472 | ||
15473 | ||
c370783e | 15474 | static PyObject *_wrap_FontData_SetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15475 | PyObject *resultobj; |
15476 | wxFontData *arg1 = (wxFontData *) 0 ; | |
15477 | wxFont *arg2 = 0 ; | |
15478 | PyObject * obj0 = 0 ; | |
15479 | PyObject * obj1 = 0 ; | |
15480 | char *kwnames[] = { | |
15481 | (char *) "self",(char *) "font", NULL | |
15482 | }; | |
15483 | ||
15484 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
15485 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15486 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15487 | { | |
15488 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0); | |
15489 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15490 | if (arg2 == NULL) { | |
15491 | SWIG_null_ref("wxFont"); | |
15492 | } | |
15493 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
15494 | } |
15495 | { | |
15496 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15497 | (arg1)->SetChosenFont((wxFont const &)*arg2); | |
15498 | ||
15499 | wxPyEndAllowThreads(__tstate); | |
15500 | if (PyErr_Occurred()) SWIG_fail; | |
15501 | } | |
15502 | Py_INCREF(Py_None); resultobj = Py_None; | |
15503 | return resultobj; | |
15504 | fail: | |
15505 | return NULL; | |
15506 | } | |
15507 | ||
15508 | ||
c370783e | 15509 | static PyObject *_wrap_FontData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15510 | PyObject *resultobj; |
15511 | wxFontData *arg1 = (wxFontData *) 0 ; | |
15512 | wxColour *arg2 = 0 ; | |
15513 | wxColour temp2 ; | |
15514 | PyObject * obj0 = 0 ; | |
15515 | PyObject * obj1 = 0 ; | |
15516 | char *kwnames[] = { | |
15517 | (char *) "self",(char *) "colour", NULL | |
15518 | }; | |
15519 | ||
15520 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
15521 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15522 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
15523 | { |
15524 | arg2 = &temp2; | |
15525 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
15526 | } | |
15527 | { | |
15528 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15529 | (arg1)->SetColour((wxColour const &)*arg2); | |
15530 | ||
15531 | wxPyEndAllowThreads(__tstate); | |
15532 | if (PyErr_Occurred()) SWIG_fail; | |
15533 | } | |
15534 | Py_INCREF(Py_None); resultobj = Py_None; | |
15535 | return resultobj; | |
15536 | fail: | |
15537 | return NULL; | |
15538 | } | |
15539 | ||
15540 | ||
c370783e | 15541 | static PyObject *_wrap_FontData_SetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15542 | PyObject *resultobj; |
15543 | wxFontData *arg1 = (wxFontData *) 0 ; | |
15544 | wxFont *arg2 = 0 ; | |
15545 | PyObject * obj0 = 0 ; | |
15546 | PyObject * obj1 = 0 ; | |
15547 | char *kwnames[] = { | |
15548 | (char *) "self",(char *) "font", NULL | |
15549 | }; | |
15550 | ||
15551 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
15552 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15553 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15554 | { | |
15555 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0); | |
15556 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15557 | if (arg2 == NULL) { | |
15558 | SWIG_null_ref("wxFont"); | |
15559 | } | |
15560 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
15561 | } |
15562 | { | |
15563 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15564 | (arg1)->SetInitialFont((wxFont const &)*arg2); | |
15565 | ||
15566 | wxPyEndAllowThreads(__tstate); | |
15567 | if (PyErr_Occurred()) SWIG_fail; | |
15568 | } | |
15569 | Py_INCREF(Py_None); resultobj = Py_None; | |
15570 | return resultobj; | |
15571 | fail: | |
15572 | return NULL; | |
15573 | } | |
15574 | ||
15575 | ||
c370783e | 15576 | static PyObject *_wrap_FontData_SetRange(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15577 | PyObject *resultobj; |
15578 | wxFontData *arg1 = (wxFontData *) 0 ; | |
15579 | int arg2 ; | |
15580 | int arg3 ; | |
15581 | PyObject * obj0 = 0 ; | |
15582 | PyObject * obj1 = 0 ; | |
15583 | PyObject * obj2 = 0 ; | |
15584 | char *kwnames[] = { | |
15585 | (char *) "self",(char *) "min",(char *) "max", NULL | |
15586 | }; | |
15587 | ||
15588 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
15589 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15590 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15591 | { | |
15592 | arg2 = (int)(SWIG_As_int(obj1)); | |
15593 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15594 | } | |
15595 | { | |
15596 | arg3 = (int)(SWIG_As_int(obj2)); | |
15597 | if (SWIG_arg_fail(3)) SWIG_fail; | |
15598 | } | |
d55e5bfc RD |
15599 | { |
15600 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15601 | (arg1)->SetRange(arg2,arg3); | |
15602 | ||
15603 | wxPyEndAllowThreads(__tstate); | |
15604 | if (PyErr_Occurred()) SWIG_fail; | |
15605 | } | |
15606 | Py_INCREF(Py_None); resultobj = Py_None; | |
15607 | return resultobj; | |
15608 | fail: | |
15609 | return NULL; | |
15610 | } | |
15611 | ||
15612 | ||
c370783e | 15613 | static PyObject *_wrap_FontData_SetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15614 | PyObject *resultobj; |
15615 | wxFontData *arg1 = (wxFontData *) 0 ; | |
15616 | bool arg2 ; | |
15617 | PyObject * obj0 = 0 ; | |
15618 | PyObject * obj1 = 0 ; | |
15619 | char *kwnames[] = { | |
15620 | (char *) "self",(char *) "showHelp", NULL | |
15621 | }; | |
15622 | ||
15623 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
15624 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15625 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15626 | { | |
15627 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
15628 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15629 | } | |
d55e5bfc RD |
15630 | { |
15631 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15632 | (arg1)->SetShowHelp(arg2); | |
15633 | ||
15634 | wxPyEndAllowThreads(__tstate); | |
15635 | if (PyErr_Occurred()) SWIG_fail; | |
15636 | } | |
15637 | Py_INCREF(Py_None); resultobj = Py_None; | |
15638 | return resultobj; | |
15639 | fail: | |
15640 | return NULL; | |
15641 | } | |
15642 | ||
15643 | ||
c370783e | 15644 | static PyObject * FontData_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
15645 | PyObject *obj; |
15646 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15647 | SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj); | |
15648 | Py_INCREF(obj); | |
15649 | return Py_BuildValue((char *)""); | |
15650 | } | |
c370783e | 15651 | static PyObject *_wrap_new_FontDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15652 | PyObject *resultobj; |
15653 | wxWindow *arg1 = (wxWindow *) 0 ; | |
15654 | wxFontData *arg2 = 0 ; | |
15655 | wxFontDialog *result; | |
15656 | PyObject * obj0 = 0 ; | |
15657 | PyObject * obj1 = 0 ; | |
15658 | char *kwnames[] = { | |
15659 | (char *) "parent",(char *) "data", NULL | |
15660 | }; | |
15661 | ||
15662 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
15663 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
15664 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15665 | { | |
15666 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); | |
15667 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15668 | if (arg2 == NULL) { | |
15669 | SWIG_null_ref("wxFontData"); | |
15670 | } | |
15671 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
15672 | } |
15673 | { | |
0439c23b | 15674 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
15675 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
15676 | result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2); | |
15677 | ||
15678 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 15679 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
15680 | } |
15681 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1); | |
15682 | return resultobj; | |
15683 | fail: | |
15684 | return NULL; | |
15685 | } | |
15686 | ||
15687 | ||
c370783e | 15688 | static PyObject *_wrap_FontDialog_GetFontData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15689 | PyObject *resultobj; |
15690 | wxFontDialog *arg1 = (wxFontDialog *) 0 ; | |
15691 | wxFontData *result; | |
15692 | PyObject * obj0 = 0 ; | |
15693 | char *kwnames[] = { | |
15694 | (char *) "self", NULL | |
15695 | }; | |
15696 | ||
15697 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
15698 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontDialog, SWIG_POINTER_EXCEPTION | 0); |
15699 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
15700 | { |
15701 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15702 | { | |
15703 | wxFontData &_result_ref = (arg1)->GetFontData(); | |
15704 | result = (wxFontData *) &_result_ref; | |
15705 | } | |
15706 | ||
15707 | wxPyEndAllowThreads(__tstate); | |
15708 | if (PyErr_Occurred()) SWIG_fail; | |
15709 | } | |
15710 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0); | |
15711 | return resultobj; | |
15712 | fail: | |
15713 | return NULL; | |
15714 | } | |
15715 | ||
15716 | ||
c370783e | 15717 | static PyObject * FontDialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
15718 | PyObject *obj; |
15719 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15720 | SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj); | |
15721 | Py_INCREF(obj); | |
15722 | return Py_BuildValue((char *)""); | |
15723 | } | |
c370783e | 15724 | static PyObject *_wrap_new_MessageDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15725 | PyObject *resultobj; |
15726 | wxWindow *arg1 = (wxWindow *) 0 ; | |
15727 | wxString *arg2 = 0 ; | |
15728 | wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ; | |
15729 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
15730 | long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ; | |
15731 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
15732 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
15733 | wxMessageDialog *result; | |
b411df4a RD |
15734 | bool temp2 = false ; |
15735 | bool temp3 = false ; | |
d55e5bfc RD |
15736 | wxPoint temp5 ; |
15737 | PyObject * obj0 = 0 ; | |
15738 | PyObject * obj1 = 0 ; | |
15739 | PyObject * obj2 = 0 ; | |
15740 | PyObject * obj3 = 0 ; | |
15741 | PyObject * obj4 = 0 ; | |
15742 | char *kwnames[] = { | |
15743 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL | |
15744 | }; | |
15745 | ||
15746 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
36ed4f51 RD |
15747 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
15748 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
15749 | { |
15750 | arg2 = wxString_in_helper(obj1); | |
15751 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 15752 | temp2 = true; |
d55e5bfc RD |
15753 | } |
15754 | if (obj2) { | |
15755 | { | |
15756 | arg3 = wxString_in_helper(obj2); | |
15757 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 15758 | temp3 = true; |
d55e5bfc RD |
15759 | } |
15760 | } | |
15761 | if (obj3) { | |
36ed4f51 RD |
15762 | { |
15763 | arg4 = (long)(SWIG_As_long(obj3)); | |
15764 | if (SWIG_arg_fail(4)) SWIG_fail; | |
15765 | } | |
d55e5bfc RD |
15766 | } |
15767 | if (obj4) { | |
15768 | { | |
15769 | arg5 = &temp5; | |
15770 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
15771 | } | |
15772 | } | |
15773 | { | |
0439c23b | 15774 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
15775 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
15776 | result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5); | |
15777 | ||
15778 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 15779 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
15780 | } |
15781 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1); | |
15782 | { | |
15783 | if (temp2) | |
15784 | delete arg2; | |
15785 | } | |
15786 | { | |
15787 | if (temp3) | |
15788 | delete arg3; | |
15789 | } | |
15790 | return resultobj; | |
15791 | fail: | |
15792 | { | |
15793 | if (temp2) | |
15794 | delete arg2; | |
15795 | } | |
15796 | { | |
15797 | if (temp3) | |
15798 | delete arg3; | |
15799 | } | |
15800 | return NULL; | |
15801 | } | |
15802 | ||
15803 | ||
c370783e | 15804 | static PyObject * MessageDialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
15805 | PyObject *obj; |
15806 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15807 | SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj); | |
15808 | Py_INCREF(obj); | |
15809 | return Py_BuildValue((char *)""); | |
15810 | } | |
c370783e | 15811 | static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15812 | PyObject *resultobj; |
15813 | wxString *arg1 = 0 ; | |
15814 | wxString *arg2 = 0 ; | |
15815 | int arg3 = (int) 100 ; | |
15816 | wxWindow *arg4 = (wxWindow *) NULL ; | |
15817 | int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ; | |
15818 | wxProgressDialog *result; | |
b411df4a RD |
15819 | bool temp1 = false ; |
15820 | bool temp2 = false ; | |
d55e5bfc RD |
15821 | PyObject * obj0 = 0 ; |
15822 | PyObject * obj1 = 0 ; | |
15823 | PyObject * obj2 = 0 ; | |
15824 | PyObject * obj3 = 0 ; | |
15825 | PyObject * obj4 = 0 ; | |
15826 | char *kwnames[] = { | |
15827 | (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL | |
15828 | }; | |
15829 | ||
15830 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
15831 | { | |
15832 | arg1 = wxString_in_helper(obj0); | |
15833 | if (arg1 == NULL) SWIG_fail; | |
b411df4a | 15834 | temp1 = true; |
d55e5bfc RD |
15835 | } |
15836 | { | |
15837 | arg2 = wxString_in_helper(obj1); | |
15838 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 15839 | temp2 = true; |
d55e5bfc RD |
15840 | } |
15841 | if (obj2) { | |
36ed4f51 RD |
15842 | { |
15843 | arg3 = (int)(SWIG_As_int(obj2)); | |
15844 | if (SWIG_arg_fail(3)) SWIG_fail; | |
15845 | } | |
d55e5bfc RD |
15846 | } |
15847 | if (obj3) { | |
36ed4f51 RD |
15848 | SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
15849 | if (SWIG_arg_fail(4)) SWIG_fail; | |
d55e5bfc RD |
15850 | } |
15851 | if (obj4) { | |
36ed4f51 RD |
15852 | { |
15853 | arg5 = (int)(SWIG_As_int(obj4)); | |
15854 | if (SWIG_arg_fail(5)) SWIG_fail; | |
15855 | } | |
d55e5bfc RD |
15856 | } |
15857 | { | |
0439c23b | 15858 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
15859 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
15860 | result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5); | |
15861 | ||
15862 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 15863 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
15864 | } |
15865 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1); | |
15866 | { | |
15867 | if (temp1) | |
15868 | delete arg1; | |
15869 | } | |
15870 | { | |
15871 | if (temp2) | |
15872 | delete arg2; | |
15873 | } | |
15874 | return resultobj; | |
15875 | fail: | |
15876 | { | |
15877 | if (temp1) | |
15878 | delete arg1; | |
15879 | } | |
15880 | { | |
15881 | if (temp2) | |
15882 | delete arg2; | |
15883 | } | |
15884 | return NULL; | |
15885 | } | |
15886 | ||
15887 | ||
c370783e | 15888 | static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15889 | PyObject *resultobj; |
15890 | wxProgressDialog *arg1 = (wxProgressDialog *) 0 ; | |
15891 | int arg2 ; | |
15892 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
15893 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
15894 | bool result; | |
b411df4a | 15895 | bool temp3 = false ; |
d55e5bfc RD |
15896 | PyObject * obj0 = 0 ; |
15897 | PyObject * obj1 = 0 ; | |
15898 | PyObject * obj2 = 0 ; | |
15899 | char *kwnames[] = { | |
15900 | (char *) "self",(char *) "value",(char *) "newmsg", NULL | |
15901 | }; | |
15902 | ||
15903 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
15904 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0); |
15905 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15906 | { | |
15907 | arg2 = (int)(SWIG_As_int(obj1)); | |
15908 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15909 | } | |
d55e5bfc RD |
15910 | if (obj2) { |
15911 | { | |
15912 | arg3 = wxString_in_helper(obj2); | |
15913 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 15914 | temp3 = true; |
d55e5bfc RD |
15915 | } |
15916 | } | |
15917 | { | |
15918 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15919 | result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3); | |
15920 | ||
15921 | wxPyEndAllowThreads(__tstate); | |
15922 | if (PyErr_Occurred()) SWIG_fail; | |
15923 | } | |
15924 | { | |
15925 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15926 | } | |
15927 | { | |
15928 | if (temp3) | |
15929 | delete arg3; | |
15930 | } | |
15931 | return resultobj; | |
15932 | fail: | |
15933 | { | |
15934 | if (temp3) | |
15935 | delete arg3; | |
15936 | } | |
15937 | return NULL; | |
15938 | } | |
15939 | ||
15940 | ||
c370783e | 15941 | static PyObject *_wrap_ProgressDialog_Resume(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15942 | PyObject *resultobj; |
15943 | wxProgressDialog *arg1 = (wxProgressDialog *) 0 ; | |
15944 | PyObject * obj0 = 0 ; | |
15945 | char *kwnames[] = { | |
15946 | (char *) "self", NULL | |
15947 | }; | |
15948 | ||
15949 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
15950 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0); |
15951 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
15952 | { |
15953 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15954 | (arg1)->Resume(); | |
15955 | ||
15956 | wxPyEndAllowThreads(__tstate); | |
15957 | if (PyErr_Occurred()) SWIG_fail; | |
15958 | } | |
15959 | Py_INCREF(Py_None); resultobj = Py_None; | |
15960 | return resultobj; | |
15961 | fail: | |
15962 | return NULL; | |
15963 | } | |
15964 | ||
15965 | ||
c370783e | 15966 | static PyObject * ProgressDialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
15967 | PyObject *obj; |
15968 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15969 | SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj); | |
15970 | Py_INCREF(obj); | |
15971 | return Py_BuildValue((char *)""); | |
15972 | } | |
c370783e | 15973 | static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15974 | PyObject *resultobj; |
15975 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; | |
15976 | int arg2 = (int) 0 ; | |
15977 | wxFindDialogEvent *result; | |
15978 | PyObject * obj0 = 0 ; | |
15979 | PyObject * obj1 = 0 ; | |
15980 | char *kwnames[] = { | |
15981 | (char *) "commandType",(char *) "id", NULL | |
15982 | }; | |
15983 | ||
15984 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail; | |
15985 | if (obj0) { | |
36ed4f51 RD |
15986 | { |
15987 | arg1 = (wxEventType)(SWIG_As_int(obj0)); | |
15988 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15989 | } | |
d55e5bfc RD |
15990 | } |
15991 | if (obj1) { | |
36ed4f51 RD |
15992 | { |
15993 | arg2 = (int)(SWIG_As_int(obj1)); | |
15994 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15995 | } | |
d55e5bfc RD |
15996 | } |
15997 | { | |
15998 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15999 | result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2); | |
16000 | ||
16001 | wxPyEndAllowThreads(__tstate); | |
16002 | if (PyErr_Occurred()) SWIG_fail; | |
16003 | } | |
16004 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1); | |
16005 | return resultobj; | |
16006 | fail: | |
16007 | return NULL; | |
16008 | } | |
16009 | ||
16010 | ||
c370783e | 16011 | static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16012 | PyObject *resultobj; |
16013 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
16014 | int result; | |
16015 | PyObject * obj0 = 0 ; | |
16016 | char *kwnames[] = { | |
16017 | (char *) "self", NULL | |
16018 | }; | |
16019 | ||
16020 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
16021 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0); |
16022 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
16023 | { |
16024 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16025 | result = (int)(arg1)->GetFlags(); | |
16026 | ||
16027 | wxPyEndAllowThreads(__tstate); | |
16028 | if (PyErr_Occurred()) SWIG_fail; | |
16029 | } | |
36ed4f51 RD |
16030 | { |
16031 | resultobj = SWIG_From_int((int)(result)); | |
16032 | } | |
d55e5bfc RD |
16033 | return resultobj; |
16034 | fail: | |
16035 | return NULL; | |
16036 | } | |
16037 | ||
16038 | ||
c370783e | 16039 | static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16040 | PyObject *resultobj; |
16041 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
16042 | wxString *result; | |
16043 | PyObject * obj0 = 0 ; | |
16044 | char *kwnames[] = { | |
16045 | (char *) "self", NULL | |
16046 | }; | |
16047 | ||
16048 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
16049 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0); |
16050 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
16051 | { |
16052 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16053 | { | |
16054 | wxString const &_result_ref = (arg1)->GetFindString(); | |
16055 | result = (wxString *) &_result_ref; | |
16056 | } | |
16057 | ||
16058 | wxPyEndAllowThreads(__tstate); | |
16059 | if (PyErr_Occurred()) SWIG_fail; | |
16060 | } | |
16061 | { | |
16062 | #if wxUSE_UNICODE | |
16063 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
16064 | #else | |
16065 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
16066 | #endif | |
16067 | } | |
16068 | return resultobj; | |
16069 | fail: | |
16070 | return NULL; | |
16071 | } | |
16072 | ||
16073 | ||
c370783e | 16074 | static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16075 | PyObject *resultobj; |
16076 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
16077 | wxString *result; | |
16078 | PyObject * obj0 = 0 ; | |
16079 | char *kwnames[] = { | |
16080 | (char *) "self", NULL | |
16081 | }; | |
16082 | ||
16083 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
16084 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0); |
16085 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
16086 | { |
16087 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16088 | { | |
16089 | wxString const &_result_ref = (arg1)->GetReplaceString(); | |
16090 | result = (wxString *) &_result_ref; | |
16091 | } | |
16092 | ||
16093 | wxPyEndAllowThreads(__tstate); | |
16094 | if (PyErr_Occurred()) SWIG_fail; | |
16095 | } | |
16096 | { | |
16097 | #if wxUSE_UNICODE | |
16098 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
16099 | #else | |
16100 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
16101 | #endif | |
16102 | } | |
16103 | return resultobj; | |
16104 | fail: | |
16105 | return NULL; | |
16106 | } | |
16107 | ||
16108 | ||
c370783e | 16109 | static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16110 | PyObject *resultobj; |
16111 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
16112 | wxFindReplaceDialog *result; | |
16113 | PyObject * obj0 = 0 ; | |
16114 | char *kwnames[] = { | |
16115 | (char *) "self", NULL | |
16116 | }; | |
16117 | ||
16118 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
16119 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0); |
16120 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
16121 | { |
16122 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16123 | result = (wxFindReplaceDialog *)(arg1)->GetDialog(); | |
16124 | ||
16125 | wxPyEndAllowThreads(__tstate); | |
16126 | if (PyErr_Occurred()) SWIG_fail; | |
16127 | } | |
16128 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0); | |
16129 | return resultobj; | |
16130 | fail: | |
16131 | return NULL; | |
16132 | } | |
16133 | ||
16134 | ||
c370783e | 16135 | static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16136 | PyObject *resultobj; |
16137 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
16138 | int arg2 ; | |
16139 | PyObject * obj0 = 0 ; | |
16140 | PyObject * obj1 = 0 ; | |
16141 | char *kwnames[] = { | |
16142 | (char *) "self",(char *) "flags", NULL | |
16143 | }; | |
16144 | ||
16145 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
16146 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0); |
16147 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16148 | { | |
16149 | arg2 = (int)(SWIG_As_int(obj1)); | |
16150 | if (SWIG_arg_fail(2)) SWIG_fail; | |
16151 | } | |
d55e5bfc RD |
16152 | { |
16153 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16154 | (arg1)->SetFlags(arg2); | |
16155 | ||
16156 | wxPyEndAllowThreads(__tstate); | |
16157 | if (PyErr_Occurred()) SWIG_fail; | |
16158 | } | |
16159 | Py_INCREF(Py_None); resultobj = Py_None; | |
16160 | return resultobj; | |
16161 | fail: | |
16162 | return NULL; | |
16163 | } | |
16164 | ||
16165 | ||
c370783e | 16166 | static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16167 | PyObject *resultobj; |
16168 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
16169 | wxString *arg2 = 0 ; | |
b411df4a | 16170 | bool temp2 = false ; |
d55e5bfc RD |
16171 | PyObject * obj0 = 0 ; |
16172 | PyObject * obj1 = 0 ; | |
16173 | char *kwnames[] = { | |
16174 | (char *) "self",(char *) "str", NULL | |
16175 | }; | |
16176 | ||
16177 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
16178 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0); |
16179 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
16180 | { |
16181 | arg2 = wxString_in_helper(obj1); | |
16182 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 16183 | temp2 = true; |
d55e5bfc RD |
16184 | } |
16185 | { | |
16186 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16187 | (arg1)->SetFindString((wxString const &)*arg2); | |
16188 | ||
16189 | wxPyEndAllowThreads(__tstate); | |
16190 | if (PyErr_Occurred()) SWIG_fail; | |
16191 | } | |
16192 | Py_INCREF(Py_None); resultobj = Py_None; | |
16193 | { | |
16194 | if (temp2) | |
16195 | delete arg2; | |
16196 | } | |
16197 | return resultobj; | |
16198 | fail: | |
16199 | { | |
16200 | if (temp2) | |
16201 | delete arg2; | |
16202 | } | |
16203 | return NULL; | |
16204 | } | |
16205 | ||
16206 | ||
c370783e | 16207 | static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16208 | PyObject *resultobj; |
16209 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
16210 | wxString *arg2 = 0 ; | |
b411df4a | 16211 | bool temp2 = false ; |
d55e5bfc RD |
16212 | PyObject * obj0 = 0 ; |
16213 | PyObject * obj1 = 0 ; | |
16214 | char *kwnames[] = { | |
16215 | (char *) "self",(char *) "str", NULL | |
16216 | }; | |
16217 | ||
16218 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
16219 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0); |
16220 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
16221 | { |
16222 | arg2 = wxString_in_helper(obj1); | |
16223 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 16224 | temp2 = true; |
d55e5bfc RD |
16225 | } |
16226 | { | |
16227 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16228 | (arg1)->SetReplaceString((wxString const &)*arg2); | |
16229 | ||
16230 | wxPyEndAllowThreads(__tstate); | |
16231 | if (PyErr_Occurred()) SWIG_fail; | |
16232 | } | |
16233 | Py_INCREF(Py_None); resultobj = Py_None; | |
16234 | { | |
16235 | if (temp2) | |
16236 | delete arg2; | |
16237 | } | |
16238 | return resultobj; | |
16239 | fail: | |
16240 | { | |
16241 | if (temp2) | |
16242 | delete arg2; | |
16243 | } | |
16244 | return NULL; | |
16245 | } | |
16246 | ||
16247 | ||
c370783e | 16248 | static PyObject * FindDialogEvent_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
16249 | PyObject *obj; |
16250 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
16251 | SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj); | |
16252 | Py_INCREF(obj); | |
16253 | return Py_BuildValue((char *)""); | |
16254 | } | |
c370783e | 16255 | static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16256 | PyObject *resultobj; |
16257 | int arg1 = (int) 0 ; | |
16258 | wxFindReplaceData *result; | |
16259 | PyObject * obj0 = 0 ; | |
16260 | char *kwnames[] = { | |
16261 | (char *) "flags", NULL | |
16262 | }; | |
16263 | ||
16264 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail; | |
16265 | if (obj0) { | |
36ed4f51 RD |
16266 | { |
16267 | arg1 = (int)(SWIG_As_int(obj0)); | |
16268 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16269 | } | |
d55e5bfc RD |
16270 | } |
16271 | { | |
16272 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16273 | result = (wxFindReplaceData *)new wxFindReplaceData(arg1); | |
16274 | ||
16275 | wxPyEndAllowThreads(__tstate); | |
16276 | if (PyErr_Occurred()) SWIG_fail; | |
16277 | } | |
16278 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1); | |
16279 | return resultobj; | |
16280 | fail: | |
16281 | return NULL; | |
16282 | } | |
16283 | ||
16284 | ||
c370783e | 16285 | static PyObject *_wrap_delete_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16286 | PyObject *resultobj; |
16287 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
16288 | PyObject * obj0 = 0 ; | |
16289 | char *kwnames[] = { | |
16290 | (char *) "self", NULL | |
16291 | }; | |
16292 | ||
16293 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
16294 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0); |
16295 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
16296 | { |
16297 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16298 | delete arg1; | |
16299 | ||
16300 | wxPyEndAllowThreads(__tstate); | |
16301 | if (PyErr_Occurred()) SWIG_fail; | |
16302 | } | |
16303 | Py_INCREF(Py_None); resultobj = Py_None; | |
16304 | return resultobj; | |
16305 | fail: | |
16306 | return NULL; | |
16307 | } | |
16308 | ||
16309 | ||
c370783e | 16310 | static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16311 | PyObject *resultobj; |
16312 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
16313 | wxString *result; | |
16314 | PyObject * obj0 = 0 ; | |
16315 | char *kwnames[] = { | |
16316 | (char *) "self", NULL | |
16317 | }; | |
16318 | ||
16319 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
16320 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0); |
16321 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
16322 | { |
16323 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16324 | { | |
16325 | wxString const &_result_ref = (arg1)->GetFindString(); | |
16326 | result = (wxString *) &_result_ref; | |
16327 | } | |
16328 | ||
16329 | wxPyEndAllowThreads(__tstate); | |
16330 | if (PyErr_Occurred()) SWIG_fail; | |
16331 | } | |
16332 | { | |
16333 | #if wxUSE_UNICODE | |
16334 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
16335 | #else | |
16336 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
16337 | #endif | |
16338 | } | |
16339 | return resultobj; | |
16340 | fail: | |
16341 | return NULL; | |
16342 | } | |
16343 | ||
16344 | ||
c370783e | 16345 | static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16346 | PyObject *resultobj; |
16347 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
16348 | wxString *result; | |
16349 | PyObject * obj0 = 0 ; | |
16350 | char *kwnames[] = { | |
16351 | (char *) "self", NULL | |
16352 | }; | |
16353 | ||
16354 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
16355 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0); |
16356 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
16357 | { |
16358 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16359 | { | |
16360 | wxString const &_result_ref = (arg1)->GetReplaceString(); | |
16361 | result = (wxString *) &_result_ref; | |
16362 | } | |
16363 | ||
16364 | wxPyEndAllowThreads(__tstate); | |
16365 | if (PyErr_Occurred()) SWIG_fail; | |
16366 | } | |
16367 | { | |
16368 | #if wxUSE_UNICODE | |
16369 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
16370 | #else | |
16371 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
16372 | #endif | |
16373 | } | |
16374 | return resultobj; | |
16375 | fail: | |
16376 | return NULL; | |
16377 | } | |
16378 | ||
16379 | ||
c370783e | 16380 | static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16381 | PyObject *resultobj; |
16382 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
16383 | int result; | |
16384 | PyObject * obj0 = 0 ; | |
16385 | char *kwnames[] = { | |
16386 | (char *) "self", NULL | |
16387 | }; | |
16388 | ||
16389 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
16390 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0); |
16391 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
16392 | { |
16393 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16394 | result = (int)(arg1)->GetFlags(); | |
16395 | ||
16396 | wxPyEndAllowThreads(__tstate); | |
16397 | if (PyErr_Occurred()) SWIG_fail; | |
16398 | } | |
36ed4f51 RD |
16399 | { |
16400 | resultobj = SWIG_From_int((int)(result)); | |
16401 | } | |
d55e5bfc RD |
16402 | return resultobj; |
16403 | fail: | |
16404 | return NULL; | |
16405 | } | |
16406 | ||
16407 | ||
c370783e | 16408 | static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16409 | PyObject *resultobj; |
16410 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
16411 | int arg2 ; | |
16412 | PyObject * obj0 = 0 ; | |
16413 | PyObject * obj1 = 0 ; | |
16414 | char *kwnames[] = { | |
16415 | (char *) "self",(char *) "flags", NULL | |
16416 | }; | |
16417 | ||
16418 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
16419 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0); |
16420 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16421 | { | |
16422 | arg2 = (int)(SWIG_As_int(obj1)); | |
16423 | if (SWIG_arg_fail(2)) SWIG_fail; | |
16424 | } | |
d55e5bfc RD |
16425 | { |
16426 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16427 | (arg1)->SetFlags(arg2); | |
16428 | ||
16429 | wxPyEndAllowThreads(__tstate); | |
16430 | if (PyErr_Occurred()) SWIG_fail; | |
16431 | } | |
16432 | Py_INCREF(Py_None); resultobj = Py_None; | |
16433 | return resultobj; | |
16434 | fail: | |
16435 | return NULL; | |
16436 | } | |
16437 | ||
16438 | ||
c370783e | 16439 | static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16440 | PyObject *resultobj; |
16441 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
16442 | wxString *arg2 = 0 ; | |
b411df4a | 16443 | bool temp2 = false ; |
d55e5bfc RD |
16444 | PyObject * obj0 = 0 ; |
16445 | PyObject * obj1 = 0 ; | |
16446 | char *kwnames[] = { | |
16447 | (char *) "self",(char *) "str", NULL | |
16448 | }; | |
16449 | ||
16450 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
16451 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0); |
16452 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
16453 | { |
16454 | arg2 = wxString_in_helper(obj1); | |
16455 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 16456 | temp2 = true; |
d55e5bfc RD |
16457 | } |
16458 | { | |
16459 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16460 | (arg1)->SetFindString((wxString const &)*arg2); | |
16461 | ||
16462 | wxPyEndAllowThreads(__tstate); | |
16463 | if (PyErr_Occurred()) SWIG_fail; | |
16464 | } | |
16465 | Py_INCREF(Py_None); resultobj = Py_None; | |
16466 | { | |
16467 | if (temp2) | |
16468 | delete arg2; | |
16469 | } | |
16470 | return resultobj; | |
16471 | fail: | |
16472 | { | |
16473 | if (temp2) | |
16474 | delete arg2; | |
16475 | } | |
16476 | return NULL; | |
16477 | } | |
16478 | ||
16479 | ||
c370783e | 16480 | static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16481 | PyObject *resultobj; |
16482 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
16483 | wxString *arg2 = 0 ; | |
b411df4a | 16484 | bool temp2 = false ; |
d55e5bfc RD |
16485 | PyObject * obj0 = 0 ; |
16486 | PyObject * obj1 = 0 ; | |
16487 | char *kwnames[] = { | |
16488 | (char *) "self",(char *) "str", NULL | |
16489 | }; | |
16490 | ||
16491 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
16492 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0); |
16493 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
16494 | { |
16495 | arg2 = wxString_in_helper(obj1); | |
16496 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 16497 | temp2 = true; |
d55e5bfc RD |
16498 | } |
16499 | { | |
16500 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16501 | (arg1)->SetReplaceString((wxString const &)*arg2); | |
16502 | ||
16503 | wxPyEndAllowThreads(__tstate); | |
16504 | if (PyErr_Occurred()) SWIG_fail; | |
16505 | } | |
16506 | Py_INCREF(Py_None); resultobj = Py_None; | |
16507 | { | |
16508 | if (temp2) | |
16509 | delete arg2; | |
16510 | } | |
16511 | return resultobj; | |
16512 | fail: | |
16513 | { | |
16514 | if (temp2) | |
16515 | delete arg2; | |
16516 | } | |
16517 | return NULL; | |
16518 | } | |
16519 | ||
16520 | ||
c370783e | 16521 | static PyObject * FindReplaceData_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
16522 | PyObject *obj; |
16523 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
16524 | SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj); | |
16525 | Py_INCREF(obj); | |
16526 | return Py_BuildValue((char *)""); | |
16527 | } | |
c370783e | 16528 | static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16529 | PyObject *resultobj; |
16530 | wxWindow *arg1 = (wxWindow *) 0 ; | |
16531 | wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ; | |
16532 | wxString *arg3 = 0 ; | |
16533 | int arg4 = (int) 0 ; | |
16534 | wxFindReplaceDialog *result; | |
b411df4a | 16535 | bool temp3 = false ; |
d55e5bfc RD |
16536 | PyObject * obj0 = 0 ; |
16537 | PyObject * obj1 = 0 ; | |
16538 | PyObject * obj2 = 0 ; | |
16539 | PyObject * obj3 = 0 ; | |
16540 | char *kwnames[] = { | |
16541 | (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL | |
16542 | }; | |
16543 | ||
16544 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
36ed4f51 RD |
16545 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
16546 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16547 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0); | |
16548 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
16549 | { |
16550 | arg3 = wxString_in_helper(obj2); | |
16551 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 16552 | temp3 = true; |
d55e5bfc RD |
16553 | } |
16554 | if (obj3) { | |
36ed4f51 RD |
16555 | { |
16556 | arg4 = (int)(SWIG_As_int(obj3)); | |
16557 | if (SWIG_arg_fail(4)) SWIG_fail; | |
16558 | } | |
d55e5bfc RD |
16559 | } |
16560 | { | |
0439c23b | 16561 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
16562 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
16563 | result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4); | |
16564 | ||
16565 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 16566 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
16567 | } |
16568 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1); | |
16569 | { | |
16570 | if (temp3) | |
16571 | delete arg3; | |
16572 | } | |
16573 | return resultobj; | |
16574 | fail: | |
16575 | { | |
16576 | if (temp3) | |
16577 | delete arg3; | |
16578 | } | |
16579 | return NULL; | |
16580 | } | |
16581 | ||
16582 | ||
c370783e | 16583 | static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16584 | PyObject *resultobj; |
16585 | wxFindReplaceDialog *result; | |
16586 | char *kwnames[] = { | |
16587 | NULL | |
16588 | }; | |
16589 | ||
16590 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail; | |
16591 | { | |
0439c23b | 16592 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
16593 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
16594 | result = (wxFindReplaceDialog *)new wxFindReplaceDialog(); | |
16595 | ||
16596 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 16597 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
16598 | } |
16599 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1); | |
16600 | return resultobj; | |
16601 | fail: | |
16602 | return NULL; | |
16603 | } | |
16604 | ||
16605 | ||
c370783e | 16606 | static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16607 | PyObject *resultobj; |
16608 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; | |
16609 | wxWindow *arg2 = (wxWindow *) 0 ; | |
16610 | wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ; | |
16611 | wxString *arg4 = 0 ; | |
16612 | int arg5 = (int) 0 ; | |
16613 | bool result; | |
b411df4a | 16614 | bool temp4 = false ; |
d55e5bfc RD |
16615 | PyObject * obj0 = 0 ; |
16616 | PyObject * obj1 = 0 ; | |
16617 | PyObject * obj2 = 0 ; | |
16618 | PyObject * obj3 = 0 ; | |
16619 | PyObject * obj4 = 0 ; | |
16620 | char *kwnames[] = { | |
16621 | (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL | |
16622 | }; | |
16623 | ||
16624 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
36ed4f51 RD |
16625 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0); |
16626 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16627 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
16628 | if (SWIG_arg_fail(2)) SWIG_fail; | |
16629 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0); | |
16630 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc RD |
16631 | { |
16632 | arg4 = wxString_in_helper(obj3); | |
16633 | if (arg4 == NULL) SWIG_fail; | |
b411df4a | 16634 | temp4 = true; |
d55e5bfc RD |
16635 | } |
16636 | if (obj4) { | |
36ed4f51 RD |
16637 | { |
16638 | arg5 = (int)(SWIG_As_int(obj4)); | |
16639 | if (SWIG_arg_fail(5)) SWIG_fail; | |
16640 | } | |
d55e5bfc RD |
16641 | } |
16642 | { | |
16643 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16644 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5); | |
16645 | ||
16646 | wxPyEndAllowThreads(__tstate); | |
16647 | if (PyErr_Occurred()) SWIG_fail; | |
16648 | } | |
16649 | { | |
16650 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16651 | } | |
16652 | { | |
16653 | if (temp4) | |
16654 | delete arg4; | |
16655 | } | |
16656 | return resultobj; | |
16657 | fail: | |
16658 | { | |
16659 | if (temp4) | |
16660 | delete arg4; | |
16661 | } | |
16662 | return NULL; | |
16663 | } | |
16664 | ||
16665 | ||
c370783e | 16666 | static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16667 | PyObject *resultobj; |
16668 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; | |
16669 | wxFindReplaceData *result; | |
16670 | PyObject * obj0 = 0 ; | |
16671 | char *kwnames[] = { | |
16672 | (char *) "self", NULL | |
16673 | }; | |
16674 | ||
16675 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
16676 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0); |
16677 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
16678 | { |
16679 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16680 | result = (wxFindReplaceData *)(arg1)->GetData(); | |
16681 | ||
16682 | wxPyEndAllowThreads(__tstate); | |
16683 | if (PyErr_Occurred()) SWIG_fail; | |
16684 | } | |
16685 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0); | |
16686 | return resultobj; | |
16687 | fail: | |
16688 | return NULL; | |
16689 | } | |
16690 | ||
16691 | ||
c370783e | 16692 | static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16693 | PyObject *resultobj; |
16694 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; | |
16695 | wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ; | |
16696 | PyObject * obj0 = 0 ; | |
16697 | PyObject * obj1 = 0 ; | |
16698 | char *kwnames[] = { | |
16699 | (char *) "self",(char *) "data", NULL | |
16700 | }; | |
16701 | ||
16702 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
16703 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0); |
16704 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16705 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0); | |
16706 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
16707 | { |
16708 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16709 | (arg1)->SetData(arg2); | |
16710 | ||
16711 | wxPyEndAllowThreads(__tstate); | |
16712 | if (PyErr_Occurred()) SWIG_fail; | |
16713 | } | |
16714 | Py_INCREF(Py_None); resultobj = Py_None; | |
16715 | return resultobj; | |
16716 | fail: | |
16717 | return NULL; | |
16718 | } | |
16719 | ||
16720 | ||
c370783e | 16721 | static PyObject * FindReplaceDialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
16722 | PyObject *obj; |
16723 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
16724 | SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj); | |
16725 | Py_INCREF(obj); | |
16726 | return Py_BuildValue((char *)""); | |
16727 | } | |
c370783e | 16728 | static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16729 | PyObject *resultobj; |
16730 | wxWindow *arg1 = (wxWindow *) 0 ; | |
bfddbb17 RD |
16731 | int arg2 = (int) (int)-1 ; |
16732 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
16733 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
d55e5bfc RD |
16734 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
16735 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
16736 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
16737 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
16738 | long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ; | |
16739 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
16740 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
16741 | wxMDIParentFrame *result; | |
b411df4a | 16742 | bool temp3 = false ; |
d55e5bfc RD |
16743 | wxPoint temp4 ; |
16744 | wxSize temp5 ; | |
b411df4a | 16745 | bool temp7 = false ; |
d55e5bfc RD |
16746 | PyObject * obj0 = 0 ; |
16747 | PyObject * obj1 = 0 ; | |
16748 | PyObject * obj2 = 0 ; | |
16749 | PyObject * obj3 = 0 ; | |
16750 | PyObject * obj4 = 0 ; | |
16751 | PyObject * obj5 = 0 ; | |
16752 | PyObject * obj6 = 0 ; | |
16753 | char *kwnames[] = { | |
16754 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
16755 | }; | |
16756 | ||
bfddbb17 | 16757 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
36ed4f51 RD |
16758 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
16759 | if (SWIG_arg_fail(1)) SWIG_fail; | |
bfddbb17 | 16760 | if (obj1) { |
36ed4f51 RD |
16761 | { |
16762 | arg2 = (int const)(SWIG_As_int(obj1)); | |
16763 | if (SWIG_arg_fail(2)) SWIG_fail; | |
16764 | } | |
bfddbb17 RD |
16765 | } |
16766 | if (obj2) { | |
16767 | { | |
16768 | arg3 = wxString_in_helper(obj2); | |
16769 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 16770 | temp3 = true; |
bfddbb17 | 16771 | } |
d55e5bfc RD |
16772 | } |
16773 | if (obj3) { | |
16774 | { | |
16775 | arg4 = &temp4; | |
16776 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
16777 | } | |
16778 | } | |
16779 | if (obj4) { | |
16780 | { | |
16781 | arg5 = &temp5; | |
16782 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
16783 | } | |
16784 | } | |
16785 | if (obj5) { | |
36ed4f51 RD |
16786 | { |
16787 | arg6 = (long)(SWIG_As_long(obj5)); | |
16788 | if (SWIG_arg_fail(6)) SWIG_fail; | |
16789 | } | |
d55e5bfc RD |
16790 | } |
16791 | if (obj6) { | |
16792 | { | |
16793 | arg7 = wxString_in_helper(obj6); | |
16794 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 16795 | temp7 = true; |
d55e5bfc RD |
16796 | } |
16797 | } | |
16798 | { | |
0439c23b | 16799 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
16800 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
16801 | result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
16802 | ||
16803 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 16804 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
16805 | } |
16806 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1); | |
16807 | { | |
16808 | if (temp3) | |
16809 | delete arg3; | |
16810 | } | |
16811 | { | |
16812 | if (temp7) | |
16813 | delete arg7; | |
16814 | } | |
16815 | return resultobj; | |
16816 | fail: | |
16817 | { | |
16818 | if (temp3) | |
16819 | delete arg3; | |
16820 | } | |
16821 | { | |
16822 | if (temp7) | |
16823 | delete arg7; | |
16824 | } | |
16825 | return NULL; | |
16826 | } | |
16827 | ||
16828 | ||
c370783e | 16829 | static PyObject *_wrap_new_PreMDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16830 | PyObject *resultobj; |
16831 | wxMDIParentFrame *result; | |
16832 | char *kwnames[] = { | |
16833 | NULL | |
16834 | }; | |
16835 | ||
16836 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail; | |
16837 | { | |
0439c23b | 16838 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
16839 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
16840 | result = (wxMDIParentFrame *)new wxMDIParentFrame(); | |
16841 | ||
16842 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 16843 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
16844 | } |
16845 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1); | |
16846 | return resultobj; | |
16847 | fail: | |
16848 | return NULL; | |
16849 | } | |
16850 | ||
16851 | ||
c370783e | 16852 | static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16853 | PyObject *resultobj; |
16854 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
16855 | wxWindow *arg2 = (wxWindow *) 0 ; | |
bfddbb17 RD |
16856 | int arg3 = (int) (int)-1 ; |
16857 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
16858 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
d55e5bfc RD |
16859 | wxPoint const &arg5_defvalue = wxDefaultPosition ; |
16860 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
16861 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
16862 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
16863 | long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ; | |
16864 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
16865 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
16866 | bool result; | |
b411df4a | 16867 | bool temp4 = false ; |
d55e5bfc RD |
16868 | wxPoint temp5 ; |
16869 | wxSize temp6 ; | |
b411df4a | 16870 | bool temp8 = false ; |
d55e5bfc RD |
16871 | PyObject * obj0 = 0 ; |
16872 | PyObject * obj1 = 0 ; | |
16873 | PyObject * obj2 = 0 ; | |
16874 | PyObject * obj3 = 0 ; | |
16875 | PyObject * obj4 = 0 ; | |
16876 | PyObject * obj5 = 0 ; | |
16877 | PyObject * obj6 = 0 ; | |
16878 | PyObject * obj7 = 0 ; | |
16879 | char *kwnames[] = { | |
16880 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
16881 | }; | |
16882 | ||
bfddbb17 | 16883 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
36ed4f51 RD |
16884 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
16885 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16886 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
16887 | if (SWIG_arg_fail(2)) SWIG_fail; | |
bfddbb17 | 16888 | if (obj2) { |
36ed4f51 RD |
16889 | { |
16890 | arg3 = (int const)(SWIG_As_int(obj2)); | |
16891 | if (SWIG_arg_fail(3)) SWIG_fail; | |
16892 | } | |
bfddbb17 RD |
16893 | } |
16894 | if (obj3) { | |
16895 | { | |
16896 | arg4 = wxString_in_helper(obj3); | |
16897 | if (arg4 == NULL) SWIG_fail; | |
b411df4a | 16898 | temp4 = true; |
bfddbb17 | 16899 | } |
d55e5bfc RD |
16900 | } |
16901 | if (obj4) { | |
16902 | { | |
16903 | arg5 = &temp5; | |
16904 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
16905 | } | |
16906 | } | |
16907 | if (obj5) { | |
16908 | { | |
16909 | arg6 = &temp6; | |
16910 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
16911 | } | |
16912 | } | |
16913 | if (obj6) { | |
36ed4f51 RD |
16914 | { |
16915 | arg7 = (long)(SWIG_As_long(obj6)); | |
16916 | if (SWIG_arg_fail(7)) SWIG_fail; | |
16917 | } | |
d55e5bfc RD |
16918 | } |
16919 | if (obj7) { | |
16920 | { | |
16921 | arg8 = wxString_in_helper(obj7); | |
16922 | if (arg8 == NULL) SWIG_fail; | |
b411df4a | 16923 | temp8 = true; |
d55e5bfc RD |
16924 | } |
16925 | } | |
16926 | { | |
16927 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16928 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
16929 | ||
16930 | wxPyEndAllowThreads(__tstate); | |
16931 | if (PyErr_Occurred()) SWIG_fail; | |
16932 | } | |
16933 | { | |
16934 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16935 | } | |
16936 | { | |
16937 | if (temp4) | |
16938 | delete arg4; | |
16939 | } | |
16940 | { | |
16941 | if (temp8) | |
16942 | delete arg8; | |
16943 | } | |
16944 | return resultobj; | |
16945 | fail: | |
16946 | { | |
16947 | if (temp4) | |
16948 | delete arg4; | |
16949 | } | |
16950 | { | |
16951 | if (temp8) | |
16952 | delete arg8; | |
16953 | } | |
16954 | return NULL; | |
16955 | } | |
16956 | ||
16957 | ||
c370783e | 16958 | static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16959 | PyObject *resultobj; |
16960 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
16961 | PyObject * obj0 = 0 ; | |
16962 | char *kwnames[] = { | |
16963 | (char *) "self", NULL | |
16964 | }; | |
16965 | ||
16966 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
16967 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
16968 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
16969 | { |
16970 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16971 | (arg1)->ActivateNext(); | |
16972 | ||
16973 | wxPyEndAllowThreads(__tstate); | |
16974 | if (PyErr_Occurred()) SWIG_fail; | |
16975 | } | |
16976 | Py_INCREF(Py_None); resultobj = Py_None; | |
16977 | return resultobj; | |
16978 | fail: | |
16979 | return NULL; | |
16980 | } | |
16981 | ||
16982 | ||
c370783e | 16983 | static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16984 | PyObject *resultobj; |
16985 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
16986 | PyObject * obj0 = 0 ; | |
16987 | char *kwnames[] = { | |
16988 | (char *) "self", NULL | |
16989 | }; | |
16990 | ||
16991 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
16992 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
16993 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
16994 | { |
16995 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16996 | (arg1)->ActivatePrevious(); | |
16997 | ||
16998 | wxPyEndAllowThreads(__tstate); | |
16999 | if (PyErr_Occurred()) SWIG_fail; | |
17000 | } | |
17001 | Py_INCREF(Py_None); resultobj = Py_None; | |
17002 | return resultobj; | |
17003 | fail: | |
17004 | return NULL; | |
17005 | } | |
17006 | ||
17007 | ||
c370783e | 17008 | static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17009 | PyObject *resultobj; |
17010 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
17011 | PyObject * obj0 = 0 ; | |
17012 | char *kwnames[] = { | |
17013 | (char *) "self", NULL | |
17014 | }; | |
17015 | ||
17016 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
17017 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
17018 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
17019 | { |
17020 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17021 | (arg1)->ArrangeIcons(); | |
17022 | ||
17023 | wxPyEndAllowThreads(__tstate); | |
17024 | if (PyErr_Occurred()) SWIG_fail; | |
17025 | } | |
17026 | Py_INCREF(Py_None); resultobj = Py_None; | |
17027 | return resultobj; | |
17028 | fail: | |
17029 | return NULL; | |
17030 | } | |
17031 | ||
17032 | ||
c370783e | 17033 | static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17034 | PyObject *resultobj; |
17035 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
17036 | PyObject * obj0 = 0 ; | |
17037 | char *kwnames[] = { | |
17038 | (char *) "self", NULL | |
17039 | }; | |
17040 | ||
17041 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
17042 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
17043 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
17044 | { |
17045 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17046 | (arg1)->Cascade(); | |
17047 | ||
17048 | wxPyEndAllowThreads(__tstate); | |
17049 | if (PyErr_Occurred()) SWIG_fail; | |
17050 | } | |
17051 | Py_INCREF(Py_None); resultobj = Py_None; | |
17052 | return resultobj; | |
17053 | fail: | |
17054 | return NULL; | |
17055 | } | |
17056 | ||
17057 | ||
c370783e | 17058 | static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17059 | PyObject *resultobj; |
17060 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
17061 | wxMDIChildFrame *result; | |
17062 | PyObject * obj0 = 0 ; | |
17063 | char *kwnames[] = { | |
17064 | (char *) "self", NULL | |
17065 | }; | |
17066 | ||
17067 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
17068 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
17069 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
17070 | { |
17071 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17072 | result = (wxMDIChildFrame *)(arg1)->GetActiveChild(); | |
17073 | ||
17074 | wxPyEndAllowThreads(__tstate); | |
17075 | if (PyErr_Occurred()) SWIG_fail; | |
17076 | } | |
17077 | { | |
412d302d | 17078 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
17079 | } |
17080 | return resultobj; | |
17081 | fail: | |
17082 | return NULL; | |
17083 | } | |
17084 | ||
17085 | ||
c370783e | 17086 | static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17087 | PyObject *resultobj; |
17088 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
17089 | wxMDIClientWindow *result; | |
17090 | PyObject * obj0 = 0 ; | |
17091 | char *kwnames[] = { | |
17092 | (char *) "self", NULL | |
17093 | }; | |
17094 | ||
17095 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
17096 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
17097 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
17098 | { |
17099 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17100 | result = (wxMDIClientWindow *)(arg1)->GetClientWindow(); | |
17101 | ||
17102 | wxPyEndAllowThreads(__tstate); | |
17103 | if (PyErr_Occurred()) SWIG_fail; | |
17104 | } | |
17105 | { | |
412d302d | 17106 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
17107 | } |
17108 | return resultobj; | |
17109 | fail: | |
17110 | return NULL; | |
17111 | } | |
17112 | ||
17113 | ||
c370783e | 17114 | static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17115 | PyObject *resultobj; |
17116 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
17117 | wxWindow *result; | |
17118 | PyObject * obj0 = 0 ; | |
17119 | char *kwnames[] = { | |
17120 | (char *) "self", NULL | |
17121 | }; | |
17122 | ||
17123 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
17124 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
17125 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
17126 | { |
17127 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17128 | result = (wxWindow *)(arg1)->GetToolBar(); | |
17129 | ||
17130 | wxPyEndAllowThreads(__tstate); | |
17131 | if (PyErr_Occurred()) SWIG_fail; | |
17132 | } | |
17133 | { | |
412d302d | 17134 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
17135 | } |
17136 | return resultobj; | |
17137 | fail: | |
17138 | return NULL; | |
17139 | } | |
17140 | ||
17141 | ||
c370783e | 17142 | static PyObject *_wrap_MDIParentFrame_Tile(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17143 | PyObject *resultobj; |
17144 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
3837a853 | 17145 | wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ; |
d55e5bfc | 17146 | PyObject * obj0 = 0 ; |
3837a853 | 17147 | PyObject * obj1 = 0 ; |
d55e5bfc | 17148 | char *kwnames[] = { |
3837a853 | 17149 | (char *) "self",(char *) "orient", NULL |
d55e5bfc RD |
17150 | }; |
17151 | ||
3837a853 | 17152 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) goto fail; |
36ed4f51 RD |
17153 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
17154 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3837a853 RD |
17155 | if (obj1) { |
17156 | { | |
17157 | arg2 = (wxOrientation)(SWIG_As_int(obj1)); | |
17158 | if (SWIG_arg_fail(2)) SWIG_fail; | |
17159 | } | |
17160 | } | |
d55e5bfc RD |
17161 | { |
17162 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3837a853 | 17163 | (arg1)->Tile((wxOrientation )arg2); |
d55e5bfc RD |
17164 | |
17165 | wxPyEndAllowThreads(__tstate); | |
17166 | if (PyErr_Occurred()) SWIG_fail; | |
17167 | } | |
17168 | Py_INCREF(Py_None); resultobj = Py_None; | |
17169 | return resultobj; | |
17170 | fail: | |
17171 | return NULL; | |
17172 | } | |
17173 | ||
17174 | ||
c370783e | 17175 | static PyObject * MDIParentFrame_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
17176 | PyObject *obj; |
17177 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
17178 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj); | |
17179 | Py_INCREF(obj); | |
17180 | return Py_BuildValue((char *)""); | |
17181 | } | |
c370783e | 17182 | static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17183 | PyObject *resultobj; |
17184 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
bfddbb17 RD |
17185 | int arg2 = (int) (int)-1 ; |
17186 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
17187 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
d55e5bfc RD |
17188 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
17189 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
17190 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
17191 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
17192 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
17193 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
17194 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
17195 | wxMDIChildFrame *result; | |
b411df4a | 17196 | bool temp3 = false ; |
d55e5bfc RD |
17197 | wxPoint temp4 ; |
17198 | wxSize temp5 ; | |
b411df4a | 17199 | bool temp7 = false ; |
d55e5bfc RD |
17200 | PyObject * obj0 = 0 ; |
17201 | PyObject * obj1 = 0 ; | |
17202 | PyObject * obj2 = 0 ; | |
17203 | PyObject * obj3 = 0 ; | |
17204 | PyObject * obj4 = 0 ; | |
17205 | PyObject * obj5 = 0 ; | |
17206 | PyObject * obj6 = 0 ; | |
17207 | char *kwnames[] = { | |
17208 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
17209 | }; | |
17210 | ||
bfddbb17 | 17211 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
36ed4f51 RD |
17212 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
17213 | if (SWIG_arg_fail(1)) SWIG_fail; | |
bfddbb17 | 17214 | if (obj1) { |
36ed4f51 RD |
17215 | { |
17216 | arg2 = (int const)(SWIG_As_int(obj1)); | |
17217 | if (SWIG_arg_fail(2)) SWIG_fail; | |
17218 | } | |
bfddbb17 RD |
17219 | } |
17220 | if (obj2) { | |
17221 | { | |
17222 | arg3 = wxString_in_helper(obj2); | |
17223 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 17224 | temp3 = true; |
bfddbb17 | 17225 | } |
d55e5bfc RD |
17226 | } |
17227 | if (obj3) { | |
17228 | { | |
17229 | arg4 = &temp4; | |
17230 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
17231 | } | |
17232 | } | |
17233 | if (obj4) { | |
17234 | { | |
17235 | arg5 = &temp5; | |
17236 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
17237 | } | |
17238 | } | |
17239 | if (obj5) { | |
36ed4f51 RD |
17240 | { |
17241 | arg6 = (long)(SWIG_As_long(obj5)); | |
17242 | if (SWIG_arg_fail(6)) SWIG_fail; | |
17243 | } | |
d55e5bfc RD |
17244 | } |
17245 | if (obj6) { | |
17246 | { | |
17247 | arg7 = wxString_in_helper(obj6); | |
17248 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 17249 | temp7 = true; |
d55e5bfc RD |
17250 | } |
17251 | } | |
17252 | { | |
0439c23b | 17253 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
17254 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
17255 | result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
17256 | ||
17257 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 17258 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 17259 | } |
b0f7404b | 17260 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1); |
d55e5bfc RD |
17261 | { |
17262 | if (temp3) | |
17263 | delete arg3; | |
17264 | } | |
17265 | { | |
17266 | if (temp7) | |
17267 | delete arg7; | |
17268 | } | |
17269 | return resultobj; | |
17270 | fail: | |
17271 | { | |
17272 | if (temp3) | |
17273 | delete arg3; | |
17274 | } | |
17275 | { | |
17276 | if (temp7) | |
17277 | delete arg7; | |
17278 | } | |
17279 | return NULL; | |
17280 | } | |
17281 | ||
17282 | ||
c370783e | 17283 | static PyObject *_wrap_new_PreMDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17284 | PyObject *resultobj; |
17285 | wxMDIChildFrame *result; | |
17286 | char *kwnames[] = { | |
17287 | NULL | |
17288 | }; | |
17289 | ||
17290 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail; | |
17291 | { | |
0439c23b | 17292 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
17293 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
17294 | result = (wxMDIChildFrame *)new wxMDIChildFrame(); | |
17295 | ||
17296 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 17297 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 17298 | } |
b0f7404b | 17299 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1); |
d55e5bfc RD |
17300 | return resultobj; |
17301 | fail: | |
17302 | return NULL; | |
17303 | } | |
17304 | ||
17305 | ||
c370783e | 17306 | static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17307 | PyObject *resultobj; |
17308 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
17309 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
bfddbb17 RD |
17310 | int arg3 = (int) (int)-1 ; |
17311 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
17312 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
d55e5bfc RD |
17313 | wxPoint const &arg5_defvalue = wxDefaultPosition ; |
17314 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
17315 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
17316 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
17317 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
17318 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
17319 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
17320 | bool result; | |
b411df4a | 17321 | bool temp4 = false ; |
d55e5bfc RD |
17322 | wxPoint temp5 ; |
17323 | wxSize temp6 ; | |
b411df4a | 17324 | bool temp8 = false ; |
d55e5bfc RD |
17325 | PyObject * obj0 = 0 ; |
17326 | PyObject * obj1 = 0 ; | |
17327 | PyObject * obj2 = 0 ; | |
17328 | PyObject * obj3 = 0 ; | |
17329 | PyObject * obj4 = 0 ; | |
17330 | PyObject * obj5 = 0 ; | |
17331 | PyObject * obj6 = 0 ; | |
17332 | PyObject * obj7 = 0 ; | |
17333 | char *kwnames[] = { | |
17334 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
17335 | }; | |
17336 | ||
bfddbb17 | 17337 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
36ed4f51 RD |
17338 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0); |
17339 | if (SWIG_arg_fail(1)) SWIG_fail; | |
17340 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); | |
17341 | if (SWIG_arg_fail(2)) SWIG_fail; | |
bfddbb17 | 17342 | if (obj2) { |
36ed4f51 RD |
17343 | { |
17344 | arg3 = (int const)(SWIG_As_int(obj2)); | |
17345 | if (SWIG_arg_fail(3)) SWIG_fail; | |
17346 | } | |
bfddbb17 RD |
17347 | } |
17348 | if (obj3) { | |
17349 | { | |
17350 | arg4 = wxString_in_helper(obj3); | |
17351 | if (arg4 == NULL) SWIG_fail; | |
b411df4a | 17352 | temp4 = true; |
bfddbb17 | 17353 | } |
d55e5bfc RD |
17354 | } |
17355 | if (obj4) { | |
17356 | { | |
17357 | arg5 = &temp5; | |
17358 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
17359 | } | |
17360 | } | |
17361 | if (obj5) { | |
17362 | { | |
17363 | arg6 = &temp6; | |
17364 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
17365 | } | |
17366 | } | |
17367 | if (obj6) { | |
36ed4f51 RD |
17368 | { |
17369 | arg7 = (long)(SWIG_As_long(obj6)); | |
17370 | if (SWIG_arg_fail(7)) SWIG_fail; | |
17371 | } | |
d55e5bfc RD |
17372 | } |
17373 | if (obj7) { | |
17374 | { | |
17375 | arg8 = wxString_in_helper(obj7); | |
17376 | if (arg8 == NULL) SWIG_fail; | |
b411df4a | 17377 | temp8 = true; |
d55e5bfc RD |
17378 | } |
17379 | } | |
17380 | { | |
17381 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17382 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
17383 | ||
17384 | wxPyEndAllowThreads(__tstate); | |
17385 | if (PyErr_Occurred()) SWIG_fail; | |
17386 | } | |
17387 | { | |
17388 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17389 | } | |
17390 | { | |
17391 | if (temp4) | |
17392 | delete arg4; | |
17393 | } | |
17394 | { | |
17395 | if (temp8) | |
17396 | delete arg8; | |
17397 | } | |
17398 | return resultobj; | |
17399 | fail: | |
17400 | { | |
17401 | if (temp4) | |
17402 | delete arg4; | |
17403 | } | |
17404 | { | |
17405 | if (temp8) | |
17406 | delete arg8; | |
17407 | } | |
17408 | return NULL; | |
17409 | } | |
17410 | ||
17411 | ||
c370783e | 17412 | static PyObject *_wrap_MDIChildFrame_Activate(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17413 | PyObject *resultobj; |
17414 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
17415 | PyObject * obj0 = 0 ; | |
17416 | char *kwnames[] = { | |
17417 | (char *) "self", NULL | |
17418 | }; | |
17419 | ||
17420 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
17421 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0); |
17422 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
17423 | { |
17424 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17425 | (arg1)->Activate(); | |
17426 | ||
17427 | wxPyEndAllowThreads(__tstate); | |
17428 | if (PyErr_Occurred()) SWIG_fail; | |
17429 | } | |
17430 | Py_INCREF(Py_None); resultobj = Py_None; | |
17431 | return resultobj; | |
17432 | fail: | |
17433 | return NULL; | |
17434 | } | |
17435 | ||
17436 | ||
c370783e | 17437 | static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17438 | PyObject *resultobj; |
17439 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
5cbf236d | 17440 | bool arg2 = (bool) true ; |
d55e5bfc RD |
17441 | PyObject * obj0 = 0 ; |
17442 | PyObject * obj1 = 0 ; | |
17443 | char *kwnames[] = { | |
17444 | (char *) "self",(char *) "maximize", NULL | |
17445 | }; | |
17446 | ||
5cbf236d | 17447 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail; |
36ed4f51 RD |
17448 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0); |
17449 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5cbf236d | 17450 | if (obj1) { |
36ed4f51 RD |
17451 | { |
17452 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
17453 | if (SWIG_arg_fail(2)) SWIG_fail; | |
17454 | } | |
5cbf236d | 17455 | } |
d55e5bfc RD |
17456 | { |
17457 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17458 | (arg1)->Maximize(arg2); | |
17459 | ||
17460 | wxPyEndAllowThreads(__tstate); | |
17461 | if (PyErr_Occurred()) SWIG_fail; | |
17462 | } | |
17463 | Py_INCREF(Py_None); resultobj = Py_None; | |
17464 | return resultobj; | |
17465 | fail: | |
17466 | return NULL; | |
17467 | } | |
17468 | ||
17469 | ||
c370783e | 17470 | static PyObject *_wrap_MDIChildFrame_Restore(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17471 | PyObject *resultobj; |
17472 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
17473 | PyObject * obj0 = 0 ; | |
17474 | char *kwnames[] = { | |
17475 | (char *) "self", NULL | |
17476 | }; | |
17477 | ||
17478 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
17479 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0); |
17480 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
17481 | { |
17482 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17483 | (arg1)->Restore(); | |
17484 | ||
17485 | wxPyEndAllowThreads(__tstate); | |
17486 | if (PyErr_Occurred()) SWIG_fail; | |
17487 | } | |
17488 | Py_INCREF(Py_None); resultobj = Py_None; | |
17489 | return resultobj; | |
17490 | fail: | |
17491 | return NULL; | |
17492 | } | |
17493 | ||
17494 | ||
c370783e | 17495 | static PyObject * MDIChildFrame_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
17496 | PyObject *obj; |
17497 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
17498 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj); | |
17499 | Py_INCREF(obj); | |
17500 | return Py_BuildValue((char *)""); | |
17501 | } | |
c370783e | 17502 | static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17503 | PyObject *resultobj; |
17504 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
17505 | long arg2 = (long) 0 ; | |
17506 | wxMDIClientWindow *result; | |
17507 | PyObject * obj0 = 0 ; | |
17508 | PyObject * obj1 = 0 ; | |
17509 | char *kwnames[] = { | |
17510 | (char *) "parent",(char *) "style", NULL | |
17511 | }; | |
17512 | ||
17513 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
17514 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
17515 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 17516 | if (obj1) { |
36ed4f51 RD |
17517 | { |
17518 | arg2 = (long)(SWIG_As_long(obj1)); | |
17519 | if (SWIG_arg_fail(2)) SWIG_fail; | |
17520 | } | |
d55e5bfc RD |
17521 | } |
17522 | { | |
0439c23b | 17523 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
17524 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
17525 | result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2); | |
17526 | ||
17527 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 17528 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 17529 | } |
b0f7404b | 17530 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1); |
d55e5bfc RD |
17531 | return resultobj; |
17532 | fail: | |
17533 | return NULL; | |
17534 | } | |
17535 | ||
17536 | ||
c370783e | 17537 | static PyObject *_wrap_new_PreMDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17538 | PyObject *resultobj; |
17539 | wxMDIClientWindow *result; | |
17540 | char *kwnames[] = { | |
17541 | NULL | |
17542 | }; | |
17543 | ||
17544 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail; | |
17545 | { | |
0439c23b | 17546 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
17547 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
17548 | result = (wxMDIClientWindow *)new wxMDIClientWindow(); | |
17549 | ||
17550 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 17551 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 17552 | } |
b0f7404b | 17553 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1); |
d55e5bfc RD |
17554 | return resultobj; |
17555 | fail: | |
17556 | return NULL; | |
17557 | } | |
17558 | ||
17559 | ||
c370783e | 17560 | static PyObject *_wrap_MDIClientWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17561 | PyObject *resultobj; |
17562 | wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ; | |
17563 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
17564 | long arg3 = (long) 0 ; | |
17565 | bool result; | |
17566 | PyObject * obj0 = 0 ; | |
17567 | PyObject * obj1 = 0 ; | |
17568 | PyObject * obj2 = 0 ; | |
17569 | char *kwnames[] = { | |
17570 | (char *) "self",(char *) "parent",(char *) "style", NULL | |
17571 | }; | |
17572 | ||
17573 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
17574 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_EXCEPTION | 0); |
17575 | if (SWIG_arg_fail(1)) SWIG_fail; | |
17576 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); | |
17577 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc | 17578 | if (obj2) { |
36ed4f51 RD |
17579 | { |
17580 | arg3 = (long)(SWIG_As_long(obj2)); | |
17581 | if (SWIG_arg_fail(3)) SWIG_fail; | |
17582 | } | |
d55e5bfc RD |
17583 | } |
17584 | { | |
17585 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17586 | result = (bool)(arg1)->Create(arg2,arg3); | |
17587 | ||
17588 | wxPyEndAllowThreads(__tstate); | |
17589 | if (PyErr_Occurred()) SWIG_fail; | |
17590 | } | |
17591 | { | |
17592 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17593 | } | |
17594 | return resultobj; | |
17595 | fail: | |
17596 | return NULL; | |
17597 | } | |
17598 | ||
17599 | ||
c370783e | 17600 | static PyObject * MDIClientWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
17601 | PyObject *obj; |
17602 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
17603 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj); | |
17604 | Py_INCREF(obj); | |
17605 | return Py_BuildValue((char *)""); | |
17606 | } | |
c370783e | 17607 | static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17608 | PyObject *resultobj; |
17609 | wxWindow *arg1 = (wxWindow *) 0 ; | |
bfddbb17 | 17610 | int arg2 = (int) (int)-1 ; |
d55e5bfc RD |
17611 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
17612 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
17613 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
17614 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
17615 | long arg5 = (long) 0 ; | |
17616 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
17617 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
17618 | wxPyWindow *result; | |
17619 | wxPoint temp3 ; | |
17620 | wxSize temp4 ; | |
b411df4a | 17621 | bool temp6 = false ; |
d55e5bfc RD |
17622 | PyObject * obj0 = 0 ; |
17623 | PyObject * obj1 = 0 ; | |
17624 | PyObject * obj2 = 0 ; | |
17625 | PyObject * obj3 = 0 ; | |
17626 | PyObject * obj4 = 0 ; | |
17627 | PyObject * obj5 = 0 ; | |
17628 | char *kwnames[] = { | |
17629 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
17630 | }; | |
17631 | ||
bfddbb17 | 17632 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
36ed4f51 RD |
17633 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
17634 | if (SWIG_arg_fail(1)) SWIG_fail; | |
bfddbb17 | 17635 | if (obj1) { |
36ed4f51 RD |
17636 | { |
17637 | arg2 = (int const)(SWIG_As_int(obj1)); | |
17638 | if (SWIG_arg_fail(2)) SWIG_fail; | |
17639 | } | |
bfddbb17 | 17640 | } |
d55e5bfc RD |
17641 | if (obj2) { |
17642 | { | |
17643 | arg3 = &temp3; | |
17644 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
17645 | } | |
17646 | } | |
17647 | if (obj3) { | |
17648 | { | |
17649 | arg4 = &temp4; | |
17650 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
17651 | } | |
17652 | } | |
17653 | if (obj4) { | |
36ed4f51 RD |
17654 | { |
17655 | arg5 = (long)(SWIG_As_long(obj4)); | |
17656 | if (SWIG_arg_fail(5)) SWIG_fail; | |
17657 | } | |
d55e5bfc RD |
17658 | } |
17659 | if (obj5) { | |
17660 | { | |
17661 | arg6 = wxString_in_helper(obj5); | |
17662 | if (arg6 == NULL) SWIG_fail; | |
b411df4a | 17663 | temp6 = true; |
d55e5bfc RD |
17664 | } |
17665 | } | |
17666 | { | |
0439c23b | 17667 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
17668 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
17669 | result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
17670 | ||
17671 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 17672 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
17673 | } |
17674 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1); | |
17675 | { | |
17676 | if (temp6) | |
17677 | delete arg6; | |
17678 | } | |
17679 | return resultobj; | |
17680 | fail: | |
17681 | { | |
17682 | if (temp6) | |
17683 | delete arg6; | |
17684 | } | |
17685 | return NULL; | |
17686 | } | |
17687 | ||
17688 | ||
c370783e | 17689 | static PyObject *_wrap_new_PrePyWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17690 | PyObject *resultobj; |
17691 | wxPyWindow *result; | |
17692 | char *kwnames[] = { | |
17693 | NULL | |
17694 | }; | |
17695 | ||
17696 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail; | |
17697 | { | |
0439c23b | 17698 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
17699 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
17700 | result = (wxPyWindow *)new wxPyWindow(); | |
17701 | ||
17702 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 17703 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
17704 | } |
17705 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1); | |
17706 | return resultobj; | |
17707 | fail: | |
17708 | return NULL; | |
17709 | } | |
17710 | ||
17711 | ||
c370783e | 17712 | static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17713 | PyObject *resultobj; |
17714 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
17715 | PyObject *arg2 = (PyObject *) 0 ; | |
17716 | PyObject *arg3 = (PyObject *) 0 ; | |
17717 | PyObject * obj0 = 0 ; | |
17718 | PyObject * obj1 = 0 ; | |
17719 | PyObject * obj2 = 0 ; | |
17720 | char *kwnames[] = { | |
17721 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
17722 | }; | |
17723 | ||
17724 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
17725 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
17726 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
17727 | arg2 = obj1; |
17728 | arg3 = obj2; | |
17729 | { | |
17730 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17731 | (arg1)->_setCallbackInfo(arg2,arg3); | |
17732 | ||
17733 | wxPyEndAllowThreads(__tstate); | |
17734 | if (PyErr_Occurred()) SWIG_fail; | |
17735 | } | |
17736 | Py_INCREF(Py_None); resultobj = Py_None; | |
17737 | return resultobj; | |
17738 | fail: | |
17739 | return NULL; | |
17740 | } | |
17741 | ||
17742 | ||
c370783e | 17743 | static PyObject *_wrap_PyWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { |
a5ee0656 RD |
17744 | PyObject *resultobj; |
17745 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
17746 | wxSize *arg2 = 0 ; | |
17747 | wxSize temp2 ; | |
17748 | PyObject * obj0 = 0 ; | |
17749 | PyObject * obj1 = 0 ; | |
17750 | char *kwnames[] = { | |
17751 | (char *) "self",(char *) "size", NULL | |
17752 | }; | |
17753 | ||
17754 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
17755 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
17756 | if (SWIG_arg_fail(1)) SWIG_fail; | |
a5ee0656 RD |
17757 | { |
17758 | arg2 = &temp2; | |
17759 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
17760 | } | |
17761 | { | |
17762 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17763 | (arg1)->SetBestSize((wxSize const &)*arg2); | |
17764 | ||
17765 | wxPyEndAllowThreads(__tstate); | |
17766 | if (PyErr_Occurred()) SWIG_fail; | |
17767 | } | |
17768 | Py_INCREF(Py_None); resultobj = Py_None; | |
17769 | return resultobj; | |
17770 | fail: | |
17771 | return NULL; | |
17772 | } | |
17773 | ||
17774 | ||
976dbff5 RD |
17775 | static PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
17776 | PyObject *resultobj; | |
17777 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
17778 | wxDC *arg2 = (wxDC *) 0 ; | |
17779 | bool result; | |
17780 | PyObject * obj0 = 0 ; | |
17781 | PyObject * obj1 = 0 ; | |
17782 | char *kwnames[] = { | |
17783 | (char *) "self",(char *) "dc", NULL | |
17784 | }; | |
17785 | ||
17786 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail; | |
17787 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); | |
17788 | if (SWIG_arg_fail(1)) SWIG_fail; | |
17789 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); | |
17790 | if (SWIG_arg_fail(2)) SWIG_fail; | |
17791 | { | |
17792 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17793 | result = (bool)(arg1)->DoEraseBackground(arg2); | |
17794 | ||
17795 | wxPyEndAllowThreads(__tstate); | |
17796 | if (PyErr_Occurred()) SWIG_fail; | |
17797 | } | |
17798 | { | |
17799 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17800 | } | |
17801 | return resultobj; | |
17802 | fail: | |
17803 | return NULL; | |
17804 | } | |
17805 | ||
17806 | ||
c370783e | 17807 | static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17808 | PyObject *resultobj; |
17809 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
17810 | int arg2 ; | |
17811 | int arg3 ; | |
17812 | int arg4 ; | |
17813 | int arg5 ; | |
17814 | PyObject * obj0 = 0 ; | |
17815 | PyObject * obj1 = 0 ; | |
17816 | PyObject * obj2 = 0 ; | |
17817 | PyObject * obj3 = 0 ; | |
17818 | PyObject * obj4 = 0 ; | |
17819 | char *kwnames[] = { | |
17820 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL | |
17821 | }; | |
17822 | ||
17823 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
36ed4f51 RD |
17824 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
17825 | if (SWIG_arg_fail(1)) SWIG_fail; | |
17826 | { | |
17827 | arg2 = (int)(SWIG_As_int(obj1)); | |
17828 | if (SWIG_arg_fail(2)) SWIG_fail; | |
17829 | } | |
17830 | { | |
17831 | arg3 = (int)(SWIG_As_int(obj2)); | |
17832 | if (SWIG_arg_fail(3)) SWIG_fail; | |
17833 | } | |
17834 | { | |
17835 | arg4 = (int)(SWIG_As_int(obj3)); | |
17836 | if (SWIG_arg_fail(4)) SWIG_fail; | |
17837 | } | |
17838 | { | |
17839 | arg5 = (int)(SWIG_As_int(obj4)); | |
17840 | if (SWIG_arg_fail(5)) SWIG_fail; | |
17841 | } | |
d55e5bfc RD |
17842 | { |
17843 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17844 | (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5); | |
17845 | ||
17846 | wxPyEndAllowThreads(__tstate); | |
17847 | if (PyErr_Occurred()) SWIG_fail; | |
17848 | } | |
17849 | Py_INCREF(Py_None); resultobj = Py_None; | |
17850 | return resultobj; | |
17851 | fail: | |
17852 | return NULL; | |
17853 | } | |
17854 | ||
17855 | ||
c370783e | 17856 | static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17857 | PyObject *resultobj; |
17858 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
17859 | int arg2 ; | |
17860 | int arg3 ; | |
17861 | int arg4 ; | |
17862 | int arg5 ; | |
17863 | int arg6 = (int) wxSIZE_AUTO ; | |
17864 | PyObject * obj0 = 0 ; | |
17865 | PyObject * obj1 = 0 ; | |
17866 | PyObject * obj2 = 0 ; | |
17867 | PyObject * obj3 = 0 ; | |
17868 | PyObject * obj4 = 0 ; | |
17869 | PyObject * obj5 = 0 ; | |
17870 | char *kwnames[] = { | |
17871 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL | |
17872 | }; | |
17873 | ||
17874 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
36ed4f51 RD |
17875 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
17876 | if (SWIG_arg_fail(1)) SWIG_fail; | |
17877 | { | |
17878 | arg2 = (int)(SWIG_As_int(obj1)); | |
17879 | if (SWIG_arg_fail(2)) SWIG_fail; | |
17880 | } | |
17881 | { | |
17882 | arg3 = (int)(SWIG_As_int(obj2)); | |
17883 | if (SWIG_arg_fail(3)) SWIG_fail; | |
17884 | } | |
17885 | { | |
17886 | arg4 = (int)(SWIG_As_int(obj3)); | |
17887 | if (SWIG_arg_fail(4)) SWIG_fail; | |
17888 | } | |
17889 | { | |
17890 | arg5 = (int)(SWIG_As_int(obj4)); | |
17891 | if (SWIG_arg_fail(5)) SWIG_fail; | |
17892 | } | |
d55e5bfc | 17893 | if (obj5) { |
36ed4f51 RD |
17894 | { |
17895 | arg6 = (int)(SWIG_As_int(obj5)); | |
17896 | if (SWIG_arg_fail(6)) SWIG_fail; | |
17897 | } | |
d55e5bfc RD |
17898 | } |
17899 | { | |
17900 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17901 | (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6); | |
17902 | ||
17903 | wxPyEndAllowThreads(__tstate); | |
17904 | if (PyErr_Occurred()) SWIG_fail; | |
17905 | } | |
17906 | Py_INCREF(Py_None); resultobj = Py_None; | |
17907 | return resultobj; | |
17908 | fail: | |
17909 | return NULL; | |
17910 | } | |
17911 | ||
17912 | ||
c370783e | 17913 | static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17914 | PyObject *resultobj; |
17915 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
17916 | int arg2 ; | |
17917 | int arg3 ; | |
17918 | PyObject * obj0 = 0 ; | |
17919 | PyObject * obj1 = 0 ; | |
17920 | PyObject * obj2 = 0 ; | |
17921 | char *kwnames[] = { | |
17922 | (char *) "self",(char *) "width",(char *) "height", NULL | |
17923 | }; | |
17924 | ||
17925 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
17926 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
17927 | if (SWIG_arg_fail(1)) SWIG_fail; | |
17928 | { | |
17929 | arg2 = (int)(SWIG_As_int(obj1)); | |
17930 | if (SWIG_arg_fail(2)) SWIG_fail; | |
17931 | } | |
17932 | { | |
17933 | arg3 = (int)(SWIG_As_int(obj2)); | |
17934 | if (SWIG_arg_fail(3)) SWIG_fail; | |
17935 | } | |
d55e5bfc RD |
17936 | { |
17937 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17938 | (arg1)->base_DoSetClientSize(arg2,arg3); | |
17939 | ||
17940 | wxPyEndAllowThreads(__tstate); | |
17941 | if (PyErr_Occurred()) SWIG_fail; | |
17942 | } | |
17943 | Py_INCREF(Py_None); resultobj = Py_None; | |
17944 | return resultobj; | |
17945 | fail: | |
17946 | return NULL; | |
17947 | } | |
17948 | ||
17949 | ||
c370783e | 17950 | static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17951 | PyObject *resultobj; |
17952 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
17953 | int arg2 ; | |
17954 | int arg3 ; | |
17955 | PyObject * obj0 = 0 ; | |
17956 | PyObject * obj1 = 0 ; | |
17957 | PyObject * obj2 = 0 ; | |
17958 | char *kwnames[] = { | |
17959 | (char *) "self",(char *) "x",(char *) "y", NULL | |
17960 | }; | |
17961 | ||
17962 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
17963 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
17964 | if (SWIG_arg_fail(1)) SWIG_fail; | |
17965 | { | |
17966 | arg2 = (int)(SWIG_As_int(obj1)); | |
17967 | if (SWIG_arg_fail(2)) SWIG_fail; | |
17968 | } | |
17969 | { | |
17970 | arg3 = (int)(SWIG_As_int(obj2)); | |
17971 | if (SWIG_arg_fail(3)) SWIG_fail; | |
17972 | } | |
d55e5bfc RD |
17973 | { |
17974 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17975 | (arg1)->base_DoSetVirtualSize(arg2,arg3); | |
17976 | ||
17977 | wxPyEndAllowThreads(__tstate); | |
17978 | if (PyErr_Occurred()) SWIG_fail; | |
17979 | } | |
17980 | Py_INCREF(Py_None); resultobj = Py_None; | |
17981 | return resultobj; | |
17982 | fail: | |
17983 | return NULL; | |
17984 | } | |
17985 | ||
17986 | ||
c370783e | 17987 | static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17988 | PyObject *resultobj; |
17989 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
17990 | int *arg2 = (int *) 0 ; | |
17991 | int *arg3 = (int *) 0 ; | |
17992 | int temp2 ; | |
c370783e | 17993 | int res2 = 0 ; |
d55e5bfc | 17994 | int temp3 ; |
c370783e | 17995 | int res3 = 0 ; |
d55e5bfc RD |
17996 | PyObject * obj0 = 0 ; |
17997 | char *kwnames[] = { | |
17998 | (char *) "self", NULL | |
17999 | }; | |
18000 | ||
c370783e RD |
18001 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
18002 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc | 18003 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
18004 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18005 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18006 | { |
18007 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18008 | ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3); | |
18009 | ||
18010 | wxPyEndAllowThreads(__tstate); | |
18011 | if (PyErr_Occurred()) SWIG_fail; | |
18012 | } | |
18013 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
18014 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
18015 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
18016 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
18017 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
18018 | return resultobj; |
18019 | fail: | |
18020 | return NULL; | |
18021 | } | |
18022 | ||
18023 | ||
c370783e | 18024 | static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18025 | PyObject *resultobj; |
18026 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
18027 | int *arg2 = (int *) 0 ; | |
18028 | int *arg3 = (int *) 0 ; | |
18029 | int temp2 ; | |
c370783e | 18030 | int res2 = 0 ; |
d55e5bfc | 18031 | int temp3 ; |
c370783e | 18032 | int res3 = 0 ; |
d55e5bfc RD |
18033 | PyObject * obj0 = 0 ; |
18034 | char *kwnames[] = { | |
18035 | (char *) "self", NULL | |
18036 | }; | |
18037 | ||
c370783e RD |
18038 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
18039 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc | 18040 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
18041 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18042 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18043 | { |
18044 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18045 | ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3); | |
18046 | ||
18047 | wxPyEndAllowThreads(__tstate); | |
18048 | if (PyErr_Occurred()) SWIG_fail; | |
18049 | } | |
18050 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
18051 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
18052 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
18053 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
18054 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
18055 | return resultobj; |
18056 | fail: | |
18057 | return NULL; | |
18058 | } | |
18059 | ||
18060 | ||
c370783e | 18061 | static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18062 | PyObject *resultobj; |
18063 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
18064 | int *arg2 = (int *) 0 ; | |
18065 | int *arg3 = (int *) 0 ; | |
18066 | int temp2 ; | |
c370783e | 18067 | int res2 = 0 ; |
d55e5bfc | 18068 | int temp3 ; |
c370783e | 18069 | int res3 = 0 ; |
d55e5bfc RD |
18070 | PyObject * obj0 = 0 ; |
18071 | char *kwnames[] = { | |
18072 | (char *) "self", NULL | |
18073 | }; | |
18074 | ||
c370783e RD |
18075 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
18076 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc | 18077 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
18078 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18079 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18080 | { |
18081 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18082 | ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3); | |
18083 | ||
18084 | wxPyEndAllowThreads(__tstate); | |
18085 | if (PyErr_Occurred()) SWIG_fail; | |
18086 | } | |
18087 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
18088 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
18089 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
18090 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
18091 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
18092 | return resultobj; |
18093 | fail: | |
18094 | return NULL; | |
18095 | } | |
18096 | ||
18097 | ||
c370783e | 18098 | static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18099 | PyObject *resultobj; |
18100 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
18101 | wxSize result; | |
18102 | PyObject * obj0 = 0 ; | |
18103 | char *kwnames[] = { | |
18104 | (char *) "self", NULL | |
18105 | }; | |
18106 | ||
18107 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
18108 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18109 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18110 | { |
18111 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18112 | result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize(); | |
18113 | ||
18114 | wxPyEndAllowThreads(__tstate); | |
18115 | if (PyErr_Occurred()) SWIG_fail; | |
18116 | } | |
18117 | { | |
18118 | wxSize * resultptr; | |
36ed4f51 | 18119 | resultptr = new wxSize((wxSize &)(result)); |
d55e5bfc RD |
18120 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
18121 | } | |
18122 | return resultobj; | |
18123 | fail: | |
18124 | return NULL; | |
18125 | } | |
18126 | ||
18127 | ||
c370783e | 18128 | static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18129 | PyObject *resultobj; |
18130 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
18131 | wxSize result; | |
18132 | PyObject * obj0 = 0 ; | |
18133 | char *kwnames[] = { | |
18134 | (char *) "self", NULL | |
18135 | }; | |
18136 | ||
18137 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
18138 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18139 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18140 | { |
18141 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18142 | result = ((wxPyWindow const *)arg1)->base_DoGetBestSize(); | |
18143 | ||
18144 | wxPyEndAllowThreads(__tstate); | |
18145 | if (PyErr_Occurred()) SWIG_fail; | |
18146 | } | |
18147 | { | |
18148 | wxSize * resultptr; | |
36ed4f51 | 18149 | resultptr = new wxSize((wxSize &)(result)); |
d55e5bfc RD |
18150 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
18151 | } | |
18152 | return resultobj; | |
18153 | fail: | |
18154 | return NULL; | |
18155 | } | |
18156 | ||
18157 | ||
c370783e | 18158 | static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18159 | PyObject *resultobj; |
18160 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
18161 | PyObject * obj0 = 0 ; | |
18162 | char *kwnames[] = { | |
18163 | (char *) "self", NULL | |
18164 | }; | |
18165 | ||
18166 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
18167 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18168 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18169 | { |
18170 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18171 | (arg1)->base_InitDialog(); | |
18172 | ||
18173 | wxPyEndAllowThreads(__tstate); | |
18174 | if (PyErr_Occurred()) SWIG_fail; | |
18175 | } | |
18176 | Py_INCREF(Py_None); resultobj = Py_None; | |
18177 | return resultobj; | |
18178 | fail: | |
18179 | return NULL; | |
18180 | } | |
18181 | ||
18182 | ||
c370783e | 18183 | static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18184 | PyObject *resultobj; |
18185 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
18186 | bool result; | |
18187 | PyObject * obj0 = 0 ; | |
18188 | char *kwnames[] = { | |
18189 | (char *) "self", NULL | |
18190 | }; | |
18191 | ||
18192 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
18193 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18194 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18195 | { |
18196 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18197 | result = (bool)(arg1)->base_TransferDataToWindow(); | |
18198 | ||
18199 | wxPyEndAllowThreads(__tstate); | |
18200 | if (PyErr_Occurred()) SWIG_fail; | |
18201 | } | |
18202 | { | |
18203 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18204 | } | |
18205 | return resultobj; | |
18206 | fail: | |
18207 | return NULL; | |
18208 | } | |
18209 | ||
18210 | ||
c370783e | 18211 | static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18212 | PyObject *resultobj; |
18213 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
18214 | bool result; | |
18215 | PyObject * obj0 = 0 ; | |
18216 | char *kwnames[] = { | |
18217 | (char *) "self", NULL | |
18218 | }; | |
18219 | ||
18220 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
18221 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18222 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18223 | { |
18224 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18225 | result = (bool)(arg1)->base_TransferDataFromWindow(); | |
18226 | ||
18227 | wxPyEndAllowThreads(__tstate); | |
18228 | if (PyErr_Occurred()) SWIG_fail; | |
18229 | } | |
18230 | { | |
18231 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18232 | } | |
18233 | return resultobj; | |
18234 | fail: | |
18235 | return NULL; | |
18236 | } | |
18237 | ||
18238 | ||
c370783e | 18239 | static PyObject *_wrap_PyWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18240 | PyObject *resultobj; |
18241 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
18242 | bool result; | |
18243 | PyObject * obj0 = 0 ; | |
18244 | char *kwnames[] = { | |
18245 | (char *) "self", NULL | |
18246 | }; | |
18247 | ||
18248 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
18249 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18250 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18251 | { |
18252 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18253 | result = (bool)(arg1)->base_Validate(); | |
18254 | ||
18255 | wxPyEndAllowThreads(__tstate); | |
18256 | if (PyErr_Occurred()) SWIG_fail; | |
18257 | } | |
18258 | { | |
18259 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18260 | } | |
18261 | return resultobj; | |
18262 | fail: | |
18263 | return NULL; | |
18264 | } | |
18265 | ||
18266 | ||
c370783e | 18267 | static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18268 | PyObject *resultobj; |
18269 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
18270 | bool result; | |
18271 | PyObject * obj0 = 0 ; | |
18272 | char *kwnames[] = { | |
18273 | (char *) "self", NULL | |
18274 | }; | |
18275 | ||
18276 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
18277 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18278 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18279 | { |
18280 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18281 | result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus(); | |
18282 | ||
18283 | wxPyEndAllowThreads(__tstate); | |
18284 | if (PyErr_Occurred()) SWIG_fail; | |
18285 | } | |
18286 | { | |
18287 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18288 | } | |
18289 | return resultobj; | |
18290 | fail: | |
18291 | return NULL; | |
18292 | } | |
18293 | ||
18294 | ||
c370783e | 18295 | static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18296 | PyObject *resultobj; |
18297 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
18298 | bool result; | |
18299 | PyObject * obj0 = 0 ; | |
18300 | char *kwnames[] = { | |
18301 | (char *) "self", NULL | |
18302 | }; | |
18303 | ||
18304 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
18305 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18306 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18307 | { |
18308 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18309 | result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard(); | |
18310 | ||
18311 | wxPyEndAllowThreads(__tstate); | |
18312 | if (PyErr_Occurred()) SWIG_fail; | |
18313 | } | |
18314 | { | |
18315 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18316 | } | |
18317 | return resultobj; | |
18318 | fail: | |
18319 | return NULL; | |
18320 | } | |
18321 | ||
18322 | ||
c370783e | 18323 | static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18324 | PyObject *resultobj; |
18325 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
18326 | wxSize result; | |
18327 | PyObject * obj0 = 0 ; | |
18328 | char *kwnames[] = { | |
18329 | (char *) "self", NULL | |
18330 | }; | |
18331 | ||
18332 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
18333 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18334 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18335 | { |
18336 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18337 | result = ((wxPyWindow const *)arg1)->base_GetMaxSize(); | |
18338 | ||
18339 | wxPyEndAllowThreads(__tstate); | |
18340 | if (PyErr_Occurred()) SWIG_fail; | |
18341 | } | |
18342 | { | |
18343 | wxSize * resultptr; | |
36ed4f51 | 18344 | resultptr = new wxSize((wxSize &)(result)); |
d55e5bfc RD |
18345 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
18346 | } | |
18347 | return resultobj; | |
18348 | fail: | |
18349 | return NULL; | |
18350 | } | |
18351 | ||
18352 | ||
c370783e | 18353 | static PyObject *_wrap_PyWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18354 | PyObject *resultobj; |
18355 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
18356 | wxWindow *arg2 = (wxWindow *) 0 ; | |
18357 | PyObject * obj0 = 0 ; | |
18358 | PyObject * obj1 = 0 ; | |
18359 | char *kwnames[] = { | |
18360 | (char *) "self",(char *) "child", NULL | |
18361 | }; | |
18362 | ||
18363 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
18364 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18365 | if (SWIG_arg_fail(1)) SWIG_fail; | |
18366 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
18367 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
18368 | { |
18369 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18370 | (arg1)->base_AddChild(arg2); | |
18371 | ||
18372 | wxPyEndAllowThreads(__tstate); | |
18373 | if (PyErr_Occurred()) SWIG_fail; | |
18374 | } | |
18375 | Py_INCREF(Py_None); resultobj = Py_None; | |
18376 | return resultobj; | |
18377 | fail: | |
18378 | return NULL; | |
18379 | } | |
18380 | ||
18381 | ||
c370783e | 18382 | static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18383 | PyObject *resultobj; |
18384 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
18385 | wxWindow *arg2 = (wxWindow *) 0 ; | |
18386 | PyObject * obj0 = 0 ; | |
18387 | PyObject * obj1 = 0 ; | |
18388 | char *kwnames[] = { | |
18389 | (char *) "self",(char *) "child", NULL | |
18390 | }; | |
18391 | ||
18392 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
18393 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18394 | if (SWIG_arg_fail(1)) SWIG_fail; | |
18395 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
18396 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
18397 | { |
18398 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18399 | (arg1)->base_RemoveChild(arg2); | |
18400 | ||
18401 | wxPyEndAllowThreads(__tstate); | |
18402 | if (PyErr_Occurred()) SWIG_fail; | |
18403 | } | |
18404 | Py_INCREF(Py_None); resultobj = Py_None; | |
18405 | return resultobj; | |
18406 | fail: | |
18407 | return NULL; | |
18408 | } | |
18409 | ||
18410 | ||
c370783e | 18411 | static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18412 | PyObject *resultobj; |
18413 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
18414 | bool result; | |
18415 | PyObject * obj0 = 0 ; | |
18416 | char *kwnames[] = { | |
18417 | (char *) "self", NULL | |
18418 | }; | |
18419 | ||
18420 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
18421 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18422 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18423 | { |
18424 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
a5ee0656 | 18425 | result = (bool)((wxPyWindow const *)arg1)->base_ShouldInheritColours(); |
d55e5bfc RD |
18426 | |
18427 | wxPyEndAllowThreads(__tstate); | |
18428 | if (PyErr_Occurred()) SWIG_fail; | |
18429 | } | |
18430 | { | |
18431 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18432 | } | |
18433 | return resultobj; | |
18434 | fail: | |
18435 | return NULL; | |
18436 | } | |
18437 | ||
18438 | ||
c370783e | 18439 | static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
a5ee0656 RD |
18440 | PyObject *resultobj; |
18441 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
18442 | wxVisualAttributes result; | |
18443 | PyObject * obj0 = 0 ; | |
18444 | char *kwnames[] = { | |
18445 | (char *) "self", NULL | |
18446 | }; | |
18447 | ||
18448 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
18449 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18450 | if (SWIG_arg_fail(1)) SWIG_fail; | |
a5ee0656 RD |
18451 | { |
18452 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18453 | result = (arg1)->base_GetDefaultAttributes(); | |
18454 | ||
18455 | wxPyEndAllowThreads(__tstate); | |
18456 | if (PyErr_Occurred()) SWIG_fail; | |
18457 | } | |
18458 | { | |
18459 | wxVisualAttributes * resultptr; | |
36ed4f51 | 18460 | resultptr = new wxVisualAttributes((wxVisualAttributes &)(result)); |
a5ee0656 RD |
18461 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); |
18462 | } | |
18463 | return resultobj; | |
18464 | fail: | |
18465 | return NULL; | |
18466 | } | |
18467 | ||
18468 | ||
8d38bd1d RD |
18469 | static PyObject *_wrap_PyWindow_base_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) { |
18470 | PyObject *resultobj; | |
18471 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
18472 | PyObject * obj0 = 0 ; | |
18473 | char *kwnames[] = { | |
18474 | (char *) "self", NULL | |
18475 | }; | |
18476 | ||
18477 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_OnInternalIdle",kwnames,&obj0)) goto fail; | |
18478 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); | |
18479 | if (SWIG_arg_fail(1)) SWIG_fail; | |
18480 | { | |
18481 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18482 | (arg1)->base_OnInternalIdle(); | |
18483 | ||
18484 | wxPyEndAllowThreads(__tstate); | |
18485 | if (PyErr_Occurred()) SWIG_fail; | |
18486 | } | |
18487 | Py_INCREF(Py_None); resultobj = Py_None; | |
18488 | return resultobj; | |
18489 | fail: | |
18490 | return NULL; | |
18491 | } | |
18492 | ||
18493 | ||
c370783e | 18494 | static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
18495 | PyObject *obj; |
18496 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
18497 | SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj); | |
18498 | Py_INCREF(obj); | |
18499 | return Py_BuildValue((char *)""); | |
18500 | } | |
c370783e | 18501 | static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18502 | PyObject *resultobj; |
18503 | wxWindow *arg1 = (wxWindow *) 0 ; | |
bfddbb17 | 18504 | int arg2 = (int) (int)-1 ; |
d55e5bfc RD |
18505 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
18506 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
18507 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
18508 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
18509 | long arg5 = (long) 0 ; | |
18510 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
18511 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
18512 | wxPyPanel *result; | |
18513 | wxPoint temp3 ; | |
18514 | wxSize temp4 ; | |
b411df4a | 18515 | bool temp6 = false ; |
d55e5bfc RD |
18516 | PyObject * obj0 = 0 ; |
18517 | PyObject * obj1 = 0 ; | |
18518 | PyObject * obj2 = 0 ; | |
18519 | PyObject * obj3 = 0 ; | |
18520 | PyObject * obj4 = 0 ; | |
18521 | PyObject * obj5 = 0 ; | |
18522 | char *kwnames[] = { | |
18523 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
18524 | }; | |
18525 | ||
bfddbb17 | 18526 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
36ed4f51 RD |
18527 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
18528 | if (SWIG_arg_fail(1)) SWIG_fail; | |
bfddbb17 | 18529 | if (obj1) { |
36ed4f51 RD |
18530 | { |
18531 | arg2 = (int const)(SWIG_As_int(obj1)); | |
18532 | if (SWIG_arg_fail(2)) SWIG_fail; | |
18533 | } | |
bfddbb17 | 18534 | } |
d55e5bfc RD |
18535 | if (obj2) { |
18536 | { | |
18537 | arg3 = &temp3; | |
18538 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
18539 | } | |
18540 | } | |
18541 | if (obj3) { | |
18542 | { | |
18543 | arg4 = &temp4; | |
18544 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
18545 | } | |
18546 | } | |
18547 | if (obj4) { | |
36ed4f51 RD |
18548 | { |
18549 | arg5 = (long)(SWIG_As_long(obj4)); | |
18550 | if (SWIG_arg_fail(5)) SWIG_fail; | |
18551 | } | |
d55e5bfc RD |
18552 | } |
18553 | if (obj5) { | |
18554 | { | |
18555 | arg6 = wxString_in_helper(obj5); | |
18556 | if (arg6 == NULL) SWIG_fail; | |
b411df4a | 18557 | temp6 = true; |
d55e5bfc RD |
18558 | } |
18559 | } | |
18560 | { | |
0439c23b | 18561 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
18562 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
18563 | result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
18564 | ||
18565 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 18566 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
18567 | } |
18568 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1); | |
18569 | { | |
18570 | if (temp6) | |
18571 | delete arg6; | |
18572 | } | |
18573 | return resultobj; | |
18574 | fail: | |
18575 | { | |
18576 | if (temp6) | |
18577 | delete arg6; | |
18578 | } | |
18579 | return NULL; | |
18580 | } | |
18581 | ||
18582 | ||
c370783e | 18583 | static PyObject *_wrap_new_PrePyPanel(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18584 | PyObject *resultobj; |
18585 | wxPyPanel *result; | |
18586 | char *kwnames[] = { | |
18587 | NULL | |
18588 | }; | |
18589 | ||
18590 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail; | |
18591 | { | |
0439c23b | 18592 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
18593 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
18594 | result = (wxPyPanel *)new wxPyPanel(); | |
18595 | ||
18596 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 18597 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
18598 | } |
18599 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1); | |
18600 | return resultobj; | |
18601 | fail: | |
18602 | return NULL; | |
18603 | } | |
18604 | ||
18605 | ||
c370783e | 18606 | static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18607 | PyObject *resultobj; |
18608 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
18609 | PyObject *arg2 = (PyObject *) 0 ; | |
18610 | PyObject *arg3 = (PyObject *) 0 ; | |
18611 | PyObject * obj0 = 0 ; | |
18612 | PyObject * obj1 = 0 ; | |
18613 | PyObject * obj2 = 0 ; | |
18614 | char *kwnames[] = { | |
18615 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
18616 | }; | |
18617 | ||
18618 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
18619 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
18620 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18621 | arg2 = obj1; |
18622 | arg3 = obj2; | |
18623 | { | |
18624 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18625 | (arg1)->_setCallbackInfo(arg2,arg3); | |
18626 | ||
18627 | wxPyEndAllowThreads(__tstate); | |
18628 | if (PyErr_Occurred()) SWIG_fail; | |
18629 | } | |
18630 | Py_INCREF(Py_None); resultobj = Py_None; | |
18631 | return resultobj; | |
18632 | fail: | |
18633 | return NULL; | |
18634 | } | |
18635 | ||
18636 | ||
c370783e | 18637 | static PyObject *_wrap_PyPanel_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { |
a5ee0656 RD |
18638 | PyObject *resultobj; |
18639 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
18640 | wxSize *arg2 = 0 ; | |
18641 | wxSize temp2 ; | |
18642 | PyObject * obj0 = 0 ; | |
18643 | PyObject * obj1 = 0 ; | |
18644 | char *kwnames[] = { | |
18645 | (char *) "self",(char *) "size", NULL | |
18646 | }; | |
18647 | ||
18648 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
18649 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
18650 | if (SWIG_arg_fail(1)) SWIG_fail; | |
a5ee0656 RD |
18651 | { |
18652 | arg2 = &temp2; | |
18653 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
18654 | } | |
18655 | { | |
18656 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18657 | (arg1)->SetBestSize((wxSize const &)*arg2); | |
18658 | ||
18659 | wxPyEndAllowThreads(__tstate); | |
18660 | if (PyErr_Occurred()) SWIG_fail; | |
18661 | } | |
18662 | Py_INCREF(Py_None); resultobj = Py_None; | |
18663 | return resultobj; | |
18664 | fail: | |
18665 | return NULL; | |
18666 | } | |
18667 | ||
18668 | ||
976dbff5 RD |
18669 | static PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
18670 | PyObject *resultobj; | |
18671 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
18672 | wxDC *arg2 = (wxDC *) 0 ; | |
18673 | bool result; | |
18674 | PyObject * obj0 = 0 ; | |
18675 | PyObject * obj1 = 0 ; | |
18676 | char *kwnames[] = { | |
18677 | (char *) "self",(char *) "dc", NULL | |
18678 | }; | |
18679 | ||
18680 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail; | |
18681 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); | |
18682 | if (SWIG_arg_fail(1)) SWIG_fail; | |
18683 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); | |
18684 | if (SWIG_arg_fail(2)) SWIG_fail; | |
18685 | { | |
18686 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18687 | result = (bool)(arg1)->DoEraseBackground(arg2); | |
18688 | ||
18689 | wxPyEndAllowThreads(__tstate); | |
18690 | if (PyErr_Occurred()) SWIG_fail; | |
18691 | } | |
18692 | { | |
18693 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18694 | } | |
18695 | return resultobj; | |
18696 | fail: | |
18697 | return NULL; | |
18698 | } | |
18699 | ||
18700 | ||
c370783e | 18701 | static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18702 | PyObject *resultobj; |
18703 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
18704 | int arg2 ; | |
18705 | int arg3 ; | |
18706 | int arg4 ; | |
18707 | int arg5 ; | |
18708 | PyObject * obj0 = 0 ; | |
18709 | PyObject * obj1 = 0 ; | |
18710 | PyObject * obj2 = 0 ; | |
18711 | PyObject * obj3 = 0 ; | |
18712 | PyObject * obj4 = 0 ; | |
18713 | char *kwnames[] = { | |
18714 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL | |
18715 | }; | |
18716 | ||
18717 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
36ed4f51 RD |
18718 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
18719 | if (SWIG_arg_fail(1)) SWIG_fail; | |
18720 | { | |
18721 | arg2 = (int)(SWIG_As_int(obj1)); | |
18722 | if (SWIG_arg_fail(2)) SWIG_fail; | |
18723 | } | |
18724 | { | |
18725 | arg3 = (int)(SWIG_As_int(obj2)); | |
18726 | if (SWIG_arg_fail(3)) SWIG_fail; | |
18727 | } | |
18728 | { | |
18729 | arg4 = (int)(SWIG_As_int(obj3)); | |
18730 | if (SWIG_arg_fail(4)) SWIG_fail; | |
18731 | } | |
18732 | { | |
18733 | arg5 = (int)(SWIG_As_int(obj4)); | |
18734 | if (SWIG_arg_fail(5)) SWIG_fail; | |
18735 | } | |
d55e5bfc RD |
18736 | { |
18737 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18738 | (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5); | |
18739 | ||
18740 | wxPyEndAllowThreads(__tstate); | |
18741 | if (PyErr_Occurred()) SWIG_fail; | |
18742 | } | |
18743 | Py_INCREF(Py_None); resultobj = Py_None; | |
18744 | return resultobj; | |
18745 | fail: | |
18746 | return NULL; | |
18747 | } | |
18748 | ||
18749 | ||
c370783e | 18750 | static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18751 | PyObject *resultobj; |
18752 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
18753 | int arg2 ; | |
18754 | int arg3 ; | |
18755 | int arg4 ; | |
18756 | int arg5 ; | |
18757 | int arg6 = (int) wxSIZE_AUTO ; | |
18758 | PyObject * obj0 = 0 ; | |
18759 | PyObject * obj1 = 0 ; | |
18760 | PyObject * obj2 = 0 ; | |
18761 | PyObject * obj3 = 0 ; | |
18762 | PyObject * obj4 = 0 ; | |
18763 | PyObject * obj5 = 0 ; | |
18764 | char *kwnames[] = { | |
18765 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL | |
18766 | }; | |
18767 | ||
18768 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) 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; | |
18771 | { | |
18772 | arg2 = (int)(SWIG_As_int(obj1)); | |
18773 | if (SWIG_arg_fail(2)) SWIG_fail; | |
18774 | } | |
18775 | { | |
18776 | arg3 = (int)(SWIG_As_int(obj2)); | |
18777 | if (SWIG_arg_fail(3)) SWIG_fail; | |
18778 | } | |
18779 | { | |
18780 | arg4 = (int)(SWIG_As_int(obj3)); | |
18781 | if (SWIG_arg_fail(4)) SWIG_fail; | |
18782 | } | |
18783 | { | |
18784 | arg5 = (int)(SWIG_As_int(obj4)); | |
18785 | if (SWIG_arg_fail(5)) SWIG_fail; | |
18786 | } | |
d55e5bfc | 18787 | if (obj5) { |
36ed4f51 RD |
18788 | { |
18789 | arg6 = (int)(SWIG_As_int(obj5)); | |
18790 | if (SWIG_arg_fail(6)) SWIG_fail; | |
18791 | } | |
d55e5bfc RD |
18792 | } |
18793 | { | |
18794 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18795 | (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6); | |
18796 | ||
18797 | wxPyEndAllowThreads(__tstate); | |
18798 | if (PyErr_Occurred()) SWIG_fail; | |
18799 | } | |
18800 | Py_INCREF(Py_None); resultobj = Py_None; | |
18801 | return resultobj; | |
18802 | fail: | |
18803 | return NULL; | |
18804 | } | |
18805 | ||
18806 | ||
c370783e | 18807 | static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18808 | PyObject *resultobj; |
18809 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
18810 | int arg2 ; | |
18811 | int arg3 ; | |
18812 | PyObject * obj0 = 0 ; | |
18813 | PyObject * obj1 = 0 ; | |
18814 | PyObject * obj2 = 0 ; | |
18815 | char *kwnames[] = { | |
18816 | (char *) "self",(char *) "width",(char *) "height", NULL | |
18817 | }; | |
18818 | ||
18819 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
18820 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
18821 | if (SWIG_arg_fail(1)) SWIG_fail; | |
18822 | { | |
18823 | arg2 = (int)(SWIG_As_int(obj1)); | |
18824 | if (SWIG_arg_fail(2)) SWIG_fail; | |
18825 | } | |
18826 | { | |
18827 | arg3 = (int)(SWIG_As_int(obj2)); | |
18828 | if (SWIG_arg_fail(3)) SWIG_fail; | |
18829 | } | |
d55e5bfc RD |
18830 | { |
18831 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18832 | (arg1)->base_DoSetClientSize(arg2,arg3); | |
18833 | ||
18834 | wxPyEndAllowThreads(__tstate); | |
18835 | if (PyErr_Occurred()) SWIG_fail; | |
18836 | } | |
18837 | Py_INCREF(Py_None); resultobj = Py_None; | |
18838 | return resultobj; | |
18839 | fail: | |
18840 | return NULL; | |
18841 | } | |
18842 | ||
18843 | ||
c370783e | 18844 | static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18845 | PyObject *resultobj; |
18846 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
18847 | int arg2 ; | |
18848 | int arg3 ; | |
18849 | PyObject * obj0 = 0 ; | |
18850 | PyObject * obj1 = 0 ; | |
18851 | PyObject * obj2 = 0 ; | |
18852 | char *kwnames[] = { | |
18853 | (char *) "self",(char *) "x",(char *) "y", NULL | |
18854 | }; | |
18855 | ||
18856 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
18857 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
18858 | if (SWIG_arg_fail(1)) SWIG_fail; | |
18859 | { | |
18860 | arg2 = (int)(SWIG_As_int(obj1)); | |
18861 | if (SWIG_arg_fail(2)) SWIG_fail; | |
18862 | } | |
18863 | { | |
18864 | arg3 = (int)(SWIG_As_int(obj2)); | |
18865 | if (SWIG_arg_fail(3)) SWIG_fail; | |
18866 | } | |
d55e5bfc RD |
18867 | { |
18868 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18869 | (arg1)->base_DoSetVirtualSize(arg2,arg3); | |
18870 | ||
18871 | wxPyEndAllowThreads(__tstate); | |
18872 | if (PyErr_Occurred()) SWIG_fail; | |
18873 | } | |
18874 | Py_INCREF(Py_None); resultobj = Py_None; | |
18875 | return resultobj; | |
18876 | fail: | |
18877 | return NULL; | |
18878 | } | |
18879 | ||
18880 | ||
c370783e | 18881 | static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18882 | PyObject *resultobj; |
18883 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
18884 | int *arg2 = (int *) 0 ; | |
18885 | int *arg3 = (int *) 0 ; | |
18886 | int temp2 ; | |
c370783e | 18887 | int res2 = 0 ; |
d55e5bfc | 18888 | int temp3 ; |
c370783e | 18889 | int res3 = 0 ; |
d55e5bfc RD |
18890 | PyObject * obj0 = 0 ; |
18891 | char *kwnames[] = { | |
18892 | (char *) "self", NULL | |
18893 | }; | |
18894 | ||
c370783e RD |
18895 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
18896 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc | 18897 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
18898 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
18899 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18900 | { |
18901 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18902 | ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3); | |
18903 | ||
18904 | wxPyEndAllowThreads(__tstate); | |
18905 | if (PyErr_Occurred()) SWIG_fail; | |
18906 | } | |
18907 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
18908 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
18909 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
18910 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
18911 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
18912 | return resultobj; |
18913 | fail: | |
18914 | return NULL; | |
18915 | } | |
18916 | ||
18917 | ||
c370783e | 18918 | static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18919 | PyObject *resultobj; |
18920 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
18921 | int *arg2 = (int *) 0 ; | |
18922 | int *arg3 = (int *) 0 ; | |
18923 | int temp2 ; | |
c370783e | 18924 | int res2 = 0 ; |
d55e5bfc | 18925 | int temp3 ; |
c370783e | 18926 | int res3 = 0 ; |
d55e5bfc RD |
18927 | PyObject * obj0 = 0 ; |
18928 | char *kwnames[] = { | |
18929 | (char *) "self", NULL | |
18930 | }; | |
18931 | ||
c370783e RD |
18932 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
18933 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc | 18934 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
18935 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
18936 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18937 | { |
18938 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18939 | ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3); | |
18940 | ||
18941 | wxPyEndAllowThreads(__tstate); | |
18942 | if (PyErr_Occurred()) SWIG_fail; | |
18943 | } | |
18944 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
18945 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
18946 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
18947 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
18948 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
18949 | return resultobj; |
18950 | fail: | |
18951 | return NULL; | |
18952 | } | |
18953 | ||
18954 | ||
c370783e | 18955 | static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18956 | PyObject *resultobj; |
18957 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
18958 | int *arg2 = (int *) 0 ; | |
18959 | int *arg3 = (int *) 0 ; | |
18960 | int temp2 ; | |
c370783e | 18961 | int res2 = 0 ; |
d55e5bfc | 18962 | int temp3 ; |
c370783e | 18963 | int res3 = 0 ; |
d55e5bfc RD |
18964 | PyObject * obj0 = 0 ; |
18965 | char *kwnames[] = { | |
18966 | (char *) "self", NULL | |
18967 | }; | |
18968 | ||
c370783e RD |
18969 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
18970 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc | 18971 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
18972 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
18973 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18974 | { |
18975 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18976 | ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3); | |
18977 | ||
18978 | wxPyEndAllowThreads(__tstate); | |
18979 | if (PyErr_Occurred()) SWIG_fail; | |
18980 | } | |
18981 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
18982 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
18983 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
18984 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
18985 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
18986 | return resultobj; |
18987 | fail: | |
18988 | return NULL; | |
18989 | } | |
18990 | ||
18991 | ||
c370783e | 18992 | static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18993 | PyObject *resultobj; |
18994 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
18995 | wxSize result; | |
18996 | PyObject * obj0 = 0 ; | |
18997 | char *kwnames[] = { | |
18998 | (char *) "self", NULL | |
18999 | }; | |
19000 | ||
19001 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
19002 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19003 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19004 | { |
19005 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19006 | result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize(); | |
19007 | ||
19008 | wxPyEndAllowThreads(__tstate); | |
19009 | if (PyErr_Occurred()) SWIG_fail; | |
19010 | } | |
19011 | { | |
19012 | wxSize * resultptr; | |
36ed4f51 | 19013 | resultptr = new wxSize((wxSize &)(result)); |
d55e5bfc RD |
19014 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
19015 | } | |
19016 | return resultobj; | |
19017 | fail: | |
19018 | return NULL; | |
19019 | } | |
19020 | ||
19021 | ||
c370783e | 19022 | static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19023 | PyObject *resultobj; |
19024 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
19025 | wxSize result; | |
19026 | PyObject * obj0 = 0 ; | |
19027 | char *kwnames[] = { | |
19028 | (char *) "self", NULL | |
19029 | }; | |
19030 | ||
19031 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
19032 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19033 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19034 | { |
19035 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19036 | result = ((wxPyPanel const *)arg1)->base_DoGetBestSize(); | |
19037 | ||
19038 | wxPyEndAllowThreads(__tstate); | |
19039 | if (PyErr_Occurred()) SWIG_fail; | |
19040 | } | |
19041 | { | |
19042 | wxSize * resultptr; | |
36ed4f51 | 19043 | resultptr = new wxSize((wxSize &)(result)); |
d55e5bfc RD |
19044 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
19045 | } | |
19046 | return resultobj; | |
19047 | fail: | |
19048 | return NULL; | |
19049 | } | |
19050 | ||
19051 | ||
c370783e | 19052 | static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19053 | PyObject *resultobj; |
19054 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
19055 | PyObject * obj0 = 0 ; | |
19056 | char *kwnames[] = { | |
19057 | (char *) "self", NULL | |
19058 | }; | |
19059 | ||
19060 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
19061 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19062 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19063 | { |
19064 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19065 | (arg1)->base_InitDialog(); | |
19066 | ||
19067 | wxPyEndAllowThreads(__tstate); | |
19068 | if (PyErr_Occurred()) SWIG_fail; | |
19069 | } | |
19070 | Py_INCREF(Py_None); resultobj = Py_None; | |
19071 | return resultobj; | |
19072 | fail: | |
19073 | return NULL; | |
19074 | } | |
19075 | ||
19076 | ||
c370783e | 19077 | static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19078 | PyObject *resultobj; |
19079 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
19080 | bool result; | |
19081 | PyObject * obj0 = 0 ; | |
19082 | char *kwnames[] = { | |
19083 | (char *) "self", NULL | |
19084 | }; | |
19085 | ||
19086 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
19087 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19088 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19089 | { |
19090 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19091 | result = (bool)(arg1)->base_TransferDataToWindow(); | |
19092 | ||
19093 | wxPyEndAllowThreads(__tstate); | |
19094 | if (PyErr_Occurred()) SWIG_fail; | |
19095 | } | |
19096 | { | |
19097 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19098 | } | |
19099 | return resultobj; | |
19100 | fail: | |
19101 | return NULL; | |
19102 | } | |
19103 | ||
19104 | ||
c370783e | 19105 | static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19106 | PyObject *resultobj; |
19107 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
19108 | bool result; | |
19109 | PyObject * obj0 = 0 ; | |
19110 | char *kwnames[] = { | |
19111 | (char *) "self", NULL | |
19112 | }; | |
19113 | ||
19114 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
19115 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19116 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19117 | { |
19118 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19119 | result = (bool)(arg1)->base_TransferDataFromWindow(); | |
19120 | ||
19121 | wxPyEndAllowThreads(__tstate); | |
19122 | if (PyErr_Occurred()) SWIG_fail; | |
19123 | } | |
19124 | { | |
19125 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19126 | } | |
19127 | return resultobj; | |
19128 | fail: | |
19129 | return NULL; | |
19130 | } | |
19131 | ||
19132 | ||
c370783e | 19133 | static PyObject *_wrap_PyPanel_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19134 | PyObject *resultobj; |
19135 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
19136 | bool result; | |
19137 | PyObject * obj0 = 0 ; | |
19138 | char *kwnames[] = { | |
19139 | (char *) "self", NULL | |
19140 | }; | |
19141 | ||
19142 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
19143 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19144 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19145 | { |
19146 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19147 | result = (bool)(arg1)->base_Validate(); | |
19148 | ||
19149 | wxPyEndAllowThreads(__tstate); | |
19150 | if (PyErr_Occurred()) SWIG_fail; | |
19151 | } | |
19152 | { | |
19153 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19154 | } | |
19155 | return resultobj; | |
19156 | fail: | |
19157 | return NULL; | |
19158 | } | |
19159 | ||
19160 | ||
c370783e | 19161 | static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19162 | PyObject *resultobj; |
19163 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
19164 | bool result; | |
19165 | PyObject * obj0 = 0 ; | |
19166 | char *kwnames[] = { | |
19167 | (char *) "self", NULL | |
19168 | }; | |
19169 | ||
19170 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
19171 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19172 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19173 | { |
19174 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19175 | result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus(); | |
19176 | ||
19177 | wxPyEndAllowThreads(__tstate); | |
19178 | if (PyErr_Occurred()) SWIG_fail; | |
19179 | } | |
19180 | { | |
19181 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19182 | } | |
19183 | return resultobj; | |
19184 | fail: | |
19185 | return NULL; | |
19186 | } | |
19187 | ||
19188 | ||
c370783e | 19189 | static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19190 | PyObject *resultobj; |
19191 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
19192 | bool result; | |
19193 | PyObject * obj0 = 0 ; | |
19194 | char *kwnames[] = { | |
19195 | (char *) "self", NULL | |
19196 | }; | |
19197 | ||
19198 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
19199 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19200 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19201 | { |
19202 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19203 | result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard(); | |
19204 | ||
19205 | wxPyEndAllowThreads(__tstate); | |
19206 | if (PyErr_Occurred()) SWIG_fail; | |
19207 | } | |
19208 | { | |
19209 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19210 | } | |
19211 | return resultobj; | |
19212 | fail: | |
19213 | return NULL; | |
19214 | } | |
19215 | ||
19216 | ||
c370783e | 19217 | static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19218 | PyObject *resultobj; |
19219 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
19220 | wxSize result; | |
19221 | PyObject * obj0 = 0 ; | |
19222 | char *kwnames[] = { | |
19223 | (char *) "self", NULL | |
19224 | }; | |
19225 | ||
19226 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
19227 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19228 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19229 | { |
19230 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19231 | result = ((wxPyPanel const *)arg1)->base_GetMaxSize(); | |
19232 | ||
19233 | wxPyEndAllowThreads(__tstate); | |
19234 | if (PyErr_Occurred()) SWIG_fail; | |
19235 | } | |
19236 | { | |
19237 | wxSize * resultptr; | |
36ed4f51 | 19238 | resultptr = new wxSize((wxSize &)(result)); |
d55e5bfc RD |
19239 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
19240 | } | |
19241 | return resultobj; | |
19242 | fail: | |
19243 | return NULL; | |
19244 | } | |
19245 | ||
19246 | ||
c370783e | 19247 | static PyObject *_wrap_PyPanel_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19248 | PyObject *resultobj; |
19249 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
19250 | wxWindow *arg2 = (wxWindow *) 0 ; | |
19251 | PyObject * obj0 = 0 ; | |
19252 | PyObject * obj1 = 0 ; | |
19253 | char *kwnames[] = { | |
19254 | (char *) "self",(char *) "child", NULL | |
19255 | }; | |
19256 | ||
19257 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
19258 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19259 | if (SWIG_arg_fail(1)) SWIG_fail; | |
19260 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
19261 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
19262 | { |
19263 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19264 | (arg1)->base_AddChild(arg2); | |
19265 | ||
19266 | wxPyEndAllowThreads(__tstate); | |
19267 | if (PyErr_Occurred()) SWIG_fail; | |
19268 | } | |
19269 | Py_INCREF(Py_None); resultobj = Py_None; | |
19270 | return resultobj; | |
19271 | fail: | |
19272 | return NULL; | |
19273 | } | |
19274 | ||
19275 | ||
c370783e | 19276 | static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19277 | PyObject *resultobj; |
19278 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
19279 | wxWindow *arg2 = (wxWindow *) 0 ; | |
19280 | PyObject * obj0 = 0 ; | |
19281 | PyObject * obj1 = 0 ; | |
19282 | char *kwnames[] = { | |
19283 | (char *) "self",(char *) "child", NULL | |
19284 | }; | |
19285 | ||
19286 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
19287 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19288 | if (SWIG_arg_fail(1)) SWIG_fail; | |
19289 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
19290 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
19291 | { |
19292 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19293 | (arg1)->base_RemoveChild(arg2); | |
19294 | ||
19295 | wxPyEndAllowThreads(__tstate); | |
19296 | if (PyErr_Occurred()) SWIG_fail; | |
19297 | } | |
19298 | Py_INCREF(Py_None); resultobj = Py_None; | |
19299 | return resultobj; | |
19300 | fail: | |
19301 | return NULL; | |
19302 | } | |
19303 | ||
19304 | ||
c370783e | 19305 | static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19306 | PyObject *resultobj; |
19307 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
19308 | bool result; | |
19309 | PyObject * obj0 = 0 ; | |
19310 | char *kwnames[] = { | |
19311 | (char *) "self", NULL | |
19312 | }; | |
19313 | ||
19314 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
19315 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19316 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19317 | { |
19318 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
a5ee0656 | 19319 | result = (bool)((wxPyPanel const *)arg1)->base_ShouldInheritColours(); |
d55e5bfc RD |
19320 | |
19321 | wxPyEndAllowThreads(__tstate); | |
19322 | if (PyErr_Occurred()) SWIG_fail; | |
19323 | } | |
19324 | { | |
19325 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19326 | } | |
19327 | return resultobj; | |
19328 | fail: | |
19329 | return NULL; | |
19330 | } | |
19331 | ||
19332 | ||
c370783e | 19333 | static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
a5ee0656 RD |
19334 | PyObject *resultobj; |
19335 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
19336 | wxVisualAttributes result; | |
19337 | PyObject * obj0 = 0 ; | |
19338 | char *kwnames[] = { | |
19339 | (char *) "self", NULL | |
19340 | }; | |
19341 | ||
19342 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
19343 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19344 | if (SWIG_arg_fail(1)) SWIG_fail; | |
a5ee0656 RD |
19345 | { |
19346 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19347 | result = (arg1)->base_GetDefaultAttributes(); | |
19348 | ||
19349 | wxPyEndAllowThreads(__tstate); | |
19350 | if (PyErr_Occurred()) SWIG_fail; | |
19351 | } | |
19352 | { | |
19353 | wxVisualAttributes * resultptr; | |
36ed4f51 | 19354 | resultptr = new wxVisualAttributes((wxVisualAttributes &)(result)); |
a5ee0656 RD |
19355 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); |
19356 | } | |
19357 | return resultobj; | |
19358 | fail: | |
19359 | return NULL; | |
19360 | } | |
19361 | ||
19362 | ||
8d38bd1d RD |
19363 | static PyObject *_wrap_PyPanel_base_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) { |
19364 | PyObject *resultobj; | |
19365 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
19366 | PyObject * obj0 = 0 ; | |
19367 | char *kwnames[] = { | |
19368 | (char *) "self", NULL | |
19369 | }; | |
19370 | ||
19371 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_OnInternalIdle",kwnames,&obj0)) goto fail; | |
19372 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); | |
19373 | if (SWIG_arg_fail(1)) SWIG_fail; | |
19374 | { | |
19375 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19376 | (arg1)->base_OnInternalIdle(); | |
19377 | ||
19378 | wxPyEndAllowThreads(__tstate); | |
19379 | if (PyErr_Occurred()) SWIG_fail; | |
19380 | } | |
19381 | Py_INCREF(Py_None); resultobj = Py_None; | |
19382 | return resultobj; | |
19383 | fail: | |
19384 | return NULL; | |
19385 | } | |
19386 | ||
19387 | ||
c370783e | 19388 | static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
19389 | PyObject *obj; |
19390 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
19391 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj); | |
19392 | Py_INCREF(obj); | |
19393 | return Py_BuildValue((char *)""); | |
19394 | } | |
c370783e | 19395 | static PyObject *_wrap_new_PyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19396 | PyObject *resultobj; |
19397 | wxWindow *arg1 = (wxWindow *) 0 ; | |
bfddbb17 | 19398 | int arg2 = (int) (int)-1 ; |
d55e5bfc RD |
19399 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
19400 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
19401 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
19402 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
19403 | long arg5 = (long) 0 ; | |
19404 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
19405 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
19406 | wxPyScrolledWindow *result; | |
19407 | wxPoint temp3 ; | |
19408 | wxSize temp4 ; | |
b411df4a | 19409 | bool temp6 = false ; |
d55e5bfc RD |
19410 | PyObject * obj0 = 0 ; |
19411 | PyObject * obj1 = 0 ; | |
19412 | PyObject * obj2 = 0 ; | |
19413 | PyObject * obj3 = 0 ; | |
19414 | PyObject * obj4 = 0 ; | |
19415 | PyObject * obj5 = 0 ; | |
19416 | char *kwnames[] = { | |
19417 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
19418 | }; | |
19419 | ||
bfddbb17 | 19420 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
36ed4f51 RD |
19421 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
19422 | if (SWIG_arg_fail(1)) SWIG_fail; | |
bfddbb17 | 19423 | if (obj1) { |
36ed4f51 RD |
19424 | { |
19425 | arg2 = (int const)(SWIG_As_int(obj1)); | |
19426 | if (SWIG_arg_fail(2)) SWIG_fail; | |
19427 | } | |
bfddbb17 | 19428 | } |
d55e5bfc RD |
19429 | if (obj2) { |
19430 | { | |
19431 | arg3 = &temp3; | |
19432 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
19433 | } | |
19434 | } | |
19435 | if (obj3) { | |
19436 | { | |
19437 | arg4 = &temp4; | |
19438 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
19439 | } | |
19440 | } | |
19441 | if (obj4) { | |
36ed4f51 RD |
19442 | { |
19443 | arg5 = (long)(SWIG_As_long(obj4)); | |
19444 | if (SWIG_arg_fail(5)) SWIG_fail; | |
19445 | } | |
d55e5bfc RD |
19446 | } |
19447 | if (obj5) { | |
19448 | { | |
19449 | arg6 = wxString_in_helper(obj5); | |
19450 | if (arg6 == NULL) SWIG_fail; | |
b411df4a | 19451 | temp6 = true; |
d55e5bfc RD |
19452 | } |
19453 | } | |
19454 | { | |
0439c23b | 19455 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
19456 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
19457 | result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
19458 | ||
19459 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 19460 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
19461 | } |
19462 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1); | |
19463 | { | |
19464 | if (temp6) | |
19465 | delete arg6; | |
19466 | } | |
19467 | return resultobj; | |
19468 | fail: | |
19469 | { | |
19470 | if (temp6) | |
19471 | delete arg6; | |
19472 | } | |
19473 | return NULL; | |
19474 | } | |
19475 | ||
19476 | ||
c370783e | 19477 | static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19478 | PyObject *resultobj; |
19479 | wxPyScrolledWindow *result; | |
19480 | char *kwnames[] = { | |
19481 | NULL | |
19482 | }; | |
19483 | ||
19484 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail; | |
19485 | { | |
0439c23b | 19486 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
19487 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
19488 | result = (wxPyScrolledWindow *)new wxPyScrolledWindow(); | |
19489 | ||
19490 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 19491 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
19492 | } |
19493 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1); | |
19494 | return resultobj; | |
19495 | fail: | |
19496 | return NULL; | |
19497 | } | |
19498 | ||
19499 | ||
c370783e | 19500 | static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19501 | PyObject *resultobj; |
19502 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19503 | PyObject *arg2 = (PyObject *) 0 ; | |
19504 | PyObject *arg3 = (PyObject *) 0 ; | |
19505 | PyObject * obj0 = 0 ; | |
19506 | PyObject * obj1 = 0 ; | |
19507 | PyObject * obj2 = 0 ; | |
19508 | char *kwnames[] = { | |
19509 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
19510 | }; | |
19511 | ||
19512 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
19513 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19514 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19515 | arg2 = obj1; |
19516 | arg3 = obj2; | |
19517 | { | |
19518 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19519 | (arg1)->_setCallbackInfo(arg2,arg3); | |
19520 | ||
19521 | wxPyEndAllowThreads(__tstate); | |
19522 | if (PyErr_Occurred()) SWIG_fail; | |
19523 | } | |
19524 | Py_INCREF(Py_None); resultobj = Py_None; | |
19525 | return resultobj; | |
19526 | fail: | |
19527 | return NULL; | |
19528 | } | |
19529 | ||
19530 | ||
c370783e | 19531 | static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { |
a5ee0656 RD |
19532 | PyObject *resultobj; |
19533 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19534 | wxSize *arg2 = 0 ; | |
19535 | wxSize temp2 ; | |
19536 | PyObject * obj0 = 0 ; | |
19537 | PyObject * obj1 = 0 ; | |
19538 | char *kwnames[] = { | |
19539 | (char *) "self",(char *) "size", NULL | |
19540 | }; | |
19541 | ||
19542 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
19543 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19544 | if (SWIG_arg_fail(1)) SWIG_fail; | |
a5ee0656 RD |
19545 | { |
19546 | arg2 = &temp2; | |
19547 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
19548 | } | |
19549 | { | |
19550 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19551 | (arg1)->SetBestSize((wxSize const &)*arg2); | |
19552 | ||
19553 | wxPyEndAllowThreads(__tstate); | |
19554 | if (PyErr_Occurred()) SWIG_fail; | |
19555 | } | |
19556 | Py_INCREF(Py_None); resultobj = Py_None; | |
19557 | return resultobj; | |
19558 | fail: | |
19559 | return NULL; | |
19560 | } | |
19561 | ||
19562 | ||
976dbff5 RD |
19563 | static PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
19564 | PyObject *resultobj; | |
19565 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19566 | wxDC *arg2 = (wxDC *) 0 ; | |
19567 | bool result; | |
19568 | PyObject * obj0 = 0 ; | |
19569 | PyObject * obj1 = 0 ; | |
19570 | char *kwnames[] = { | |
19571 | (char *) "self",(char *) "dc", NULL | |
19572 | }; | |
19573 | ||
19574 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail; | |
19575 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); | |
19576 | if (SWIG_arg_fail(1)) SWIG_fail; | |
19577 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); | |
19578 | if (SWIG_arg_fail(2)) SWIG_fail; | |
19579 | { | |
19580 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19581 | result = (bool)(arg1)->DoEraseBackground(arg2); | |
19582 | ||
19583 | wxPyEndAllowThreads(__tstate); | |
19584 | if (PyErr_Occurred()) SWIG_fail; | |
19585 | } | |
19586 | { | |
19587 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19588 | } | |
19589 | return resultobj; | |
19590 | fail: | |
19591 | return NULL; | |
19592 | } | |
19593 | ||
19594 | ||
c370783e | 19595 | static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19596 | PyObject *resultobj; |
19597 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19598 | int arg2 ; | |
19599 | int arg3 ; | |
19600 | int arg4 ; | |
19601 | int arg5 ; | |
19602 | PyObject * obj0 = 0 ; | |
19603 | PyObject * obj1 = 0 ; | |
19604 | PyObject * obj2 = 0 ; | |
19605 | PyObject * obj3 = 0 ; | |
19606 | PyObject * obj4 = 0 ; | |
19607 | char *kwnames[] = { | |
19608 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL | |
19609 | }; | |
19610 | ||
19611 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
36ed4f51 RD |
19612 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19613 | if (SWIG_arg_fail(1)) SWIG_fail; | |
19614 | { | |
19615 | arg2 = (int)(SWIG_As_int(obj1)); | |
19616 | if (SWIG_arg_fail(2)) SWIG_fail; | |
19617 | } | |
19618 | { | |
19619 | arg3 = (int)(SWIG_As_int(obj2)); | |
19620 | if (SWIG_arg_fail(3)) SWIG_fail; | |
19621 | } | |
19622 | { | |
19623 | arg4 = (int)(SWIG_As_int(obj3)); | |
19624 | if (SWIG_arg_fail(4)) SWIG_fail; | |
19625 | } | |
19626 | { | |
19627 | arg5 = (int)(SWIG_As_int(obj4)); | |
19628 | if (SWIG_arg_fail(5)) SWIG_fail; | |
19629 | } | |
d55e5bfc RD |
19630 | { |
19631 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19632 | (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5); | |
19633 | ||
19634 | wxPyEndAllowThreads(__tstate); | |
19635 | if (PyErr_Occurred()) SWIG_fail; | |
19636 | } | |
19637 | Py_INCREF(Py_None); resultobj = Py_None; | |
19638 | return resultobj; | |
19639 | fail: | |
19640 | return NULL; | |
19641 | } | |
19642 | ||
19643 | ||
c370783e | 19644 | static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19645 | PyObject *resultobj; |
19646 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19647 | int arg2 ; | |
19648 | int arg3 ; | |
19649 | int arg4 ; | |
19650 | int arg5 ; | |
19651 | int arg6 = (int) wxSIZE_AUTO ; | |
19652 | PyObject * obj0 = 0 ; | |
19653 | PyObject * obj1 = 0 ; | |
19654 | PyObject * obj2 = 0 ; | |
19655 | PyObject * obj3 = 0 ; | |
19656 | PyObject * obj4 = 0 ; | |
19657 | PyObject * obj5 = 0 ; | |
19658 | char *kwnames[] = { | |
19659 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL | |
19660 | }; | |
19661 | ||
19662 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
36ed4f51 RD |
19663 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19664 | if (SWIG_arg_fail(1)) SWIG_fail; | |
19665 | { | |
19666 | arg2 = (int)(SWIG_As_int(obj1)); | |
19667 | if (SWIG_arg_fail(2)) SWIG_fail; | |
19668 | } | |
19669 | { | |
19670 | arg3 = (int)(SWIG_As_int(obj2)); | |
19671 | if (SWIG_arg_fail(3)) SWIG_fail; | |
19672 | } | |
19673 | { | |
19674 | arg4 = (int)(SWIG_As_int(obj3)); | |
19675 | if (SWIG_arg_fail(4)) SWIG_fail; | |
19676 | } | |
19677 | { | |
19678 | arg5 = (int)(SWIG_As_int(obj4)); | |
19679 | if (SWIG_arg_fail(5)) SWIG_fail; | |
19680 | } | |
d55e5bfc | 19681 | if (obj5) { |
36ed4f51 RD |
19682 | { |
19683 | arg6 = (int)(SWIG_As_int(obj5)); | |
19684 | if (SWIG_arg_fail(6)) SWIG_fail; | |
19685 | } | |
d55e5bfc RD |
19686 | } |
19687 | { | |
19688 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19689 | (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6); | |
19690 | ||
19691 | wxPyEndAllowThreads(__tstate); | |
19692 | if (PyErr_Occurred()) SWIG_fail; | |
19693 | } | |
19694 | Py_INCREF(Py_None); resultobj = Py_None; | |
19695 | return resultobj; | |
19696 | fail: | |
19697 | return NULL; | |
19698 | } | |
19699 | ||
19700 | ||
c370783e | 19701 | static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19702 | PyObject *resultobj; |
19703 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19704 | int arg2 ; | |
19705 | int arg3 ; | |
19706 | PyObject * obj0 = 0 ; | |
19707 | PyObject * obj1 = 0 ; | |
19708 | PyObject * obj2 = 0 ; | |
19709 | char *kwnames[] = { | |
19710 | (char *) "self",(char *) "width",(char *) "height", NULL | |
19711 | }; | |
19712 | ||
19713 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
19714 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19715 | if (SWIG_arg_fail(1)) SWIG_fail; | |
19716 | { | |
19717 | arg2 = (int)(SWIG_As_int(obj1)); | |
19718 | if (SWIG_arg_fail(2)) SWIG_fail; | |
19719 | } | |
19720 | { | |
19721 | arg3 = (int)(SWIG_As_int(obj2)); | |
19722 | if (SWIG_arg_fail(3)) SWIG_fail; | |
19723 | } | |
d55e5bfc RD |
19724 | { |
19725 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19726 | (arg1)->base_DoSetClientSize(arg2,arg3); | |
19727 | ||
19728 | wxPyEndAllowThreads(__tstate); | |
19729 | if (PyErr_Occurred()) SWIG_fail; | |
19730 | } | |
19731 | Py_INCREF(Py_None); resultobj = Py_None; | |
19732 | return resultobj; | |
19733 | fail: | |
19734 | return NULL; | |
19735 | } | |
19736 | ||
19737 | ||
c370783e | 19738 | static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19739 | PyObject *resultobj; |
19740 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19741 | int arg2 ; | |
19742 | int arg3 ; | |
19743 | PyObject * obj0 = 0 ; | |
19744 | PyObject * obj1 = 0 ; | |
19745 | PyObject * obj2 = 0 ; | |
19746 | char *kwnames[] = { | |
19747 | (char *) "self",(char *) "x",(char *) "y", NULL | |
19748 | }; | |
19749 | ||
19750 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
19751 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19752 | if (SWIG_arg_fail(1)) SWIG_fail; | |
19753 | { | |
19754 | arg2 = (int)(SWIG_As_int(obj1)); | |
19755 | if (SWIG_arg_fail(2)) SWIG_fail; | |
19756 | } | |
19757 | { | |
19758 | arg3 = (int)(SWIG_As_int(obj2)); | |
19759 | if (SWIG_arg_fail(3)) SWIG_fail; | |
19760 | } | |
d55e5bfc RD |
19761 | { |
19762 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19763 | (arg1)->base_DoSetVirtualSize(arg2,arg3); | |
19764 | ||
19765 | wxPyEndAllowThreads(__tstate); | |
19766 | if (PyErr_Occurred()) SWIG_fail; | |
19767 | } | |
19768 | Py_INCREF(Py_None); resultobj = Py_None; | |
19769 | return resultobj; | |
19770 | fail: | |
19771 | return NULL; | |
19772 | } | |
19773 | ||
19774 | ||
c370783e | 19775 | static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19776 | PyObject *resultobj; |
19777 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19778 | int *arg2 = (int *) 0 ; | |
19779 | int *arg3 = (int *) 0 ; | |
19780 | int temp2 ; | |
c370783e | 19781 | int res2 = 0 ; |
d55e5bfc | 19782 | int temp3 ; |
c370783e | 19783 | int res3 = 0 ; |
d55e5bfc RD |
19784 | PyObject * obj0 = 0 ; |
19785 | char *kwnames[] = { | |
19786 | (char *) "self", NULL | |
19787 | }; | |
19788 | ||
c370783e RD |
19789 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
19790 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc | 19791 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
19792 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19793 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19794 | { |
19795 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19796 | ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3); | |
19797 | ||
19798 | wxPyEndAllowThreads(__tstate); | |
19799 | if (PyErr_Occurred()) SWIG_fail; | |
19800 | } | |
19801 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
19802 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
19803 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
19804 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
19805 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
19806 | return resultobj; |
19807 | fail: | |
19808 | return NULL; | |
19809 | } | |
19810 | ||
19811 | ||
c370783e | 19812 | static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19813 | PyObject *resultobj; |
19814 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19815 | int *arg2 = (int *) 0 ; | |
19816 | int *arg3 = (int *) 0 ; | |
19817 | int temp2 ; | |
c370783e | 19818 | int res2 = 0 ; |
d55e5bfc | 19819 | int temp3 ; |
c370783e | 19820 | int res3 = 0 ; |
d55e5bfc RD |
19821 | PyObject * obj0 = 0 ; |
19822 | char *kwnames[] = { | |
19823 | (char *) "self", NULL | |
19824 | }; | |
19825 | ||
c370783e RD |
19826 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
19827 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc | 19828 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
19829 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19830 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19831 | { |
19832 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19833 | ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3); | |
19834 | ||
19835 | wxPyEndAllowThreads(__tstate); | |
19836 | if (PyErr_Occurred()) SWIG_fail; | |
19837 | } | |
19838 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
19839 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
19840 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
19841 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
19842 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
19843 | return resultobj; |
19844 | fail: | |
19845 | return NULL; | |
19846 | } | |
19847 | ||
19848 | ||
c370783e | 19849 | static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19850 | PyObject *resultobj; |
19851 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19852 | int *arg2 = (int *) 0 ; | |
19853 | int *arg3 = (int *) 0 ; | |
19854 | int temp2 ; | |
c370783e | 19855 | int res2 = 0 ; |
d55e5bfc | 19856 | int temp3 ; |
c370783e | 19857 | int res3 = 0 ; |
d55e5bfc RD |
19858 | PyObject * obj0 = 0 ; |
19859 | char *kwnames[] = { | |
19860 | (char *) "self", NULL | |
19861 | }; | |
19862 | ||
c370783e RD |
19863 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
19864 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc | 19865 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
19866 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19867 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19868 | { |
19869 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19870 | ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3); | |
19871 | ||
19872 | wxPyEndAllowThreads(__tstate); | |
19873 | if (PyErr_Occurred()) SWIG_fail; | |
19874 | } | |
19875 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
19876 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
19877 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
19878 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
19879 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
19880 | return resultobj; |
19881 | fail: | |
19882 | return NULL; | |
19883 | } | |
19884 | ||
19885 | ||
c370783e | 19886 | static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19887 | PyObject *resultobj; |
19888 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19889 | wxSize result; | |
19890 | PyObject * obj0 = 0 ; | |
19891 | char *kwnames[] = { | |
19892 | (char *) "self", NULL | |
19893 | }; | |
19894 | ||
19895 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
19896 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19897 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19898 | { |
19899 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19900 | result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize(); | |
19901 | ||
19902 | wxPyEndAllowThreads(__tstate); | |
19903 | if (PyErr_Occurred()) SWIG_fail; | |
19904 | } | |
19905 | { | |
19906 | wxSize * resultptr; | |
36ed4f51 | 19907 | resultptr = new wxSize((wxSize &)(result)); |
d55e5bfc RD |
19908 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
19909 | } | |
19910 | return resultobj; | |
19911 | fail: | |
19912 | return NULL; | |
19913 | } | |
19914 | ||
19915 | ||
c370783e | 19916 | static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19917 | PyObject *resultobj; |
19918 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19919 | wxSize result; | |
19920 | PyObject * obj0 = 0 ; | |
19921 | char *kwnames[] = { | |
19922 | (char *) "self", NULL | |
19923 | }; | |
19924 | ||
19925 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
19926 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19927 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19928 | { |
19929 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19930 | result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize(); | |
19931 | ||
19932 | wxPyEndAllowThreads(__tstate); | |
19933 | if (PyErr_Occurred()) SWIG_fail; | |
19934 | } | |
19935 | { | |
19936 | wxSize * resultptr; | |
36ed4f51 | 19937 | resultptr = new wxSize((wxSize &)(result)); |
d55e5bfc RD |
19938 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
19939 | } | |
19940 | return resultobj; | |
19941 | fail: | |
19942 | return NULL; | |
19943 | } | |
19944 | ||
19945 | ||
c370783e | 19946 | static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19947 | PyObject *resultobj; |
19948 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19949 | PyObject * obj0 = 0 ; | |
19950 | char *kwnames[] = { | |
19951 | (char *) "self", NULL | |
19952 | }; | |
19953 | ||
19954 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
19955 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19956 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19957 | { |
19958 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19959 | (arg1)->base_InitDialog(); | |
19960 | ||
19961 | wxPyEndAllowThreads(__tstate); | |
19962 | if (PyErr_Occurred()) SWIG_fail; | |
19963 | } | |
19964 | Py_INCREF(Py_None); resultobj = Py_None; | |
19965 | return resultobj; | |
19966 | fail: | |
19967 | return NULL; | |
19968 | } | |
19969 | ||
19970 | ||
c370783e | 19971 | static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19972 | PyObject *resultobj; |
19973 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19974 | bool result; | |
19975 | PyObject * obj0 = 0 ; | |
19976 | char *kwnames[] = { | |
19977 | (char *) "self", NULL | |
19978 | }; | |
19979 | ||
19980 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
19981 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19982 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19983 | { |
19984 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19985 | result = (bool)(arg1)->base_TransferDataToWindow(); | |
19986 | ||
19987 | wxPyEndAllowThreads(__tstate); | |
19988 | if (PyErr_Occurred()) SWIG_fail; | |
19989 | } | |
19990 | { | |
19991 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19992 | } | |
19993 | return resultobj; | |
19994 | fail: | |
19995 | return NULL; | |
19996 | } | |
19997 | ||
19998 | ||
c370783e | 19999 | static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20000 | PyObject *resultobj; |
20001 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
20002 | bool result; | |
20003 | PyObject * obj0 = 0 ; | |
20004 | char *kwnames[] = { | |
20005 | (char *) "self", NULL | |
20006 | }; | |
20007 | ||
20008 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
20009 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20010 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20011 | { |
20012 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20013 | result = (bool)(arg1)->base_TransferDataFromWindow(); | |
20014 | ||
20015 | wxPyEndAllowThreads(__tstate); | |
20016 | if (PyErr_Occurred()) SWIG_fail; | |
20017 | } | |
20018 | { | |
20019 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20020 | } | |
20021 | return resultobj; | |
20022 | fail: | |
20023 | return NULL; | |
20024 | } | |
20025 | ||
20026 | ||
c370783e | 20027 | static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20028 | PyObject *resultobj; |
20029 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
20030 | bool result; | |
20031 | PyObject * obj0 = 0 ; | |
20032 | char *kwnames[] = { | |
20033 | (char *) "self", NULL | |
20034 | }; | |
20035 | ||
20036 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
20037 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20038 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20039 | { |
20040 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20041 | result = (bool)(arg1)->base_Validate(); | |
20042 | ||
20043 | wxPyEndAllowThreads(__tstate); | |
20044 | if (PyErr_Occurred()) SWIG_fail; | |
20045 | } | |
20046 | { | |
20047 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20048 | } | |
20049 | return resultobj; | |
20050 | fail: | |
20051 | return NULL; | |
20052 | } | |
20053 | ||
20054 | ||
c370783e | 20055 | static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20056 | PyObject *resultobj; |
20057 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
20058 | bool result; | |
20059 | PyObject * obj0 = 0 ; | |
20060 | char *kwnames[] = { | |
20061 | (char *) "self", NULL | |
20062 | }; | |
20063 | ||
20064 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
20065 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20066 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20067 | { |
20068 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20069 | result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus(); | |
20070 | ||
20071 | wxPyEndAllowThreads(__tstate); | |
20072 | if (PyErr_Occurred()) SWIG_fail; | |
20073 | } | |
20074 | { | |
20075 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20076 | } | |
20077 | return resultobj; | |
20078 | fail: | |
20079 | return NULL; | |
20080 | } | |
20081 | ||
20082 | ||
c370783e | 20083 | static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20084 | PyObject *resultobj; |
20085 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
20086 | bool result; | |
20087 | PyObject * obj0 = 0 ; | |
20088 | char *kwnames[] = { | |
20089 | (char *) "self", NULL | |
20090 | }; | |
20091 | ||
20092 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
20093 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20094 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20095 | { |
20096 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20097 | result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard(); | |
20098 | ||
20099 | wxPyEndAllowThreads(__tstate); | |
20100 | if (PyErr_Occurred()) SWIG_fail; | |
20101 | } | |
20102 | { | |
20103 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20104 | } | |
20105 | return resultobj; | |
20106 | fail: | |
20107 | return NULL; | |
20108 | } | |
20109 | ||
20110 | ||
c370783e | 20111 | static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20112 | PyObject *resultobj; |
20113 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
20114 | wxSize result; | |
20115 | PyObject * obj0 = 0 ; | |
20116 | char *kwnames[] = { | |
20117 | (char *) "self", NULL | |
20118 | }; | |
20119 | ||
20120 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
20121 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20122 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20123 | { |
20124 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20125 | result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize(); | |
20126 | ||
20127 | wxPyEndAllowThreads(__tstate); | |
20128 | if (PyErr_Occurred()) SWIG_fail; | |
20129 | } | |
20130 | { | |
20131 | wxSize * resultptr; | |
36ed4f51 | 20132 | resultptr = new wxSize((wxSize &)(result)); |
d55e5bfc RD |
20133 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
20134 | } | |
20135 | return resultobj; | |
20136 | fail: | |
20137 | return NULL; | |
20138 | } | |
20139 | ||
20140 | ||
c370783e | 20141 | static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20142 | PyObject *resultobj; |
20143 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
20144 | wxWindow *arg2 = (wxWindow *) 0 ; | |
20145 | PyObject * obj0 = 0 ; | |
20146 | PyObject * obj1 = 0 ; | |
20147 | char *kwnames[] = { | |
20148 | (char *) "self",(char *) "child", NULL | |
20149 | }; | |
20150 | ||
20151 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
20152 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20153 | if (SWIG_arg_fail(1)) SWIG_fail; | |
20154 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
20155 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
20156 | { |
20157 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20158 | (arg1)->base_AddChild(arg2); | |
20159 | ||
20160 | wxPyEndAllowThreads(__tstate); | |
20161 | if (PyErr_Occurred()) SWIG_fail; | |
20162 | } | |
20163 | Py_INCREF(Py_None); resultobj = Py_None; | |
20164 | return resultobj; | |
20165 | fail: | |
20166 | return NULL; | |
20167 | } | |
20168 | ||
20169 | ||
c370783e | 20170 | static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20171 | PyObject *resultobj; |
20172 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
20173 | wxWindow *arg2 = (wxWindow *) 0 ; | |
20174 | PyObject * obj0 = 0 ; | |
20175 | PyObject * obj1 = 0 ; | |
20176 | char *kwnames[] = { | |
20177 | (char *) "self",(char *) "child", NULL | |
20178 | }; | |
20179 | ||
20180 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
20181 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20182 | if (SWIG_arg_fail(1)) SWIG_fail; | |
20183 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
20184 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
20185 | { |
20186 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20187 | (arg1)->base_RemoveChild(arg2); | |
20188 | ||
20189 | wxPyEndAllowThreads(__tstate); | |
20190 | if (PyErr_Occurred()) SWIG_fail; | |
20191 | } | |
20192 | Py_INCREF(Py_None); resultobj = Py_None; | |
20193 | return resultobj; | |
20194 | fail: | |
20195 | return NULL; | |
20196 | } | |
20197 | ||
20198 | ||
c370783e | 20199 | static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20200 | PyObject *resultobj; |
20201 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
20202 | bool result; | |
20203 | PyObject * obj0 = 0 ; | |
20204 | char *kwnames[] = { | |
20205 | (char *) "self", NULL | |
20206 | }; | |
20207 | ||
20208 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
20209 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20210 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20211 | { |
20212 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
a5ee0656 | 20213 | result = (bool)((wxPyScrolledWindow const *)arg1)->base_ShouldInheritColours(); |
d55e5bfc RD |
20214 | |
20215 | wxPyEndAllowThreads(__tstate); | |
20216 | if (PyErr_Occurred()) SWIG_fail; | |
20217 | } | |
20218 | { | |
20219 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20220 | } | |
20221 | return resultobj; | |
20222 | fail: | |
20223 | return NULL; | |
20224 | } | |
20225 | ||
20226 | ||
c370783e | 20227 | static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
a5ee0656 RD |
20228 | PyObject *resultobj; |
20229 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
20230 | wxVisualAttributes result; | |
20231 | PyObject * obj0 = 0 ; | |
20232 | char *kwnames[] = { | |
20233 | (char *) "self", NULL | |
20234 | }; | |
20235 | ||
20236 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
20237 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20238 | if (SWIG_arg_fail(1)) SWIG_fail; | |
a5ee0656 RD |
20239 | { |
20240 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20241 | result = (arg1)->base_GetDefaultAttributes(); | |
20242 | ||
20243 | wxPyEndAllowThreads(__tstate); | |
20244 | if (PyErr_Occurred()) SWIG_fail; | |
20245 | } | |
20246 | { | |
20247 | wxVisualAttributes * resultptr; | |
36ed4f51 | 20248 | resultptr = new wxVisualAttributes((wxVisualAttributes &)(result)); |
a5ee0656 RD |
20249 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); |
20250 | } | |
20251 | return resultobj; | |
20252 | fail: | |
20253 | return NULL; | |
20254 | } | |
20255 | ||
20256 | ||
8d38bd1d RD |
20257 | static PyObject *_wrap_PyScrolledWindow_base_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) { |
20258 | PyObject *resultobj; | |
20259 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
20260 | PyObject * obj0 = 0 ; | |
20261 | char *kwnames[] = { | |
20262 | (char *) "self", NULL | |
20263 | }; | |
20264 | ||
20265 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_OnInternalIdle",kwnames,&obj0)) goto fail; | |
20266 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); | |
20267 | if (SWIG_arg_fail(1)) SWIG_fail; | |
20268 | { | |
20269 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20270 | (arg1)->base_OnInternalIdle(); | |
20271 | ||
20272 | wxPyEndAllowThreads(__tstate); | |
20273 | if (PyErr_Occurred()) SWIG_fail; | |
20274 | } | |
20275 | Py_INCREF(Py_None); resultobj = Py_None; | |
20276 | return resultobj; | |
20277 | fail: | |
20278 | return NULL; | |
20279 | } | |
20280 | ||
20281 | ||
c370783e | 20282 | static PyObject * PyScrolledWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
20283 | PyObject *obj; |
20284 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
20285 | SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj); | |
20286 | Py_INCREF(obj); | |
20287 | return Py_BuildValue((char *)""); | |
20288 | } | |
c370783e | 20289 | static int _wrap_PrintoutTitleStr_set(PyObject *) { |
d55e5bfc RD |
20290 | PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only."); |
20291 | return 1; | |
20292 | } | |
20293 | ||
20294 | ||
36ed4f51 | 20295 | static PyObject *_wrap_PrintoutTitleStr_get(void) { |
d55e5bfc RD |
20296 | PyObject *pyobj; |
20297 | ||
20298 | { | |
20299 | #if wxUSE_UNICODE | |
20300 | pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len()); | |
20301 | #else | |
20302 | pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len()); | |
20303 | #endif | |
20304 | } | |
20305 | return pyobj; | |
20306 | } | |
20307 | ||
20308 | ||
c370783e | 20309 | static int _wrap_PreviewCanvasNameStr_set(PyObject *) { |
d55e5bfc RD |
20310 | PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only."); |
20311 | return 1; | |
20312 | } | |
20313 | ||
20314 | ||
36ed4f51 | 20315 | static PyObject *_wrap_PreviewCanvasNameStr_get(void) { |
d55e5bfc RD |
20316 | PyObject *pyobj; |
20317 | ||
20318 | { | |
20319 | #if wxUSE_UNICODE | |
20320 | pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len()); | |
20321 | #else | |
20322 | pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len()); | |
20323 | #endif | |
20324 | } | |
20325 | return pyobj; | |
20326 | } | |
20327 | ||
20328 | ||
c370783e | 20329 | static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *, PyObject *args) { |
d55e5bfc RD |
20330 | PyObject *resultobj; |
20331 | wxPrintData *result; | |
d55e5bfc | 20332 | |
09c21d3b | 20333 | if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail; |
d55e5bfc RD |
20334 | { |
20335 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20336 | result = (wxPrintData *)new wxPrintData(); | |
20337 | ||
20338 | wxPyEndAllowThreads(__tstate); | |
20339 | if (PyErr_Occurred()) SWIG_fail; | |
20340 | } | |
20341 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1); | |
20342 | return resultobj; | |
20343 | fail: | |
20344 | return NULL; | |
20345 | } | |
20346 | ||
20347 | ||
c370783e | 20348 | static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *, PyObject *args) { |
09c21d3b RD |
20349 | PyObject *resultobj; |
20350 | wxPrintData *arg1 = 0 ; | |
20351 | wxPrintData *result; | |
20352 | PyObject * obj0 = 0 ; | |
20353 | ||
20354 | if(!PyArg_ParseTuple(args,(char *)"O:new_PrintData",&obj0)) goto fail; | |
36ed4f51 RD |
20355 | { |
20356 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); | |
20357 | if (SWIG_arg_fail(1)) SWIG_fail; | |
20358 | if (arg1 == NULL) { | |
20359 | SWIG_null_ref("wxPrintData"); | |
20360 | } | |
20361 | if (SWIG_arg_fail(1)) SWIG_fail; | |
09c21d3b RD |
20362 | } |
20363 | { | |
20364 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20365 | result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1); | |
20366 | ||
20367 | wxPyEndAllowThreads(__tstate); | |
20368 | if (PyErr_Occurred()) SWIG_fail; | |
20369 | } | |
20370 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1); | |
20371 | return resultobj; | |
20372 | fail: | |
20373 | return NULL; | |
20374 | } | |
20375 | ||
20376 | ||
20377 | static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) { | |
20378 | int argc; | |
20379 | PyObject *argv[2]; | |
20380 | int ii; | |
20381 | ||
20382 | argc = PyObject_Length(args); | |
20383 | for (ii = 0; (ii < argc) && (ii < 1); ii++) { | |
20384 | argv[ii] = PyTuple_GetItem(args,ii); | |
20385 | } | |
20386 | if (argc == 0) { | |
20387 | return _wrap_new_PrintData__SWIG_0(self,args); | |
20388 | } | |
20389 | if (argc == 1) { | |
20390 | int _v; | |
20391 | { | |
36ed4f51 | 20392 | void *ptr = 0; |
09c21d3b RD |
20393 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { |
20394 | _v = 0; | |
20395 | PyErr_Clear(); | |
20396 | } else { | |
36ed4f51 | 20397 | _v = (ptr != 0); |
09c21d3b RD |
20398 | } |
20399 | } | |
20400 | if (_v) { | |
20401 | return _wrap_new_PrintData__SWIG_1(self,args); | |
20402 | } | |
20403 | } | |
20404 | ||
36ed4f51 | 20405 | PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'"); |
09c21d3b RD |
20406 | return NULL; |
20407 | } | |
20408 | ||
20409 | ||
c370783e | 20410 | static PyObject *_wrap_delete_PrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20411 | PyObject *resultobj; |
20412 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20413 | PyObject * obj0 = 0 ; | |
20414 | char *kwnames[] = { | |
20415 | (char *) "self", NULL | |
20416 | }; | |
20417 | ||
20418 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
20419 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20420 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20421 | { |
20422 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20423 | delete arg1; | |
20424 | ||
20425 | wxPyEndAllowThreads(__tstate); | |
20426 | if (PyErr_Occurred()) SWIG_fail; | |
20427 | } | |
20428 | Py_INCREF(Py_None); resultobj = Py_None; | |
20429 | return resultobj; | |
20430 | fail: | |
20431 | return NULL; | |
20432 | } | |
20433 | ||
20434 | ||
c370783e | 20435 | static PyObject *_wrap_PrintData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20436 | PyObject *resultobj; |
20437 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20438 | int result; | |
20439 | PyObject * obj0 = 0 ; | |
20440 | char *kwnames[] = { | |
20441 | (char *) "self", NULL | |
20442 | }; | |
20443 | ||
20444 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
20445 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20446 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20447 | { |
20448 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20449 | result = (int)(arg1)->GetNoCopies(); | |
20450 | ||
20451 | wxPyEndAllowThreads(__tstate); | |
20452 | if (PyErr_Occurred()) SWIG_fail; | |
20453 | } | |
36ed4f51 RD |
20454 | { |
20455 | resultobj = SWIG_From_int((int)(result)); | |
20456 | } | |
d55e5bfc RD |
20457 | return resultobj; |
20458 | fail: | |
20459 | return NULL; | |
20460 | } | |
20461 | ||
20462 | ||
c370783e | 20463 | static PyObject *_wrap_PrintData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20464 | PyObject *resultobj; |
20465 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20466 | bool result; | |
20467 | PyObject * obj0 = 0 ; | |
20468 | char *kwnames[] = { | |
20469 | (char *) "self", NULL | |
20470 | }; | |
20471 | ||
20472 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
20473 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20474 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20475 | { |
20476 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20477 | result = (bool)(arg1)->GetCollate(); | |
20478 | ||
20479 | wxPyEndAllowThreads(__tstate); | |
20480 | if (PyErr_Occurred()) SWIG_fail; | |
20481 | } | |
20482 | { | |
20483 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20484 | } | |
20485 | return resultobj; | |
20486 | fail: | |
20487 | return NULL; | |
20488 | } | |
20489 | ||
20490 | ||
c370783e | 20491 | static PyObject *_wrap_PrintData_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20492 | PyObject *resultobj; |
20493 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20494 | int result; | |
20495 | PyObject * obj0 = 0 ; | |
20496 | char *kwnames[] = { | |
20497 | (char *) "self", NULL | |
20498 | }; | |
20499 | ||
20500 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
20501 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20502 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20503 | { |
20504 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20505 | result = (int)(arg1)->GetOrientation(); | |
20506 | ||
20507 | wxPyEndAllowThreads(__tstate); | |
20508 | if (PyErr_Occurred()) SWIG_fail; | |
20509 | } | |
36ed4f51 RD |
20510 | { |
20511 | resultobj = SWIG_From_int((int)(result)); | |
20512 | } | |
d55e5bfc RD |
20513 | return resultobj; |
20514 | fail: | |
20515 | return NULL; | |
20516 | } | |
20517 | ||
20518 | ||
c370783e | 20519 | static PyObject *_wrap_PrintData_Ok(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20520 | PyObject *resultobj; |
20521 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20522 | bool result; | |
20523 | PyObject * obj0 = 0 ; | |
20524 | char *kwnames[] = { | |
20525 | (char *) "self", NULL | |
20526 | }; | |
20527 | ||
20528 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
20529 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20530 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20531 | { |
20532 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20533 | result = (bool)(arg1)->Ok(); | |
20534 | ||
20535 | wxPyEndAllowThreads(__tstate); | |
20536 | if (PyErr_Occurred()) SWIG_fail; | |
20537 | } | |
20538 | { | |
20539 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20540 | } | |
20541 | return resultobj; | |
20542 | fail: | |
20543 | return NULL; | |
20544 | } | |
20545 | ||
20546 | ||
c370783e | 20547 | static PyObject *_wrap_PrintData_GetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20548 | PyObject *resultobj; |
20549 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20550 | wxString *result; | |
20551 | PyObject * obj0 = 0 ; | |
20552 | char *kwnames[] = { | |
20553 | (char *) "self", NULL | |
20554 | }; | |
20555 | ||
20556 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
20557 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20558 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20559 | { |
20560 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20561 | { | |
20562 | wxString const &_result_ref = (arg1)->GetPrinterName(); | |
20563 | result = (wxString *) &_result_ref; | |
20564 | } | |
20565 | ||
20566 | wxPyEndAllowThreads(__tstate); | |
20567 | if (PyErr_Occurred()) SWIG_fail; | |
20568 | } | |
20569 | { | |
20570 | #if wxUSE_UNICODE | |
20571 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
20572 | #else | |
20573 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
20574 | #endif | |
20575 | } | |
20576 | return resultobj; | |
20577 | fail: | |
20578 | return NULL; | |
20579 | } | |
20580 | ||
20581 | ||
c370783e | 20582 | static PyObject *_wrap_PrintData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20583 | PyObject *resultobj; |
20584 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20585 | bool result; | |
20586 | PyObject * obj0 = 0 ; | |
20587 | char *kwnames[] = { | |
20588 | (char *) "self", NULL | |
20589 | }; | |
20590 | ||
20591 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
20592 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20593 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20594 | { |
20595 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20596 | result = (bool)(arg1)->GetColour(); | |
20597 | ||
20598 | wxPyEndAllowThreads(__tstate); | |
20599 | if (PyErr_Occurred()) SWIG_fail; | |
20600 | } | |
20601 | { | |
20602 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20603 | } | |
20604 | return resultobj; | |
20605 | fail: | |
20606 | return NULL; | |
20607 | } | |
20608 | ||
20609 | ||
c370783e | 20610 | static PyObject *_wrap_PrintData_GetDuplex(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20611 | PyObject *resultobj; |
20612 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
36ed4f51 | 20613 | wxDuplexMode result; |
d55e5bfc RD |
20614 | PyObject * obj0 = 0 ; |
20615 | char *kwnames[] = { | |
20616 | (char *) "self", NULL | |
20617 | }; | |
20618 | ||
20619 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
20620 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20621 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20622 | { |
20623 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 20624 | result = (wxDuplexMode)(arg1)->GetDuplex(); |
d55e5bfc RD |
20625 | |
20626 | wxPyEndAllowThreads(__tstate); | |
20627 | if (PyErr_Occurred()) SWIG_fail; | |
20628 | } | |
36ed4f51 | 20629 | resultobj = SWIG_From_int((result)); |
d55e5bfc RD |
20630 | return resultobj; |
20631 | fail: | |
20632 | return NULL; | |
20633 | } | |
20634 | ||
20635 | ||
c370783e | 20636 | static PyObject *_wrap_PrintData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20637 | PyObject *resultobj; |
20638 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
36ed4f51 | 20639 | wxPaperSize result; |
d55e5bfc RD |
20640 | PyObject * obj0 = 0 ; |
20641 | char *kwnames[] = { | |
20642 | (char *) "self", NULL | |
20643 | }; | |
20644 | ||
20645 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
20646 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20647 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20648 | { |
20649 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 20650 | result = (wxPaperSize)(arg1)->GetPaperId(); |
d55e5bfc RD |
20651 | |
20652 | wxPyEndAllowThreads(__tstate); | |
20653 | if (PyErr_Occurred()) SWIG_fail; | |
20654 | } | |
36ed4f51 | 20655 | resultobj = SWIG_From_int((result)); |
d55e5bfc RD |
20656 | return resultobj; |
20657 | fail: | |
20658 | return NULL; | |
20659 | } | |
20660 | ||
20661 | ||
c370783e | 20662 | static PyObject *_wrap_PrintData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20663 | PyObject *resultobj; |
20664 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20665 | wxSize *result; | |
20666 | PyObject * obj0 = 0 ; | |
20667 | char *kwnames[] = { | |
20668 | (char *) "self", NULL | |
20669 | }; | |
20670 | ||
20671 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
20672 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20673 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20674 | { |
20675 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20676 | { | |
20677 | wxSize const &_result_ref = (arg1)->GetPaperSize(); | |
20678 | result = (wxSize *) &_result_ref; | |
20679 | } | |
20680 | ||
20681 | wxPyEndAllowThreads(__tstate); | |
20682 | if (PyErr_Occurred()) SWIG_fail; | |
20683 | } | |
20684 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0); | |
20685 | return resultobj; | |
20686 | fail: | |
20687 | return NULL; | |
20688 | } | |
20689 | ||
20690 | ||
c370783e | 20691 | static PyObject *_wrap_PrintData_GetQuality(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20692 | PyObject *resultobj; |
20693 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20694 | int result; | |
20695 | PyObject * obj0 = 0 ; | |
20696 | char *kwnames[] = { | |
20697 | (char *) "self", NULL | |
20698 | }; | |
20699 | ||
20700 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
20701 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20702 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20703 | { |
20704 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20705 | result = (int)(arg1)->GetQuality(); | |
20706 | ||
20707 | wxPyEndAllowThreads(__tstate); | |
20708 | if (PyErr_Occurred()) SWIG_fail; | |
20709 | } | |
36ed4f51 RD |
20710 | { |
20711 | resultobj = SWIG_From_int((int)(result)); | |
20712 | } | |
d55e5bfc RD |
20713 | return resultobj; |
20714 | fail: | |
20715 | return NULL; | |
20716 | } | |
20717 | ||
20718 | ||
b411df4a RD |
20719 | static PyObject *_wrap_PrintData_GetBin(PyObject *, PyObject *args, PyObject *kwargs) { |
20720 | PyObject *resultobj; | |
20721 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
36ed4f51 | 20722 | wxPrintBin result; |
b411df4a RD |
20723 | PyObject * obj0 = 0 ; |
20724 | char *kwnames[] = { | |
20725 | (char *) "self", NULL | |
20726 | }; | |
20727 | ||
20728 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetBin",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
20729 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20730 | if (SWIG_arg_fail(1)) SWIG_fail; | |
b411df4a RD |
20731 | { |
20732 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 20733 | result = (wxPrintBin)(arg1)->GetBin(); |
b411df4a RD |
20734 | |
20735 | wxPyEndAllowThreads(__tstate); | |
20736 | if (PyErr_Occurred()) SWIG_fail; | |
20737 | } | |
36ed4f51 | 20738 | resultobj = SWIG_From_int((result)); |
b411df4a RD |
20739 | return resultobj; |
20740 | fail: | |
20741 | return NULL; | |
20742 | } | |
20743 | ||
20744 | ||
070c48b4 RD |
20745 | static PyObject *_wrap_PrintData_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) { |
20746 | PyObject *resultobj; | |
20747 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
36ed4f51 | 20748 | wxPrintMode result; |
070c48b4 RD |
20749 | PyObject * obj0 = 0 ; |
20750 | char *kwnames[] = { | |
20751 | (char *) "self", NULL | |
20752 | }; | |
20753 | ||
20754 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
20755 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20756 | if (SWIG_arg_fail(1)) SWIG_fail; | |
070c48b4 RD |
20757 | { |
20758 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 20759 | result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode(); |
070c48b4 RD |
20760 | |
20761 | wxPyEndAllowThreads(__tstate); | |
20762 | if (PyErr_Occurred()) SWIG_fail; | |
20763 | } | |
36ed4f51 | 20764 | resultobj = SWIG_From_int((result)); |
070c48b4 RD |
20765 | return resultobj; |
20766 | fail: | |
20767 | return NULL; | |
20768 | } | |
20769 | ||
20770 | ||
c370783e | 20771 | static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20772 | PyObject *resultobj; |
20773 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20774 | int arg2 ; | |
20775 | PyObject * obj0 = 0 ; | |
20776 | PyObject * obj1 = 0 ; | |
20777 | char *kwnames[] = { | |
20778 | (char *) "self",(char *) "v", NULL | |
20779 | }; | |
20780 | ||
20781 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
20782 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20783 | if (SWIG_arg_fail(1)) SWIG_fail; | |
20784 | { | |
20785 | arg2 = (int)(SWIG_As_int(obj1)); | |
20786 | if (SWIG_arg_fail(2)) SWIG_fail; | |
20787 | } | |
d55e5bfc RD |
20788 | { |
20789 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20790 | (arg1)->SetNoCopies(arg2); | |
20791 | ||
20792 | wxPyEndAllowThreads(__tstate); | |
20793 | if (PyErr_Occurred()) SWIG_fail; | |
20794 | } | |
20795 | Py_INCREF(Py_None); resultobj = Py_None; | |
20796 | return resultobj; | |
20797 | fail: | |
20798 | return NULL; | |
20799 | } | |
20800 | ||
20801 | ||
c370783e | 20802 | static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20803 | PyObject *resultobj; |
20804 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20805 | bool arg2 ; | |
20806 | PyObject * obj0 = 0 ; | |
20807 | PyObject * obj1 = 0 ; | |
20808 | char *kwnames[] = { | |
20809 | (char *) "self",(char *) "flag", NULL | |
20810 | }; | |
20811 | ||
20812 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
20813 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20814 | if (SWIG_arg_fail(1)) SWIG_fail; | |
20815 | { | |
20816 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
20817 | if (SWIG_arg_fail(2)) SWIG_fail; | |
20818 | } | |
d55e5bfc RD |
20819 | { |
20820 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20821 | (arg1)->SetCollate(arg2); | |
20822 | ||
20823 | wxPyEndAllowThreads(__tstate); | |
20824 | if (PyErr_Occurred()) SWIG_fail; | |
20825 | } | |
20826 | Py_INCREF(Py_None); resultobj = Py_None; | |
20827 | return resultobj; | |
20828 | fail: | |
20829 | return NULL; | |
20830 | } | |
20831 | ||
20832 | ||
c370783e | 20833 | static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20834 | PyObject *resultobj; |
20835 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20836 | int arg2 ; | |
20837 | PyObject * obj0 = 0 ; | |
20838 | PyObject * obj1 = 0 ; | |
20839 | char *kwnames[] = { | |
20840 | (char *) "self",(char *) "orient", NULL | |
20841 | }; | |
20842 | ||
20843 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
20844 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20845 | if (SWIG_arg_fail(1)) SWIG_fail; | |
20846 | { | |
20847 | arg2 = (int)(SWIG_As_int(obj1)); | |
20848 | if (SWIG_arg_fail(2)) SWIG_fail; | |
20849 | } | |
d55e5bfc RD |
20850 | { |
20851 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20852 | (arg1)->SetOrientation(arg2); | |
20853 | ||
20854 | wxPyEndAllowThreads(__tstate); | |
20855 | if (PyErr_Occurred()) SWIG_fail; | |
20856 | } | |
20857 | Py_INCREF(Py_None); resultobj = Py_None; | |
20858 | return resultobj; | |
20859 | fail: | |
20860 | return NULL; | |
20861 | } | |
20862 | ||
20863 | ||
c370783e | 20864 | static PyObject *_wrap_PrintData_SetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20865 | PyObject *resultobj; |
20866 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20867 | wxString *arg2 = 0 ; | |
b411df4a | 20868 | bool temp2 = false ; |
d55e5bfc RD |
20869 | PyObject * obj0 = 0 ; |
20870 | PyObject * obj1 = 0 ; | |
20871 | char *kwnames[] = { | |
20872 | (char *) "self",(char *) "name", NULL | |
20873 | }; | |
20874 | ||
20875 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
20876 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20877 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20878 | { |
20879 | arg2 = wxString_in_helper(obj1); | |
20880 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 20881 | temp2 = true; |
d55e5bfc RD |
20882 | } |
20883 | { | |
20884 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20885 | (arg1)->SetPrinterName((wxString const &)*arg2); | |
20886 | ||
20887 | wxPyEndAllowThreads(__tstate); | |
20888 | if (PyErr_Occurred()) SWIG_fail; | |
20889 | } | |
20890 | Py_INCREF(Py_None); resultobj = Py_None; | |
20891 | { | |
20892 | if (temp2) | |
20893 | delete arg2; | |
20894 | } | |
20895 | return resultobj; | |
20896 | fail: | |
20897 | { | |
20898 | if (temp2) | |
20899 | delete arg2; | |
20900 | } | |
20901 | return NULL; | |
20902 | } | |
20903 | ||
20904 | ||
c370783e | 20905 | static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20906 | PyObject *resultobj; |
20907 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20908 | bool arg2 ; | |
20909 | PyObject * obj0 = 0 ; | |
20910 | PyObject * obj1 = 0 ; | |
20911 | char *kwnames[] = { | |
20912 | (char *) "self",(char *) "colour", NULL | |
20913 | }; | |
20914 | ||
20915 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
20916 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20917 | if (SWIG_arg_fail(1)) SWIG_fail; | |
20918 | { | |
20919 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
20920 | if (SWIG_arg_fail(2)) SWIG_fail; | |
20921 | } | |
d55e5bfc RD |
20922 | { |
20923 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20924 | (arg1)->SetColour(arg2); | |
20925 | ||
20926 | wxPyEndAllowThreads(__tstate); | |
20927 | if (PyErr_Occurred()) SWIG_fail; | |
20928 | } | |
20929 | Py_INCREF(Py_None); resultobj = Py_None; | |
20930 | return resultobj; | |
20931 | fail: | |
20932 | return NULL; | |
20933 | } | |
20934 | ||
20935 | ||
c370783e | 20936 | static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20937 | PyObject *resultobj; |
20938 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
36ed4f51 | 20939 | wxDuplexMode arg2 ; |
d55e5bfc RD |
20940 | PyObject * obj0 = 0 ; |
20941 | PyObject * obj1 = 0 ; | |
20942 | char *kwnames[] = { | |
20943 | (char *) "self",(char *) "duplex", NULL | |
20944 | }; | |
20945 | ||
20946 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
20947 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20948 | if (SWIG_arg_fail(1)) SWIG_fail; | |
20949 | { | |
20950 | arg2 = (wxDuplexMode)(SWIG_As_int(obj1)); | |
20951 | if (SWIG_arg_fail(2)) SWIG_fail; | |
20952 | } | |
d55e5bfc RD |
20953 | { |
20954 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20955 | (arg1)->SetDuplex((wxDuplexMode )arg2); | |
20956 | ||
20957 | wxPyEndAllowThreads(__tstate); | |
20958 | if (PyErr_Occurred()) SWIG_fail; | |
20959 | } | |
20960 | Py_INCREF(Py_None); resultobj = Py_None; | |
20961 | return resultobj; | |
20962 | fail: | |
20963 | return NULL; | |
20964 | } | |
20965 | ||
20966 | ||
c370783e | 20967 | static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20968 | PyObject *resultobj; |
20969 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
36ed4f51 | 20970 | wxPaperSize arg2 ; |
d55e5bfc RD |
20971 | PyObject * obj0 = 0 ; |
20972 | PyObject * obj1 = 0 ; | |
20973 | char *kwnames[] = { | |
20974 | (char *) "self",(char *) "sizeId", NULL | |
20975 | }; | |
20976 | ||
20977 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
20978 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20979 | if (SWIG_arg_fail(1)) SWIG_fail; | |
20980 | { | |
20981 | arg2 = (wxPaperSize)(SWIG_As_int(obj1)); | |
20982 | if (SWIG_arg_fail(2)) SWIG_fail; | |
20983 | } | |
d55e5bfc RD |
20984 | { |
20985 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20986 | (arg1)->SetPaperId((wxPaperSize )arg2); | |
20987 | ||
20988 | wxPyEndAllowThreads(__tstate); | |
20989 | if (PyErr_Occurred()) SWIG_fail; | |
20990 | } | |
20991 | Py_INCREF(Py_None); resultobj = Py_None; | |
20992 | return resultobj; | |
20993 | fail: | |
20994 | return NULL; | |
20995 | } | |
20996 | ||
20997 | ||
c370783e | 20998 | static PyObject *_wrap_PrintData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20999 | PyObject *resultobj; |
21000 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21001 | wxSize *arg2 = 0 ; | |
21002 | wxSize temp2 ; | |
21003 | PyObject * obj0 = 0 ; | |
21004 | PyObject * obj1 = 0 ; | |
21005 | char *kwnames[] = { | |
21006 | (char *) "self",(char *) "sz", NULL | |
21007 | }; | |
21008 | ||
21009 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
21010 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21011 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
21012 | { |
21013 | arg2 = &temp2; | |
21014 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
21015 | } | |
21016 | { | |
21017 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21018 | (arg1)->SetPaperSize((wxSize const &)*arg2); | |
21019 | ||
21020 | wxPyEndAllowThreads(__tstate); | |
21021 | if (PyErr_Occurred()) SWIG_fail; | |
21022 | } | |
21023 | Py_INCREF(Py_None); resultobj = Py_None; | |
21024 | return resultobj; | |
21025 | fail: | |
21026 | return NULL; | |
21027 | } | |
21028 | ||
21029 | ||
c370783e | 21030 | static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21031 | PyObject *resultobj; |
21032 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21033 | int arg2 ; | |
21034 | PyObject * obj0 = 0 ; | |
21035 | PyObject * obj1 = 0 ; | |
21036 | char *kwnames[] = { | |
21037 | (char *) "self",(char *) "quality", NULL | |
21038 | }; | |
21039 | ||
21040 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
21041 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21042 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21043 | { | |
21044 | arg2 = (int)(SWIG_As_int(obj1)); | |
21045 | if (SWIG_arg_fail(2)) SWIG_fail; | |
21046 | } | |
d55e5bfc RD |
21047 | { |
21048 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21049 | (arg1)->SetQuality(arg2); | |
21050 | ||
21051 | wxPyEndAllowThreads(__tstate); | |
21052 | if (PyErr_Occurred()) SWIG_fail; | |
21053 | } | |
21054 | Py_INCREF(Py_None); resultobj = Py_None; | |
21055 | return resultobj; | |
21056 | fail: | |
21057 | return NULL; | |
21058 | } | |
21059 | ||
21060 | ||
b411df4a RD |
21061 | static PyObject *_wrap_PrintData_SetBin(PyObject *, PyObject *args, PyObject *kwargs) { |
21062 | PyObject *resultobj; | |
21063 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
36ed4f51 | 21064 | wxPrintBin arg2 ; |
b411df4a RD |
21065 | PyObject * obj0 = 0 ; |
21066 | PyObject * obj1 = 0 ; | |
21067 | char *kwnames[] = { | |
21068 | (char *) "self",(char *) "bin", NULL | |
21069 | }; | |
21070 | ||
21071 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
21072 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21073 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21074 | { | |
21075 | arg2 = (wxPrintBin)(SWIG_As_int(obj1)); | |
21076 | if (SWIG_arg_fail(2)) SWIG_fail; | |
21077 | } | |
b411df4a RD |
21078 | { |
21079 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21080 | (arg1)->SetBin((wxPrintBin )arg2); | |
21081 | ||
21082 | wxPyEndAllowThreads(__tstate); | |
21083 | if (PyErr_Occurred()) SWIG_fail; | |
21084 | } | |
21085 | Py_INCREF(Py_None); resultobj = Py_None; | |
21086 | return resultobj; | |
21087 | fail: | |
21088 | return NULL; | |
21089 | } | |
21090 | ||
21091 | ||
070c48b4 | 21092 | static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21093 | PyObject *resultobj; |
21094 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
36ed4f51 | 21095 | wxPrintMode arg2 ; |
070c48b4 RD |
21096 | PyObject * obj0 = 0 ; |
21097 | PyObject * obj1 = 0 ; | |
21098 | char *kwnames[] = { | |
21099 | (char *) "self",(char *) "printMode", NULL | |
21100 | }; | |
21101 | ||
21102 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
21103 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21104 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21105 | { | |
21106 | arg2 = (wxPrintMode)(SWIG_As_int(obj1)); | |
21107 | if (SWIG_arg_fail(2)) SWIG_fail; | |
21108 | } | |
070c48b4 RD |
21109 | { |
21110 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21111 | (arg1)->SetPrintMode((wxPrintMode )arg2); | |
21112 | ||
21113 | wxPyEndAllowThreads(__tstate); | |
21114 | if (PyErr_Occurred()) SWIG_fail; | |
21115 | } | |
21116 | Py_INCREF(Py_None); resultobj = Py_None; | |
21117 | return resultobj; | |
21118 | fail: | |
21119 | return NULL; | |
21120 | } | |
21121 | ||
21122 | ||
21123 | static PyObject *_wrap_PrintData_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) { | |
21124 | PyObject *resultobj; | |
21125 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21126 | wxString result; | |
d55e5bfc RD |
21127 | PyObject * obj0 = 0 ; |
21128 | char *kwnames[] = { | |
21129 | (char *) "self", NULL | |
21130 | }; | |
21131 | ||
070c48b4 | 21132 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
21133 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21134 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
21135 | { |
21136 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
070c48b4 | 21137 | result = ((wxPrintData const *)arg1)->GetFilename(); |
d55e5bfc RD |
21138 | |
21139 | wxPyEndAllowThreads(__tstate); | |
21140 | if (PyErr_Occurred()) SWIG_fail; | |
21141 | } | |
21142 | { | |
21143 | #if wxUSE_UNICODE | |
070c48b4 | 21144 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); |
d55e5bfc | 21145 | #else |
070c48b4 | 21146 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); |
d55e5bfc RD |
21147 | #endif |
21148 | } | |
21149 | return resultobj; | |
21150 | fail: | |
21151 | return NULL; | |
21152 | } | |
21153 | ||
21154 | ||
070c48b4 RD |
21155 | static PyObject *_wrap_PrintData_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) { |
21156 | PyObject *resultobj; | |
21157 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21158 | wxString *arg2 = 0 ; | |
21159 | bool temp2 = false ; | |
21160 | PyObject * obj0 = 0 ; | |
21161 | PyObject * obj1 = 0 ; | |
21162 | char *kwnames[] = { | |
21163 | (char *) "self",(char *) "filename", NULL | |
21164 | }; | |
21165 | ||
21166 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
21167 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21168 | if (SWIG_arg_fail(1)) SWIG_fail; | |
070c48b4 RD |
21169 | { |
21170 | arg2 = wxString_in_helper(obj1); | |
21171 | if (arg2 == NULL) SWIG_fail; | |
21172 | temp2 = true; | |
21173 | } | |
21174 | { | |
21175 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21176 | (arg1)->SetFilename((wxString const &)*arg2); | |
21177 | ||
21178 | wxPyEndAllowThreads(__tstate); | |
21179 | if (PyErr_Occurred()) SWIG_fail; | |
21180 | } | |
21181 | Py_INCREF(Py_None); resultobj = Py_None; | |
21182 | { | |
21183 | if (temp2) | |
21184 | delete arg2; | |
21185 | } | |
21186 | return resultobj; | |
21187 | fail: | |
21188 | { | |
21189 | if (temp2) | |
21190 | delete arg2; | |
21191 | } | |
21192 | return NULL; | |
21193 | } | |
21194 | ||
21195 | ||
7fbf8399 RD |
21196 | static PyObject *_wrap_PrintData_GetPrivData(PyObject *, PyObject *args, PyObject *kwargs) { |
21197 | PyObject *resultobj; | |
21198 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21199 | PyObject *result; | |
21200 | PyObject * obj0 = 0 ; | |
21201 | char *kwnames[] = { | |
21202 | (char *) "self", NULL | |
21203 | }; | |
21204 | ||
21205 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrivData",kwnames,&obj0)) goto fail; | |
21206 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); | |
21207 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21208 | { | |
21209 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21210 | result = (PyObject *)wxPrintData_GetPrivData(arg1); | |
21211 | ||
21212 | wxPyEndAllowThreads(__tstate); | |
21213 | if (PyErr_Occurred()) SWIG_fail; | |
21214 | } | |
21215 | resultobj = result; | |
21216 | return resultobj; | |
21217 | fail: | |
21218 | return NULL; | |
21219 | } | |
21220 | ||
21221 | ||
21222 | static PyObject *_wrap_PrintData_SetPrivData(PyObject *, PyObject *args, PyObject *kwargs) { | |
21223 | PyObject *resultobj; | |
21224 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21225 | PyObject *arg2 = (PyObject *) 0 ; | |
21226 | PyObject * obj0 = 0 ; | |
21227 | PyObject * obj1 = 0 ; | |
21228 | char *kwnames[] = { | |
21229 | (char *) "self",(char *) "data", NULL | |
21230 | }; | |
21231 | ||
21232 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) goto fail; | |
21233 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); | |
21234 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21235 | arg2 = obj1; | |
21236 | { | |
21237 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21238 | wxPrintData_SetPrivData(arg1,arg2); | |
21239 | ||
21240 | wxPyEndAllowThreads(__tstate); | |
21241 | if (PyErr_Occurred()) SWIG_fail; | |
21242 | } | |
21243 | Py_INCREF(Py_None); resultobj = Py_None; | |
21244 | return resultobj; | |
21245 | fail: | |
21246 | return NULL; | |
21247 | } | |
21248 | ||
21249 | ||
070c48b4 | 21250 | static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21251 | PyObject *resultobj; |
21252 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21253 | wxString *result; | |
21254 | PyObject * obj0 = 0 ; | |
21255 | char *kwnames[] = { | |
21256 | (char *) "self", NULL | |
21257 | }; | |
21258 | ||
070c48b4 | 21259 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
21260 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21261 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
21262 | { |
21263 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21264 | { | |
070c48b4 | 21265 | wxString const &_result_ref = (arg1)->GetPrinterCommand(); |
d55e5bfc RD |
21266 | result = (wxString *) &_result_ref; |
21267 | } | |
21268 | ||
21269 | wxPyEndAllowThreads(__tstate); | |
21270 | if (PyErr_Occurred()) SWIG_fail; | |
21271 | } | |
21272 | { | |
21273 | #if wxUSE_UNICODE | |
21274 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
21275 | #else | |
21276 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
21277 | #endif | |
21278 | } | |
21279 | return resultobj; | |
21280 | fail: | |
21281 | return NULL; | |
21282 | } | |
21283 | ||
21284 | ||
070c48b4 | 21285 | static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21286 | PyObject *resultobj; |
21287 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21288 | wxString *result; | |
21289 | PyObject * obj0 = 0 ; | |
21290 | char *kwnames[] = { | |
21291 | (char *) "self", NULL | |
21292 | }; | |
21293 | ||
070c48b4 | 21294 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
21295 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21296 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
21297 | { |
21298 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21299 | { | |
070c48b4 | 21300 | wxString const &_result_ref = (arg1)->GetPrinterOptions(); |
d55e5bfc RD |
21301 | result = (wxString *) &_result_ref; |
21302 | } | |
21303 | ||
21304 | wxPyEndAllowThreads(__tstate); | |
21305 | if (PyErr_Occurred()) SWIG_fail; | |
21306 | } | |
21307 | { | |
21308 | #if wxUSE_UNICODE | |
21309 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
21310 | #else | |
21311 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
21312 | #endif | |
21313 | } | |
21314 | return resultobj; | |
21315 | fail: | |
21316 | return NULL; | |
21317 | } | |
21318 | ||
21319 | ||
070c48b4 | 21320 | static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21321 | PyObject *resultobj; |
21322 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21323 | wxString *result; | |
21324 | PyObject * obj0 = 0 ; | |
21325 | char *kwnames[] = { | |
21326 | (char *) "self", NULL | |
21327 | }; | |
21328 | ||
070c48b4 | 21329 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
21330 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21331 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
21332 | { |
21333 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21334 | { | |
070c48b4 | 21335 | wxString const &_result_ref = (arg1)->GetPreviewCommand(); |
d55e5bfc RD |
21336 | result = (wxString *) &_result_ref; |
21337 | } | |
21338 | ||
21339 | wxPyEndAllowThreads(__tstate); | |
21340 | if (PyErr_Occurred()) SWIG_fail; | |
21341 | } | |
21342 | { | |
21343 | #if wxUSE_UNICODE | |
21344 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
21345 | #else | |
21346 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
21347 | #endif | |
21348 | } | |
21349 | return resultobj; | |
21350 | fail: | |
21351 | return NULL; | |
21352 | } | |
21353 | ||
21354 | ||
c370783e | 21355 | static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21356 | PyObject *resultobj; |
21357 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21358 | wxString *result; | |
21359 | PyObject * obj0 = 0 ; | |
21360 | char *kwnames[] = { | |
21361 | (char *) "self", NULL | |
21362 | }; | |
21363 | ||
21364 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
21365 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21366 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
21367 | { |
21368 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21369 | { | |
21370 | wxString const &_result_ref = (arg1)->GetFontMetricPath(); | |
21371 | result = (wxString *) &_result_ref; | |
21372 | } | |
21373 | ||
21374 | wxPyEndAllowThreads(__tstate); | |
21375 | if (PyErr_Occurred()) SWIG_fail; | |
21376 | } | |
21377 | { | |
21378 | #if wxUSE_UNICODE | |
21379 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
21380 | #else | |
21381 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
21382 | #endif | |
21383 | } | |
21384 | return resultobj; | |
21385 | fail: | |
21386 | return NULL; | |
21387 | } | |
21388 | ||
21389 | ||
c370783e | 21390 | static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21391 | PyObject *resultobj; |
21392 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21393 | double result; | |
21394 | PyObject * obj0 = 0 ; | |
21395 | char *kwnames[] = { | |
21396 | (char *) "self", NULL | |
21397 | }; | |
21398 | ||
21399 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
21400 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21401 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
21402 | { |
21403 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21404 | result = (double)(arg1)->GetPrinterScaleX(); | |
21405 | ||
21406 | wxPyEndAllowThreads(__tstate); | |
21407 | if (PyErr_Occurred()) SWIG_fail; | |
21408 | } | |
36ed4f51 RD |
21409 | { |
21410 | resultobj = SWIG_From_double((double)(result)); | |
21411 | } | |
d55e5bfc RD |
21412 | return resultobj; |
21413 | fail: | |
21414 | return NULL; | |
21415 | } | |
21416 | ||
21417 | ||
c370783e | 21418 | static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21419 | PyObject *resultobj; |
21420 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21421 | double result; | |
21422 | PyObject * obj0 = 0 ; | |
21423 | char *kwnames[] = { | |
21424 | (char *) "self", NULL | |
21425 | }; | |
21426 | ||
21427 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
21428 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21429 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
21430 | { |
21431 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21432 | result = (double)(arg1)->GetPrinterScaleY(); | |
21433 | ||
21434 | wxPyEndAllowThreads(__tstate); | |
21435 | if (PyErr_Occurred()) SWIG_fail; | |
21436 | } | |
36ed4f51 RD |
21437 | { |
21438 | resultobj = SWIG_From_double((double)(result)); | |
21439 | } | |
d55e5bfc RD |
21440 | return resultobj; |
21441 | fail: | |
21442 | return NULL; | |
21443 | } | |
21444 | ||
21445 | ||
c370783e | 21446 | static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21447 | PyObject *resultobj; |
21448 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21449 | long result; | |
21450 | PyObject * obj0 = 0 ; | |
21451 | char *kwnames[] = { | |
21452 | (char *) "self", NULL | |
21453 | }; | |
21454 | ||
21455 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
21456 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21457 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
21458 | { |
21459 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21460 | result = (long)(arg1)->GetPrinterTranslateX(); | |
21461 | ||
21462 | wxPyEndAllowThreads(__tstate); | |
21463 | if (PyErr_Occurred()) SWIG_fail; | |
21464 | } | |
36ed4f51 RD |
21465 | { |
21466 | resultobj = SWIG_From_long((long)(result)); | |
21467 | } | |
d55e5bfc RD |
21468 | return resultobj; |
21469 | fail: | |
21470 | return NULL; | |
21471 | } | |
21472 | ||
21473 | ||
c370783e | 21474 | static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21475 | PyObject *resultobj; |
21476 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21477 | long result; | |
21478 | PyObject * obj0 = 0 ; | |
21479 | char *kwnames[] = { | |
21480 | (char *) "self", NULL | |
21481 | }; | |
21482 | ||
21483 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
21484 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21485 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
21486 | { |
21487 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21488 | result = (long)(arg1)->GetPrinterTranslateY(); | |
21489 | ||
21490 | wxPyEndAllowThreads(__tstate); | |
21491 | if (PyErr_Occurred()) SWIG_fail; | |
21492 | } | |
36ed4f51 RD |
21493 | { |
21494 | resultobj = SWIG_From_long((long)(result)); | |
21495 | } | |
d55e5bfc RD |
21496 | return resultobj; |
21497 | fail: | |
21498 | return NULL; | |
21499 | } | |
21500 | ||
21501 | ||
070c48b4 | 21502 | static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21503 | PyObject *resultobj; |
21504 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
070c48b4 RD |
21505 | wxString *arg2 = 0 ; |
21506 | bool temp2 = false ; | |
d55e5bfc | 21507 | PyObject * obj0 = 0 ; |
070c48b4 | 21508 | PyObject * obj1 = 0 ; |
d55e5bfc | 21509 | char *kwnames[] = { |
070c48b4 | 21510 | (char *) "self",(char *) "command", NULL |
d55e5bfc RD |
21511 | }; |
21512 | ||
070c48b4 | 21513 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail; |
36ed4f51 RD |
21514 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21515 | if (SWIG_arg_fail(1)) SWIG_fail; | |
070c48b4 RD |
21516 | { |
21517 | arg2 = wxString_in_helper(obj1); | |
21518 | if (arg2 == NULL) SWIG_fail; | |
21519 | temp2 = true; | |
21520 | } | |
d55e5bfc RD |
21521 | { |
21522 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
070c48b4 | 21523 | (arg1)->SetPrinterCommand((wxString const &)*arg2); |
d55e5bfc RD |
21524 | |
21525 | wxPyEndAllowThreads(__tstate); | |
21526 | if (PyErr_Occurred()) SWIG_fail; | |
21527 | } | |
070c48b4 RD |
21528 | Py_INCREF(Py_None); resultobj = Py_None; |
21529 | { | |
21530 | if (temp2) | |
21531 | delete arg2; | |
21532 | } | |
d55e5bfc RD |
21533 | return resultobj; |
21534 | fail: | |
21535 | { | |
21536 | if (temp2) | |
21537 | delete arg2; | |
21538 | } | |
21539 | return NULL; | |
21540 | } | |
21541 | ||
21542 | ||
c370783e | 21543 | static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21544 | PyObject *resultobj; |
21545 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21546 | wxString *arg2 = 0 ; | |
b411df4a | 21547 | bool temp2 = false ; |
d55e5bfc RD |
21548 | PyObject * obj0 = 0 ; |
21549 | PyObject * obj1 = 0 ; | |
21550 | char *kwnames[] = { | |
21551 | (char *) "self",(char *) "options", NULL | |
21552 | }; | |
21553 | ||
21554 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
21555 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21556 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
21557 | { |
21558 | arg2 = wxString_in_helper(obj1); | |
21559 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 21560 | temp2 = true; |
d55e5bfc RD |
21561 | } |
21562 | { | |
21563 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21564 | (arg1)->SetPrinterOptions((wxString const &)*arg2); | |
21565 | ||
21566 | wxPyEndAllowThreads(__tstate); | |
21567 | if (PyErr_Occurred()) SWIG_fail; | |
21568 | } | |
21569 | Py_INCREF(Py_None); resultobj = Py_None; | |
21570 | { | |
21571 | if (temp2) | |
21572 | delete arg2; | |
21573 | } | |
21574 | return resultobj; | |
21575 | fail: | |
21576 | { | |
21577 | if (temp2) | |
21578 | delete arg2; | |
21579 | } | |
21580 | return NULL; | |
21581 | } | |
21582 | ||
21583 | ||
c370783e | 21584 | static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21585 | PyObject *resultobj; |
21586 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21587 | wxString *arg2 = 0 ; | |
b411df4a | 21588 | bool temp2 = false ; |
d55e5bfc RD |
21589 | PyObject * obj0 = 0 ; |
21590 | PyObject * obj1 = 0 ; | |
21591 | char *kwnames[] = { | |
21592 | (char *) "self",(char *) "command", NULL | |
21593 | }; | |
21594 | ||
21595 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",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; | |
d55e5bfc RD |
21598 | { |
21599 | arg2 = wxString_in_helper(obj1); | |
21600 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 21601 | temp2 = true; |
d55e5bfc RD |
21602 | } |
21603 | { | |
21604 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21605 | (arg1)->SetPreviewCommand((wxString const &)*arg2); | |
21606 | ||
21607 | wxPyEndAllowThreads(__tstate); | |
21608 | if (PyErr_Occurred()) SWIG_fail; | |
21609 | } | |
21610 | Py_INCREF(Py_None); resultobj = Py_None; | |
21611 | { | |
21612 | if (temp2) | |
21613 | delete arg2; | |
21614 | } | |
21615 | return resultobj; | |
21616 | fail: | |
21617 | { | |
21618 | if (temp2) | |
21619 | delete arg2; | |
21620 | } | |
21621 | return NULL; | |
21622 | } | |
21623 | ||
21624 | ||
c370783e | 21625 | static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21626 | PyObject *resultobj; |
21627 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21628 | wxString *arg2 = 0 ; | |
b411df4a | 21629 | bool temp2 = false ; |
d55e5bfc RD |
21630 | PyObject * obj0 = 0 ; |
21631 | PyObject * obj1 = 0 ; | |
21632 | char *kwnames[] = { | |
21633 | (char *) "self",(char *) "path", NULL | |
21634 | }; | |
21635 | ||
21636 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
21637 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21638 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
21639 | { |
21640 | arg2 = wxString_in_helper(obj1); | |
21641 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 21642 | temp2 = true; |
d55e5bfc RD |
21643 | } |
21644 | { | |
21645 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21646 | (arg1)->SetFontMetricPath((wxString const &)*arg2); | |
21647 | ||
21648 | wxPyEndAllowThreads(__tstate); | |
21649 | if (PyErr_Occurred()) SWIG_fail; | |
21650 | } | |
21651 | Py_INCREF(Py_None); resultobj = Py_None; | |
21652 | { | |
21653 | if (temp2) | |
21654 | delete arg2; | |
21655 | } | |
21656 | return resultobj; | |
21657 | fail: | |
21658 | { | |
21659 | if (temp2) | |
21660 | delete arg2; | |
21661 | } | |
21662 | return NULL; | |
21663 | } | |
21664 | ||
21665 | ||
c370783e | 21666 | static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21667 | PyObject *resultobj; |
21668 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21669 | double arg2 ; | |
21670 | PyObject * obj0 = 0 ; | |
21671 | PyObject * obj1 = 0 ; | |
21672 | char *kwnames[] = { | |
21673 | (char *) "self",(char *) "x", NULL | |
21674 | }; | |
21675 | ||
21676 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
21677 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21678 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21679 | { | |
21680 | arg2 = (double)(SWIG_As_double(obj1)); | |
21681 | if (SWIG_arg_fail(2)) SWIG_fail; | |
21682 | } | |
d55e5bfc RD |
21683 | { |
21684 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21685 | (arg1)->SetPrinterScaleX(arg2); | |
21686 | ||
21687 | wxPyEndAllowThreads(__tstate); | |
21688 | if (PyErr_Occurred()) SWIG_fail; | |
21689 | } | |
21690 | Py_INCREF(Py_None); resultobj = Py_None; | |
21691 | return resultobj; | |
21692 | fail: | |
21693 | return NULL; | |
21694 | } | |
21695 | ||
21696 | ||
c370783e | 21697 | static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21698 | PyObject *resultobj; |
21699 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21700 | double arg2 ; | |
21701 | PyObject * obj0 = 0 ; | |
21702 | PyObject * obj1 = 0 ; | |
21703 | char *kwnames[] = { | |
21704 | (char *) "self",(char *) "y", NULL | |
21705 | }; | |
21706 | ||
21707 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
21708 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21709 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21710 | { | |
21711 | arg2 = (double)(SWIG_As_double(obj1)); | |
21712 | if (SWIG_arg_fail(2)) SWIG_fail; | |
21713 | } | |
d55e5bfc RD |
21714 | { |
21715 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21716 | (arg1)->SetPrinterScaleY(arg2); | |
21717 | ||
21718 | wxPyEndAllowThreads(__tstate); | |
21719 | if (PyErr_Occurred()) SWIG_fail; | |
21720 | } | |
21721 | Py_INCREF(Py_None); resultobj = Py_None; | |
21722 | return resultobj; | |
21723 | fail: | |
21724 | return NULL; | |
21725 | } | |
21726 | ||
21727 | ||
c370783e | 21728 | static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21729 | PyObject *resultobj; |
21730 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21731 | double arg2 ; | |
21732 | double arg3 ; | |
21733 | PyObject * obj0 = 0 ; | |
21734 | PyObject * obj1 = 0 ; | |
21735 | PyObject * obj2 = 0 ; | |
21736 | char *kwnames[] = { | |
21737 | (char *) "self",(char *) "x",(char *) "y", NULL | |
21738 | }; | |
21739 | ||
21740 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
21741 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21742 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21743 | { | |
21744 | arg2 = (double)(SWIG_As_double(obj1)); | |
21745 | if (SWIG_arg_fail(2)) SWIG_fail; | |
21746 | } | |
21747 | { | |
21748 | arg3 = (double)(SWIG_As_double(obj2)); | |
21749 | if (SWIG_arg_fail(3)) SWIG_fail; | |
21750 | } | |
d55e5bfc RD |
21751 | { |
21752 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21753 | (arg1)->SetPrinterScaling(arg2,arg3); | |
21754 | ||
21755 | wxPyEndAllowThreads(__tstate); | |
21756 | if (PyErr_Occurred()) SWIG_fail; | |
21757 | } | |
21758 | Py_INCREF(Py_None); resultobj = Py_None; | |
21759 | return resultobj; | |
21760 | fail: | |
21761 | return NULL; | |
21762 | } | |
21763 | ||
21764 | ||
c370783e | 21765 | static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21766 | PyObject *resultobj; |
21767 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21768 | long arg2 ; | |
21769 | PyObject * obj0 = 0 ; | |
21770 | PyObject * obj1 = 0 ; | |
21771 | char *kwnames[] = { | |
21772 | (char *) "self",(char *) "x", NULL | |
21773 | }; | |
21774 | ||
21775 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
21776 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21777 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21778 | { | |
21779 | arg2 = (long)(SWIG_As_long(obj1)); | |
21780 | if (SWIG_arg_fail(2)) SWIG_fail; | |
21781 | } | |
d55e5bfc RD |
21782 | { |
21783 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21784 | (arg1)->SetPrinterTranslateX(arg2); | |
21785 | ||
21786 | wxPyEndAllowThreads(__tstate); | |
21787 | if (PyErr_Occurred()) SWIG_fail; | |
21788 | } | |
21789 | Py_INCREF(Py_None); resultobj = Py_None; | |
21790 | return resultobj; | |
21791 | fail: | |
21792 | return NULL; | |
21793 | } | |
21794 | ||
21795 | ||
c370783e | 21796 | static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21797 | PyObject *resultobj; |
21798 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21799 | long arg2 ; | |
21800 | PyObject * obj0 = 0 ; | |
21801 | PyObject * obj1 = 0 ; | |
21802 | char *kwnames[] = { | |
21803 | (char *) "self",(char *) "y", NULL | |
21804 | }; | |
21805 | ||
21806 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
21807 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21808 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21809 | { | |
21810 | arg2 = (long)(SWIG_As_long(obj1)); | |
21811 | if (SWIG_arg_fail(2)) SWIG_fail; | |
21812 | } | |
d55e5bfc RD |
21813 | { |
21814 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21815 | (arg1)->SetPrinterTranslateY(arg2); | |
21816 | ||
21817 | wxPyEndAllowThreads(__tstate); | |
21818 | if (PyErr_Occurred()) SWIG_fail; | |
21819 | } | |
21820 | Py_INCREF(Py_None); resultobj = Py_None; | |
21821 | return resultobj; | |
21822 | fail: | |
21823 | return NULL; | |
21824 | } | |
21825 | ||
21826 | ||
c370783e | 21827 | static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21828 | PyObject *resultobj; |
21829 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21830 | long arg2 ; | |
21831 | long arg3 ; | |
21832 | PyObject * obj0 = 0 ; | |
21833 | PyObject * obj1 = 0 ; | |
21834 | PyObject * obj2 = 0 ; | |
21835 | char *kwnames[] = { | |
21836 | (char *) "self",(char *) "x",(char *) "y", NULL | |
21837 | }; | |
21838 | ||
21839 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
21840 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21841 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21842 | { | |
21843 | arg2 = (long)(SWIG_As_long(obj1)); | |
21844 | if (SWIG_arg_fail(2)) SWIG_fail; | |
21845 | } | |
21846 | { | |
21847 | arg3 = (long)(SWIG_As_long(obj2)); | |
21848 | if (SWIG_arg_fail(3)) SWIG_fail; | |
21849 | } | |
d55e5bfc RD |
21850 | { |
21851 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21852 | (arg1)->SetPrinterTranslation(arg2,arg3); | |
21853 | ||
21854 | wxPyEndAllowThreads(__tstate); | |
21855 | if (PyErr_Occurred()) SWIG_fail; | |
21856 | } | |
21857 | Py_INCREF(Py_None); resultobj = Py_None; | |
21858 | return resultobj; | |
21859 | fail: | |
21860 | return NULL; | |
21861 | } | |
21862 | ||
21863 | ||
c370783e | 21864 | static PyObject * PrintData_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
21865 | PyObject *obj; |
21866 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
21867 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj); | |
21868 | Py_INCREF(obj); | |
21869 | return Py_BuildValue((char *)""); | |
21870 | } | |
c370783e | 21871 | static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *, PyObject *args) { |
d55e5bfc RD |
21872 | PyObject *resultobj; |
21873 | wxPageSetupDialogData *result; | |
d55e5bfc | 21874 | |
09c21d3b | 21875 | if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail; |
d55e5bfc RD |
21876 | { |
21877 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21878 | result = (wxPageSetupDialogData *)new wxPageSetupDialogData(); | |
21879 | ||
21880 | wxPyEndAllowThreads(__tstate); | |
21881 | if (PyErr_Occurred()) SWIG_fail; | |
21882 | } | |
21883 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1); | |
21884 | return resultobj; | |
21885 | fail: | |
21886 | return NULL; | |
21887 | } | |
21888 | ||
21889 | ||
c370783e | 21890 | static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *, PyObject *args) { |
09c21d3b RD |
21891 | PyObject *resultobj; |
21892 | wxPageSetupDialogData *arg1 = 0 ; | |
21893 | wxPageSetupDialogData *result; | |
21894 | PyObject * obj0 = 0 ; | |
21895 | ||
21896 | if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail; | |
36ed4f51 RD |
21897 | { |
21898 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); | |
21899 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21900 | if (arg1 == NULL) { | |
21901 | SWIG_null_ref("wxPageSetupDialogData"); | |
21902 | } | |
21903 | if (SWIG_arg_fail(1)) SWIG_fail; | |
09c21d3b RD |
21904 | } |
21905 | { | |
21906 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21907 | result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1); | |
21908 | ||
21909 | wxPyEndAllowThreads(__tstate); | |
21910 | if (PyErr_Occurred()) SWIG_fail; | |
21911 | } | |
21912 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1); | |
21913 | return resultobj; | |
21914 | fail: | |
21915 | return NULL; | |
21916 | } | |
21917 | ||
21918 | ||
fef4c27a RD |
21919 | static PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *, PyObject *args) { |
21920 | PyObject *resultobj; | |
21921 | wxPrintData *arg1 = 0 ; | |
21922 | wxPageSetupDialogData *result; | |
21923 | PyObject * obj0 = 0 ; | |
21924 | ||
21925 | if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail; | |
21926 | { | |
21927 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); | |
21928 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21929 | if (arg1 == NULL) { | |
21930 | SWIG_null_ref("wxPrintData"); | |
21931 | } | |
21932 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21933 | } | |
21934 | { | |
21935 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21936 | result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1); | |
21937 | ||
21938 | wxPyEndAllowThreads(__tstate); | |
21939 | if (PyErr_Occurred()) SWIG_fail; | |
21940 | } | |
21941 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1); | |
21942 | return resultobj; | |
21943 | fail: | |
21944 | return NULL; | |
21945 | } | |
21946 | ||
21947 | ||
09c21d3b RD |
21948 | static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) { |
21949 | int argc; | |
21950 | PyObject *argv[2]; | |
21951 | int ii; | |
21952 | ||
21953 | argc = PyObject_Length(args); | |
21954 | for (ii = 0; (ii < argc) && (ii < 1); ii++) { | |
21955 | argv[ii] = PyTuple_GetItem(args,ii); | |
21956 | } | |
21957 | if (argc == 0) { | |
21958 | return _wrap_new_PageSetupDialogData__SWIG_0(self,args); | |
21959 | } | |
21960 | if (argc == 1) { | |
21961 | int _v; | |
21962 | { | |
36ed4f51 | 21963 | void *ptr = 0; |
09c21d3b RD |
21964 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPageSetupDialogData, 0) == -1) { |
21965 | _v = 0; | |
21966 | PyErr_Clear(); | |
21967 | } else { | |
36ed4f51 | 21968 | _v = (ptr != 0); |
09c21d3b RD |
21969 | } |
21970 | } | |
21971 | if (_v) { | |
21972 | return _wrap_new_PageSetupDialogData__SWIG_1(self,args); | |
21973 | } | |
21974 | } | |
fef4c27a RD |
21975 | if (argc == 1) { |
21976 | int _v; | |
21977 | { | |
21978 | void *ptr = 0; | |
21979 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { | |
21980 | _v = 0; | |
21981 | PyErr_Clear(); | |
21982 | } else { | |
21983 | _v = (ptr != 0); | |
21984 | } | |
21985 | } | |
21986 | if (_v) { | |
21987 | return _wrap_new_PageSetupDialogData__SWIG_2(self,args); | |
21988 | } | |
21989 | } | |
09c21d3b | 21990 | |
36ed4f51 | 21991 | PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'"); |
09c21d3b RD |
21992 | return NULL; |
21993 | } | |
21994 | ||
21995 | ||
c370783e | 21996 | static PyObject *_wrap_delete_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21997 | PyObject *resultobj; |
21998 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
21999 | PyObject * obj0 = 0 ; | |
22000 | char *kwnames[] = { | |
22001 | (char *) "self", NULL | |
22002 | }; | |
22003 | ||
22004 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
22005 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22006 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22007 | { |
22008 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22009 | delete arg1; | |
22010 | ||
22011 | wxPyEndAllowThreads(__tstate); | |
22012 | if (PyErr_Occurred()) SWIG_fail; | |
22013 | } | |
22014 | Py_INCREF(Py_None); resultobj = Py_None; | |
22015 | return resultobj; | |
22016 | fail: | |
22017 | return NULL; | |
22018 | } | |
22019 | ||
22020 | ||
c370783e | 22021 | static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22022 | PyObject *resultobj; |
22023 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22024 | bool arg2 ; | |
22025 | PyObject * obj0 = 0 ; | |
22026 | PyObject * obj1 = 0 ; | |
22027 | char *kwnames[] = { | |
22028 | (char *) "self",(char *) "flag", NULL | |
22029 | }; | |
22030 | ||
22031 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
22032 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22033 | if (SWIG_arg_fail(1)) SWIG_fail; | |
22034 | { | |
22035 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
22036 | if (SWIG_arg_fail(2)) SWIG_fail; | |
22037 | } | |
d55e5bfc RD |
22038 | { |
22039 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22040 | (arg1)->EnableHelp(arg2); | |
22041 | ||
22042 | wxPyEndAllowThreads(__tstate); | |
22043 | if (PyErr_Occurred()) SWIG_fail; | |
22044 | } | |
22045 | Py_INCREF(Py_None); resultobj = Py_None; | |
22046 | return resultobj; | |
22047 | fail: | |
22048 | return NULL; | |
22049 | } | |
22050 | ||
22051 | ||
c370783e | 22052 | static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22053 | PyObject *resultobj; |
22054 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22055 | bool arg2 ; | |
22056 | PyObject * obj0 = 0 ; | |
22057 | PyObject * obj1 = 0 ; | |
22058 | char *kwnames[] = { | |
22059 | (char *) "self",(char *) "flag", NULL | |
22060 | }; | |
22061 | ||
22062 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
22063 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22064 | if (SWIG_arg_fail(1)) SWIG_fail; | |
22065 | { | |
22066 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
22067 | if (SWIG_arg_fail(2)) SWIG_fail; | |
22068 | } | |
d55e5bfc RD |
22069 | { |
22070 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22071 | (arg1)->EnableMargins(arg2); | |
22072 | ||
22073 | wxPyEndAllowThreads(__tstate); | |
22074 | if (PyErr_Occurred()) SWIG_fail; | |
22075 | } | |
22076 | Py_INCREF(Py_None); resultobj = Py_None; | |
22077 | return resultobj; | |
22078 | fail: | |
22079 | return NULL; | |
22080 | } | |
22081 | ||
22082 | ||
c370783e | 22083 | static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22084 | PyObject *resultobj; |
22085 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22086 | bool arg2 ; | |
22087 | PyObject * obj0 = 0 ; | |
22088 | PyObject * obj1 = 0 ; | |
22089 | char *kwnames[] = { | |
22090 | (char *) "self",(char *) "flag", NULL | |
22091 | }; | |
22092 | ||
22093 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
22094 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22095 | if (SWIG_arg_fail(1)) SWIG_fail; | |
22096 | { | |
22097 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
22098 | if (SWIG_arg_fail(2)) SWIG_fail; | |
22099 | } | |
d55e5bfc RD |
22100 | { |
22101 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22102 | (arg1)->EnableOrientation(arg2); | |
22103 | ||
22104 | wxPyEndAllowThreads(__tstate); | |
22105 | if (PyErr_Occurred()) SWIG_fail; | |
22106 | } | |
22107 | Py_INCREF(Py_None); resultobj = Py_None; | |
22108 | return resultobj; | |
22109 | fail: | |
22110 | return NULL; | |
22111 | } | |
22112 | ||
22113 | ||
c370783e | 22114 | static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22115 | PyObject *resultobj; |
22116 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22117 | bool arg2 ; | |
22118 | PyObject * obj0 = 0 ; | |
22119 | PyObject * obj1 = 0 ; | |
22120 | char *kwnames[] = { | |
22121 | (char *) "self",(char *) "flag", NULL | |
22122 | }; | |
22123 | ||
22124 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
22125 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22126 | if (SWIG_arg_fail(1)) SWIG_fail; | |
22127 | { | |
22128 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
22129 | if (SWIG_arg_fail(2)) SWIG_fail; | |
22130 | } | |
d55e5bfc RD |
22131 | { |
22132 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22133 | (arg1)->EnablePaper(arg2); | |
22134 | ||
22135 | wxPyEndAllowThreads(__tstate); | |
22136 | if (PyErr_Occurred()) SWIG_fail; | |
22137 | } | |
22138 | Py_INCREF(Py_None); resultobj = Py_None; | |
22139 | return resultobj; | |
22140 | fail: | |
22141 | return NULL; | |
22142 | } | |
22143 | ||
22144 | ||
c370783e | 22145 | static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22146 | PyObject *resultobj; |
22147 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22148 | bool arg2 ; | |
22149 | PyObject * obj0 = 0 ; | |
22150 | PyObject * obj1 = 0 ; | |
22151 | char *kwnames[] = { | |
22152 | (char *) "self",(char *) "flag", NULL | |
22153 | }; | |
22154 | ||
22155 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
22156 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22157 | if (SWIG_arg_fail(1)) SWIG_fail; | |
22158 | { | |
22159 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
22160 | if (SWIG_arg_fail(2)) SWIG_fail; | |
22161 | } | |
d55e5bfc RD |
22162 | { |
22163 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22164 | (arg1)->EnablePrinter(arg2); | |
22165 | ||
22166 | wxPyEndAllowThreads(__tstate); | |
22167 | if (PyErr_Occurred()) SWIG_fail; | |
22168 | } | |
22169 | Py_INCREF(Py_None); resultobj = Py_None; | |
22170 | return resultobj; | |
22171 | fail: | |
22172 | return NULL; | |
22173 | } | |
22174 | ||
22175 | ||
c370783e | 22176 | static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22177 | PyObject *resultobj; |
22178 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22179 | bool result; | |
22180 | PyObject * obj0 = 0 ; | |
22181 | char *kwnames[] = { | |
22182 | (char *) "self", NULL | |
22183 | }; | |
22184 | ||
22185 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
22186 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22187 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22188 | { |
22189 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22190 | result = (bool)(arg1)->GetDefaultMinMargins(); | |
22191 | ||
22192 | wxPyEndAllowThreads(__tstate); | |
22193 | if (PyErr_Occurred()) SWIG_fail; | |
22194 | } | |
22195 | { | |
22196 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22197 | } | |
22198 | return resultobj; | |
22199 | fail: | |
22200 | return NULL; | |
22201 | } | |
22202 | ||
22203 | ||
c370783e | 22204 | static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22205 | PyObject *resultobj; |
22206 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22207 | bool result; | |
22208 | PyObject * obj0 = 0 ; | |
22209 | char *kwnames[] = { | |
22210 | (char *) "self", NULL | |
22211 | }; | |
22212 | ||
22213 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
22214 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22215 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22216 | { |
22217 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22218 | result = (bool)(arg1)->GetEnableMargins(); | |
22219 | ||
22220 | wxPyEndAllowThreads(__tstate); | |
22221 | if (PyErr_Occurred()) SWIG_fail; | |
22222 | } | |
22223 | { | |
22224 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22225 | } | |
22226 | return resultobj; | |
22227 | fail: | |
22228 | return NULL; | |
22229 | } | |
22230 | ||
22231 | ||
c370783e | 22232 | static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22233 | PyObject *resultobj; |
22234 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22235 | bool result; | |
22236 | PyObject * obj0 = 0 ; | |
22237 | char *kwnames[] = { | |
22238 | (char *) "self", NULL | |
22239 | }; | |
22240 | ||
22241 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
22242 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22243 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22244 | { |
22245 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22246 | result = (bool)(arg1)->GetEnableOrientation(); | |
22247 | ||
22248 | wxPyEndAllowThreads(__tstate); | |
22249 | if (PyErr_Occurred()) SWIG_fail; | |
22250 | } | |
22251 | { | |
22252 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22253 | } | |
22254 | return resultobj; | |
22255 | fail: | |
22256 | return NULL; | |
22257 | } | |
22258 | ||
22259 | ||
c370783e | 22260 | static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22261 | PyObject *resultobj; |
22262 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22263 | bool result; | |
22264 | PyObject * obj0 = 0 ; | |
22265 | char *kwnames[] = { | |
22266 | (char *) "self", NULL | |
22267 | }; | |
22268 | ||
22269 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
22270 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22271 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22272 | { |
22273 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22274 | result = (bool)(arg1)->GetEnablePaper(); | |
22275 | ||
22276 | wxPyEndAllowThreads(__tstate); | |
22277 | if (PyErr_Occurred()) SWIG_fail; | |
22278 | } | |
22279 | { | |
22280 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22281 | } | |
22282 | return resultobj; | |
22283 | fail: | |
22284 | return NULL; | |
22285 | } | |
22286 | ||
22287 | ||
c370783e | 22288 | static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22289 | PyObject *resultobj; |
22290 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22291 | bool result; | |
22292 | PyObject * obj0 = 0 ; | |
22293 | char *kwnames[] = { | |
22294 | (char *) "self", NULL | |
22295 | }; | |
22296 | ||
22297 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
22298 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22299 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22300 | { |
22301 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22302 | result = (bool)(arg1)->GetEnablePrinter(); | |
22303 | ||
22304 | wxPyEndAllowThreads(__tstate); | |
22305 | if (PyErr_Occurred()) SWIG_fail; | |
22306 | } | |
22307 | { | |
22308 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22309 | } | |
22310 | return resultobj; | |
22311 | fail: | |
22312 | return NULL; | |
22313 | } | |
22314 | ||
22315 | ||
c370783e | 22316 | static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22317 | PyObject *resultobj; |
22318 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22319 | bool result; | |
22320 | PyObject * obj0 = 0 ; | |
22321 | char *kwnames[] = { | |
22322 | (char *) "self", NULL | |
22323 | }; | |
22324 | ||
22325 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
22326 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22327 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22328 | { |
22329 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22330 | result = (bool)(arg1)->GetEnableHelp(); | |
22331 | ||
22332 | wxPyEndAllowThreads(__tstate); | |
22333 | if (PyErr_Occurred()) SWIG_fail; | |
22334 | } | |
22335 | { | |
22336 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22337 | } | |
22338 | return resultobj; | |
22339 | fail: | |
22340 | return NULL; | |
22341 | } | |
22342 | ||
22343 | ||
c370783e | 22344 | static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22345 | PyObject *resultobj; |
22346 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22347 | bool result; | |
22348 | PyObject * obj0 = 0 ; | |
22349 | char *kwnames[] = { | |
22350 | (char *) "self", NULL | |
22351 | }; | |
22352 | ||
22353 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
22354 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22355 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22356 | { |
22357 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22358 | result = (bool)(arg1)->GetDefaultInfo(); | |
22359 | ||
22360 | wxPyEndAllowThreads(__tstate); | |
22361 | if (PyErr_Occurred()) SWIG_fail; | |
22362 | } | |
22363 | { | |
22364 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22365 | } | |
22366 | return resultobj; | |
22367 | fail: | |
22368 | return NULL; | |
22369 | } | |
22370 | ||
22371 | ||
c370783e | 22372 | static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22373 | PyObject *resultobj; |
22374 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22375 | wxPoint result; | |
22376 | PyObject * obj0 = 0 ; | |
22377 | char *kwnames[] = { | |
22378 | (char *) "self", NULL | |
22379 | }; | |
22380 | ||
22381 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
22382 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22383 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22384 | { |
22385 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22386 | result = (arg1)->GetMarginTopLeft(); | |
22387 | ||
22388 | wxPyEndAllowThreads(__tstate); | |
22389 | if (PyErr_Occurred()) SWIG_fail; | |
22390 | } | |
22391 | { | |
22392 | wxPoint * resultptr; | |
36ed4f51 | 22393 | resultptr = new wxPoint((wxPoint &)(result)); |
d55e5bfc RD |
22394 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
22395 | } | |
22396 | return resultobj; | |
22397 | fail: | |
22398 | return NULL; | |
22399 | } | |
22400 | ||
22401 | ||
c370783e | 22402 | static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22403 | PyObject *resultobj; |
22404 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22405 | wxPoint result; | |
22406 | PyObject * obj0 = 0 ; | |
22407 | char *kwnames[] = { | |
22408 | (char *) "self", NULL | |
22409 | }; | |
22410 | ||
22411 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
22412 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22413 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22414 | { |
22415 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22416 | result = (arg1)->GetMarginBottomRight(); | |
22417 | ||
22418 | wxPyEndAllowThreads(__tstate); | |
22419 | if (PyErr_Occurred()) SWIG_fail; | |
22420 | } | |
22421 | { | |
22422 | wxPoint * resultptr; | |
36ed4f51 | 22423 | resultptr = new wxPoint((wxPoint &)(result)); |
d55e5bfc RD |
22424 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
22425 | } | |
22426 | return resultobj; | |
22427 | fail: | |
22428 | return NULL; | |
22429 | } | |
22430 | ||
22431 | ||
c370783e | 22432 | static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22433 | PyObject *resultobj; |
22434 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22435 | wxPoint result; | |
22436 | PyObject * obj0 = 0 ; | |
22437 | char *kwnames[] = { | |
22438 | (char *) "self", NULL | |
22439 | }; | |
22440 | ||
22441 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
22442 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22443 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22444 | { |
22445 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22446 | result = (arg1)->GetMinMarginTopLeft(); | |
22447 | ||
22448 | wxPyEndAllowThreads(__tstate); | |
22449 | if (PyErr_Occurred()) SWIG_fail; | |
22450 | } | |
22451 | { | |
22452 | wxPoint * resultptr; | |
36ed4f51 | 22453 | resultptr = new wxPoint((wxPoint &)(result)); |
d55e5bfc RD |
22454 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
22455 | } | |
22456 | return resultobj; | |
22457 | fail: | |
22458 | return NULL; | |
22459 | } | |
22460 | ||
22461 | ||
c370783e | 22462 | static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22463 | PyObject *resultobj; |
22464 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22465 | wxPoint result; | |
22466 | PyObject * obj0 = 0 ; | |
22467 | char *kwnames[] = { | |
22468 | (char *) "self", NULL | |
22469 | }; | |
22470 | ||
22471 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
22472 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22473 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22474 | { |
22475 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22476 | result = (arg1)->GetMinMarginBottomRight(); | |
22477 | ||
22478 | wxPyEndAllowThreads(__tstate); | |
22479 | if (PyErr_Occurred()) SWIG_fail; | |
22480 | } | |
22481 | { | |
22482 | wxPoint * resultptr; | |
36ed4f51 | 22483 | resultptr = new wxPoint((wxPoint &)(result)); |
d55e5bfc RD |
22484 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
22485 | } | |
22486 | return resultobj; | |
22487 | fail: | |
22488 | return NULL; | |
22489 | } | |
22490 | ||
22491 | ||
c370783e | 22492 | static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22493 | PyObject *resultobj; |
22494 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
36ed4f51 | 22495 | wxPaperSize result; |
d55e5bfc RD |
22496 | PyObject * obj0 = 0 ; |
22497 | char *kwnames[] = { | |
22498 | (char *) "self", NULL | |
22499 | }; | |
22500 | ||
22501 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
22502 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22503 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22504 | { |
22505 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 22506 | result = (wxPaperSize)(arg1)->GetPaperId(); |
d55e5bfc RD |
22507 | |
22508 | wxPyEndAllowThreads(__tstate); | |
22509 | if (PyErr_Occurred()) SWIG_fail; | |
22510 | } | |
36ed4f51 | 22511 | resultobj = SWIG_From_int((result)); |
d55e5bfc RD |
22512 | return resultobj; |
22513 | fail: | |
22514 | return NULL; | |
22515 | } | |
22516 | ||
22517 | ||
c370783e | 22518 | static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22519 | PyObject *resultobj; |
22520 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22521 | wxSize result; | |
22522 | PyObject * obj0 = 0 ; | |
22523 | char *kwnames[] = { | |
22524 | (char *) "self", NULL | |
22525 | }; | |
22526 | ||
22527 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
22528 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22529 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22530 | { |
22531 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22532 | result = (arg1)->GetPaperSize(); | |
22533 | ||
22534 | wxPyEndAllowThreads(__tstate); | |
22535 | if (PyErr_Occurred()) SWIG_fail; | |
22536 | } | |
22537 | { | |
22538 | wxSize * resultptr; | |
36ed4f51 | 22539 | resultptr = new wxSize((wxSize &)(result)); |
d55e5bfc RD |
22540 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
22541 | } | |
22542 | return resultobj; | |
22543 | fail: | |
22544 | return NULL; | |
22545 | } | |
22546 | ||
22547 | ||
c370783e | 22548 | static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22549 | PyObject *resultobj; |
22550 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22551 | wxPrintData *result; | |
22552 | PyObject * obj0 = 0 ; | |
22553 | char *kwnames[] = { | |
22554 | (char *) "self", NULL | |
22555 | }; | |
22556 | ||
22557 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
22558 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22559 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22560 | { |
22561 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22562 | { | |
22563 | wxPrintData &_result_ref = (arg1)->GetPrintData(); | |
22564 | result = (wxPrintData *) &_result_ref; | |
22565 | } | |
22566 | ||
22567 | wxPyEndAllowThreads(__tstate); | |
22568 | if (PyErr_Occurred()) SWIG_fail; | |
22569 | } | |
22570 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0); | |
22571 | return resultobj; | |
22572 | fail: | |
22573 | return NULL; | |
22574 | } | |
22575 | ||
22576 | ||
c370783e | 22577 | static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22578 | PyObject *resultobj; |
22579 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22580 | bool result; | |
22581 | PyObject * obj0 = 0 ; | |
22582 | char *kwnames[] = { | |
22583 | (char *) "self", NULL | |
22584 | }; | |
22585 | ||
22586 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
22587 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22588 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22589 | { |
22590 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22591 | result = (bool)(arg1)->Ok(); | |
22592 | ||
22593 | wxPyEndAllowThreads(__tstate); | |
22594 | if (PyErr_Occurred()) SWIG_fail; | |
22595 | } | |
22596 | { | |
22597 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22598 | } | |
22599 | return resultobj; | |
22600 | fail: | |
22601 | return NULL; | |
22602 | } | |
22603 | ||
22604 | ||
c370783e | 22605 | static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22606 | PyObject *resultobj; |
22607 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22608 | bool arg2 ; | |
22609 | PyObject * obj0 = 0 ; | |
22610 | PyObject * obj1 = 0 ; | |
22611 | char *kwnames[] = { | |
22612 | (char *) "self",(char *) "flag", NULL | |
22613 | }; | |
22614 | ||
22615 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
22616 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22617 | if (SWIG_arg_fail(1)) SWIG_fail; | |
22618 | { | |
22619 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
22620 | if (SWIG_arg_fail(2)) SWIG_fail; | |
22621 | } | |
d55e5bfc RD |
22622 | { |
22623 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22624 | (arg1)->SetDefaultInfo(arg2); | |
22625 | ||
22626 | wxPyEndAllowThreads(__tstate); | |
22627 | if (PyErr_Occurred()) SWIG_fail; | |
22628 | } | |
22629 | Py_INCREF(Py_None); resultobj = Py_None; | |
22630 | return resultobj; | |
22631 | fail: | |
22632 | return NULL; | |
22633 | } | |
22634 | ||
22635 | ||
c370783e | 22636 | static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22637 | PyObject *resultobj; |
22638 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22639 | bool arg2 ; | |
22640 | PyObject * obj0 = 0 ; | |
22641 | PyObject * obj1 = 0 ; | |
22642 | char *kwnames[] = { | |
22643 | (char *) "self",(char *) "flag", NULL | |
22644 | }; | |
22645 | ||
22646 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
22647 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22648 | if (SWIG_arg_fail(1)) SWIG_fail; | |
22649 | { | |
22650 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
22651 | if (SWIG_arg_fail(2)) SWIG_fail; | |
22652 | } | |
d55e5bfc RD |
22653 | { |
22654 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22655 | (arg1)->SetDefaultMinMargins(arg2); | |
22656 | ||
22657 | wxPyEndAllowThreads(__tstate); | |
22658 | if (PyErr_Occurred()) SWIG_fail; | |
22659 | } | |
22660 | Py_INCREF(Py_None); resultobj = Py_None; | |
22661 | return resultobj; | |
22662 | fail: | |
22663 | return NULL; | |
22664 | } | |
22665 | ||
22666 | ||
c370783e | 22667 | static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22668 | PyObject *resultobj; |
22669 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22670 | wxPoint *arg2 = 0 ; | |
22671 | wxPoint temp2 ; | |
22672 | PyObject * obj0 = 0 ; | |
22673 | PyObject * obj1 = 0 ; | |
22674 | char *kwnames[] = { | |
22675 | (char *) "self",(char *) "pt", NULL | |
22676 | }; | |
22677 | ||
22678 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
22679 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22680 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22681 | { |
22682 | arg2 = &temp2; | |
22683 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
22684 | } | |
22685 | { | |
22686 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22687 | (arg1)->SetMarginTopLeft((wxPoint const &)*arg2); | |
22688 | ||
22689 | wxPyEndAllowThreads(__tstate); | |
22690 | if (PyErr_Occurred()) SWIG_fail; | |
22691 | } | |
22692 | Py_INCREF(Py_None); resultobj = Py_None; | |
22693 | return resultobj; | |
22694 | fail: | |
22695 | return NULL; | |
22696 | } | |
22697 | ||
22698 | ||
c370783e | 22699 | static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22700 | PyObject *resultobj; |
22701 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22702 | wxPoint *arg2 = 0 ; | |
22703 | wxPoint temp2 ; | |
22704 | PyObject * obj0 = 0 ; | |
22705 | PyObject * obj1 = 0 ; | |
22706 | char *kwnames[] = { | |
22707 | (char *) "self",(char *) "pt", NULL | |
22708 | }; | |
22709 | ||
22710 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
22711 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22712 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22713 | { |
22714 | arg2 = &temp2; | |
22715 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
22716 | } | |
22717 | { | |
22718 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22719 | (arg1)->SetMarginBottomRight((wxPoint const &)*arg2); | |
22720 | ||
22721 | wxPyEndAllowThreads(__tstate); | |
22722 | if (PyErr_Occurred()) SWIG_fail; | |
22723 | } | |
22724 | Py_INCREF(Py_None); resultobj = Py_None; | |
22725 | return resultobj; | |
22726 | fail: | |
22727 | return NULL; | |
22728 | } | |
22729 | ||
22730 | ||
c370783e | 22731 | static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22732 | PyObject *resultobj; |
22733 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22734 | wxPoint *arg2 = 0 ; | |
22735 | wxPoint temp2 ; | |
22736 | PyObject * obj0 = 0 ; | |
22737 | PyObject * obj1 = 0 ; | |
22738 | char *kwnames[] = { | |
22739 | (char *) "self",(char *) "pt", NULL | |
22740 | }; | |
22741 | ||
22742 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
22743 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22744 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22745 | { |
22746 | arg2 = &temp2; | |
22747 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
22748 | } | |
22749 | { | |
22750 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22751 | (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2); | |
22752 | ||
22753 | wxPyEndAllowThreads(__tstate); | |
22754 | if (PyErr_Occurred()) SWIG_fail; | |
22755 | } | |
22756 | Py_INCREF(Py_None); resultobj = Py_None; | |
22757 | return resultobj; | |
22758 | fail: | |
22759 | return NULL; | |
22760 | } | |
22761 | ||
22762 | ||
c370783e | 22763 | static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22764 | PyObject *resultobj; |
22765 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22766 | wxPoint *arg2 = 0 ; | |
22767 | wxPoint temp2 ; | |
22768 | PyObject * obj0 = 0 ; | |
22769 | PyObject * obj1 = 0 ; | |
22770 | char *kwnames[] = { | |
22771 | (char *) "self",(char *) "pt", NULL | |
22772 | }; | |
22773 | ||
22774 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
22775 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22776 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22777 | { |
22778 | arg2 = &temp2; | |
22779 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
22780 | } | |
22781 | { | |
22782 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22783 | (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2); | |
22784 | ||
22785 | wxPyEndAllowThreads(__tstate); | |
22786 | if (PyErr_Occurred()) SWIG_fail; | |
22787 | } | |
22788 | Py_INCREF(Py_None); resultobj = Py_None; | |
22789 | return resultobj; | |
22790 | fail: | |
22791 | return NULL; | |
22792 | } | |
22793 | ||
22794 | ||
c370783e | 22795 | static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22796 | PyObject *resultobj; |
22797 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
36ed4f51 | 22798 | wxPaperSize arg2 ; |
d55e5bfc RD |
22799 | PyObject * obj0 = 0 ; |
22800 | PyObject * obj1 = 0 ; | |
22801 | char *kwnames[] = { | |
22802 | (char *) "self",(char *) "id", NULL | |
22803 | }; | |
22804 | ||
22805 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
22806 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22807 | if (SWIG_arg_fail(1)) SWIG_fail; | |
22808 | { | |
22809 | arg2 = (wxPaperSize)(SWIG_As_int(obj1)); | |
22810 | if (SWIG_arg_fail(2)) SWIG_fail; | |
22811 | } | |
d55e5bfc RD |
22812 | { |
22813 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22814 | (arg1)->SetPaperId((wxPaperSize )arg2); | |
22815 | ||
22816 | wxPyEndAllowThreads(__tstate); | |
22817 | if (PyErr_Occurred()) SWIG_fail; | |
22818 | } | |
22819 | Py_INCREF(Py_None); resultobj = Py_None; | |
22820 | return resultobj; | |
22821 | fail: | |
22822 | return NULL; | |
22823 | } | |
22824 | ||
22825 | ||
c370783e | 22826 | static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22827 | PyObject *resultobj; |
22828 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22829 | wxSize *arg2 = 0 ; | |
22830 | wxSize temp2 ; | |
22831 | PyObject * obj0 = 0 ; | |
22832 | PyObject * obj1 = 0 ; | |
22833 | char *kwnames[] = { | |
22834 | (char *) "self",(char *) "size", NULL | |
22835 | }; | |
22836 | ||
22837 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
22838 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22839 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22840 | { |
22841 | arg2 = &temp2; | |
22842 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
22843 | } | |
22844 | { | |
22845 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22846 | (arg1)->SetPaperSize((wxSize const &)*arg2); | |
22847 | ||
22848 | wxPyEndAllowThreads(__tstate); | |
22849 | if (PyErr_Occurred()) SWIG_fail; | |
22850 | } | |
22851 | Py_INCREF(Py_None); resultobj = Py_None; | |
22852 | return resultobj; | |
22853 | fail: | |
22854 | return NULL; | |
22855 | } | |
22856 | ||
22857 | ||
c370783e | 22858 | static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22859 | PyObject *resultobj; |
22860 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22861 | wxPrintData *arg2 = 0 ; | |
22862 | PyObject * obj0 = 0 ; | |
22863 | PyObject * obj1 = 0 ; | |
22864 | char *kwnames[] = { | |
22865 | (char *) "self",(char *) "printData", NULL | |
22866 | }; | |
22867 | ||
22868 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
22869 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22870 | if (SWIG_arg_fail(1)) SWIG_fail; | |
22871 | { | |
22872 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); | |
22873 | if (SWIG_arg_fail(2)) SWIG_fail; | |
22874 | if (arg2 == NULL) { | |
22875 | SWIG_null_ref("wxPrintData"); | |
22876 | } | |
22877 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
22878 | } |
22879 | { | |
22880 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22881 | (arg1)->SetPrintData((wxPrintData const &)*arg2); | |
22882 | ||
22883 | wxPyEndAllowThreads(__tstate); | |
22884 | if (PyErr_Occurred()) SWIG_fail; | |
22885 | } | |
22886 | Py_INCREF(Py_None); resultobj = Py_None; | |
22887 | return resultobj; | |
22888 | fail: | |
22889 | return NULL; | |
22890 | } | |
22891 | ||
22892 | ||
fef4c27a RD |
22893 | static PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *, PyObject *args, PyObject *kwargs) { |
22894 | PyObject *resultobj; | |
22895 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22896 | PyObject * obj0 = 0 ; | |
22897 | char *kwnames[] = { | |
22898 | (char *) "self", NULL | |
22899 | }; | |
22900 | ||
22901 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_CalculateIdFromPaperSize",kwnames,&obj0)) goto fail; | |
22902 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); | |
22903 | if (SWIG_arg_fail(1)) SWIG_fail; | |
22904 | { | |
22905 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22906 | (arg1)->CalculateIdFromPaperSize(); | |
22907 | ||
22908 | wxPyEndAllowThreads(__tstate); | |
22909 | if (PyErr_Occurred()) SWIG_fail; | |
22910 | } | |
22911 | Py_INCREF(Py_None); resultobj = Py_None; | |
22912 | return resultobj; | |
22913 | fail: | |
22914 | return NULL; | |
22915 | } | |
22916 | ||
22917 | ||
22918 | static PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *, PyObject *args, PyObject *kwargs) { | |
22919 | PyObject *resultobj; | |
22920 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22921 | PyObject * obj0 = 0 ; | |
22922 | char *kwnames[] = { | |
22923 | (char *) "self", NULL | |
22924 | }; | |
22925 | ||
22926 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_CalculatePaperSizeFromId",kwnames,&obj0)) goto fail; | |
22927 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); | |
22928 | if (SWIG_arg_fail(1)) SWIG_fail; | |
22929 | { | |
22930 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22931 | (arg1)->CalculatePaperSizeFromId(); | |
22932 | ||
22933 | wxPyEndAllowThreads(__tstate); | |
22934 | if (PyErr_Occurred()) SWIG_fail; | |
22935 | } | |
22936 | Py_INCREF(Py_None); resultobj = Py_None; | |
22937 | return resultobj; | |
22938 | fail: | |
22939 | return NULL; | |
22940 | } | |
22941 | ||
22942 | ||
c370783e | 22943 | static PyObject * PageSetupDialogData_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
22944 | PyObject *obj; |
22945 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
22946 | SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj); | |
22947 | Py_INCREF(obj); | |
22948 | return Py_BuildValue((char *)""); | |
22949 | } | |
c370783e | 22950 | static PyObject *_wrap_new_PageSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22951 | PyObject *resultobj; |
22952 | wxWindow *arg1 = (wxWindow *) 0 ; | |
22953 | wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ; | |
22954 | wxPageSetupDialog *result; | |
22955 | PyObject * obj0 = 0 ; | |
22956 | PyObject * obj1 = 0 ; | |
22957 | char *kwnames[] = { | |
22958 | (char *) "parent",(char *) "data", NULL | |
22959 | }; | |
22960 | ||
22961 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
22962 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
22963 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 22964 | if (obj1) { |
36ed4f51 RD |
22965 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22966 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
22967 | } |
22968 | { | |
0439c23b | 22969 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
22970 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
22971 | result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2); | |
22972 | ||
22973 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 22974 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
22975 | } |
22976 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1); | |
22977 | return resultobj; | |
22978 | fail: | |
22979 | return NULL; | |
22980 | } | |
22981 | ||
22982 | ||
c370783e | 22983 | static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22984 | PyObject *resultobj; |
22985 | wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ; | |
22986 | wxPageSetupDialogData *result; | |
22987 | PyObject * obj0 = 0 ; | |
22988 | char *kwnames[] = { | |
22989 | (char *) "self", NULL | |
22990 | }; | |
22991 | ||
22992 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
22993 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0); |
22994 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22995 | { |
22996 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22997 | { | |
22998 | wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData(); | |
22999 | result = (wxPageSetupDialogData *) &_result_ref; | |
23000 | } | |
23001 | ||
23002 | wxPyEndAllowThreads(__tstate); | |
23003 | if (PyErr_Occurred()) SWIG_fail; | |
23004 | } | |
23005 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0); | |
23006 | return resultobj; | |
23007 | fail: | |
23008 | return NULL; | |
23009 | } | |
23010 | ||
23011 | ||
6e0de3df RD |
23012 | static PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
23013 | PyObject *resultobj; | |
23014 | wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ; | |
23015 | wxPageSetupDialogData *result; | |
23016 | PyObject * obj0 = 0 ; | |
23017 | char *kwnames[] = { | |
23018 | (char *) "self", NULL | |
23019 | }; | |
23020 | ||
23021 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
23022 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0); |
23023 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6e0de3df RD |
23024 | { |
23025 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23026 | { | |
23027 | wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData(); | |
23028 | result = (wxPageSetupDialogData *) &_result_ref; | |
23029 | } | |
23030 | ||
23031 | wxPyEndAllowThreads(__tstate); | |
23032 | if (PyErr_Occurred()) SWIG_fail; | |
23033 | } | |
23034 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0); | |
23035 | return resultobj; | |
23036 | fail: | |
23037 | return NULL; | |
23038 | } | |
23039 | ||
23040 | ||
c370783e | 23041 | static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23042 | PyObject *resultobj; |
23043 | wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ; | |
23044 | int result; | |
23045 | PyObject * obj0 = 0 ; | |
23046 | char *kwnames[] = { | |
23047 | (char *) "self", NULL | |
23048 | }; | |
23049 | ||
23050 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
23051 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0); |
23052 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23053 | { |
23054 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23055 | result = (int)(arg1)->ShowModal(); | |
23056 | ||
23057 | wxPyEndAllowThreads(__tstate); | |
23058 | if (PyErr_Occurred()) SWIG_fail; | |
23059 | } | |
36ed4f51 RD |
23060 | { |
23061 | resultobj = SWIG_From_int((int)(result)); | |
23062 | } | |
d55e5bfc RD |
23063 | return resultobj; |
23064 | fail: | |
23065 | return NULL; | |
23066 | } | |
23067 | ||
23068 | ||
c370783e | 23069 | static PyObject * PageSetupDialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
23070 | PyObject *obj; |
23071 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
23072 | SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj); | |
23073 | Py_INCREF(obj); | |
23074 | return Py_BuildValue((char *)""); | |
23075 | } | |
c370783e | 23076 | static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *, PyObject *args) { |
d55e5bfc RD |
23077 | PyObject *resultobj; |
23078 | wxPrintDialogData *result; | |
23079 | ||
23080 | if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail; | |
23081 | { | |
23082 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23083 | result = (wxPrintDialogData *)new wxPrintDialogData(); | |
23084 | ||
23085 | wxPyEndAllowThreads(__tstate); | |
23086 | if (PyErr_Occurred()) SWIG_fail; | |
23087 | } | |
23088 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1); | |
23089 | return resultobj; | |
23090 | fail: | |
23091 | return NULL; | |
23092 | } | |
23093 | ||
23094 | ||
c370783e | 23095 | static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *, PyObject *args) { |
d55e5bfc RD |
23096 | PyObject *resultobj; |
23097 | wxPrintData *arg1 = 0 ; | |
23098 | wxPrintDialogData *result; | |
23099 | PyObject * obj0 = 0 ; | |
23100 | ||
23101 | if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail; | |
36ed4f51 RD |
23102 | { |
23103 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); | |
23104 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23105 | if (arg1 == NULL) { | |
23106 | SWIG_null_ref("wxPrintData"); | |
23107 | } | |
23108 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23109 | } |
23110 | { | |
23111 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23112 | result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1); | |
23113 | ||
23114 | wxPyEndAllowThreads(__tstate); | |
23115 | if (PyErr_Occurred()) SWIG_fail; | |
23116 | } | |
23117 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1); | |
23118 | return resultobj; | |
23119 | fail: | |
23120 | return NULL; | |
23121 | } | |
23122 | ||
23123 | ||
fef4c27a RD |
23124 | static PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *, PyObject *args) { |
23125 | PyObject *resultobj; | |
23126 | wxPrintDialogData *arg1 = 0 ; | |
23127 | wxPrintDialogData *result; | |
23128 | PyObject * obj0 = 0 ; | |
23129 | ||
23130 | if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail; | |
23131 | { | |
23132 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); | |
23133 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23134 | if (arg1 == NULL) { | |
23135 | SWIG_null_ref("wxPrintDialogData"); | |
23136 | } | |
23137 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23138 | } | |
23139 | { | |
23140 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23141 | result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1); | |
23142 | ||
23143 | wxPyEndAllowThreads(__tstate); | |
23144 | if (PyErr_Occurred()) SWIG_fail; | |
23145 | } | |
23146 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1); | |
23147 | return resultobj; | |
23148 | fail: | |
23149 | return NULL; | |
23150 | } | |
23151 | ||
23152 | ||
d55e5bfc RD |
23153 | static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) { |
23154 | int argc; | |
23155 | PyObject *argv[2]; | |
23156 | int ii; | |
23157 | ||
23158 | argc = PyObject_Length(args); | |
23159 | for (ii = 0; (ii < argc) && (ii < 1); ii++) { | |
23160 | argv[ii] = PyTuple_GetItem(args,ii); | |
23161 | } | |
23162 | if (argc == 0) { | |
23163 | return _wrap_new_PrintDialogData__SWIG_0(self,args); | |
23164 | } | |
23165 | if (argc == 1) { | |
23166 | int _v; | |
23167 | { | |
36ed4f51 | 23168 | void *ptr = 0; |
d55e5bfc RD |
23169 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { |
23170 | _v = 0; | |
23171 | PyErr_Clear(); | |
23172 | } else { | |
36ed4f51 | 23173 | _v = (ptr != 0); |
d55e5bfc RD |
23174 | } |
23175 | } | |
23176 | if (_v) { | |
23177 | return _wrap_new_PrintDialogData__SWIG_1(self,args); | |
23178 | } | |
23179 | } | |
fef4c27a RD |
23180 | if (argc == 1) { |
23181 | int _v; | |
23182 | { | |
23183 | void *ptr = 0; | |
23184 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) { | |
23185 | _v = 0; | |
23186 | PyErr_Clear(); | |
23187 | } else { | |
23188 | _v = (ptr != 0); | |
23189 | } | |
23190 | } | |
23191 | if (_v) { | |
23192 | return _wrap_new_PrintDialogData__SWIG_2(self,args); | |
23193 | } | |
23194 | } | |
d55e5bfc | 23195 | |
36ed4f51 | 23196 | PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'"); |
d55e5bfc RD |
23197 | return NULL; |
23198 | } | |
23199 | ||
23200 | ||
c370783e | 23201 | static PyObject *_wrap_delete_PrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23202 | PyObject *resultobj; |
23203 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23204 | PyObject * obj0 = 0 ; | |
23205 | char *kwnames[] = { | |
23206 | (char *) "self", NULL | |
23207 | }; | |
23208 | ||
23209 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
23210 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23211 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23212 | { |
23213 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23214 | delete arg1; | |
23215 | ||
23216 | wxPyEndAllowThreads(__tstate); | |
23217 | if (PyErr_Occurred()) SWIG_fail; | |
23218 | } | |
23219 | Py_INCREF(Py_None); resultobj = Py_None; | |
23220 | return resultobj; | |
23221 | fail: | |
23222 | return NULL; | |
23223 | } | |
23224 | ||
23225 | ||
c370783e | 23226 | static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23227 | PyObject *resultobj; |
23228 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23229 | int result; | |
23230 | PyObject * obj0 = 0 ; | |
23231 | char *kwnames[] = { | |
23232 | (char *) "self", NULL | |
23233 | }; | |
23234 | ||
23235 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
23236 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23237 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23238 | { |
23239 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23240 | result = (int)((wxPrintDialogData const *)arg1)->GetFromPage(); | |
23241 | ||
23242 | wxPyEndAllowThreads(__tstate); | |
23243 | if (PyErr_Occurred()) SWIG_fail; | |
23244 | } | |
36ed4f51 RD |
23245 | { |
23246 | resultobj = SWIG_From_int((int)(result)); | |
23247 | } | |
d55e5bfc RD |
23248 | return resultobj; |
23249 | fail: | |
23250 | return NULL; | |
23251 | } | |
23252 | ||
23253 | ||
c370783e | 23254 | static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23255 | PyObject *resultobj; |
23256 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23257 | int result; | |
23258 | PyObject * obj0 = 0 ; | |
23259 | char *kwnames[] = { | |
23260 | (char *) "self", NULL | |
23261 | }; | |
23262 | ||
23263 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
23264 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23265 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23266 | { |
23267 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23268 | result = (int)((wxPrintDialogData const *)arg1)->GetToPage(); | |
23269 | ||
23270 | wxPyEndAllowThreads(__tstate); | |
23271 | if (PyErr_Occurred()) SWIG_fail; | |
23272 | } | |
36ed4f51 RD |
23273 | { |
23274 | resultobj = SWIG_From_int((int)(result)); | |
23275 | } | |
d55e5bfc RD |
23276 | return resultobj; |
23277 | fail: | |
23278 | return NULL; | |
23279 | } | |
23280 | ||
23281 | ||
c370783e | 23282 | static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23283 | PyObject *resultobj; |
23284 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23285 | int result; | |
23286 | PyObject * obj0 = 0 ; | |
23287 | char *kwnames[] = { | |
23288 | (char *) "self", NULL | |
23289 | }; | |
23290 | ||
23291 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
23292 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23293 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23294 | { |
23295 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23296 | result = (int)((wxPrintDialogData const *)arg1)->GetMinPage(); | |
23297 | ||
23298 | wxPyEndAllowThreads(__tstate); | |
23299 | if (PyErr_Occurred()) SWIG_fail; | |
23300 | } | |
36ed4f51 RD |
23301 | { |
23302 | resultobj = SWIG_From_int((int)(result)); | |
23303 | } | |
d55e5bfc RD |
23304 | return resultobj; |
23305 | fail: | |
23306 | return NULL; | |
23307 | } | |
23308 | ||
23309 | ||
c370783e | 23310 | static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23311 | PyObject *resultobj; |
23312 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23313 | int result; | |
23314 | PyObject * obj0 = 0 ; | |
23315 | char *kwnames[] = { | |
23316 | (char *) "self", NULL | |
23317 | }; | |
23318 | ||
23319 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
23320 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23321 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23322 | { |
23323 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23324 | result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage(); | |
23325 | ||
23326 | wxPyEndAllowThreads(__tstate); | |
23327 | if (PyErr_Occurred()) SWIG_fail; | |
23328 | } | |
36ed4f51 RD |
23329 | { |
23330 | resultobj = SWIG_From_int((int)(result)); | |
23331 | } | |
d55e5bfc RD |
23332 | return resultobj; |
23333 | fail: | |
23334 | return NULL; | |
23335 | } | |
23336 | ||
23337 | ||
c370783e | 23338 | static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23339 | PyObject *resultobj; |
23340 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23341 | int result; | |
23342 | PyObject * obj0 = 0 ; | |
23343 | char *kwnames[] = { | |
23344 | (char *) "self", NULL | |
23345 | }; | |
23346 | ||
23347 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
23348 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23349 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23350 | { |
23351 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23352 | result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies(); | |
23353 | ||
23354 | wxPyEndAllowThreads(__tstate); | |
23355 | if (PyErr_Occurred()) SWIG_fail; | |
23356 | } | |
36ed4f51 RD |
23357 | { |
23358 | resultobj = SWIG_From_int((int)(result)); | |
23359 | } | |
d55e5bfc RD |
23360 | return resultobj; |
23361 | fail: | |
23362 | return NULL; | |
23363 | } | |
23364 | ||
23365 | ||
c370783e | 23366 | static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23367 | PyObject *resultobj; |
23368 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23369 | bool result; | |
23370 | PyObject * obj0 = 0 ; | |
23371 | char *kwnames[] = { | |
23372 | (char *) "self", NULL | |
23373 | }; | |
23374 | ||
23375 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
23376 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23377 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23378 | { |
23379 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23380 | result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages(); | |
23381 | ||
23382 | wxPyEndAllowThreads(__tstate); | |
23383 | if (PyErr_Occurred()) SWIG_fail; | |
23384 | } | |
23385 | { | |
23386 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23387 | } | |
23388 | return resultobj; | |
23389 | fail: | |
23390 | return NULL; | |
23391 | } | |
23392 | ||
23393 | ||
c370783e | 23394 | static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23395 | PyObject *resultobj; |
23396 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23397 | bool result; | |
23398 | PyObject * obj0 = 0 ; | |
23399 | char *kwnames[] = { | |
23400 | (char *) "self", NULL | |
23401 | }; | |
23402 | ||
23403 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
23404 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23405 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23406 | { |
23407 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23408 | result = (bool)((wxPrintDialogData const *)arg1)->GetSelection(); | |
23409 | ||
23410 | wxPyEndAllowThreads(__tstate); | |
23411 | if (PyErr_Occurred()) SWIG_fail; | |
23412 | } | |
23413 | { | |
23414 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23415 | } | |
23416 | return resultobj; | |
23417 | fail: | |
23418 | return NULL; | |
23419 | } | |
23420 | ||
23421 | ||
c370783e | 23422 | static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23423 | PyObject *resultobj; |
23424 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23425 | bool result; | |
23426 | PyObject * obj0 = 0 ; | |
23427 | char *kwnames[] = { | |
23428 | (char *) "self", NULL | |
23429 | }; | |
23430 | ||
23431 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
23432 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23433 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23434 | { |
23435 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23436 | result = (bool)((wxPrintDialogData const *)arg1)->GetCollate(); | |
23437 | ||
23438 | wxPyEndAllowThreads(__tstate); | |
23439 | if (PyErr_Occurred()) SWIG_fail; | |
23440 | } | |
23441 | { | |
23442 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23443 | } | |
23444 | return resultobj; | |
23445 | fail: | |
23446 | return NULL; | |
23447 | } | |
23448 | ||
23449 | ||
c370783e | 23450 | static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23451 | PyObject *resultobj; |
23452 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23453 | bool result; | |
23454 | PyObject * obj0 = 0 ; | |
23455 | char *kwnames[] = { | |
23456 | (char *) "self", NULL | |
23457 | }; | |
23458 | ||
23459 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
23460 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23461 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23462 | { |
23463 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23464 | result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile(); | |
23465 | ||
23466 | wxPyEndAllowThreads(__tstate); | |
23467 | if (PyErr_Occurred()) SWIG_fail; | |
23468 | } | |
23469 | { | |
23470 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23471 | } | |
23472 | return resultobj; | |
23473 | fail: | |
23474 | return NULL; | |
23475 | } | |
23476 | ||
23477 | ||
c370783e | 23478 | static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23479 | PyObject *resultobj; |
23480 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23481 | bool result; | |
23482 | PyObject * obj0 = 0 ; | |
23483 | char *kwnames[] = { | |
23484 | (char *) "self", NULL | |
23485 | }; | |
23486 | ||
23487 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
23488 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23489 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23490 | { |
23491 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23492 | result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog(); | |
23493 | ||
23494 | wxPyEndAllowThreads(__tstate); | |
23495 | if (PyErr_Occurred()) SWIG_fail; | |
23496 | } | |
23497 | { | |
23498 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23499 | } | |
23500 | return resultobj; | |
23501 | fail: | |
23502 | return NULL; | |
23503 | } | |
23504 | ||
23505 | ||
070c48b4 RD |
23506 | static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
23507 | PyObject *resultobj; | |
23508 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23509 | bool arg2 ; | |
23510 | PyObject * obj0 = 0 ; | |
23511 | PyObject * obj1 = 0 ; | |
23512 | char *kwnames[] = { | |
23513 | (char *) "self",(char *) "flag", NULL | |
23514 | }; | |
23515 | ||
23516 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
23517 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23518 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23519 | { | |
23520 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
23521 | if (SWIG_arg_fail(2)) SWIG_fail; | |
23522 | } | |
070c48b4 RD |
23523 | { |
23524 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23525 | (arg1)->SetSetupDialog(arg2); | |
23526 | ||
23527 | wxPyEndAllowThreads(__tstate); | |
23528 | if (PyErr_Occurred()) SWIG_fail; | |
23529 | } | |
23530 | Py_INCREF(Py_None); resultobj = Py_None; | |
23531 | return resultobj; | |
23532 | fail: | |
23533 | return NULL; | |
23534 | } | |
23535 | ||
23536 | ||
c370783e | 23537 | static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23538 | PyObject *resultobj; |
23539 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23540 | int arg2 ; | |
23541 | PyObject * obj0 = 0 ; | |
23542 | PyObject * obj1 = 0 ; | |
23543 | char *kwnames[] = { | |
23544 | (char *) "self",(char *) "v", NULL | |
23545 | }; | |
23546 | ||
23547 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
23548 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23549 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23550 | { | |
23551 | arg2 = (int)(SWIG_As_int(obj1)); | |
23552 | if (SWIG_arg_fail(2)) SWIG_fail; | |
23553 | } | |
d55e5bfc RD |
23554 | { |
23555 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23556 | (arg1)->SetFromPage(arg2); | |
23557 | ||
23558 | wxPyEndAllowThreads(__tstate); | |
23559 | if (PyErr_Occurred()) SWIG_fail; | |
23560 | } | |
23561 | Py_INCREF(Py_None); resultobj = Py_None; | |
23562 | return resultobj; | |
23563 | fail: | |
23564 | return NULL; | |
23565 | } | |
23566 | ||
23567 | ||
c370783e | 23568 | static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23569 | PyObject *resultobj; |
23570 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23571 | int arg2 ; | |
23572 | PyObject * obj0 = 0 ; | |
23573 | PyObject * obj1 = 0 ; | |
23574 | char *kwnames[] = { | |
23575 | (char *) "self",(char *) "v", NULL | |
23576 | }; | |
23577 | ||
23578 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
23579 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23580 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23581 | { | |
23582 | arg2 = (int)(SWIG_As_int(obj1)); | |
23583 | if (SWIG_arg_fail(2)) SWIG_fail; | |
23584 | } | |
d55e5bfc RD |
23585 | { |
23586 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23587 | (arg1)->SetToPage(arg2); | |
23588 | ||
23589 | wxPyEndAllowThreads(__tstate); | |
23590 | if (PyErr_Occurred()) SWIG_fail; | |
23591 | } | |
23592 | Py_INCREF(Py_None); resultobj = Py_None; | |
23593 | return resultobj; | |
23594 | fail: | |
23595 | return NULL; | |
23596 | } | |
23597 | ||
23598 | ||
c370783e | 23599 | static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23600 | PyObject *resultobj; |
23601 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23602 | int arg2 ; | |
23603 | PyObject * obj0 = 0 ; | |
23604 | PyObject * obj1 = 0 ; | |
23605 | char *kwnames[] = { | |
23606 | (char *) "self",(char *) "v", NULL | |
23607 | }; | |
23608 | ||
23609 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
23610 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23611 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23612 | { | |
23613 | arg2 = (int)(SWIG_As_int(obj1)); | |
23614 | if (SWIG_arg_fail(2)) SWIG_fail; | |
23615 | } | |
d55e5bfc RD |
23616 | { |
23617 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23618 | (arg1)->SetMinPage(arg2); | |
23619 | ||
23620 | wxPyEndAllowThreads(__tstate); | |
23621 | if (PyErr_Occurred()) SWIG_fail; | |
23622 | } | |
23623 | Py_INCREF(Py_None); resultobj = Py_None; | |
23624 | return resultobj; | |
23625 | fail: | |
23626 | return NULL; | |
23627 | } | |
23628 | ||
23629 | ||
c370783e | 23630 | static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23631 | PyObject *resultobj; |
23632 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23633 | int arg2 ; | |
23634 | PyObject * obj0 = 0 ; | |
23635 | PyObject * obj1 = 0 ; | |
23636 | char *kwnames[] = { | |
23637 | (char *) "self",(char *) "v", NULL | |
23638 | }; | |
23639 | ||
23640 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
23641 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23642 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23643 | { | |
23644 | arg2 = (int)(SWIG_As_int(obj1)); | |
23645 | if (SWIG_arg_fail(2)) SWIG_fail; | |
23646 | } | |
d55e5bfc RD |
23647 | { |
23648 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23649 | (arg1)->SetMaxPage(arg2); | |
23650 | ||
23651 | wxPyEndAllowThreads(__tstate); | |
23652 | if (PyErr_Occurred()) SWIG_fail; | |
23653 | } | |
23654 | Py_INCREF(Py_None); resultobj = Py_None; | |
23655 | return resultobj; | |
23656 | fail: | |
23657 | return NULL; | |
23658 | } | |
23659 | ||
23660 | ||
c370783e | 23661 | static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23662 | PyObject *resultobj; |
23663 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23664 | int arg2 ; | |
23665 | PyObject * obj0 = 0 ; | |
23666 | PyObject * obj1 = 0 ; | |
23667 | char *kwnames[] = { | |
23668 | (char *) "self",(char *) "v", NULL | |
23669 | }; | |
23670 | ||
23671 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
23672 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23673 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23674 | { | |
23675 | arg2 = (int)(SWIG_As_int(obj1)); | |
23676 | if (SWIG_arg_fail(2)) SWIG_fail; | |
23677 | } | |
d55e5bfc RD |
23678 | { |
23679 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23680 | (arg1)->SetNoCopies(arg2); | |
23681 | ||
23682 | wxPyEndAllowThreads(__tstate); | |
23683 | if (PyErr_Occurred()) SWIG_fail; | |
23684 | } | |
23685 | Py_INCREF(Py_None); resultobj = Py_None; | |
23686 | return resultobj; | |
23687 | fail: | |
23688 | return NULL; | |
23689 | } | |
23690 | ||
23691 | ||
c370783e | 23692 | static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23693 | PyObject *resultobj; |
23694 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23695 | bool arg2 ; | |
23696 | PyObject * obj0 = 0 ; | |
23697 | PyObject * obj1 = 0 ; | |
23698 | char *kwnames[] = { | |
23699 | (char *) "self",(char *) "flag", NULL | |
23700 | }; | |
23701 | ||
23702 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
23703 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23704 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23705 | { | |
23706 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
23707 | if (SWIG_arg_fail(2)) SWIG_fail; | |
23708 | } | |
d55e5bfc RD |
23709 | { |
23710 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23711 | (arg1)->SetAllPages(arg2); | |
23712 | ||
23713 | wxPyEndAllowThreads(__tstate); | |
23714 | if (PyErr_Occurred()) SWIG_fail; | |
23715 | } | |
23716 | Py_INCREF(Py_None); resultobj = Py_None; | |
23717 | return resultobj; | |
23718 | fail: | |
23719 | return NULL; | |
23720 | } | |
23721 | ||
23722 | ||
c370783e | 23723 | static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23724 | PyObject *resultobj; |
23725 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23726 | bool arg2 ; | |
23727 | PyObject * obj0 = 0 ; | |
23728 | PyObject * obj1 = 0 ; | |
23729 | char *kwnames[] = { | |
23730 | (char *) "self",(char *) "flag", NULL | |
23731 | }; | |
23732 | ||
23733 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
23734 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23735 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23736 | { | |
23737 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
23738 | if (SWIG_arg_fail(2)) SWIG_fail; | |
23739 | } | |
d55e5bfc RD |
23740 | { |
23741 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23742 | (arg1)->SetSelection(arg2); | |
23743 | ||
23744 | wxPyEndAllowThreads(__tstate); | |
23745 | if (PyErr_Occurred()) SWIG_fail; | |
23746 | } | |
23747 | Py_INCREF(Py_None); resultobj = Py_None; | |
23748 | return resultobj; | |
23749 | fail: | |
23750 | return NULL; | |
23751 | } | |
23752 | ||
23753 | ||
c370783e | 23754 | static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23755 | PyObject *resultobj; |
23756 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23757 | bool arg2 ; | |
23758 | PyObject * obj0 = 0 ; | |
23759 | PyObject * obj1 = 0 ; | |
23760 | char *kwnames[] = { | |
23761 | (char *) "self",(char *) "flag", NULL | |
23762 | }; | |
23763 | ||
23764 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
23765 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23766 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23767 | { | |
23768 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
23769 | if (SWIG_arg_fail(2)) SWIG_fail; | |
23770 | } | |
d55e5bfc RD |
23771 | { |
23772 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23773 | (arg1)->SetCollate(arg2); | |
23774 | ||
23775 | wxPyEndAllowThreads(__tstate); | |
23776 | if (PyErr_Occurred()) SWIG_fail; | |
23777 | } | |
23778 | Py_INCREF(Py_None); resultobj = Py_None; | |
23779 | return resultobj; | |
23780 | fail: | |
23781 | return NULL; | |
23782 | } | |
23783 | ||
23784 | ||
c370783e | 23785 | static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23786 | PyObject *resultobj; |
23787 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23788 | bool arg2 ; | |
23789 | PyObject * obj0 = 0 ; | |
23790 | PyObject * obj1 = 0 ; | |
23791 | char *kwnames[] = { | |
23792 | (char *) "self",(char *) "flag", NULL | |
23793 | }; | |
23794 | ||
23795 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
23796 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23797 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23798 | { | |
23799 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
23800 | if (SWIG_arg_fail(2)) SWIG_fail; | |
23801 | } | |
d55e5bfc RD |
23802 | { |
23803 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23804 | (arg1)->SetPrintToFile(arg2); | |
23805 | ||
23806 | wxPyEndAllowThreads(__tstate); | |
23807 | if (PyErr_Occurred()) SWIG_fail; | |
23808 | } | |
23809 | Py_INCREF(Py_None); resultobj = Py_None; | |
23810 | return resultobj; | |
23811 | fail: | |
23812 | return NULL; | |
23813 | } | |
23814 | ||
23815 | ||
c370783e | 23816 | static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23817 | PyObject *resultobj; |
23818 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23819 | bool arg2 ; | |
23820 | PyObject * obj0 = 0 ; | |
23821 | PyObject * obj1 = 0 ; | |
23822 | char *kwnames[] = { | |
23823 | (char *) "self",(char *) "flag", NULL | |
23824 | }; | |
23825 | ||
23826 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
23827 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23828 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23829 | { | |
23830 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
23831 | if (SWIG_arg_fail(2)) SWIG_fail; | |
23832 | } | |
d55e5bfc RD |
23833 | { |
23834 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23835 | (arg1)->EnablePrintToFile(arg2); | |
23836 | ||
23837 | wxPyEndAllowThreads(__tstate); | |
23838 | if (PyErr_Occurred()) SWIG_fail; | |
23839 | } | |
23840 | Py_INCREF(Py_None); resultobj = Py_None; | |
23841 | return resultobj; | |
23842 | fail: | |
23843 | return NULL; | |
23844 | } | |
23845 | ||
23846 | ||
c370783e | 23847 | static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23848 | PyObject *resultobj; |
23849 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23850 | bool arg2 ; | |
23851 | PyObject * obj0 = 0 ; | |
23852 | PyObject * obj1 = 0 ; | |
23853 | char *kwnames[] = { | |
23854 | (char *) "self",(char *) "flag", NULL | |
23855 | }; | |
23856 | ||
23857 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
23858 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23859 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23860 | { | |
23861 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
23862 | if (SWIG_arg_fail(2)) SWIG_fail; | |
23863 | } | |
d55e5bfc RD |
23864 | { |
23865 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23866 | (arg1)->EnableSelection(arg2); | |
23867 | ||
23868 | wxPyEndAllowThreads(__tstate); | |
23869 | if (PyErr_Occurred()) SWIG_fail; | |
23870 | } | |
23871 | Py_INCREF(Py_None); resultobj = Py_None; | |
23872 | return resultobj; | |
23873 | fail: | |
23874 | return NULL; | |
23875 | } | |
23876 | ||
23877 | ||
c370783e | 23878 | static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23879 | PyObject *resultobj; |
23880 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23881 | bool arg2 ; | |
23882 | PyObject * obj0 = 0 ; | |
23883 | PyObject * obj1 = 0 ; | |
23884 | char *kwnames[] = { | |
23885 | (char *) "self",(char *) "flag", NULL | |
23886 | }; | |
23887 | ||
23888 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
23889 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23890 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23891 | { | |
23892 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
23893 | if (SWIG_arg_fail(2)) SWIG_fail; | |
23894 | } | |
d55e5bfc RD |
23895 | { |
23896 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23897 | (arg1)->EnablePageNumbers(arg2); | |
23898 | ||
23899 | wxPyEndAllowThreads(__tstate); | |
23900 | if (PyErr_Occurred()) SWIG_fail; | |
23901 | } | |
23902 | Py_INCREF(Py_None); resultobj = Py_None; | |
23903 | return resultobj; | |
23904 | fail: | |
23905 | return NULL; | |
23906 | } | |
23907 | ||
23908 | ||
c370783e | 23909 | static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23910 | PyObject *resultobj; |
23911 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23912 | bool arg2 ; | |
23913 | PyObject * obj0 = 0 ; | |
23914 | PyObject * obj1 = 0 ; | |
23915 | char *kwnames[] = { | |
23916 | (char *) "self",(char *) "flag", NULL | |
23917 | }; | |
23918 | ||
23919 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
23920 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23921 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23922 | { | |
23923 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
23924 | if (SWIG_arg_fail(2)) SWIG_fail; | |
23925 | } | |
d55e5bfc RD |
23926 | { |
23927 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23928 | (arg1)->EnableHelp(arg2); | |
23929 | ||
23930 | wxPyEndAllowThreads(__tstate); | |
23931 | if (PyErr_Occurred()) SWIG_fail; | |
23932 | } | |
23933 | Py_INCREF(Py_None); resultobj = Py_None; | |
23934 | return resultobj; | |
23935 | fail: | |
23936 | return NULL; | |
23937 | } | |
23938 | ||
23939 | ||
c370783e | 23940 | static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23941 | PyObject *resultobj; |
23942 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23943 | bool result; | |
23944 | PyObject * obj0 = 0 ; | |
23945 | char *kwnames[] = { | |
23946 | (char *) "self", NULL | |
23947 | }; | |
23948 | ||
23949 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
23950 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23951 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23952 | { |
23953 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23954 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile(); | |
23955 | ||
23956 | wxPyEndAllowThreads(__tstate); | |
23957 | if (PyErr_Occurred()) SWIG_fail; | |
23958 | } | |
23959 | { | |
23960 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23961 | } | |
23962 | return resultobj; | |
23963 | fail: | |
23964 | return NULL; | |
23965 | } | |
23966 | ||
23967 | ||
c370783e | 23968 | static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23969 | PyObject *resultobj; |
23970 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23971 | bool result; | |
23972 | PyObject * obj0 = 0 ; | |
23973 | char *kwnames[] = { | |
23974 | (char *) "self", NULL | |
23975 | }; | |
23976 | ||
23977 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
23978 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23979 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23980 | { |
23981 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23982 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection(); | |
23983 | ||
23984 | wxPyEndAllowThreads(__tstate); | |
23985 | if (PyErr_Occurred()) SWIG_fail; | |
23986 | } | |
23987 | { | |
23988 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23989 | } | |
23990 | return resultobj; | |
23991 | fail: | |
23992 | return NULL; | |
23993 | } | |
23994 | ||
23995 | ||
c370783e | 23996 | static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23997 | PyObject *resultobj; |
23998 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23999 | bool result; | |
24000 | PyObject * obj0 = 0 ; | |
24001 | char *kwnames[] = { | |
24002 | (char *) "self", NULL | |
24003 | }; | |
24004 | ||
24005 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
24006 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
24007 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
24008 | { |
24009 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24010 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers(); | |
24011 | ||
24012 | wxPyEndAllowThreads(__tstate); | |
24013 | if (PyErr_Occurred()) SWIG_fail; | |
24014 | } | |
24015 | { | |
24016 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
24017 | } | |
24018 | return resultobj; | |
24019 | fail: | |
24020 | return NULL; | |
24021 | } | |
24022 | ||
24023 | ||
c370783e | 24024 | static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24025 | PyObject *resultobj; |
24026 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
24027 | bool result; | |
24028 | PyObject * obj0 = 0 ; | |
24029 | char *kwnames[] = { | |
24030 | (char *) "self", NULL | |
24031 | }; | |
24032 | ||
24033 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
24034 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
24035 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
24036 | { |
24037 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24038 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp(); | |
24039 | ||
24040 | wxPyEndAllowThreads(__tstate); | |
24041 | if (PyErr_Occurred()) SWIG_fail; | |
24042 | } | |
24043 | { | |
24044 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
24045 | } | |
24046 | return resultobj; | |
24047 | fail: | |
24048 | return NULL; | |
24049 | } | |
24050 | ||
24051 | ||
c370783e | 24052 | static PyObject *_wrap_PrintDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24053 | PyObject *resultobj; |
24054 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
24055 | bool result; | |
24056 | PyObject * obj0 = 0 ; | |
24057 | char *kwnames[] = { | |
24058 | (char *) "self", NULL | |
24059 | }; | |
24060 | ||
24061 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
24062 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
24063 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
24064 | { |
24065 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24066 | result = (bool)((wxPrintDialogData const *)arg1)->Ok(); | |
24067 | ||
24068 | wxPyEndAllowThreads(__tstate); | |
24069 | if (PyErr_Occurred()) SWIG_fail; | |
24070 | } | |
24071 | { | |
24072 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
24073 | } | |
24074 | return resultobj; | |
24075 | fail: | |
24076 | return NULL; | |
24077 | } | |
24078 | ||
24079 | ||
c370783e | 24080 | static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24081 | PyObject *resultobj; |
24082 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
24083 | wxPrintData *result; | |
24084 | PyObject * obj0 = 0 ; | |
24085 | char *kwnames[] = { | |
24086 | (char *) "self", NULL | |
24087 | }; | |
24088 | ||
24089 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
24090 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
24091 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
24092 | { |
24093 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24094 | { | |
24095 | wxPrintData &_result_ref = (arg1)->GetPrintData(); | |
24096 | result = (wxPrintData *) &_result_ref; | |
24097 | } | |
24098 | ||
24099 | wxPyEndAllowThreads(__tstate); | |
24100 | if (PyErr_Occurred()) SWIG_fail; | |
24101 | } | |
24102 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0); | |
24103 | return resultobj; | |
24104 | fail: | |
24105 | return NULL; | |
24106 | } | |
24107 | ||
24108 | ||
c370783e | 24109 | static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24110 | PyObject *resultobj; |
24111 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
24112 | wxPrintData *arg2 = 0 ; | |
24113 | PyObject * obj0 = 0 ; | |
24114 | PyObject * obj1 = 0 ; | |
24115 | char *kwnames[] = { | |
24116 | (char *) "self",(char *) "printData", NULL | |
24117 | }; | |
24118 | ||
24119 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
24120 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
24121 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24122 | { | |
24123 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); | |
24124 | if (SWIG_arg_fail(2)) SWIG_fail; | |
24125 | if (arg2 == NULL) { | |
24126 | SWIG_null_ref("wxPrintData"); | |
24127 | } | |
24128 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
24129 | } |
24130 | { | |
24131 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24132 | (arg1)->SetPrintData((wxPrintData const &)*arg2); | |
24133 | ||
24134 | wxPyEndAllowThreads(__tstate); | |
24135 | if (PyErr_Occurred()) SWIG_fail; | |
24136 | } | |
24137 | Py_INCREF(Py_None); resultobj = Py_None; | |
24138 | return resultobj; | |
24139 | fail: | |
24140 | return NULL; | |
24141 | } | |
24142 | ||
24143 | ||
c370783e | 24144 | static PyObject * PrintDialogData_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
24145 | PyObject *obj; |
24146 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
24147 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj); | |
24148 | Py_INCREF(obj); | |
24149 | return Py_BuildValue((char *)""); | |
24150 | } | |
c370783e | 24151 | static PyObject *_wrap_new_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24152 | PyObject *resultobj; |
24153 | wxWindow *arg1 = (wxWindow *) 0 ; | |
24154 | wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ; | |
24155 | wxPrintDialog *result; | |
24156 | PyObject * obj0 = 0 ; | |
24157 | PyObject * obj1 = 0 ; | |
24158 | char *kwnames[] = { | |
24159 | (char *) "parent",(char *) "data", NULL | |
24160 | }; | |
24161 | ||
24162 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
24163 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
24164 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 24165 | if (obj1) { |
36ed4f51 RD |
24166 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
24167 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
24168 | } |
24169 | { | |
0439c23b | 24170 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
24171 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
24172 | result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2); | |
24173 | ||
24174 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 24175 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
24176 | } |
24177 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1); | |
24178 | return resultobj; | |
24179 | fail: | |
24180 | return NULL; | |
24181 | } | |
24182 | ||
24183 | ||
070c48b4 RD |
24184 | static PyObject *_wrap_PrintDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) { |
24185 | PyObject *resultobj; | |
24186 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
24187 | int result; | |
24188 | PyObject * obj0 = 0 ; | |
24189 | char *kwnames[] = { | |
24190 | (char *) "self", NULL | |
24191 | }; | |
24192 | ||
24193 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
24194 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0); |
24195 | if (SWIG_arg_fail(1)) SWIG_fail; | |
070c48b4 RD |
24196 | { |
24197 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24198 | result = (int)(arg1)->ShowModal(); | |
24199 | ||
24200 | wxPyEndAllowThreads(__tstate); | |
24201 | if (PyErr_Occurred()) SWIG_fail; | |
24202 | } | |
36ed4f51 RD |
24203 | { |
24204 | resultobj = SWIG_From_int((int)(result)); | |
24205 | } | |
070c48b4 RD |
24206 | return resultobj; |
24207 | fail: | |
24208 | return NULL; | |
24209 | } | |
24210 | ||
24211 | ||
c370783e | 24212 | static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24213 | PyObject *resultobj; |
24214 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
24215 | wxPrintDialogData *result; | |
24216 | PyObject * obj0 = 0 ; | |
24217 | char *kwnames[] = { | |
24218 | (char *) "self", NULL | |
24219 | }; | |
24220 | ||
24221 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
24222 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0); |
24223 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
24224 | { |
24225 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24226 | { | |
24227 | wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData(); | |
24228 | result = (wxPrintDialogData *) &_result_ref; | |
24229 | } | |
24230 | ||
24231 | wxPyEndAllowThreads(__tstate); | |
24232 | if (PyErr_Occurred()) SWIG_fail; | |
24233 | } | |
24234 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0); | |
24235 | return resultobj; | |
24236 | fail: | |
24237 | return NULL; | |
24238 | } | |
24239 | ||
24240 | ||
070c48b4 | 24241 | static PyObject *_wrap_PrintDialog_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24242 | PyObject *resultobj; |
24243 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
070c48b4 | 24244 | wxPrintData *result; |
d55e5bfc RD |
24245 | PyObject * obj0 = 0 ; |
24246 | char *kwnames[] = { | |
24247 | (char *) "self", NULL | |
24248 | }; | |
24249 | ||
070c48b4 | 24250 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintData",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
24251 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0); |
24252 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
24253 | { |
24254 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
070c48b4 RD |
24255 | { |
24256 | wxPrintData &_result_ref = (arg1)->GetPrintData(); | |
24257 | result = (wxPrintData *) &_result_ref; | |
24258 | } | |
d55e5bfc RD |
24259 | |
24260 | wxPyEndAllowThreads(__tstate); | |
24261 | if (PyErr_Occurred()) SWIG_fail; | |
24262 | } | |
070c48b4 | 24263 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0); |
d55e5bfc RD |
24264 | return resultobj; |
24265 | fail: | |
24266 | return NULL; | |
24267 | } | |
24268 | ||
24269 | ||
070c48b4 | 24270 | static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24271 | PyObject *resultobj; |
24272 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
070c48b4 | 24273 | wxDC *result; |
d55e5bfc RD |
24274 | PyObject * obj0 = 0 ; |
24275 | char *kwnames[] = { | |
24276 | (char *) "self", NULL | |
24277 | }; | |
24278 | ||
070c48b4 | 24279 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
24280 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0); |
24281 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
24282 | { |
24283 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
070c48b4 | 24284 | result = (wxDC *)(arg1)->GetPrintDC(); |
d55e5bfc RD |
24285 | |
24286 | wxPyEndAllowThreads(__tstate); | |
24287 | if (PyErr_Occurred()) SWIG_fail; | |
24288 | } | |
070c48b4 RD |
24289 | { |
24290 | resultobj = wxPyMake_wxObject(result, 1); | |
24291 | } | |
d55e5bfc RD |
24292 | return resultobj; |
24293 | fail: | |
24294 | return NULL; | |
24295 | } | |
24296 | ||
24297 | ||
c370783e | 24298 | static PyObject * PrintDialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
24299 | PyObject *obj; |
24300 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
24301 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj); | |
24302 | Py_INCREF(obj); | |
24303 | return Py_BuildValue((char *)""); | |
24304 | } | |
c370783e | 24305 | static PyObject *_wrap_new_Printer(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24306 | PyObject *resultobj; |
24307 | wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ; | |
24308 | wxPrinter *result; | |
24309 | PyObject * obj0 = 0 ; | |
24310 | char *kwnames[] = { | |
24311 | (char *) "data", NULL | |
24312 | }; | |
24313 | ||
24314 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail; | |
24315 | if (obj0) { | |
36ed4f51 RD |
24316 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
24317 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
24318 | } |
24319 | { | |
0439c23b | 24320 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
24321 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
24322 | result = (wxPrinter *)new wxPrinter(arg1); | |
24323 | ||
24324 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 24325 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
24326 | } |
24327 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1); | |
24328 | return resultobj; | |
24329 | fail: | |
24330 | return NULL; | |
24331 | } | |
24332 | ||
24333 | ||
c370783e | 24334 | static PyObject *_wrap_delete_Printer(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24335 | PyObject *resultobj; |
24336 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
24337 | PyObject * obj0 = 0 ; | |
24338 | char *kwnames[] = { | |
24339 | (char *) "self", NULL | |
24340 | }; | |
24341 | ||
24342 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
24343 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0); |
24344 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
24345 | { |
24346 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24347 | delete arg1; | |
24348 | ||
24349 | wxPyEndAllowThreads(__tstate); | |
24350 | if (PyErr_Occurred()) SWIG_fail; | |
24351 | } | |
24352 | Py_INCREF(Py_None); resultobj = Py_None; | |
24353 | return resultobj; | |
24354 | fail: | |
24355 | return NULL; | |
24356 | } | |
24357 | ||
24358 | ||
c370783e | 24359 | static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24360 | PyObject *resultobj; |
24361 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
24362 | wxWindow *arg2 = (wxWindow *) 0 ; | |
24363 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; | |
070c48b4 | 24364 | wxWindow *result; |
d55e5bfc RD |
24365 | PyObject * obj0 = 0 ; |
24366 | PyObject * obj1 = 0 ; | |
24367 | PyObject * obj2 = 0 ; | |
24368 | char *kwnames[] = { | |
24369 | (char *) "self",(char *) "parent",(char *) "printout", NULL | |
24370 | }; | |
24371 | ||
24372 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
24373 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0); |
24374 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24375 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
24376 | if (SWIG_arg_fail(2)) SWIG_fail; | |
24377 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); | |
24378 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc RD |
24379 | { |
24380 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
070c48b4 | 24381 | result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3); |
d55e5bfc RD |
24382 | |
24383 | wxPyEndAllowThreads(__tstate); | |
24384 | if (PyErr_Occurred()) SWIG_fail; | |
24385 | } | |
d55e5bfc | 24386 | { |
070c48b4 | 24387 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc | 24388 | } |
d55e5bfc RD |
24389 | return resultobj; |
24390 | fail: | |
24391 | return NULL; | |
24392 | } | |
24393 | ||
24394 | ||
070c48b4 | 24395 | static PyObject *_wrap_Printer_ReportError(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24396 | PyObject *resultobj; |
24397 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
24398 | wxWindow *arg2 = (wxWindow *) 0 ; | |
24399 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; | |
070c48b4 RD |
24400 | wxString *arg4 = 0 ; |
24401 | bool temp4 = false ; | |
d55e5bfc RD |
24402 | PyObject * obj0 = 0 ; |
24403 | PyObject * obj1 = 0 ; | |
24404 | PyObject * obj2 = 0 ; | |
24405 | PyObject * obj3 = 0 ; | |
24406 | char *kwnames[] = { | |
070c48b4 | 24407 | (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL |
d55e5bfc RD |
24408 | }; |
24409 | ||
070c48b4 | 24410 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
36ed4f51 RD |
24411 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0); |
24412 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24413 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
24414 | if (SWIG_arg_fail(2)) SWIG_fail; | |
24415 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); | |
24416 | if (SWIG_arg_fail(3)) SWIG_fail; | |
070c48b4 RD |
24417 | { |
24418 | arg4 = wxString_in_helper(obj3); | |
24419 | if (arg4 == NULL) SWIG_fail; | |
24420 | temp4 = true; | |
d55e5bfc RD |
24421 | } |
24422 | { | |
24423 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
070c48b4 | 24424 | (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4); |
d55e5bfc RD |
24425 | |
24426 | wxPyEndAllowThreads(__tstate); | |
24427 | if (PyErr_Occurred()) SWIG_fail; | |
24428 | } | |
070c48b4 | 24429 | Py_INCREF(Py_None); resultobj = Py_None; |
d55e5bfc | 24430 | { |
070c48b4 RD |
24431 | if (temp4) |
24432 | delete arg4; | |
d55e5bfc RD |
24433 | } |
24434 | return resultobj; | |
24435 | fail: | |
070c48b4 RD |
24436 | { |
24437 | if (temp4) | |
24438 | delete arg4; | |
24439 | } | |
d55e5bfc RD |
24440 | return NULL; |
24441 | } | |
24442 | ||
24443 | ||
070c48b4 | 24444 | static PyObject *_wrap_Printer_Setup(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24445 | PyObject *resultobj; |
24446 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
24447 | wxWindow *arg2 = (wxWindow *) 0 ; | |
070c48b4 | 24448 | bool result; |
d55e5bfc RD |
24449 | PyObject * obj0 = 0 ; |
24450 | PyObject * obj1 = 0 ; | |
24451 | char *kwnames[] = { | |
24452 | (char *) "self",(char *) "parent", NULL | |
24453 | }; | |
24454 | ||
070c48b4 | 24455 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail; |
36ed4f51 RD |
24456 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0); |
24457 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24458 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
24459 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
24460 | { |
24461 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
070c48b4 | 24462 | result = (bool)(arg1)->Setup(arg2); |
d55e5bfc RD |
24463 | |
24464 | wxPyEndAllowThreads(__tstate); | |
24465 | if (PyErr_Occurred()) SWIG_fail; | |
24466 | } | |
24467 | { | |
070c48b4 | 24468 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d55e5bfc RD |
24469 | } |
24470 | return resultobj; | |
24471 | fail: | |
24472 | return NULL; | |
24473 | } | |
24474 | ||
24475 | ||
070c48b4 | 24476 | static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24477 | PyObject *resultobj; |
24478 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
24479 | wxWindow *arg2 = (wxWindow *) 0 ; | |
24480 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; | |
070c48b4 RD |
24481 | bool arg4 = (bool) true ; |
24482 | bool result; | |
d55e5bfc RD |
24483 | PyObject * obj0 = 0 ; |
24484 | PyObject * obj1 = 0 ; | |
24485 | PyObject * obj2 = 0 ; | |
24486 | PyObject * obj3 = 0 ; | |
24487 | char *kwnames[] = { | |
070c48b4 | 24488 | (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL |
d55e5bfc RD |
24489 | }; |
24490 | ||
070c48b4 | 24491 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
36ed4f51 RD |
24492 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0); |
24493 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24494 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
24495 | if (SWIG_arg_fail(2)) SWIG_fail; | |
24496 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); | |
24497 | if (SWIG_arg_fail(3)) SWIG_fail; | |
070c48b4 | 24498 | if (obj3) { |
36ed4f51 RD |
24499 | { |
24500 | arg4 = (bool)(SWIG_As_bool(obj3)); | |
24501 | if (SWIG_arg_fail(4)) SWIG_fail; | |
24502 | } | |
d55e5bfc RD |
24503 | } |
24504 | { | |
24505 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
070c48b4 | 24506 | result = (bool)(arg1)->Print(arg2,arg3,arg4); |
d55e5bfc RD |
24507 | |
24508 | wxPyEndAllowThreads(__tstate); | |
24509 | if (PyErr_Occurred()) SWIG_fail; | |
24510 | } | |
d55e5bfc | 24511 | { |
070c48b4 | 24512 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d55e5bfc RD |
24513 | } |
24514 | return resultobj; | |
24515 | fail: | |
d55e5bfc RD |
24516 | return NULL; |
24517 | } | |
24518 | ||
24519 | ||
070c48b4 | 24520 | static PyObject *_wrap_Printer_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24521 | PyObject *resultobj; |
24522 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
24523 | wxWindow *arg2 = (wxWindow *) 0 ; | |
070c48b4 | 24524 | wxDC *result; |
d55e5bfc RD |
24525 | PyObject * obj0 = 0 ; |
24526 | PyObject * obj1 = 0 ; | |
24527 | char *kwnames[] = { | |
24528 | (char *) "self",(char *) "parent", NULL | |
24529 | }; | |
24530 | ||
070c48b4 | 24531 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail; |
36ed4f51 RD |
24532 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0); |
24533 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24534 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
24535 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
24536 | { |
24537 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
070c48b4 | 24538 | result = (wxDC *)(arg1)->PrintDialog(arg2); |
d55e5bfc RD |
24539 | |
24540 | wxPyEndAllowThreads(__tstate); | |
24541 | if (PyErr_Occurred()) SWIG_fail; | |
24542 | } | |
24543 | { | |
070c48b4 | 24544 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
24545 | } |
24546 | return resultobj; | |
24547 | fail: | |
24548 | return NULL; | |
24549 | } | |
24550 | ||
24551 | ||
070c48b4 RD |
24552 | static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
24553 | PyObject *resultobj; | |
24554 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
24555 | wxPrintDialogData *result; | |
24556 | PyObject * obj0 = 0 ; | |
24557 | char *kwnames[] = { | |
24558 | (char *) "self", NULL | |
24559 | }; | |
24560 | ||
24561 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
24562 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0); |
24563 | if (SWIG_arg_fail(1)) SWIG_fail; | |
070c48b4 RD |
24564 | { |
24565 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24566 | { | |
24567 | wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData(); | |
24568 | result = (wxPrintDialogData *) &_result_ref; | |
24569 | } | |
24570 | ||
24571 | wxPyEndAllowThreads(__tstate); | |
24572 | if (PyErr_Occurred()) SWIG_fail; | |
24573 | } | |
24574 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0); | |
24575 | return resultobj; | |
24576 | fail: | |
24577 | return NULL; | |
24578 | } | |
24579 | ||
24580 | ||
c370783e | 24581 | static PyObject *_wrap_Printer_GetAbort(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24582 | PyObject *resultobj; |
24583 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
24584 | bool result; | |
24585 | PyObject * obj0 = 0 ; | |
24586 | char *kwnames[] = { | |
24587 | (char *) "self", NULL | |
24588 | }; | |
24589 | ||
24590 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
24591 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0); |
24592 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
24593 | { |
24594 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24595 | result = (bool)(arg1)->GetAbort(); | |
24596 | ||
24597 | wxPyEndAllowThreads(__tstate); | |
24598 | if (PyErr_Occurred()) SWIG_fail; | |
24599 | } | |
24600 | { | |
24601 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
24602 | } | |
24603 | return resultobj; | |
24604 | fail: | |
24605 | return NULL; | |
24606 | } | |
24607 | ||
24608 | ||
c370783e | 24609 | static PyObject *_wrap_Printer_GetLastError(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc | 24610 | PyObject *resultobj; |
36ed4f51 | 24611 | wxPrinterError result; |
d55e5bfc RD |
24612 | char *kwnames[] = { |
24613 | NULL | |
24614 | }; | |
24615 | ||
24616 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail; | |
24617 | { | |
24618 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 24619 | result = (wxPrinterError)wxPrinter::GetLastError(); |
d55e5bfc RD |
24620 | |
24621 | wxPyEndAllowThreads(__tstate); | |
24622 | if (PyErr_Occurred()) SWIG_fail; | |
24623 | } | |
36ed4f51 | 24624 | resultobj = SWIG_From_int((result)); |
d55e5bfc RD |
24625 | return resultobj; |
24626 | fail: | |
24627 | return NULL; | |
24628 | } | |
24629 | ||
24630 | ||
c370783e | 24631 | static PyObject * Printer_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
24632 | PyObject *obj; |
24633 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
24634 | SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj); | |
24635 | Py_INCREF(obj); | |
24636 | return Py_BuildValue((char *)""); | |
24637 | } | |
c370783e | 24638 | static PyObject *_wrap_new_Printout(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24639 | PyObject *resultobj; |
24640 | wxString const &arg1_defvalue = wxPyPrintoutTitleStr ; | |
24641 | wxString *arg1 = (wxString *) &arg1_defvalue ; | |
24642 | wxPyPrintout *result; | |
b411df4a | 24643 | bool temp1 = false ; |
d55e5bfc RD |
24644 | PyObject * obj0 = 0 ; |
24645 | char *kwnames[] = { | |
24646 | (char *) "title", NULL | |
24647 | }; | |
24648 | ||
24649 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail; | |
24650 | if (obj0) { | |
24651 | { | |
24652 | arg1 = wxString_in_helper(obj0); | |
24653 | if (arg1 == NULL) SWIG_fail; | |
b411df4a | 24654 | temp1 = true; |
d55e5bfc RD |
24655 | } |
24656 | } | |
24657 | { | |
0439c23b | 24658 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
24659 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
24660 | result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1); | |
24661 | ||
24662 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 24663 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
24664 | } |
24665 | { | |
412d302d | 24666 | resultobj = wxPyMake_wxObject(result, 1); |
d55e5bfc RD |
24667 | } |
24668 | { | |
24669 | if (temp1) | |
24670 | delete arg1; | |
24671 | } | |
24672 | return resultobj; | |
24673 | fail: | |
24674 | { | |
24675 | if (temp1) | |
24676 | delete arg1; | |
24677 | } | |
24678 | return NULL; | |
24679 | } | |
24680 | ||
24681 | ||
c370783e | 24682 | static PyObject *_wrap_Printout__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24683 | PyObject *resultobj; |
24684 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24685 | PyObject *arg2 = (PyObject *) 0 ; | |
24686 | PyObject *arg3 = (PyObject *) 0 ; | |
24687 | PyObject * obj0 = 0 ; | |
24688 | PyObject * obj1 = 0 ; | |
24689 | PyObject * obj2 = 0 ; | |
24690 | char *kwnames[] = { | |
24691 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
24692 | }; | |
24693 | ||
24694 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
24695 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24696 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
24697 | arg2 = obj1; |
24698 | arg3 = obj2; | |
24699 | { | |
24700 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24701 | (arg1)->_setCallbackInfo(arg2,arg3); | |
24702 | ||
24703 | wxPyEndAllowThreads(__tstate); | |
24704 | if (PyErr_Occurred()) SWIG_fail; | |
24705 | } | |
24706 | Py_INCREF(Py_None); resultobj = Py_None; | |
24707 | return resultobj; | |
24708 | fail: | |
24709 | return NULL; | |
24710 | } | |
24711 | ||
24712 | ||
c370783e | 24713 | static PyObject *_wrap_Printout_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24714 | PyObject *resultobj; |
24715 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24716 | wxString result; | |
24717 | PyObject * obj0 = 0 ; | |
24718 | char *kwnames[] = { | |
24719 | (char *) "self", NULL | |
24720 | }; | |
24721 | ||
24722 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
24723 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24724 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
24725 | { |
24726 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24727 | result = ((wxPyPrintout const *)arg1)->GetTitle(); | |
24728 | ||
24729 | wxPyEndAllowThreads(__tstate); | |
24730 | if (PyErr_Occurred()) SWIG_fail; | |
24731 | } | |
24732 | { | |
24733 | #if wxUSE_UNICODE | |
24734 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
24735 | #else | |
24736 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
24737 | #endif | |
24738 | } | |
24739 | return resultobj; | |
24740 | fail: | |
24741 | return NULL; | |
24742 | } | |
24743 | ||
24744 | ||
c370783e | 24745 | static PyObject *_wrap_Printout_GetDC(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24746 | PyObject *resultobj; |
24747 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24748 | wxDC *result; | |
24749 | PyObject * obj0 = 0 ; | |
24750 | char *kwnames[] = { | |
24751 | (char *) "self", NULL | |
24752 | }; | |
24753 | ||
24754 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
24755 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24756 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
24757 | { |
24758 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24759 | result = (wxDC *)(arg1)->GetDC(); | |
24760 | ||
24761 | wxPyEndAllowThreads(__tstate); | |
24762 | if (PyErr_Occurred()) SWIG_fail; | |
24763 | } | |
24764 | { | |
412d302d | 24765 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
24766 | } |
24767 | return resultobj; | |
24768 | fail: | |
24769 | return NULL; | |
24770 | } | |
24771 | ||
24772 | ||
c370783e | 24773 | static PyObject *_wrap_Printout_SetDC(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24774 | PyObject *resultobj; |
24775 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24776 | wxDC *arg2 = (wxDC *) 0 ; | |
24777 | PyObject * obj0 = 0 ; | |
24778 | PyObject * obj1 = 0 ; | |
24779 | char *kwnames[] = { | |
24780 | (char *) "self",(char *) "dc", NULL | |
24781 | }; | |
24782 | ||
24783 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
24784 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24785 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24786 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); | |
24787 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
24788 | { |
24789 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24790 | (arg1)->SetDC(arg2); | |
24791 | ||
24792 | wxPyEndAllowThreads(__tstate); | |
24793 | if (PyErr_Occurred()) SWIG_fail; | |
24794 | } | |
24795 | Py_INCREF(Py_None); resultobj = Py_None; | |
24796 | return resultobj; | |
24797 | fail: | |
24798 | return NULL; | |
24799 | } | |
24800 | ||
24801 | ||
c370783e | 24802 | static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24803 | PyObject *resultobj; |
24804 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24805 | int arg2 ; | |
24806 | int arg3 ; | |
24807 | PyObject * obj0 = 0 ; | |
24808 | PyObject * obj1 = 0 ; | |
24809 | PyObject * obj2 = 0 ; | |
24810 | char *kwnames[] = { | |
24811 | (char *) "self",(char *) "w",(char *) "h", NULL | |
24812 | }; | |
24813 | ||
24814 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
24815 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24816 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24817 | { | |
24818 | arg2 = (int)(SWIG_As_int(obj1)); | |
24819 | if (SWIG_arg_fail(2)) SWIG_fail; | |
24820 | } | |
24821 | { | |
24822 | arg3 = (int)(SWIG_As_int(obj2)); | |
24823 | if (SWIG_arg_fail(3)) SWIG_fail; | |
24824 | } | |
d55e5bfc RD |
24825 | { |
24826 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24827 | (arg1)->SetPageSizePixels(arg2,arg3); | |
24828 | ||
24829 | wxPyEndAllowThreads(__tstate); | |
24830 | if (PyErr_Occurred()) SWIG_fail; | |
24831 | } | |
24832 | Py_INCREF(Py_None); resultobj = Py_None; | |
24833 | return resultobj; | |
24834 | fail: | |
24835 | return NULL; | |
24836 | } | |
24837 | ||
24838 | ||
c370783e | 24839 | static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24840 | PyObject *resultobj; |
24841 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24842 | int *arg2 = (int *) 0 ; | |
24843 | int *arg3 = (int *) 0 ; | |
24844 | int temp2 ; | |
c370783e | 24845 | int res2 = 0 ; |
d55e5bfc | 24846 | int temp3 ; |
c370783e | 24847 | int res3 = 0 ; |
d55e5bfc RD |
24848 | PyObject * obj0 = 0 ; |
24849 | char *kwnames[] = { | |
24850 | (char *) "self", NULL | |
24851 | }; | |
24852 | ||
c370783e RD |
24853 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
24854 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc | 24855 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
24856 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24857 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
24858 | { |
24859 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24860 | (arg1)->GetPageSizePixels(arg2,arg3); | |
24861 | ||
24862 | wxPyEndAllowThreads(__tstate); | |
24863 | if (PyErr_Occurred()) SWIG_fail; | |
24864 | } | |
24865 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
24866 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
24867 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
24868 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
24869 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
24870 | return resultobj; |
24871 | fail: | |
24872 | return NULL; | |
24873 | } | |
24874 | ||
24875 | ||
c370783e | 24876 | static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24877 | PyObject *resultobj; |
24878 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24879 | int arg2 ; | |
24880 | int arg3 ; | |
24881 | PyObject * obj0 = 0 ; | |
24882 | PyObject * obj1 = 0 ; | |
24883 | PyObject * obj2 = 0 ; | |
24884 | char *kwnames[] = { | |
24885 | (char *) "self",(char *) "w",(char *) "h", NULL | |
24886 | }; | |
24887 | ||
24888 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
24889 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24890 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24891 | { | |
24892 | arg2 = (int)(SWIG_As_int(obj1)); | |
24893 | if (SWIG_arg_fail(2)) SWIG_fail; | |
24894 | } | |
24895 | { | |
24896 | arg3 = (int)(SWIG_As_int(obj2)); | |
24897 | if (SWIG_arg_fail(3)) SWIG_fail; | |
24898 | } | |
d55e5bfc RD |
24899 | { |
24900 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24901 | (arg1)->SetPageSizeMM(arg2,arg3); | |
24902 | ||
24903 | wxPyEndAllowThreads(__tstate); | |
24904 | if (PyErr_Occurred()) SWIG_fail; | |
24905 | } | |
24906 | Py_INCREF(Py_None); resultobj = Py_None; | |
24907 | return resultobj; | |
24908 | fail: | |
24909 | return NULL; | |
24910 | } | |
24911 | ||
24912 | ||
c370783e | 24913 | static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24914 | PyObject *resultobj; |
24915 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24916 | int *arg2 = (int *) 0 ; | |
24917 | int *arg3 = (int *) 0 ; | |
24918 | int temp2 ; | |
c370783e | 24919 | int res2 = 0 ; |
d55e5bfc | 24920 | int temp3 ; |
c370783e | 24921 | int res3 = 0 ; |
d55e5bfc RD |
24922 | PyObject * obj0 = 0 ; |
24923 | char *kwnames[] = { | |
24924 | (char *) "self", NULL | |
24925 | }; | |
24926 | ||
c370783e RD |
24927 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
24928 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc | 24929 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
24930 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24931 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
24932 | { |
24933 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24934 | (arg1)->GetPageSizeMM(arg2,arg3); | |
24935 | ||
24936 | wxPyEndAllowThreads(__tstate); | |
24937 | if (PyErr_Occurred()) SWIG_fail; | |
24938 | } | |
24939 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
24940 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
24941 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
24942 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
24943 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
24944 | return resultobj; |
24945 | fail: | |
24946 | return NULL; | |
24947 | } | |
24948 | ||
24949 | ||
c370783e | 24950 | static PyObject *_wrap_Printout_SetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24951 | PyObject *resultobj; |
24952 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24953 | int arg2 ; | |
24954 | int arg3 ; | |
24955 | PyObject * obj0 = 0 ; | |
24956 | PyObject * obj1 = 0 ; | |
24957 | PyObject * obj2 = 0 ; | |
24958 | char *kwnames[] = { | |
24959 | (char *) "self",(char *) "x",(char *) "y", NULL | |
24960 | }; | |
24961 | ||
24962 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
24963 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24964 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24965 | { | |
24966 | arg2 = (int)(SWIG_As_int(obj1)); | |
24967 | if (SWIG_arg_fail(2)) SWIG_fail; | |
24968 | } | |
24969 | { | |
24970 | arg3 = (int)(SWIG_As_int(obj2)); | |
24971 | if (SWIG_arg_fail(3)) SWIG_fail; | |
24972 | } | |
d55e5bfc RD |
24973 | { |
24974 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24975 | (arg1)->SetPPIScreen(arg2,arg3); | |
24976 | ||
24977 | wxPyEndAllowThreads(__tstate); | |
24978 | if (PyErr_Occurred()) SWIG_fail; | |
24979 | } | |
24980 | Py_INCREF(Py_None); resultobj = Py_None; | |
24981 | return resultobj; | |
24982 | fail: | |
24983 | return NULL; | |
24984 | } | |
24985 | ||
24986 | ||
c370783e | 24987 | static PyObject *_wrap_Printout_GetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24988 | PyObject *resultobj; |
24989 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24990 | int *arg2 = (int *) 0 ; | |
24991 | int *arg3 = (int *) 0 ; | |
24992 | int temp2 ; | |
c370783e | 24993 | int res2 = 0 ; |
d55e5bfc | 24994 | int temp3 ; |
c370783e | 24995 | int res3 = 0 ; |
d55e5bfc RD |
24996 | PyObject * obj0 = 0 ; |
24997 | char *kwnames[] = { | |
24998 | (char *) "self", NULL | |
24999 | }; | |
25000 | ||
c370783e RD |
25001 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
25002 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc | 25003 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
25004 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
25005 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25006 | { |
25007 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25008 | (arg1)->GetPPIScreen(arg2,arg3); | |
25009 | ||
25010 | wxPyEndAllowThreads(__tstate); | |
25011 | if (PyErr_Occurred()) SWIG_fail; | |
25012 | } | |
25013 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
25014 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
25015 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
25016 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
25017 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
25018 | return resultobj; |
25019 | fail: | |
25020 | return NULL; | |
25021 | } | |
25022 | ||
25023 | ||
c370783e | 25024 | static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25025 | PyObject *resultobj; |
25026 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
25027 | int arg2 ; | |
25028 | int arg3 ; | |
25029 | PyObject * obj0 = 0 ; | |
25030 | PyObject * obj1 = 0 ; | |
25031 | PyObject * obj2 = 0 ; | |
25032 | char *kwnames[] = { | |
25033 | (char *) "self",(char *) "x",(char *) "y", NULL | |
25034 | }; | |
25035 | ||
25036 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
25037 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
25038 | if (SWIG_arg_fail(1)) SWIG_fail; | |
25039 | { | |
25040 | arg2 = (int)(SWIG_As_int(obj1)); | |
25041 | if (SWIG_arg_fail(2)) SWIG_fail; | |
25042 | } | |
25043 | { | |
25044 | arg3 = (int)(SWIG_As_int(obj2)); | |
25045 | if (SWIG_arg_fail(3)) SWIG_fail; | |
25046 | } | |
d55e5bfc RD |
25047 | { |
25048 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25049 | (arg1)->SetPPIPrinter(arg2,arg3); | |
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_GetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25062 | PyObject *resultobj; |
25063 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
25064 | int *arg2 = (int *) 0 ; | |
25065 | int *arg3 = (int *) 0 ; | |
25066 | int temp2 ; | |
c370783e | 25067 | int res2 = 0 ; |
d55e5bfc | 25068 | int temp3 ; |
c370783e | 25069 | int res3 = 0 ; |
d55e5bfc RD |
25070 | PyObject * obj0 = 0 ; |
25071 | char *kwnames[] = { | |
25072 | (char *) "self", NULL | |
25073 | }; | |
25074 | ||
c370783e RD |
25075 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
25076 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc | 25077 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
25078 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
25079 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25080 | { |
25081 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25082 | (arg1)->GetPPIPrinter(arg2,arg3); | |
25083 | ||
25084 | wxPyEndAllowThreads(__tstate); | |
25085 | if (PyErr_Occurred()) SWIG_fail; | |
25086 | } | |
25087 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
25088 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
25089 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
25090 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
25091 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
25092 | return resultobj; |
25093 | fail: | |
25094 | return NULL; | |
25095 | } | |
25096 | ||
25097 | ||
c370783e | 25098 | static PyObject *_wrap_Printout_IsPreview(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25099 | PyObject *resultobj; |
25100 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
25101 | bool result; | |
25102 | PyObject * obj0 = 0 ; | |
25103 | char *kwnames[] = { | |
25104 | (char *) "self", NULL | |
25105 | }; | |
25106 | ||
25107 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
25108 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
25109 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25110 | { |
25111 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25112 | result = (bool)(arg1)->IsPreview(); | |
25113 | ||
25114 | wxPyEndAllowThreads(__tstate); | |
25115 | if (PyErr_Occurred()) SWIG_fail; | |
25116 | } | |
25117 | { | |
25118 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
25119 | } | |
25120 | return resultobj; | |
25121 | fail: | |
25122 | return NULL; | |
25123 | } | |
25124 | ||
25125 | ||
c370783e | 25126 | static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25127 | PyObject *resultobj; |
25128 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
25129 | bool arg2 ; | |
25130 | PyObject * obj0 = 0 ; | |
25131 | PyObject * obj1 = 0 ; | |
25132 | char *kwnames[] = { | |
25133 | (char *) "self",(char *) "p", NULL | |
25134 | }; | |
25135 | ||
25136 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
25137 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
25138 | if (SWIG_arg_fail(1)) SWIG_fail; | |
25139 | { | |
25140 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
25141 | if (SWIG_arg_fail(2)) SWIG_fail; | |
25142 | } | |
d55e5bfc RD |
25143 | { |
25144 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25145 | (arg1)->SetIsPreview(arg2); | |
25146 | ||
25147 | wxPyEndAllowThreads(__tstate); | |
25148 | if (PyErr_Occurred()) SWIG_fail; | |
25149 | } | |
25150 | Py_INCREF(Py_None); resultobj = Py_None; | |
25151 | return resultobj; | |
25152 | fail: | |
25153 | return NULL; | |
25154 | } | |
25155 | ||
25156 | ||
c370783e | 25157 | static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25158 | PyObject *resultobj; |
25159 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
25160 | int arg2 ; | |
25161 | int arg3 ; | |
25162 | bool result; | |
25163 | PyObject * obj0 = 0 ; | |
25164 | PyObject * obj1 = 0 ; | |
25165 | PyObject * obj2 = 0 ; | |
25166 | char *kwnames[] = { | |
25167 | (char *) "self",(char *) "startPage",(char *) "endPage", NULL | |
25168 | }; | |
25169 | ||
25170 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
25171 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
25172 | if (SWIG_arg_fail(1)) SWIG_fail; | |
25173 | { | |
25174 | arg2 = (int)(SWIG_As_int(obj1)); | |
25175 | if (SWIG_arg_fail(2)) SWIG_fail; | |
25176 | } | |
25177 | { | |
25178 | arg3 = (int)(SWIG_As_int(obj2)); | |
25179 | if (SWIG_arg_fail(3)) SWIG_fail; | |
25180 | } | |
d55e5bfc RD |
25181 | { |
25182 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25183 | result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3); | |
25184 | ||
25185 | wxPyEndAllowThreads(__tstate); | |
25186 | if (PyErr_Occurred()) SWIG_fail; | |
25187 | } | |
25188 | { | |
25189 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
25190 | } | |
25191 | return resultobj; | |
25192 | fail: | |
25193 | return NULL; | |
25194 | } | |
25195 | ||
25196 | ||
c370783e | 25197 | static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25198 | PyObject *resultobj; |
25199 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
25200 | PyObject * obj0 = 0 ; | |
25201 | char *kwnames[] = { | |
25202 | (char *) "self", NULL | |
25203 | }; | |
25204 | ||
25205 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
25206 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
25207 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25208 | { |
25209 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25210 | (arg1)->base_OnEndDocument(); | |
25211 | ||
25212 | wxPyEndAllowThreads(__tstate); | |
25213 | if (PyErr_Occurred()) SWIG_fail; | |
25214 | } | |
25215 | Py_INCREF(Py_None); resultobj = Py_None; | |
25216 | return resultobj; | |
25217 | fail: | |
25218 | return NULL; | |
25219 | } | |
25220 | ||
25221 | ||
c370783e | 25222 | static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25223 | PyObject *resultobj; |
25224 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
25225 | PyObject * obj0 = 0 ; | |
25226 | char *kwnames[] = { | |
25227 | (char *) "self", NULL | |
25228 | }; | |
25229 | ||
25230 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
25231 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
25232 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25233 | { |
25234 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25235 | (arg1)->base_OnBeginPrinting(); | |
25236 | ||
25237 | wxPyEndAllowThreads(__tstate); | |
25238 | if (PyErr_Occurred()) SWIG_fail; | |
25239 | } | |
25240 | Py_INCREF(Py_None); resultobj = Py_None; | |
25241 | return resultobj; | |
25242 | fail: | |
25243 | return NULL; | |
25244 | } | |
25245 | ||
25246 | ||
c370783e | 25247 | static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25248 | PyObject *resultobj; |
25249 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
25250 | PyObject * obj0 = 0 ; | |
25251 | char *kwnames[] = { | |
25252 | (char *) "self", NULL | |
25253 | }; | |
25254 | ||
25255 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
25256 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
25257 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25258 | { |
25259 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25260 | (arg1)->base_OnEndPrinting(); | |
25261 | ||
25262 | wxPyEndAllowThreads(__tstate); | |
25263 | if (PyErr_Occurred()) SWIG_fail; | |
25264 | } | |
25265 | Py_INCREF(Py_None); resultobj = Py_None; | |
25266 | return resultobj; | |
25267 | fail: | |
25268 | return NULL; | |
25269 | } | |
25270 | ||
25271 | ||
c370783e | 25272 | static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25273 | PyObject *resultobj; |
25274 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
25275 | PyObject * obj0 = 0 ; | |
25276 | char *kwnames[] = { | |
25277 | (char *) "self", NULL | |
25278 | }; | |
25279 | ||
25280 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
25281 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
25282 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25283 | { |
25284 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25285 | (arg1)->base_OnPreparePrinting(); | |
25286 | ||
25287 | wxPyEndAllowThreads(__tstate); | |
25288 | if (PyErr_Occurred()) SWIG_fail; | |
25289 | } | |
25290 | Py_INCREF(Py_None); resultobj = Py_None; | |
25291 | return resultobj; | |
25292 | fail: | |
25293 | return NULL; | |
25294 | } | |
25295 | ||
25296 | ||
c370783e | 25297 | static PyObject *_wrap_Printout_base_HasPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25298 | PyObject *resultobj; |
25299 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
25300 | int arg2 ; | |
25301 | bool result; | |
25302 | PyObject * obj0 = 0 ; | |
25303 | PyObject * obj1 = 0 ; | |
25304 | char *kwnames[] = { | |
25305 | (char *) "self",(char *) "page", NULL | |
25306 | }; | |
25307 | ||
25308 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
25309 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
25310 | if (SWIG_arg_fail(1)) SWIG_fail; | |
25311 | { | |
25312 | arg2 = (int)(SWIG_As_int(obj1)); | |
25313 | if (SWIG_arg_fail(2)) SWIG_fail; | |
25314 | } | |
d55e5bfc RD |
25315 | { |
25316 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25317 | result = (bool)(arg1)->base_HasPage(arg2); | |
25318 | ||
25319 | wxPyEndAllowThreads(__tstate); | |
25320 | if (PyErr_Occurred()) SWIG_fail; | |
25321 | } | |
25322 | { | |
25323 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
25324 | } | |
25325 | return resultobj; | |
25326 | fail: | |
25327 | return NULL; | |
25328 | } | |
25329 | ||
25330 | ||
c370783e | 25331 | static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25332 | PyObject *resultobj; |
25333 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
25334 | int *arg2 = (int *) 0 ; | |
25335 | int *arg3 = (int *) 0 ; | |
25336 | int *arg4 = (int *) 0 ; | |
25337 | int *arg5 = (int *) 0 ; | |
25338 | int temp2 ; | |
c370783e | 25339 | int res2 = 0 ; |
d55e5bfc | 25340 | int temp3 ; |
c370783e | 25341 | int res3 = 0 ; |
d55e5bfc | 25342 | int temp4 ; |
c370783e | 25343 | int res4 = 0 ; |
d55e5bfc | 25344 | int temp5 ; |
c370783e | 25345 | int res5 = 0 ; |
d55e5bfc RD |
25346 | PyObject * obj0 = 0 ; |
25347 | char *kwnames[] = { | |
25348 | (char *) "self", NULL | |
25349 | }; | |
25350 | ||
c370783e RD |
25351 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
25352 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
25353 | arg4 = &temp4; res4 = SWIG_NEWOBJ; | |
25354 | arg5 = &temp5; res5 = SWIG_NEWOBJ; | |
d55e5bfc | 25355 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
25356 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
25357 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25358 | { |
25359 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25360 | (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5); | |
25361 | ||
25362 | wxPyEndAllowThreads(__tstate); | |
25363 | if (PyErr_Occurred()) SWIG_fail; | |
25364 | } | |
25365 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
25366 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
25367 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
25368 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
25369 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
25370 | resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ? | |
25371 | SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0))); | |
25372 | resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ? | |
25373 | SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
25374 | return resultobj; |
25375 | fail: | |
25376 | return NULL; | |
25377 | } | |
25378 | ||
25379 | ||
c370783e | 25380 | static PyObject * Printout_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
25381 | PyObject *obj; |
25382 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
25383 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj); | |
25384 | Py_INCREF(obj); | |
25385 | return Py_BuildValue((char *)""); | |
25386 | } | |
c370783e | 25387 | static PyObject *_wrap_new_PreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25388 | PyObject *resultobj; |
25389 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
25390 | wxWindow *arg2 = (wxWindow *) 0 ; | |
25391 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
25392 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
25393 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
25394 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
25395 | long arg5 = (long) 0 ; | |
25396 | wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ; | |
25397 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
25398 | wxPreviewCanvas *result; | |
25399 | wxPoint temp3 ; | |
25400 | wxSize temp4 ; | |
b411df4a | 25401 | bool temp6 = false ; |
d55e5bfc RD |
25402 | PyObject * obj0 = 0 ; |
25403 | PyObject * obj1 = 0 ; | |
25404 | PyObject * obj2 = 0 ; | |
25405 | PyObject * obj3 = 0 ; | |
25406 | PyObject * obj4 = 0 ; | |
25407 | PyObject * obj5 = 0 ; | |
25408 | char *kwnames[] = { | |
25409 | (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
25410 | }; | |
25411 | ||
25412 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
36ed4f51 RD |
25413 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
25414 | if (SWIG_arg_fail(1)) SWIG_fail; | |
25415 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
25416 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
25417 | if (obj2) { |
25418 | { | |
25419 | arg3 = &temp3; | |
25420 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
25421 | } | |
25422 | } | |
25423 | if (obj3) { | |
25424 | { | |
25425 | arg4 = &temp4; | |
25426 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
25427 | } | |
25428 | } | |
25429 | if (obj4) { | |
36ed4f51 RD |
25430 | { |
25431 | arg5 = (long)(SWIG_As_long(obj4)); | |
25432 | if (SWIG_arg_fail(5)) SWIG_fail; | |
25433 | } | |
d55e5bfc RD |
25434 | } |
25435 | if (obj5) { | |
25436 | { | |
25437 | arg6 = wxString_in_helper(obj5); | |
25438 | if (arg6 == NULL) SWIG_fail; | |
b411df4a | 25439 | temp6 = true; |
d55e5bfc RD |
25440 | } |
25441 | } | |
25442 | { | |
0439c23b | 25443 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
25444 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
25445 | result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
25446 | ||
25447 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 25448 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
25449 | } |
25450 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1); | |
25451 | { | |
25452 | if (temp6) | |
25453 | delete arg6; | |
25454 | } | |
25455 | return resultobj; | |
25456 | fail: | |
25457 | { | |
25458 | if (temp6) | |
25459 | delete arg6; | |
25460 | } | |
25461 | return NULL; | |
25462 | } | |
25463 | ||
25464 | ||
c370783e | 25465 | static PyObject * PreviewCanvas_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
25466 | PyObject *obj; |
25467 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
25468 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj); | |
25469 | Py_INCREF(obj); | |
25470 | return Py_BuildValue((char *)""); | |
25471 | } | |
c370783e | 25472 | static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25473 | PyObject *resultobj; |
25474 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
25475 | wxFrame *arg2 = (wxFrame *) 0 ; | |
25476 | wxString *arg3 = 0 ; | |
25477 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
25478 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
25479 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
25480 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
25481 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
25482 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
25483 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
25484 | wxPreviewFrame *result; | |
b411df4a | 25485 | bool temp3 = false ; |
d55e5bfc RD |
25486 | wxPoint temp4 ; |
25487 | wxSize temp5 ; | |
b411df4a | 25488 | bool temp7 = false ; |
d55e5bfc RD |
25489 | PyObject * obj0 = 0 ; |
25490 | PyObject * obj1 = 0 ; | |
25491 | PyObject * obj2 = 0 ; | |
25492 | PyObject * obj3 = 0 ; | |
25493 | PyObject * obj4 = 0 ; | |
25494 | PyObject * obj5 = 0 ; | |
25495 | PyObject * obj6 = 0 ; | |
25496 | char *kwnames[] = { | |
25497 | (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
25498 | }; | |
25499 | ||
25500 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
36ed4f51 RD |
25501 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
25502 | if (SWIG_arg_fail(1)) SWIG_fail; | |
25503 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); | |
25504 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
25505 | { |
25506 | arg3 = wxString_in_helper(obj2); | |
25507 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 25508 | temp3 = true; |
d55e5bfc RD |
25509 | } |
25510 | if (obj3) { | |
25511 | { | |
25512 | arg4 = &temp4; | |
25513 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
25514 | } | |
25515 | } | |
25516 | if (obj4) { | |
25517 | { | |
25518 | arg5 = &temp5; | |
25519 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
25520 | } | |
25521 | } | |
25522 | if (obj5) { | |
36ed4f51 RD |
25523 | { |
25524 | arg6 = (long)(SWIG_As_long(obj5)); | |
25525 | if (SWIG_arg_fail(6)) SWIG_fail; | |
25526 | } | |
d55e5bfc RD |
25527 | } |
25528 | if (obj6) { | |
25529 | { | |
25530 | arg7 = wxString_in_helper(obj6); | |
25531 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 25532 | temp7 = true; |
d55e5bfc RD |
25533 | } |
25534 | } | |
25535 | { | |
0439c23b | 25536 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
25537 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
25538 | result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
25539 | ||
25540 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 25541 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
25542 | } |
25543 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1); | |
25544 | { | |
25545 | if (temp3) | |
25546 | delete arg3; | |
25547 | } | |
25548 | { | |
25549 | if (temp7) | |
25550 | delete arg7; | |
25551 | } | |
25552 | return resultobj; | |
25553 | fail: | |
25554 | { | |
25555 | if (temp3) | |
25556 | delete arg3; | |
25557 | } | |
25558 | { | |
25559 | if (temp7) | |
25560 | delete arg7; | |
25561 | } | |
25562 | return NULL; | |
25563 | } | |
25564 | ||
25565 | ||
c370783e | 25566 | static PyObject *_wrap_PreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25567 | PyObject *resultobj; |
25568 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
25569 | PyObject * obj0 = 0 ; | |
25570 | char *kwnames[] = { | |
25571 | (char *) "self", NULL | |
25572 | }; | |
25573 | ||
25574 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
25575 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0); |
25576 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25577 | { |
25578 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25579 | (arg1)->Initialize(); | |
25580 | ||
25581 | wxPyEndAllowThreads(__tstate); | |
25582 | if (PyErr_Occurred()) SWIG_fail; | |
25583 | } | |
25584 | Py_INCREF(Py_None); resultobj = Py_None; | |
25585 | return resultobj; | |
25586 | fail: | |
25587 | return NULL; | |
25588 | } | |
25589 | ||
25590 | ||
c370783e | 25591 | static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25592 | PyObject *resultobj; |
25593 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
25594 | PyObject * obj0 = 0 ; | |
25595 | char *kwnames[] = { | |
25596 | (char *) "self", NULL | |
25597 | }; | |
25598 | ||
25599 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
25600 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0); |
25601 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25602 | { |
25603 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25604 | (arg1)->CreateControlBar(); | |
25605 | ||
25606 | wxPyEndAllowThreads(__tstate); | |
25607 | if (PyErr_Occurred()) SWIG_fail; | |
25608 | } | |
25609 | Py_INCREF(Py_None); resultobj = Py_None; | |
25610 | return resultobj; | |
25611 | fail: | |
25612 | return NULL; | |
25613 | } | |
25614 | ||
25615 | ||
c370783e | 25616 | static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25617 | PyObject *resultobj; |
25618 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
25619 | PyObject * obj0 = 0 ; | |
25620 | char *kwnames[] = { | |
25621 | (char *) "self", NULL | |
25622 | }; | |
25623 | ||
25624 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
25625 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0); |
25626 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25627 | { |
25628 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25629 | (arg1)->CreateCanvas(); | |
25630 | ||
25631 | wxPyEndAllowThreads(__tstate); | |
25632 | if (PyErr_Occurred()) SWIG_fail; | |
25633 | } | |
25634 | Py_INCREF(Py_None); resultobj = Py_None; | |
25635 | return resultobj; | |
25636 | fail: | |
25637 | return NULL; | |
25638 | } | |
25639 | ||
25640 | ||
c370783e | 25641 | static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25642 | PyObject *resultobj; |
25643 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
25644 | wxPreviewControlBar *result; | |
25645 | PyObject * obj0 = 0 ; | |
25646 | char *kwnames[] = { | |
25647 | (char *) "self", NULL | |
25648 | }; | |
25649 | ||
25650 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
25651 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0); |
25652 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25653 | { |
25654 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25655 | result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar(); | |
25656 | ||
25657 | wxPyEndAllowThreads(__tstate); | |
25658 | if (PyErr_Occurred()) SWIG_fail; | |
25659 | } | |
25660 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0); | |
25661 | return resultobj; | |
25662 | fail: | |
25663 | return NULL; | |
25664 | } | |
25665 | ||
25666 | ||
c370783e | 25667 | static PyObject * PreviewFrame_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
25668 | PyObject *obj; |
25669 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
25670 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj); | |
25671 | Py_INCREF(obj); | |
25672 | return Py_BuildValue((char *)""); | |
25673 | } | |
c370783e | 25674 | static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25675 | PyObject *resultobj; |
25676 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
25677 | long arg2 ; | |
25678 | wxWindow *arg3 = (wxWindow *) 0 ; | |
25679 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
25680 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
25681 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
25682 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
25683 | long arg6 = (long) wxTAB_TRAVERSAL ; | |
25684 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
25685 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
25686 | wxPreviewControlBar *result; | |
25687 | wxPoint temp4 ; | |
25688 | wxSize temp5 ; | |
b411df4a | 25689 | bool temp7 = false ; |
d55e5bfc RD |
25690 | PyObject * obj0 = 0 ; |
25691 | PyObject * obj1 = 0 ; | |
25692 | PyObject * obj2 = 0 ; | |
25693 | PyObject * obj3 = 0 ; | |
25694 | PyObject * obj4 = 0 ; | |
25695 | PyObject * obj5 = 0 ; | |
25696 | PyObject * obj6 = 0 ; | |
25697 | char *kwnames[] = { | |
25698 | (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
25699 | }; | |
25700 | ||
25701 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
36ed4f51 RD |
25702 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
25703 | if (SWIG_arg_fail(1)) SWIG_fail; | |
25704 | { | |
25705 | arg2 = (long)(SWIG_As_long(obj1)); | |
25706 | if (SWIG_arg_fail(2)) SWIG_fail; | |
25707 | } | |
25708 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
25709 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc RD |
25710 | if (obj3) { |
25711 | { | |
25712 | arg4 = &temp4; | |
25713 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
25714 | } | |
25715 | } | |
25716 | if (obj4) { | |
25717 | { | |
25718 | arg5 = &temp5; | |
25719 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
25720 | } | |
25721 | } | |
25722 | if (obj5) { | |
36ed4f51 RD |
25723 | { |
25724 | arg6 = (long)(SWIG_As_long(obj5)); | |
25725 | if (SWIG_arg_fail(6)) SWIG_fail; | |
25726 | } | |
d55e5bfc RD |
25727 | } |
25728 | if (obj6) { | |
25729 | { | |
25730 | arg7 = wxString_in_helper(obj6); | |
25731 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 25732 | temp7 = true; |
d55e5bfc RD |
25733 | } |
25734 | } | |
25735 | { | |
0439c23b | 25736 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
25737 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
25738 | result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
25739 | ||
25740 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 25741 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
25742 | } |
25743 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1); | |
25744 | { | |
25745 | if (temp7) | |
25746 | delete arg7; | |
25747 | } | |
25748 | return resultobj; | |
25749 | fail: | |
25750 | { | |
25751 | if (temp7) | |
25752 | delete arg7; | |
25753 | } | |
25754 | return NULL; | |
25755 | } | |
25756 | ||
25757 | ||
c370783e | 25758 | static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25759 | PyObject *resultobj; |
25760 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
25761 | int result; | |
25762 | PyObject * obj0 = 0 ; | |
25763 | char *kwnames[] = { | |
25764 | (char *) "self", NULL | |
25765 | }; | |
25766 | ||
25767 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
25768 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
25769 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25770 | { |
25771 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25772 | result = (int)(arg1)->GetZoomControl(); | |
25773 | ||
25774 | wxPyEndAllowThreads(__tstate); | |
25775 | if (PyErr_Occurred()) SWIG_fail; | |
25776 | } | |
36ed4f51 RD |
25777 | { |
25778 | resultobj = SWIG_From_int((int)(result)); | |
25779 | } | |
d55e5bfc RD |
25780 | return resultobj; |
25781 | fail: | |
25782 | return NULL; | |
25783 | } | |
25784 | ||
25785 | ||
c370783e | 25786 | static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25787 | PyObject *resultobj; |
25788 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
25789 | int arg2 ; | |
25790 | PyObject * obj0 = 0 ; | |
25791 | PyObject * obj1 = 0 ; | |
25792 | char *kwnames[] = { | |
25793 | (char *) "self",(char *) "zoom", NULL | |
25794 | }; | |
25795 | ||
25796 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
25797 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
25798 | if (SWIG_arg_fail(1)) SWIG_fail; | |
25799 | { | |
25800 | arg2 = (int)(SWIG_As_int(obj1)); | |
25801 | if (SWIG_arg_fail(2)) SWIG_fail; | |
25802 | } | |
d55e5bfc RD |
25803 | { |
25804 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25805 | (arg1)->SetZoomControl(arg2); | |
25806 | ||
25807 | wxPyEndAllowThreads(__tstate); | |
25808 | if (PyErr_Occurred()) SWIG_fail; | |
25809 | } | |
25810 | Py_INCREF(Py_None); resultobj = Py_None; | |
25811 | return resultobj; | |
25812 | fail: | |
25813 | return NULL; | |
25814 | } | |
25815 | ||
25816 | ||
c370783e | 25817 | static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25818 | PyObject *resultobj; |
25819 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
25820 | wxPrintPreview *result; | |
25821 | PyObject * obj0 = 0 ; | |
25822 | char *kwnames[] = { | |
25823 | (char *) "self", NULL | |
25824 | }; | |
25825 | ||
25826 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
25827 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
25828 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25829 | { |
25830 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25831 | result = (wxPrintPreview *)(arg1)->GetPrintPreview(); | |
25832 | ||
25833 | wxPyEndAllowThreads(__tstate); | |
25834 | if (PyErr_Occurred()) SWIG_fail; | |
25835 | } | |
25836 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0); | |
25837 | return resultobj; | |
25838 | fail: | |
25839 | return NULL; | |
25840 | } | |
25841 | ||
25842 | ||
c370783e | 25843 | static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25844 | PyObject *resultobj; |
25845 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
25846 | PyObject * obj0 = 0 ; | |
25847 | char *kwnames[] = { | |
25848 | (char *) "self", NULL | |
25849 | }; | |
25850 | ||
25851 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
25852 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
25853 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25854 | { |
25855 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25856 | (arg1)->OnNext(); | |
25857 | ||
25858 | wxPyEndAllowThreads(__tstate); | |
25859 | if (PyErr_Occurred()) SWIG_fail; | |
25860 | } | |
25861 | Py_INCREF(Py_None); resultobj = Py_None; | |
25862 | return resultobj; | |
25863 | fail: | |
25864 | return NULL; | |
25865 | } | |
25866 | ||
25867 | ||
c370783e | 25868 | static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25869 | PyObject *resultobj; |
25870 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
25871 | PyObject * obj0 = 0 ; | |
25872 | char *kwnames[] = { | |
25873 | (char *) "self", NULL | |
25874 | }; | |
25875 | ||
25876 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
25877 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
25878 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25879 | { |
25880 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25881 | (arg1)->OnPrevious(); | |
25882 | ||
25883 | wxPyEndAllowThreads(__tstate); | |
25884 | if (PyErr_Occurred()) SWIG_fail; | |
25885 | } | |
25886 | Py_INCREF(Py_None); resultobj = Py_None; | |
25887 | return resultobj; | |
25888 | fail: | |
25889 | return NULL; | |
25890 | } | |
25891 | ||
25892 | ||
c370783e | 25893 | static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25894 | PyObject *resultobj; |
25895 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
25896 | PyObject * obj0 = 0 ; | |
25897 | char *kwnames[] = { | |
25898 | (char *) "self", NULL | |
25899 | }; | |
25900 | ||
25901 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
25902 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
25903 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25904 | { |
25905 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25906 | (arg1)->OnFirst(); | |
25907 | ||
25908 | wxPyEndAllowThreads(__tstate); | |
25909 | if (PyErr_Occurred()) SWIG_fail; | |
25910 | } | |
25911 | Py_INCREF(Py_None); resultobj = Py_None; | |
25912 | return resultobj; | |
25913 | fail: | |
25914 | return NULL; | |
25915 | } | |
25916 | ||
25917 | ||
c370783e | 25918 | static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25919 | PyObject *resultobj; |
25920 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
25921 | PyObject * obj0 = 0 ; | |
25922 | char *kwnames[] = { | |
25923 | (char *) "self", NULL | |
25924 | }; | |
25925 | ||
25926 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
25927 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
25928 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25929 | { |
25930 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25931 | (arg1)->OnLast(); | |
25932 | ||
25933 | wxPyEndAllowThreads(__tstate); | |
25934 | if (PyErr_Occurred()) SWIG_fail; | |
25935 | } | |
25936 | Py_INCREF(Py_None); resultobj = Py_None; | |
25937 | return resultobj; | |
25938 | fail: | |
25939 | return NULL; | |
25940 | } | |
25941 | ||
25942 | ||
c370783e | 25943 | static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25944 | PyObject *resultobj; |
25945 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
25946 | PyObject * obj0 = 0 ; | |
25947 | char *kwnames[] = { | |
25948 | (char *) "self", NULL | |
25949 | }; | |
25950 | ||
25951 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
25952 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
25953 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25954 | { |
25955 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25956 | (arg1)->OnGoto(); | |
25957 | ||
25958 | wxPyEndAllowThreads(__tstate); | |
25959 | if (PyErr_Occurred()) SWIG_fail; | |
25960 | } | |
25961 | Py_INCREF(Py_None); resultobj = Py_None; | |
25962 | return resultobj; | |
25963 | fail: | |
25964 | return NULL; | |
25965 | } | |
25966 | ||
25967 | ||
c370783e | 25968 | static PyObject * PreviewControlBar_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
25969 | PyObject *obj; |
25970 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
25971 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj); | |
25972 | Py_INCREF(obj); | |
25973 | return Py_BuildValue((char *)""); | |
25974 | } | |
c370783e | 25975 | static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *, PyObject *args) { |
d55e5bfc RD |
25976 | PyObject *resultobj; |
25977 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
25978 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
25979 | wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ; | |
25980 | wxPrintPreview *result; | |
25981 | PyObject * obj0 = 0 ; | |
25982 | PyObject * obj1 = 0 ; | |
25983 | PyObject * obj2 = 0 ; | |
25984 | ||
25985 | if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
25986 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
25987 | if (SWIG_arg_fail(1)) SWIG_fail; | |
25988 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); | |
25989 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc | 25990 | if (obj2) { |
36ed4f51 RD |
25991 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
25992 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc RD |
25993 | } |
25994 | { | |
0439c23b | 25995 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
25996 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
25997 | result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3); | |
25998 | ||
25999 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 26000 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
26001 | } |
26002 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1); | |
26003 | return resultobj; | |
26004 | fail: | |
26005 | return NULL; | |
26006 | } | |
26007 | ||
26008 | ||
c370783e | 26009 | static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *, PyObject *args) { |
d55e5bfc RD |
26010 | PyObject *resultobj; |
26011 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
26012 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
26013 | wxPrintData *arg3 = (wxPrintData *) 0 ; | |
26014 | wxPrintPreview *result; | |
26015 | PyObject * obj0 = 0 ; | |
26016 | PyObject * obj1 = 0 ; | |
26017 | PyObject * obj2 = 0 ; | |
26018 | ||
26019 | if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
26020 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
26021 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26022 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); | |
26023 | if (SWIG_arg_fail(2)) SWIG_fail; | |
26024 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); | |
26025 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc | 26026 | { |
0439c23b | 26027 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
26028 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
26029 | result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3); | |
26030 | ||
26031 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 26032 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
26033 | } |
26034 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1); | |
26035 | return resultobj; | |
26036 | fail: | |
26037 | return NULL; | |
26038 | } | |
26039 | ||
26040 | ||
26041 | static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) { | |
26042 | int argc; | |
26043 | PyObject *argv[4]; | |
26044 | int ii; | |
26045 | ||
26046 | argc = PyObject_Length(args); | |
26047 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
26048 | argv[ii] = PyTuple_GetItem(args,ii); | |
26049 | } | |
26050 | if ((argc >= 2) && (argc <= 3)) { | |
26051 | int _v; | |
26052 | { | |
26053 | void *ptr; | |
26054 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
26055 | _v = 0; | |
26056 | PyErr_Clear(); | |
26057 | } else { | |
26058 | _v = 1; | |
26059 | } | |
26060 | } | |
26061 | if (_v) { | |
26062 | { | |
26063 | void *ptr; | |
26064 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
26065 | _v = 0; | |
26066 | PyErr_Clear(); | |
26067 | } else { | |
26068 | _v = 1; | |
26069 | } | |
26070 | } | |
26071 | if (_v) { | |
26072 | if (argc <= 2) { | |
26073 | return _wrap_new_PrintPreview__SWIG_0(self,args); | |
26074 | } | |
26075 | { | |
26076 | void *ptr; | |
26077 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) { | |
26078 | _v = 0; | |
26079 | PyErr_Clear(); | |
26080 | } else { | |
26081 | _v = 1; | |
26082 | } | |
26083 | } | |
26084 | if (_v) { | |
26085 | return _wrap_new_PrintPreview__SWIG_0(self,args); | |
26086 | } | |
26087 | } | |
26088 | } | |
26089 | } | |
26090 | if (argc == 3) { | |
26091 | int _v; | |
26092 | { | |
26093 | void *ptr; | |
26094 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
26095 | _v = 0; | |
26096 | PyErr_Clear(); | |
26097 | } else { | |
26098 | _v = 1; | |
26099 | } | |
26100 | } | |
26101 | if (_v) { | |
26102 | { | |
26103 | void *ptr; | |
26104 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
26105 | _v = 0; | |
26106 | PyErr_Clear(); | |
26107 | } else { | |
26108 | _v = 1; | |
26109 | } | |
26110 | } | |
26111 | if (_v) { | |
26112 | { | |
26113 | void *ptr; | |
26114 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { | |
26115 | _v = 0; | |
26116 | PyErr_Clear(); | |
26117 | } else { | |
26118 | _v = 1; | |
26119 | } | |
26120 | } | |
26121 | if (_v) { | |
26122 | return _wrap_new_PrintPreview__SWIG_1(self,args); | |
26123 | } | |
26124 | } | |
26125 | } | |
26126 | } | |
26127 | ||
36ed4f51 | 26128 | PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'"); |
d55e5bfc RD |
26129 | return NULL; |
26130 | } | |
26131 | ||
26132 | ||
c370783e | 26133 | static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26134 | PyObject *resultobj; |
26135 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26136 | int arg2 ; | |
26137 | bool result; | |
26138 | PyObject * obj0 = 0 ; | |
26139 | PyObject * obj1 = 0 ; | |
26140 | char *kwnames[] = { | |
26141 | (char *) "self",(char *) "pageNum", NULL | |
26142 | }; | |
26143 | ||
26144 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
26145 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26146 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26147 | { | |
26148 | arg2 = (int)(SWIG_As_int(obj1)); | |
26149 | if (SWIG_arg_fail(2)) SWIG_fail; | |
26150 | } | |
d55e5bfc RD |
26151 | { |
26152 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26153 | result = (bool)(arg1)->SetCurrentPage(arg2); | |
26154 | ||
26155 | wxPyEndAllowThreads(__tstate); | |
26156 | if (PyErr_Occurred()) SWIG_fail; | |
26157 | } | |
26158 | { | |
26159 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
26160 | } | |
26161 | return resultobj; | |
26162 | fail: | |
26163 | return NULL; | |
26164 | } | |
26165 | ||
26166 | ||
c370783e | 26167 | static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26168 | PyObject *resultobj; |
26169 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26170 | int result; | |
26171 | PyObject * obj0 = 0 ; | |
26172 | char *kwnames[] = { | |
26173 | (char *) "self", NULL | |
26174 | }; | |
26175 | ||
26176 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
26177 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26178 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
26179 | { |
26180 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26181 | result = (int)(arg1)->GetCurrentPage(); | |
26182 | ||
26183 | wxPyEndAllowThreads(__tstate); | |
26184 | if (PyErr_Occurred()) SWIG_fail; | |
26185 | } | |
36ed4f51 RD |
26186 | { |
26187 | resultobj = SWIG_From_int((int)(result)); | |
26188 | } | |
d55e5bfc RD |
26189 | return resultobj; |
26190 | fail: | |
26191 | return NULL; | |
26192 | } | |
26193 | ||
26194 | ||
c370783e | 26195 | static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26196 | PyObject *resultobj; |
26197 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26198 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
26199 | PyObject * obj0 = 0 ; | |
26200 | PyObject * obj1 = 0 ; | |
26201 | char *kwnames[] = { | |
26202 | (char *) "self",(char *) "printout", NULL | |
26203 | }; | |
26204 | ||
26205 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
26206 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26207 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26208 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); | |
26209 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
26210 | { |
26211 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26212 | (arg1)->SetPrintout(arg2); | |
26213 | ||
26214 | wxPyEndAllowThreads(__tstate); | |
26215 | if (PyErr_Occurred()) SWIG_fail; | |
26216 | } | |
26217 | Py_INCREF(Py_None); resultobj = Py_None; | |
26218 | return resultobj; | |
26219 | fail: | |
26220 | return NULL; | |
26221 | } | |
26222 | ||
26223 | ||
c370783e | 26224 | static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26225 | PyObject *resultobj; |
26226 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26227 | wxPyPrintout *result; | |
26228 | PyObject * obj0 = 0 ; | |
26229 | char *kwnames[] = { | |
26230 | (char *) "self", NULL | |
26231 | }; | |
26232 | ||
26233 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
26234 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26235 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
26236 | { |
26237 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26238 | result = (wxPyPrintout *)(arg1)->GetPrintout(); | |
26239 | ||
26240 | wxPyEndAllowThreads(__tstate); | |
26241 | if (PyErr_Occurred()) SWIG_fail; | |
26242 | } | |
26243 | { | |
412d302d | 26244 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
26245 | } |
26246 | return resultobj; | |
26247 | fail: | |
26248 | return NULL; | |
26249 | } | |
26250 | ||
26251 | ||
c370783e | 26252 | static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26253 | PyObject *resultobj; |
26254 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26255 | wxPyPrintout *result; | |
26256 | PyObject * obj0 = 0 ; | |
26257 | char *kwnames[] = { | |
26258 | (char *) "self", NULL | |
26259 | }; | |
26260 | ||
26261 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
26262 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26263 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
26264 | { |
26265 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26266 | result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting(); | |
26267 | ||
26268 | wxPyEndAllowThreads(__tstate); | |
26269 | if (PyErr_Occurred()) SWIG_fail; | |
26270 | } | |
26271 | { | |
412d302d | 26272 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
26273 | } |
26274 | return resultobj; | |
26275 | fail: | |
26276 | return NULL; | |
26277 | } | |
26278 | ||
26279 | ||
c370783e | 26280 | static PyObject *_wrap_PrintPreview_SetFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26281 | PyObject *resultobj; |
26282 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26283 | wxFrame *arg2 = (wxFrame *) 0 ; | |
26284 | PyObject * obj0 = 0 ; | |
26285 | PyObject * obj1 = 0 ; | |
26286 | char *kwnames[] = { | |
26287 | (char *) "self",(char *) "frame", NULL | |
26288 | }; | |
26289 | ||
26290 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
26291 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26292 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26293 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); | |
26294 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
26295 | { |
26296 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26297 | (arg1)->SetFrame(arg2); | |
26298 | ||
26299 | wxPyEndAllowThreads(__tstate); | |
26300 | if (PyErr_Occurred()) SWIG_fail; | |
26301 | } | |
26302 | Py_INCREF(Py_None); resultobj = Py_None; | |
26303 | return resultobj; | |
26304 | fail: | |
26305 | return NULL; | |
26306 | } | |
26307 | ||
26308 | ||
c370783e | 26309 | static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26310 | PyObject *resultobj; |
26311 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26312 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
26313 | PyObject * obj0 = 0 ; | |
26314 | PyObject * obj1 = 0 ; | |
26315 | char *kwnames[] = { | |
26316 | (char *) "self",(char *) "canvas", NULL | |
26317 | }; | |
26318 | ||
26319 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
26320 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26321 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26322 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0); | |
26323 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
26324 | { |
26325 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26326 | (arg1)->SetCanvas(arg2); | |
26327 | ||
26328 | wxPyEndAllowThreads(__tstate); | |
26329 | if (PyErr_Occurred()) SWIG_fail; | |
26330 | } | |
26331 | Py_INCREF(Py_None); resultobj = Py_None; | |
26332 | return resultobj; | |
26333 | fail: | |
26334 | return NULL; | |
26335 | } | |
26336 | ||
26337 | ||
c370783e | 26338 | static PyObject *_wrap_PrintPreview_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26339 | PyObject *resultobj; |
26340 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26341 | wxFrame *result; | |
26342 | PyObject * obj0 = 0 ; | |
26343 | char *kwnames[] = { | |
26344 | (char *) "self", NULL | |
26345 | }; | |
26346 | ||
26347 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
26348 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26349 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
26350 | { |
26351 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26352 | result = (wxFrame *)(arg1)->GetFrame(); | |
26353 | ||
26354 | wxPyEndAllowThreads(__tstate); | |
26355 | if (PyErr_Occurred()) SWIG_fail; | |
26356 | } | |
26357 | { | |
412d302d | 26358 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
26359 | } |
26360 | return resultobj; | |
26361 | fail: | |
26362 | return NULL; | |
26363 | } | |
26364 | ||
26365 | ||
c370783e | 26366 | static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26367 | PyObject *resultobj; |
26368 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26369 | wxPreviewCanvas *result; | |
26370 | PyObject * obj0 = 0 ; | |
26371 | char *kwnames[] = { | |
26372 | (char *) "self", NULL | |
26373 | }; | |
26374 | ||
26375 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
26376 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26377 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
26378 | { |
26379 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26380 | result = (wxPreviewCanvas *)(arg1)->GetCanvas(); | |
26381 | ||
26382 | wxPyEndAllowThreads(__tstate); | |
26383 | if (PyErr_Occurred()) SWIG_fail; | |
26384 | } | |
26385 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0); | |
26386 | return resultobj; | |
26387 | fail: | |
26388 | return NULL; | |
26389 | } | |
26390 | ||
26391 | ||
c370783e | 26392 | static PyObject *_wrap_PrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26393 | PyObject *resultobj; |
26394 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26395 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
26396 | wxDC *arg3 = 0 ; | |
26397 | bool result; | |
26398 | PyObject * obj0 = 0 ; | |
26399 | PyObject * obj1 = 0 ; | |
26400 | PyObject * obj2 = 0 ; | |
26401 | char *kwnames[] = { | |
26402 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
26403 | }; | |
26404 | ||
26405 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
26406 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26407 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26408 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0); | |
26409 | if (SWIG_arg_fail(2)) SWIG_fail; | |
26410 | { | |
26411 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); | |
26412 | if (SWIG_arg_fail(3)) SWIG_fail; | |
26413 | if (arg3 == NULL) { | |
26414 | SWIG_null_ref("wxDC"); | |
26415 | } | |
26416 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc RD |
26417 | } |
26418 | { | |
26419 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26420 | result = (bool)(arg1)->PaintPage(arg2,*arg3); | |
26421 | ||
26422 | wxPyEndAllowThreads(__tstate); | |
26423 | if (PyErr_Occurred()) SWIG_fail; | |
26424 | } | |
26425 | { | |
26426 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
26427 | } | |
26428 | return resultobj; | |
26429 | fail: | |
26430 | return NULL; | |
26431 | } | |
26432 | ||
26433 | ||
c370783e | 26434 | static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26435 | PyObject *resultobj; |
26436 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26437 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
26438 | wxDC *arg3 = 0 ; | |
26439 | bool result; | |
26440 | PyObject * obj0 = 0 ; | |
26441 | PyObject * obj1 = 0 ; | |
26442 | PyObject * obj2 = 0 ; | |
26443 | char *kwnames[] = { | |
26444 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
26445 | }; | |
26446 | ||
26447 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
26448 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26449 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26450 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0); | |
26451 | if (SWIG_arg_fail(2)) SWIG_fail; | |
26452 | { | |
26453 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); | |
26454 | if (SWIG_arg_fail(3)) SWIG_fail; | |
26455 | if (arg3 == NULL) { | |
26456 | SWIG_null_ref("wxDC"); | |
26457 | } | |
26458 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc RD |
26459 | } |
26460 | { | |
26461 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26462 | result = (bool)(arg1)->DrawBlankPage(arg2,*arg3); | |
26463 | ||
26464 | wxPyEndAllowThreads(__tstate); | |
26465 | if (PyErr_Occurred()) SWIG_fail; | |
26466 | } | |
26467 | { | |
26468 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
26469 | } | |
26470 | return resultobj; | |
26471 | fail: | |
26472 | return NULL; | |
26473 | } | |
26474 | ||
26475 | ||
c370783e | 26476 | static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26477 | PyObject *resultobj; |
26478 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26479 | int arg2 ; | |
26480 | bool result; | |
26481 | PyObject * obj0 = 0 ; | |
26482 | PyObject * obj1 = 0 ; | |
26483 | char *kwnames[] = { | |
26484 | (char *) "self",(char *) "pageNum", NULL | |
26485 | }; | |
26486 | ||
26487 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
26488 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26489 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26490 | { | |
26491 | arg2 = (int)(SWIG_As_int(obj1)); | |
26492 | if (SWIG_arg_fail(2)) SWIG_fail; | |
26493 | } | |
d55e5bfc RD |
26494 | { |
26495 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26496 | result = (bool)(arg1)->RenderPage(arg2); | |
26497 | ||
26498 | wxPyEndAllowThreads(__tstate); | |
26499 | if (PyErr_Occurred()) SWIG_fail; | |
26500 | } | |
26501 | { | |
26502 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
26503 | } | |
26504 | return resultobj; | |
26505 | fail: | |
26506 | return NULL; | |
26507 | } | |
26508 | ||
26509 | ||
c370783e | 26510 | static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26511 | PyObject *resultobj; |
26512 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26513 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
26514 | PyObject * obj0 = 0 ; | |
26515 | PyObject * obj1 = 0 ; | |
26516 | char *kwnames[] = { | |
26517 | (char *) "self",(char *) "canvas", NULL | |
26518 | }; | |
26519 | ||
26520 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
26521 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26522 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26523 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0); | |
26524 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
26525 | { |
26526 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26527 | (arg1)->AdjustScrollbars(arg2); | |
26528 | ||
26529 | wxPyEndAllowThreads(__tstate); | |
26530 | if (PyErr_Occurred()) SWIG_fail; | |
26531 | } | |
26532 | Py_INCREF(Py_None); resultobj = Py_None; | |
26533 | return resultobj; | |
26534 | fail: | |
26535 | return NULL; | |
26536 | } | |
26537 | ||
26538 | ||
c370783e | 26539 | static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26540 | PyObject *resultobj; |
26541 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26542 | wxPrintDialogData *result; | |
26543 | PyObject * obj0 = 0 ; | |
26544 | char *kwnames[] = { | |
26545 | (char *) "self", NULL | |
26546 | }; | |
26547 | ||
26548 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
26549 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26550 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
26551 | { |
26552 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26553 | { | |
26554 | wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData(); | |
26555 | result = (wxPrintDialogData *) &_result_ref; | |
26556 | } | |
26557 | ||
26558 | wxPyEndAllowThreads(__tstate); | |
26559 | if (PyErr_Occurred()) SWIG_fail; | |
26560 | } | |
26561 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0); | |
26562 | return resultobj; | |
26563 | fail: | |
26564 | return NULL; | |
26565 | } | |
26566 | ||
26567 | ||
c370783e | 26568 | static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26569 | PyObject *resultobj; |
26570 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26571 | int arg2 ; | |
26572 | PyObject * obj0 = 0 ; | |
26573 | PyObject * obj1 = 0 ; | |
26574 | char *kwnames[] = { | |
26575 | (char *) "self",(char *) "percent", NULL | |
26576 | }; | |
26577 | ||
26578 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
26579 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26580 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26581 | { | |
26582 | arg2 = (int)(SWIG_As_int(obj1)); | |
26583 | if (SWIG_arg_fail(2)) SWIG_fail; | |
26584 | } | |
d55e5bfc RD |
26585 | { |
26586 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26587 | (arg1)->SetZoom(arg2); | |
26588 | ||
26589 | wxPyEndAllowThreads(__tstate); | |
26590 | if (PyErr_Occurred()) SWIG_fail; | |
26591 | } | |
26592 | Py_INCREF(Py_None); resultobj = Py_None; | |
26593 | return resultobj; | |
26594 | fail: | |
26595 | return NULL; | |
26596 | } | |
26597 | ||
26598 | ||
c370783e | 26599 | static PyObject *_wrap_PrintPreview_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26600 | PyObject *resultobj; |
26601 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26602 | int result; | |
26603 | PyObject * obj0 = 0 ; | |
26604 | char *kwnames[] = { | |
26605 | (char *) "self", NULL | |
26606 | }; | |
26607 | ||
26608 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
26609 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26610 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
26611 | { |
26612 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26613 | result = (int)(arg1)->GetZoom(); | |
26614 | ||
26615 | wxPyEndAllowThreads(__tstate); | |
26616 | if (PyErr_Occurred()) SWIG_fail; | |
26617 | } | |
36ed4f51 RD |
26618 | { |
26619 | resultobj = SWIG_From_int((int)(result)); | |
26620 | } | |
d55e5bfc RD |
26621 | return resultobj; |
26622 | fail: | |
26623 | return NULL; | |
26624 | } | |
26625 | ||
26626 | ||
c370783e | 26627 | static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26628 | PyObject *resultobj; |
26629 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26630 | int result; | |
26631 | PyObject * obj0 = 0 ; | |
26632 | char *kwnames[] = { | |
26633 | (char *) "self", NULL | |
26634 | }; | |
26635 | ||
26636 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
26637 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26638 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
26639 | { |
26640 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26641 | result = (int)(arg1)->GetMaxPage(); | |
26642 | ||
26643 | wxPyEndAllowThreads(__tstate); | |
26644 | if (PyErr_Occurred()) SWIG_fail; | |
26645 | } | |
36ed4f51 RD |
26646 | { |
26647 | resultobj = SWIG_From_int((int)(result)); | |
26648 | } | |
d55e5bfc RD |
26649 | return resultobj; |
26650 | fail: | |
26651 | return NULL; | |
26652 | } | |
26653 | ||
26654 | ||
c370783e | 26655 | static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26656 | PyObject *resultobj; |
26657 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26658 | int result; | |
26659 | PyObject * obj0 = 0 ; | |
26660 | char *kwnames[] = { | |
26661 | (char *) "self", NULL | |
26662 | }; | |
26663 | ||
26664 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
26665 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26666 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
26667 | { |
26668 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26669 | result = (int)(arg1)->GetMinPage(); | |
26670 | ||
26671 | wxPyEndAllowThreads(__tstate); | |
26672 | if (PyErr_Occurred()) SWIG_fail; | |
26673 | } | |
36ed4f51 RD |
26674 | { |
26675 | resultobj = SWIG_From_int((int)(result)); | |
26676 | } | |
d55e5bfc RD |
26677 | return resultobj; |
26678 | fail: | |
26679 | return NULL; | |
26680 | } | |
26681 | ||
26682 | ||
c370783e | 26683 | static PyObject *_wrap_PrintPreview_Ok(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26684 | PyObject *resultobj; |
26685 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26686 | bool result; | |
26687 | PyObject * obj0 = 0 ; | |
26688 | char *kwnames[] = { | |
26689 | (char *) "self", NULL | |
26690 | }; | |
26691 | ||
26692 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
26693 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26694 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
26695 | { |
26696 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26697 | result = (bool)(arg1)->Ok(); | |
26698 | ||
26699 | wxPyEndAllowThreads(__tstate); | |
26700 | if (PyErr_Occurred()) SWIG_fail; | |
26701 | } | |
26702 | { | |
26703 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
26704 | } | |
26705 | return resultobj; | |
26706 | fail: | |
26707 | return NULL; | |
26708 | } | |
26709 | ||
26710 | ||
c370783e | 26711 | static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26712 | PyObject *resultobj; |
26713 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26714 | bool arg2 ; | |
26715 | PyObject * obj0 = 0 ; | |
26716 | PyObject * obj1 = 0 ; | |
26717 | char *kwnames[] = { | |
26718 | (char *) "self",(char *) "ok", NULL | |
26719 | }; | |
26720 | ||
26721 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
26722 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26723 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26724 | { | |
26725 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
26726 | if (SWIG_arg_fail(2)) SWIG_fail; | |
26727 | } | |
d55e5bfc RD |
26728 | { |
26729 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26730 | (arg1)->SetOk(arg2); | |
26731 | ||
26732 | wxPyEndAllowThreads(__tstate); | |
26733 | if (PyErr_Occurred()) SWIG_fail; | |
26734 | } | |
26735 | Py_INCREF(Py_None); resultobj = Py_None; | |
26736 | return resultobj; | |
26737 | fail: | |
26738 | return NULL; | |
26739 | } | |
26740 | ||
26741 | ||
c370783e | 26742 | static PyObject *_wrap_PrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26743 | PyObject *resultobj; |
26744 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26745 | bool arg2 ; | |
26746 | bool result; | |
26747 | PyObject * obj0 = 0 ; | |
26748 | PyObject * obj1 = 0 ; | |
26749 | char *kwnames[] = { | |
26750 | (char *) "self",(char *) "interactive", NULL | |
26751 | }; | |
26752 | ||
26753 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
26754 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26755 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26756 | { | |
26757 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
26758 | if (SWIG_arg_fail(2)) SWIG_fail; | |
26759 | } | |
d55e5bfc RD |
26760 | { |
26761 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26762 | result = (bool)(arg1)->Print(arg2); | |
26763 | ||
26764 | wxPyEndAllowThreads(__tstate); | |
26765 | if (PyErr_Occurred()) SWIG_fail; | |
26766 | } | |
26767 | { | |
26768 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
26769 | } | |
26770 | return resultobj; | |
26771 | fail: | |
26772 | return NULL; | |
26773 | } | |
26774 | ||
26775 | ||
c370783e | 26776 | static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26777 | PyObject *resultobj; |
26778 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26779 | PyObject * obj0 = 0 ; | |
26780 | char *kwnames[] = { | |
26781 | (char *) "self", NULL | |
26782 | }; | |
26783 | ||
26784 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
26785 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26786 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
26787 | { |
26788 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26789 | (arg1)->DetermineScaling(); | |
26790 | ||
26791 | wxPyEndAllowThreads(__tstate); | |
26792 | if (PyErr_Occurred()) SWIG_fail; | |
26793 | } | |
26794 | Py_INCREF(Py_None); resultobj = Py_None; | |
26795 | return resultobj; | |
26796 | fail: | |
26797 | return NULL; | |
26798 | } | |
26799 | ||
26800 | ||
c370783e | 26801 | static PyObject * PrintPreview_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
26802 | PyObject *obj; |
26803 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
26804 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj); | |
26805 | Py_INCREF(obj); | |
26806 | return Py_BuildValue((char *)""); | |
26807 | } | |
c370783e | 26808 | static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *, PyObject *args) { |
d55e5bfc RD |
26809 | PyObject *resultobj; |
26810 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
26811 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
26812 | wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ; | |
26813 | wxPyPrintPreview *result; | |
26814 | PyObject * obj0 = 0 ; | |
26815 | PyObject * obj1 = 0 ; | |
26816 | PyObject * obj2 = 0 ; | |
26817 | ||
26818 | if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
26819 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
26820 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26821 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); | |
26822 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc | 26823 | if (obj2) { |
36ed4f51 RD |
26824 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
26825 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc RD |
26826 | } |
26827 | { | |
0439c23b | 26828 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
26829 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
26830 | result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3); | |
26831 | ||
26832 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 26833 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
26834 | } |
26835 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1); | |
26836 | return resultobj; | |
26837 | fail: | |
26838 | return NULL; | |
26839 | } | |
26840 | ||
26841 | ||
c370783e | 26842 | static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *, PyObject *args) { |
d55e5bfc RD |
26843 | PyObject *resultobj; |
26844 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
26845 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
26846 | wxPrintData *arg3 = (wxPrintData *) 0 ; | |
26847 | wxPyPrintPreview *result; | |
26848 | PyObject * obj0 = 0 ; | |
26849 | PyObject * obj1 = 0 ; | |
26850 | PyObject * obj2 = 0 ; | |
26851 | ||
26852 | if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
26853 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
26854 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26855 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); | |
26856 | if (SWIG_arg_fail(2)) SWIG_fail; | |
26857 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); | |
26858 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc | 26859 | { |
0439c23b | 26860 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
26861 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
26862 | result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3); | |
26863 | ||
26864 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 26865 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
26866 | } |
26867 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1); | |
26868 | return resultobj; | |
26869 | fail: | |
26870 | return NULL; | |
26871 | } | |
26872 | ||
26873 | ||
26874 | static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) { | |
26875 | int argc; | |
26876 | PyObject *argv[4]; | |
26877 | int ii; | |
26878 | ||
26879 | argc = PyObject_Length(args); | |
26880 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
26881 | argv[ii] = PyTuple_GetItem(args,ii); | |
26882 | } | |
26883 | if ((argc >= 2) && (argc <= 3)) { | |
26884 | int _v; | |
26885 | { | |
26886 | void *ptr; | |
26887 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
26888 | _v = 0; | |
26889 | PyErr_Clear(); | |
26890 | } else { | |
26891 | _v = 1; | |
26892 | } | |
26893 | } | |
26894 | if (_v) { | |
26895 | { | |
26896 | void *ptr; | |
26897 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
26898 | _v = 0; | |
26899 | PyErr_Clear(); | |
26900 | } else { | |
26901 | _v = 1; | |
26902 | } | |
26903 | } | |
26904 | if (_v) { | |
26905 | if (argc <= 2) { | |
26906 | return _wrap_new_PyPrintPreview__SWIG_0(self,args); | |
26907 | } | |
26908 | { | |
26909 | void *ptr; | |
26910 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) { | |
26911 | _v = 0; | |
26912 | PyErr_Clear(); | |
26913 | } else { | |
26914 | _v = 1; | |
26915 | } | |
26916 | } | |
26917 | if (_v) { | |
26918 | return _wrap_new_PyPrintPreview__SWIG_0(self,args); | |
26919 | } | |
26920 | } | |
26921 | } | |
26922 | } | |
26923 | if (argc == 3) { | |
26924 | int _v; | |
26925 | { | |
26926 | void *ptr; | |
26927 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
26928 | _v = 0; | |
26929 | PyErr_Clear(); | |
26930 | } else { | |
26931 | _v = 1; | |
26932 | } | |
26933 | } | |
26934 | if (_v) { | |
26935 | { | |
26936 | void *ptr; | |
26937 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
26938 | _v = 0; | |
26939 | PyErr_Clear(); | |
26940 | } else { | |
26941 | _v = 1; | |
26942 | } | |
26943 | } | |
26944 | if (_v) { | |
26945 | { | |
26946 | void *ptr; | |
26947 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { | |
26948 | _v = 0; | |
26949 | PyErr_Clear(); | |
26950 | } else { | |
26951 | _v = 1; | |
26952 | } | |
26953 | } | |
26954 | if (_v) { | |
26955 | return _wrap_new_PyPrintPreview__SWIG_1(self,args); | |
26956 | } | |
26957 | } | |
26958 | } | |
26959 | } | |
26960 | ||
36ed4f51 | 26961 | PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'"); |
d55e5bfc RD |
26962 | return NULL; |
26963 | } | |
26964 | ||
26965 | ||
c370783e | 26966 | static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26967 | PyObject *resultobj; |
26968 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
26969 | PyObject *arg2 = (PyObject *) 0 ; | |
26970 | PyObject *arg3 = (PyObject *) 0 ; | |
26971 | PyObject * obj0 = 0 ; | |
26972 | PyObject * obj1 = 0 ; | |
26973 | PyObject * obj2 = 0 ; | |
26974 | char *kwnames[] = { | |
26975 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
26976 | }; | |
26977 | ||
26978 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
26979 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26980 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
26981 | arg2 = obj1; |
26982 | arg3 = obj2; | |
26983 | { | |
26984 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26985 | (arg1)->_setCallbackInfo(arg2,arg3); | |
26986 | ||
26987 | wxPyEndAllowThreads(__tstate); | |
26988 | if (PyErr_Occurred()) SWIG_fail; | |
26989 | } | |
26990 | Py_INCREF(Py_None); resultobj = Py_None; | |
26991 | return resultobj; | |
26992 | fail: | |
26993 | return NULL; | |
26994 | } | |
26995 | ||
26996 | ||
c370783e | 26997 | static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26998 | PyObject *resultobj; |
26999 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
27000 | int arg2 ; | |
27001 | bool result; | |
27002 | PyObject * obj0 = 0 ; | |
27003 | PyObject * obj1 = 0 ; | |
27004 | char *kwnames[] = { | |
27005 | (char *) "self",(char *) "pageNum", NULL | |
27006 | }; | |
27007 | ||
27008 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
27009 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
27010 | if (SWIG_arg_fail(1)) SWIG_fail; | |
27011 | { | |
27012 | arg2 = (int)(SWIG_As_int(obj1)); | |
27013 | if (SWIG_arg_fail(2)) SWIG_fail; | |
27014 | } | |
d55e5bfc RD |
27015 | { |
27016 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
27017 | result = (bool)(arg1)->base_SetCurrentPage(arg2); | |
27018 | ||
27019 | wxPyEndAllowThreads(__tstate); | |
27020 | if (PyErr_Occurred()) SWIG_fail; | |
27021 | } | |
27022 | { | |
27023 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
27024 | } | |
27025 | return resultobj; | |
27026 | fail: | |
27027 | return NULL; | |
27028 | } | |
27029 | ||
27030 | ||
c370783e | 27031 | static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
27032 | PyObject *resultobj; |
27033 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
27034 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
27035 | wxDC *arg3 = 0 ; | |
27036 | bool result; | |
27037 | PyObject * obj0 = 0 ; | |
27038 | PyObject * obj1 = 0 ; | |
27039 | PyObject * obj2 = 0 ; | |
27040 | char *kwnames[] = { | |
27041 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
27042 | }; | |
27043 | ||
27044 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
27045 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
27046 | if (SWIG_arg_fail(1)) SWIG_fail; | |
27047 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0); | |
27048 | if (SWIG_arg_fail(2)) SWIG_fail; | |
27049 | { | |
27050 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); | |
27051 | if (SWIG_arg_fail(3)) SWIG_fail; | |
27052 | if (arg3 == NULL) { | |
27053 | SWIG_null_ref("wxDC"); | |
27054 | } | |
27055 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc RD |
27056 | } |
27057 | { | |
27058 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
27059 | result = (bool)(arg1)->base_PaintPage(arg2,*arg3); | |
27060 | ||
27061 | wxPyEndAllowThreads(__tstate); | |
27062 | if (PyErr_Occurred()) SWIG_fail; | |
27063 | } | |
27064 | { | |
27065 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
27066 | } | |
27067 | return resultobj; | |
27068 | fail: | |
27069 | return NULL; | |
27070 | } | |
27071 | ||
27072 | ||
c370783e | 27073 | static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
27074 | PyObject *resultobj; |
27075 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
27076 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
27077 | wxDC *arg3 = 0 ; | |
27078 | bool result; | |
27079 | PyObject * obj0 = 0 ; | |
27080 | PyObject * obj1 = 0 ; | |
27081 | PyObject * obj2 = 0 ; | |
27082 | char *kwnames[] = { | |
27083 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
27084 | }; | |
27085 | ||
27086 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
27087 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
27088 | if (SWIG_arg_fail(1)) SWIG_fail; | |
27089 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0); | |
27090 | if (SWIG_arg_fail(2)) SWIG_fail; | |
27091 | { | |
27092 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); | |
27093 | if (SWIG_arg_fail(3)) SWIG_fail; | |
27094 | if (arg3 == NULL) { | |
27095 | SWIG_null_ref("wxDC"); | |
27096 | } | |
27097 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc RD |
27098 | } |
27099 | { | |
27100 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
27101 | result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3); | |
27102 | ||
27103 | wxPyEndAllowThreads(__tstate); | |
27104 | if (PyErr_Occurred()) SWIG_fail; | |
27105 | } | |
27106 | { | |
27107 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
27108 | } | |
27109 | return resultobj; | |
27110 | fail: | |
27111 | return NULL; | |
27112 | } | |
27113 | ||
27114 | ||
c370783e | 27115 | static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
27116 | PyObject *resultobj; |
27117 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
27118 | int arg2 ; | |
27119 | bool result; | |
27120 | PyObject * obj0 = 0 ; | |
27121 | PyObject * obj1 = 0 ; | |
27122 | char *kwnames[] = { | |
27123 | (char *) "self",(char *) "pageNum", NULL | |
27124 | }; | |
27125 | ||
27126 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
27127 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
27128 | if (SWIG_arg_fail(1)) SWIG_fail; | |
27129 | { | |
27130 | arg2 = (int)(SWIG_As_int(obj1)); | |
27131 | if (SWIG_arg_fail(2)) SWIG_fail; | |
27132 | } | |
d55e5bfc RD |
27133 | { |
27134 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
27135 | result = (bool)(arg1)->base_RenderPage(arg2); | |
27136 | ||
27137 | wxPyEndAllowThreads(__tstate); | |
27138 | if (PyErr_Occurred()) SWIG_fail; | |
27139 | } | |
27140 | { | |
27141 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
27142 | } | |
27143 | return resultobj; | |
27144 | fail: | |
27145 | return NULL; | |
27146 | } | |
27147 | ||
27148 | ||
c370783e | 27149 | static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
27150 | PyObject *resultobj; |
27151 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
27152 | int arg2 ; | |
27153 | PyObject * obj0 = 0 ; | |
27154 | PyObject * obj1 = 0 ; | |
27155 | char *kwnames[] = { | |
27156 | (char *) "self",(char *) "percent", NULL | |
27157 | }; | |
27158 | ||
27159 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
27160 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
27161 | if (SWIG_arg_fail(1)) SWIG_fail; | |
27162 | { | |
27163 | arg2 = (int)(SWIG_As_int(obj1)); | |
27164 | if (SWIG_arg_fail(2)) SWIG_fail; | |
27165 | } | |
d55e5bfc RD |
27166 | { |
27167 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
27168 | (arg1)->base_SetZoom(arg2); | |
27169 | ||
27170 | wxPyEndAllowThreads(__tstate); | |
27171 | if (PyErr_Occurred()) SWIG_fail; | |
27172 | } | |
27173 | Py_INCREF(Py_None); resultobj = Py_None; | |
27174 | return resultobj; | |
27175 | fail: | |
27176 | return NULL; | |
27177 | } | |
27178 | ||
27179 | ||
c370783e | 27180 | static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
27181 | PyObject *resultobj; |
27182 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
27183 | bool arg2 ; | |
27184 | bool result; | |
27185 | PyObject * obj0 = 0 ; | |
27186 | PyObject * obj1 = 0 ; | |
27187 | char *kwnames[] = { | |
27188 | (char *) "self",(char *) "interactive", NULL | |
27189 | }; | |
27190 | ||
27191 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
27192 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
27193 | if (SWIG_arg_fail(1)) SWIG_fail; | |
27194 | { | |
27195 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
27196 | if (SWIG_arg_fail(2)) SWIG_fail; | |
27197 | } | |
d55e5bfc RD |
27198 | { |
27199 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
27200 | result = (bool)(arg1)->base_Print(arg2); | |
27201 | ||
27202 | wxPyEndAllowThreads(__tstate); | |
27203 | if (PyErr_Occurred()) SWIG_fail; | |
27204 | } | |
27205 | { | |
27206 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
27207 | } | |
27208 | return resultobj; | |
27209 | fail: | |
27210 | return NULL; | |
27211 | } | |
27212 | ||
27213 | ||
c370783e | 27214 | static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
27215 | PyObject *resultobj; |
27216 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
27217 | PyObject * obj0 = 0 ; | |
27218 | char *kwnames[] = { | |
27219 | (char *) "self", NULL | |
27220 | }; | |
27221 | ||
27222 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
27223 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
27224 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
27225 | { |
27226 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
27227 | (arg1)->base_DetermineScaling(); | |
27228 | ||
27229 | wxPyEndAllowThreads(__tstate); | |
27230 | if (PyErr_Occurred()) SWIG_fail; | |
27231 | } | |
27232 | Py_INCREF(Py_None); resultobj = Py_None; | |
27233 | return resultobj; | |
27234 | fail: | |
27235 | return NULL; | |
27236 | } | |
27237 | ||
27238 | ||
c370783e | 27239 | static PyObject * PyPrintPreview_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
27240 | PyObject *obj; |
27241 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
27242 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj); | |
27243 | Py_INCREF(obj); | |
27244 | return Py_BuildValue((char *)""); | |
27245 | } | |
c370783e | 27246 | static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
27247 | PyObject *resultobj; |
27248 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
27249 | wxFrame *arg2 = (wxFrame *) 0 ; | |
27250 | wxString *arg3 = 0 ; | |
27251 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
27252 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
27253 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
27254 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
27255 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
27256 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
27257 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
27258 | wxPyPreviewFrame *result; | |
b411df4a | 27259 | bool temp3 = false ; |
d55e5bfc RD |
27260 | wxPoint temp4 ; |
27261 | wxSize temp5 ; | |
b411df4a | 27262 | bool temp7 = false ; |
d55e5bfc RD |
27263 | PyObject * obj0 = 0 ; |
27264 | PyObject * obj1 = 0 ; | |
27265 | PyObject * obj2 = 0 ; | |
27266 | PyObject * obj3 = 0 ; | |
27267 | PyObject * obj4 = 0 ; | |
27268 | PyObject * obj5 = 0 ; | |
27269 | PyObject * obj6 = 0 ; | |
27270 | char *kwnames[] = { | |
27271 | (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
27272 | }; | |
27273 | ||
27274 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
36ed4f51 RD |
27275 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
27276 | if (SWIG_arg_fail(1)) SWIG_fail; | |
27277 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); | |
27278 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
27279 | { |
27280 | arg3 = wxString_in_helper(obj2); | |
27281 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 27282 | temp3 = true; |
d55e5bfc RD |
27283 | } |
27284 | if (obj3) { | |
27285 | { | |
27286 | arg4 = &temp4; | |
27287 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
27288 | } | |
27289 | } | |
27290 | if (obj4) { | |
27291 | { | |
27292 | arg5 = &temp5; | |
27293 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
27294 | } | |
27295 | } | |
27296 | if (obj5) { | |
36ed4f51 RD |
27297 | { |
27298 | arg6 = (long)(SWIG_As_long(obj5)); | |
27299 | if (SWIG_arg_fail(6)) SWIG_fail; | |
27300 | } | |
d55e5bfc RD |
27301 | } |
27302 | if (obj6) { | |
27303 | { | |
27304 | arg7 = wxString_in_helper(obj6); | |
27305 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 27306 | temp7 = true; |
d55e5bfc RD |
27307 | } |
27308 | } | |
27309 | { | |
0439c23b | 27310 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
27311 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
27312 | result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
27313 | ||
27314 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 27315 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
27316 | } |
27317 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1); | |
27318 | { | |
27319 | if (temp3) | |
27320 | delete arg3; | |
27321 | } | |
27322 | { | |
27323 | if (temp7) | |
27324 | delete arg7; | |
27325 | } | |
27326 | return resultobj; | |
27327 | fail: | |
27328 | { | |
27329 | if (temp3) | |
27330 | delete arg3; | |
27331 | } | |
27332 | { | |
27333 | if (temp7) | |
27334 | delete arg7; | |
27335 | } | |
27336 | return NULL; | |
27337 | } | |
27338 | ||
27339 | ||
c370783e | 27340 | static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
27341 | PyObject *resultobj; |
27342 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
27343 | PyObject *arg2 = (PyObject *) 0 ; | |
27344 | PyObject *arg3 = (PyObject *) 0 ; | |
27345 | PyObject * obj0 = 0 ; | |
27346 | PyObject * obj1 = 0 ; | |
27347 | PyObject * obj2 = 0 ; | |
27348 | char *kwnames[] = { | |
27349 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
27350 | }; | |
27351 | ||
27352 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
27353 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0); |
27354 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
27355 | arg2 = obj1; |
27356 | arg3 = obj2; | |
27357 | { | |
27358 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
27359 | (arg1)->_setCallbackInfo(arg2,arg3); | |
27360 | ||
27361 | wxPyEndAllowThreads(__tstate); | |
27362 | if (PyErr_Occurred()) SWIG_fail; | |
27363 | } | |
27364 | Py_INCREF(Py_None); resultobj = Py_None; | |
27365 | return resultobj; | |
27366 | fail: | |
27367 | return NULL; | |
27368 | } | |
27369 | ||
27370 | ||
c370783e | 27371 | static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
27372 | PyObject *resultobj; |
27373 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
27374 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
27375 | PyObject * obj0 = 0 ; | |
27376 | PyObject * obj1 = 0 ; | |
27377 | char *kwnames[] = { | |
27378 | (char *) "self",(char *) "canvas", NULL | |
27379 | }; | |
27380 | ||
27381 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
27382 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0); |
27383 | if (SWIG_arg_fail(1)) SWIG_fail; | |
27384 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0); | |
27385 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
27386 | { |
27387 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
27388 | (arg1)->SetPreviewCanvas(arg2); | |
27389 | ||
27390 | wxPyEndAllowThreads(__tstate); | |
27391 | if (PyErr_Occurred()) SWIG_fail; | |
27392 | } | |
27393 | Py_INCREF(Py_None); resultobj = Py_None; | |
27394 | return resultobj; | |
27395 | fail: | |
27396 | return NULL; | |
27397 | } | |
27398 | ||
27399 | ||
c370783e | 27400 | static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
27401 | PyObject *resultobj; |
27402 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
27403 | wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ; | |
27404 | PyObject * obj0 = 0 ; | |
27405 | PyObject * obj1 = 0 ; | |
27406 | char *kwnames[] = { | |
27407 | (char *) "self",(char *) "bar", NULL | |
27408 | }; | |
27409 | ||
27410 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
27411 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0); |
27412 | if (SWIG_arg_fail(1)) SWIG_fail; | |
27413 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); | |
27414 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
27415 | { |
27416 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
27417 | (arg1)->SetControlBar(arg2); | |
27418 | ||
27419 | wxPyEndAllowThreads(__tstate); | |
27420 | if (PyErr_Occurred()) SWIG_fail; | |
27421 | } | |
27422 | Py_INCREF(Py_None); resultobj = Py_None; | |
27423 | return resultobj; | |
27424 | fail: | |
27425 | return NULL; | |
27426 | } | |
27427 | ||
27428 | ||
c370783e | 27429 | static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
27430 | PyObject *resultobj; |
27431 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
27432 | PyObject * obj0 = 0 ; | |
27433 | char *kwnames[] = { | |
27434 | (char *) "self", NULL | |
27435 | }; | |
27436 | ||
27437 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
27438 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0); |
27439 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
27440 | { |
27441 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
27442 | (arg1)->base_Initialize(); | |
27443 | ||
27444 | wxPyEndAllowThreads(__tstate); | |
27445 | if (PyErr_Occurred()) SWIG_fail; | |
27446 | } | |
27447 | Py_INCREF(Py_None); resultobj = Py_None; | |
27448 | return resultobj; | |
27449 | fail: | |
27450 | return NULL; | |
27451 | } | |
27452 | ||
27453 | ||
c370783e | 27454 | static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
27455 | PyObject *resultobj; |
27456 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
27457 | PyObject * obj0 = 0 ; | |
27458 | char *kwnames[] = { | |
27459 | (char *) "self", NULL | |
27460 | }; | |
27461 | ||
27462 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
27463 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0); |
27464 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
27465 | { |
27466 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
27467 | (arg1)->base_CreateCanvas(); | |
27468 | ||
27469 | wxPyEndAllowThreads(__tstate); | |
27470 | if (PyErr_Occurred()) SWIG_fail; | |
27471 | } | |
27472 | Py_INCREF(Py_None); resultobj = Py_None; | |
27473 | return resultobj; | |
27474 | fail: | |
27475 | return NULL; | |
27476 | } | |
27477 | ||
27478 | ||
c370783e | 27479 | static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
27480 | PyObject *resultobj; |
27481 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
27482 | PyObject * obj0 = 0 ; | |
27483 | char *kwnames[] = { | |
27484 | (char *) "self", NULL | |
27485 | }; | |
27486 | ||
27487 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
27488 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0); |
27489 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
27490 | { |
27491 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
27492 | (arg1)->base_CreateControlBar(); | |
27493 | ||
27494 | wxPyEndAllowThreads(__tstate); | |
27495 | if (PyErr_Occurred()) SWIG_fail; | |
27496 | } | |
27497 | Py_INCREF(Py_None); resultobj = Py_None; | |
27498 | return resultobj; | |
27499 | fail: | |
27500 | return NULL; | |
27501 | } | |
27502 | ||
27503 | ||
c370783e | 27504 | static PyObject * PyPreviewFrame_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
27505 | PyObject *obj; |
27506 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
27507 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj); | |
27508 | Py_INCREF(obj); | |
27509 | return Py_BuildValue((char *)""); | |
27510 | } | |
c370783e | 27511 | static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
27512 | PyObject *resultobj; |
27513 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
27514 | long arg2 ; | |
27515 | wxWindow *arg3 = (wxWindow *) 0 ; | |
27516 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
27517 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
27518 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
27519 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
27520 | long arg6 = (long) 0 ; | |
27521 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
27522 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
27523 | wxPyPreviewControlBar *result; | |
27524 | wxPoint temp4 ; | |
27525 | wxSize temp5 ; | |
b411df4a | 27526 | bool temp7 = false ; |
d55e5bfc RD |
27527 | PyObject * obj0 = 0 ; |
27528 | PyObject * obj1 = 0 ; | |
27529 | PyObject * obj2 = 0 ; | |
27530 | PyObject * obj3 = 0 ; | |
27531 | PyObject * obj4 = 0 ; | |
27532 | PyObject * obj5 = 0 ; | |
27533 | PyObject * obj6 = 0 ; | |
27534 | char *kwnames[] = { | |
27535 | (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
27536 | }; | |
27537 | ||
27538 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
36ed4f51 RD |
27539 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
27540 | if (SWIG_arg_fail(1)) SWIG_fail; | |
27541 | { | |
27542 | arg2 = (long)(SWIG_As_long(obj1)); | |
27543 | if (SWIG_arg_fail(2)) SWIG_fail; | |
27544 | } | |
27545 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
27546 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc RD |
27547 | if (obj3) { |
27548 | { | |
27549 | arg4 = &temp4; | |
27550 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
27551 | } | |
27552 | } | |
27553 | if (obj4) { | |
27554 | { | |
27555 | arg5 = &temp5; | |
27556 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
27557 | } | |
27558 | } | |
27559 | if (obj5) { | |
36ed4f51 RD |
27560 | { |
27561 | arg6 = (long)(SWIG_As_long(obj5)); | |
27562 | if (SWIG_arg_fail(6)) SWIG_fail; | |
27563 | } | |
d55e5bfc RD |
27564 | } |
27565 | if (obj6) { | |
27566 | { | |
27567 | arg7 = wxString_in_helper(obj6); | |
27568 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 27569 | temp7 = true; |
d55e5bfc RD |
27570 | } |
27571 | } | |
27572 | { | |
0439c23b | 27573 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
27574 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
27575 | result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
27576 | ||
27577 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 27578 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
27579 | } |
27580 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1); | |
27581 | { | |
27582 | if (temp7) | |
27583 | delete arg7; | |
27584 | } | |
27585 | return resultobj; | |
27586 | fail: | |
27587 | { | |
27588 | if (temp7) | |
27589 | delete arg7; | |
27590 | } | |
27591 | return NULL; | |
27592 | } | |
27593 | ||
27594 | ||
c370783e | 27595 | static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
27596 | PyObject *resultobj; |
27597 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
27598 | PyObject *arg2 = (PyObject *) 0 ; | |
27599 | PyObject *arg3 = (PyObject *) 0 ; | |
27600 | PyObject * obj0 = 0 ; | |
27601 | PyObject * obj1 = 0 ; | |
27602 | PyObject * obj2 = 0 ; | |
27603 | char *kwnames[] = { | |
27604 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
27605 | }; | |
27606 | ||
27607 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
27608 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
27609 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
27610 | arg2 = obj1; |
27611 | arg3 = obj2; | |
27612 | { | |
27613 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
27614 | (arg1)->_setCallbackInfo(arg2,arg3); | |
27615 | ||
27616 | wxPyEndAllowThreads(__tstate); | |
27617 | if (PyErr_Occurred()) SWIG_fail; | |
27618 | } | |
27619 | Py_INCREF(Py_None); resultobj = Py_None; | |
27620 | return resultobj; | |
27621 | fail: | |
27622 | return NULL; | |
27623 | } | |
27624 | ||
27625 | ||
c370783e | 27626 | static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
27627 | PyObject *resultobj; |
27628 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
27629 | wxPrintPreview *arg2 = (wxPrintPreview *) 0 ; | |
27630 | PyObject * obj0 = 0 ; | |
27631 | PyObject * obj1 = 0 ; | |
27632 | char *kwnames[] = { | |
27633 | (char *) "self",(char *) "preview", NULL | |
27634 | }; | |
27635 | ||
27636 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
27637 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
27638 | if (SWIG_arg_fail(1)) SWIG_fail; | |
27639 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); | |
27640 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
27641 | { |
27642 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
27643 | (arg1)->SetPrintPreview(arg2); | |
27644 | ||
27645 | wxPyEndAllowThreads(__tstate); | |
27646 | if (PyErr_Occurred()) SWIG_fail; | |
27647 | } | |
27648 | Py_INCREF(Py_None); resultobj = Py_None; | |
27649 | return resultobj; | |
27650 | fail: | |
27651 | return NULL; | |
27652 | } | |
27653 | ||
27654 | ||
c370783e | 27655 | static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
27656 | PyObject *resultobj; |
27657 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
27658 | PyObject * obj0 = 0 ; | |
27659 | char *kwnames[] = { | |
27660 | (char *) "self", NULL | |
27661 | }; | |
27662 | ||
27663 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
27664 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
27665 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
27666 | { |
27667 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
27668 | (arg1)->base_CreateButtons(); | |
27669 | ||
27670 | wxPyEndAllowThreads(__tstate); | |
27671 | if (PyErr_Occurred()) SWIG_fail; | |
27672 | } | |
27673 | Py_INCREF(Py_None); resultobj = Py_None; | |
27674 | return resultobj; | |
27675 | fail: | |
27676 | return NULL; | |
27677 | } | |
27678 | ||
27679 | ||
c370783e | 27680 | static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
27681 | PyObject *resultobj; |
27682 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
27683 | int arg2 ; | |
27684 | PyObject * obj0 = 0 ; | |
27685 | PyObject * obj1 = 0 ; | |
27686 | char *kwnames[] = { | |
27687 | (char *) "self",(char *) "zoom", NULL | |
27688 | }; | |
27689 | ||
27690 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
27691 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
27692 | if (SWIG_arg_fail(1)) SWIG_fail; | |
27693 | { | |
27694 | arg2 = (int)(SWIG_As_int(obj1)); | |
27695 | if (SWIG_arg_fail(2)) SWIG_fail; | |
27696 | } | |
d55e5bfc RD |
27697 | { |
27698 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
27699 | (arg1)->base_SetZoomControl(arg2); | |
27700 | ||
27701 | wxPyEndAllowThreads(__tstate); | |
27702 | if (PyErr_Occurred()) SWIG_fail; | |
27703 | } | |
27704 | Py_INCREF(Py_None); resultobj = Py_None; | |
27705 | return resultobj; | |
27706 | fail: | |
27707 | return NULL; | |
27708 | } | |
27709 | ||
27710 | ||
c370783e | 27711 | static PyObject * PyPreviewControlBar_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
27712 | PyObject *obj; |
27713 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
27714 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj); | |
27715 | Py_INCREF(obj); | |
27716 | return Py_BuildValue((char *)""); | |
27717 | } | |
27718 | static PyMethodDef SwigMethods[] = { | |
36ed4f51 RD |
27719 | { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL}, |
27720 | { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27721 | { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27722 | { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27723 | { (char *)"Panel_SetFocus", (PyCFunction) _wrap_Panel_SetFocus, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27724 | { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction) _wrap_Panel_SetFocusIgnoringChildren, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27725 | { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27726 | { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL}, | |
27727 | { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27728 | { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27729 | { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27730 | { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27731 | { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27732 | { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27733 | { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27734 | { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27735 | { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27736 | { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27737 | { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27738 | { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27739 | { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27740 | { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27741 | { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL}, | |
27742 | { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL}, | |
27743 | { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27744 | { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27745 | { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27746 | { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27747 | { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27748 | { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27749 | { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27750 | { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27751 | { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL}, | |
27752 | { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27753 | { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27754 | { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27755 | { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27756 | { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27757 | { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27758 | { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27759 | { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27760 | { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27761 | { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27762 | { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27763 | { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27764 | { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27765 | { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27766 | { (char *)"TopLevelWindow_IsActive", (PyCFunction) _wrap_TopLevelWindow_IsActive, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27767 | { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27768 | { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacGetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27769 | { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL}, | |
27770 | { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27771 | { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27772 | { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27773 | { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27774 | { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27775 | { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27776 | { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27777 | { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27778 | { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27779 | { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27780 | { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27781 | { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27782 | { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27783 | { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27784 | { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27785 | { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27786 | { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27787 | { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27788 | { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27789 | { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27790 | { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27791 | { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27792 | { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27793 | { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL}, | |
27794 | { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27795 | { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27796 | { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27797 | { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27798 | { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27799 | { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27800 | { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
62d32a5f | 27801 | { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL}, |
36ed4f51 RD |
27802 | { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS, NULL}, |
27803 | { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27804 | { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27805 | { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27806 | { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL}, | |
27807 | { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27808 | { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27809 | { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27810 | { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL}, | |
27811 | { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27812 | { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27813 | { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27814 | { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL}, | |
27815 | { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27816 | { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27817 | { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27818 | { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27819 | { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL}, | |
27820 | { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27821 | { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27822 | { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27823 | { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27824 | { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27825 | { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27826 | { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27827 | { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27828 | { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27829 | { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27830 | { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27831 | { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27832 | { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27833 | { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27834 | { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27835 | { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27836 | { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL}, | |
27837 | { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27838 | { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27839 | { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27840 | { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27841 | { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27842 | { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27843 | { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27844 | { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27845 | { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27846 | { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27847 | { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27848 | { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27849 | { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27850 | { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27851 | { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27852 | { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27853 | { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27854 | { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27855 | { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27856 | { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27857 | { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27858 | { (char *)"SplitterWindow_GetSashGravity", (PyCFunction) _wrap_SplitterWindow_GetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27859 | { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27860 | { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27861 | { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27862 | { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27863 | { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27864 | { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27865 | { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27866 | { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL}, | |
27867 | { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27868 | { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27869 | { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27870 | { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27871 | { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27872 | { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27873 | { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL}, | |
27874 | { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27875 | { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27876 | { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27877 | { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27878 | { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27879 | { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27880 | { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27881 | { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27882 | { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27883 | { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27884 | { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27885 | { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27886 | { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27887 | { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27888 | { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27889 | { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27890 | { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27891 | { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27892 | { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27893 | { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27894 | { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27895 | { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27896 | { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL}, | |
27897 | { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27898 | { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27899 | { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27900 | { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27901 | { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27902 | { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27903 | { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27904 | { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL}, | |
27905 | { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27906 | { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27907 | { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27908 | { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27909 | { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27910 | { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27911 | { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27912 | { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27913 | { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27914 | { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27915 | { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27916 | { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL}, | |
27917 | { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27918 | { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27919 | { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27920 | { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27921 | { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27922 | { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL}, | |
27923 | { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27924 | { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27925 | { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27926 | { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27927 | { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27928 | { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27929 | { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27930 | { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27931 | { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL}, | |
27932 | { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27933 | { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27934 | { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27935 | { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27936 | { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27937 | { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL}, | |
27938 | { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27939 | { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27940 | { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL}, | |
27941 | { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27942 | { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27943 | { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL}, | |
27944 | { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27945 | { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27946 | { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27947 | { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL}, | |
27948 | { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27949 | { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27950 | { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27951 | { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27952 | { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27953 | { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27954 | { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27955 | { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27956 | { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27957 | { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27958 | { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27959 | { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27960 | { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27961 | { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL}, | |
7993762b RD |
27962 | { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction) _wrap_VScrolledWindow_GetVisibleBegin, METH_VARARGS | METH_KEYWORDS, NULL}, |
27963 | { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction) _wrap_VScrolledWindow_GetVisibleEnd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27964 | { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
36ed4f51 RD |
27965 | { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL}, |
27966 | { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
36ed4f51 RD |
27967 | { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL}, |
27968 | { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27969 | { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27970 | { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27971 | { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27972 | { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27973 | { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27974 | { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27975 | { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27976 | { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27977 | { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27978 | { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27979 | { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27980 | { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27981 | { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27982 | { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27983 | { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27984 | { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27985 | { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27986 | { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27987 | { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27988 | { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27989 | { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27990 | { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27991 | { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27992 | { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27993 | { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL}, | |
27994 | { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27995 | { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27996 | { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27997 | { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27998 | { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27999 | { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28000 | { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28001 | { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL}, | |
28002 | { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28003 | { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28004 | { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28005 | { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28006 | { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28007 | { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28008 | { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28009 | { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28010 | { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL}, | |
28011 | { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28012 | { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL}, | |
28013 | { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28014 | { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28015 | { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28016 | { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28017 | { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28018 | { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28019 | { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28020 | { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28021 | { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL}, | |
28022 | { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28023 | { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28024 | { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL}, | |
28025 | { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28026 | { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28027 | { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28028 | { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28029 | { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28030 | { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28031 | { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL}, | |
28032 | { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28033 | { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28034 | { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28035 | { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28036 | { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28037 | { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28038 | { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28039 | { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28040 | { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28041 | { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28042 | { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28043 | { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28044 | { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28045 | { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28046 | { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28047 | { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28048 | { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28049 | { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL}, | |
28050 | { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28051 | { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28052 | { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28053 | { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL}, | |
28054 | { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28055 | { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28056 | { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28057 | { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28058 | { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL}, | |
28059 | { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28060 | { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28061 | { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28062 | { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL}, | |
28063 | { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28064 | { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL}, | |
28065 | { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28066 | { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28067 | { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28068 | { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28069 | { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28070 | { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28071 | { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28072 | { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28073 | { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28074 | { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28075 | { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28076 | { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28077 | { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28078 | { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28079 | { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28080 | { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL}, | |
28081 | { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28082 | { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28083 | { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL}, | |
28084 | { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28085 | { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL}, | |
28086 | { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28087 | { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28088 | { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28089 | { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL}, | |
28090 | { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28091 | { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28092 | { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28093 | { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28094 | { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28095 | { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28096 | { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28097 | { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28098 | { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL}, | |
28099 | { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28100 | { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28101 | { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28102 | { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28103 | { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28104 | { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28105 | { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28106 | { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28107 | { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL}, | |
28108 | { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28109 | { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28110 | { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28111 | { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28112 | { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28113 | { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL}, | |
28114 | { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28115 | { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28116 | { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28117 | { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28118 | { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28119 | { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28120 | { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28121 | { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28122 | { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28123 | { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28124 | { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28125 | { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL}, | |
28126 | { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28127 | { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28128 | { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28129 | { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28130 | { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28131 | { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28132 | { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL}, | |
28133 | { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28134 | { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28135 | { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28136 | { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL}, | |
28137 | { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28138 | { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28139 | { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28140 | { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
976dbff5 | 28141 | { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL}, |
36ed4f51 RD |
28142 | { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL}, |
28143 | { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28144 | { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28145 | { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28146 | { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28147 | { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28148 | { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28149 | { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28150 | { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28151 | { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28152 | { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28153 | { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28154 | { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28155 | { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28156 | { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28157 | { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28158 | { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28159 | { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28160 | { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL}, | |
36ed4f51 | 28161 | { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, |
8d38bd1d | 28162 | { (char *)"PyWindow_base_OnInternalIdle", (PyCFunction) _wrap_PyWindow_base_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL}, |
36ed4f51 RD |
28163 | { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL}, |
28164 | { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28165 | { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28166 | { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28167 | { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
976dbff5 | 28168 | { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL}, |
36ed4f51 RD |
28169 | { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL}, |
28170 | { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28171 | { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28172 | { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28173 | { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28174 | { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28175 | { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28176 | { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28177 | { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28178 | { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28179 | { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28180 | { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28181 | { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28182 | { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28183 | { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28184 | { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28185 | { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28186 | { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28187 | { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL}, | |
36ed4f51 | 28188 | { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, |
8d38bd1d | 28189 | { (char *)"PyPanel_base_OnInternalIdle", (PyCFunction) _wrap_PyPanel_base_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL}, |
36ed4f51 RD |
28190 | { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL}, |
28191 | { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28192 | { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28193 | { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28194 | { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
976dbff5 | 28195 | { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL}, |
36ed4f51 RD |
28196 | { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL}, |
28197 | { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28198 | { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28199 | { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28200 | { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28201 | { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28202 | { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28203 | { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28204 | { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28205 | { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28206 | { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28207 | { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28208 | { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28209 | { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28210 | { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28211 | { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28212 | { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28213 | { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28214 | { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL}, | |
36ed4f51 | 28215 | { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, |
8d38bd1d | 28216 | { (char *)"PyScrolledWindow_base_OnInternalIdle", (PyCFunction) _wrap_PyScrolledWindow_base_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL}, |
36ed4f51 RD |
28217 | { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL}, |
28218 | { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL}, | |
28219 | { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28220 | { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28221 | { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28222 | { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28223 | { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28224 | { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28225 | { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28226 | { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28227 | { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28228 | { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28229 | { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28230 | { (char *)"PrintData_GetBin", (PyCFunction) _wrap_PrintData_GetBin, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28231 | { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28232 | { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28233 | { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28234 | { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28235 | { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28236 | { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28237 | { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28238 | { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28239 | { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28240 | { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28241 | { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28242 | { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28243 | { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28244 | { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL}, | |
7fbf8399 RD |
28245 | { (char *)"PrintData_GetPrivData", (PyCFunction) _wrap_PrintData_GetPrivData, METH_VARARGS | METH_KEYWORDS, NULL}, |
28246 | { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
36ed4f51 RD |
28247 | { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL}, |
28248 | { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28249 | { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28250 | { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28251 | { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28252 | { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28253 | { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28254 | { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28255 | { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28256 | { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28257 | { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28258 | { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28259 | { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28260 | { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28261 | { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28262 | { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28263 | { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28264 | { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28265 | { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL}, | |
28266 | { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL}, | |
28267 | { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28268 | { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28269 | { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28270 | { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28271 | { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28272 | { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28273 | { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28274 | { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28275 | { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28276 | { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28277 | { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28278 | { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28279 | { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28280 | { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28281 | { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28282 | { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28283 | { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28284 | { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28285 | { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28286 | { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28287 | { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28288 | { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28289 | { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28290 | { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28291 | { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28292 | { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28293 | { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28294 | { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28295 | { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28296 | { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
fef4c27a RD |
28297 | { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction) _wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_VARARGS | METH_KEYWORDS, NULL}, |
28298 | { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction) _wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_VARARGS | METH_KEYWORDS, NULL}, | |
36ed4f51 RD |
28299 | { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL}, |
28300 | { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28301 | { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28302 | { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28303 | { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28304 | { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL}, | |
28305 | { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL}, | |
28306 | { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28307 | { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28308 | { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28309 | { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28310 | { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28311 | { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28312 | { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28313 | { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28314 | { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28315 | { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28316 | { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28317 | { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28318 | { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28319 | { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28320 | { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28321 | { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28322 | { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28323 | { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28324 | { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28325 | { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28326 | { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28327 | { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28328 | { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28329 | { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28330 | { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28331 | { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28332 | { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28333 | { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28334 | { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28335 | { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28336 | { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28337 | { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28338 | { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL}, | |
28339 | { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28340 | { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28341 | { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28342 | { (char *)"PrintDialog_GetPrintData", (PyCFunction) _wrap_PrintDialog_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28343 | { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28344 | { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL}, | |
28345 | { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28346 | { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28347 | { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28348 | { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28349 | { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28350 | { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28351 | { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28352 | { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28353 | { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28354 | { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28355 | { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL}, | |
28356 | { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28357 | { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28358 | { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28359 | { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28360 | { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28361 | { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28362 | { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28363 | { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28364 | { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28365 | { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28366 | { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28367 | { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28368 | { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28369 | { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28370 | { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28371 | { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28372 | { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28373 | { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28374 | { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28375 | { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28376 | { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28377 | { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28378 | { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL}, | |
28379 | { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28380 | { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL}, | |
28381 | { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28382 | { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28383 | { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28384 | { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28385 | { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28386 | { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL}, | |
28387 | { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28388 | { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28389 | { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28390 | { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28391 | { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28392 | { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28393 | { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28394 | { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28395 | { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28396 | { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL}, | |
28397 | { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL}, | |
28398 | { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28399 | { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28400 | { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28401 | { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28402 | { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28403 | { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28404 | { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28405 | { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28406 | { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28407 | { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28408 | { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28409 | { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28410 | { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28411 | { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28412 | { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28413 | { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28414 | { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28415 | { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28416 | { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28417 | { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28418 | { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28419 | { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28420 | { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL}, | |
28421 | { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL}, | |
28422 | { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28423 | { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28424 | { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28425 | { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28426 | { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28427 | { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28428 | { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28429 | { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28430 | { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL}, | |
28431 | { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28432 | { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28433 | { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28434 | { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28435 | { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28436 | { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28437 | { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28438 | { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL}, | |
28439 | { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28440 | { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28441 | { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28442 | { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28443 | { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28444 | { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL}, | |
c370783e | 28445 | { NULL, NULL, 0, NULL } |
d55e5bfc RD |
28446 | }; |
28447 | ||
28448 | ||
28449 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
28450 | ||
28451 | static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) { | |
28452 | return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
28453 | } | |
28454 | static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) { | |
28455 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
28456 | } | |
28457 | static void *_p_wxMenuEventTo_p_wxEvent(void *x) { | |
28458 | return (void *)((wxEvent *) ((wxMenuEvent *) x)); | |
28459 | } | |
28460 | static void *_p_wxCloseEventTo_p_wxEvent(void *x) { | |
28461 | return (void *)((wxEvent *) ((wxCloseEvent *) x)); | |
28462 | } | |
28463 | static void *_p_wxMouseEventTo_p_wxEvent(void *x) { | |
28464 | return (void *)((wxEvent *) ((wxMouseEvent *) x)); | |
28465 | } | |
28466 | static void *_p_wxEraseEventTo_p_wxEvent(void *x) { | |
28467 | return (void *)((wxEvent *) ((wxEraseEvent *) x)); | |
28468 | } | |
28469 | static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) { | |
28470 | return (void *)((wxEvent *) ((wxSetCursorEvent *) x)); | |
28471 | } | |
28472 | static void *_p_wxSplitterEventTo_p_wxEvent(void *x) { | |
28473 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
28474 | } | |
28475 | static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) { | |
28476 | return (void *)((wxEvent *) ((wxInitDialogEvent *) x)); | |
28477 | } | |
28478 | static void *_p_wxScrollEventTo_p_wxEvent(void *x) { | |
28479 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x)); | |
28480 | } | |
28481 | static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) { | |
28482 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
28483 | } | |
28484 | static void *_p_wxPyEventTo_p_wxEvent(void *x) { | |
28485 | return (void *)((wxEvent *) ((wxPyEvent *) x)); | |
28486 | } | |
28487 | static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { | |
28488 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); | |
28489 | } | |
28490 | static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) { | |
28491 | return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
28492 | } | |
28493 | static void *_p_wxIdleEventTo_p_wxEvent(void *x) { | |
28494 | return (void *)((wxEvent *) ((wxIdleEvent *) x)); | |
28495 | } | |
28496 | static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) { | |
28497 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
28498 | } | |
28499 | static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) { | |
28500 | return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
28501 | } | |
28502 | static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) { | |
28503 | return (void *)((wxEvent *) ((wxMaximizeEvent *) x)); | |
28504 | } | |
28505 | static void *_p_wxIconizeEventTo_p_wxEvent(void *x) { | |
28506 | return (void *)((wxEvent *) ((wxIconizeEvent *) x)); | |
28507 | } | |
28508 | static void *_p_wxActivateEventTo_p_wxEvent(void *x) { | |
28509 | return (void *)((wxEvent *) ((wxActivateEvent *) x)); | |
28510 | } | |
28511 | static void *_p_wxSizeEventTo_p_wxEvent(void *x) { | |
28512 | return (void *)((wxEvent *) ((wxSizeEvent *) x)); | |
28513 | } | |
28514 | static void *_p_wxMoveEventTo_p_wxEvent(void *x) { | |
28515 | return (void *)((wxEvent *) ((wxMoveEvent *) x)); | |
28516 | } | |
53aa7709 RD |
28517 | static void *_p_wxDateEventTo_p_wxEvent(void *x) { |
28518 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x)); | |
28519 | } | |
d55e5bfc RD |
28520 | static void *_p_wxPaintEventTo_p_wxEvent(void *x) { |
28521 | return (void *)((wxEvent *) ((wxPaintEvent *) x)); | |
28522 | } | |
28523 | static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) { | |
28524 | return (void *)((wxEvent *) ((wxNcPaintEvent *) x)); | |
28525 | } | |
28526 | static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) { | |
28527 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
28528 | } | |
28529 | static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) { | |
28530 | return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x)); | |
28531 | } | |
28532 | static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) { | |
28533 | return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x)); | |
28534 | } | |
28535 | static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) { | |
28536 | return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
28537 | } | |
28538 | static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) { | |
28539 | return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x)); | |
28540 | } | |
28541 | static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) { | |
28542 | return (void *)((wxEvent *) ((wxDropFilesEvent *) x)); | |
28543 | } | |
28544 | static void *_p_wxFocusEventTo_p_wxEvent(void *x) { | |
28545 | return (void *)((wxEvent *) ((wxFocusEvent *) x)); | |
28546 | } | |
28547 | static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) { | |
28548 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
28549 | } | |
28550 | static void *_p_wxSashEventTo_p_wxEvent(void *x) { | |
28551 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x)); | |
28552 | } | |
28553 | static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) { | |
28554 | return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
28555 | } | |
28556 | static void *_p_wxShowEventTo_p_wxEvent(void *x) { | |
28557 | return (void *)((wxEvent *) ((wxShowEvent *) x)); | |
28558 | } | |
28559 | static void *_p_wxCommandEventTo_p_wxEvent(void *x) { | |
28560 | return (void *)((wxEvent *) ((wxCommandEvent *) x)); | |
28561 | } | |
28562 | static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) { | |
28563 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
28564 | } | |
28565 | static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) { | |
28566 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
28567 | } | |
28568 | static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) { | |
28569 | return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x)); | |
28570 | } | |
28571 | static void *_p_wxKeyEventTo_p_wxEvent(void *x) { | |
28572 | return (void *)((wxEvent *) ((wxKeyEvent *) x)); | |
28573 | } | |
28574 | static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { | |
28575 | return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); | |
28576 | } | |
28577 | static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) { | |
28578 | return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x)); | |
28579 | } | |
28580 | static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) { | |
28581 | return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
28582 | } | |
070c48b4 RD |
28583 | static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) { |
28584 | return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
28585 | } | |
d55e5bfc RD |
28586 | static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { |
28587 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
28588 | } | |
28589 | static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) { | |
28590 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
28591 | } | |
28592 | static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) { | |
28593 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
28594 | } | |
28595 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
28596 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
28597 | } | |
28598 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
28599 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
28600 | } | |
28601 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
28602 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
28603 | } | |
28604 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
28605 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
28606 | } | |
070c48b4 RD |
28607 | static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) { |
28608 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
28609 | } | |
d55e5bfc RD |
28610 | static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { |
28611 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
28612 | } | |
28613 | static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { | |
28614 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
28615 | } | |
28616 | static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { | |
28617 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
28618 | } | |
28619 | static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { | |
28620 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
28621 | } | |
28622 | static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) { | |
28623 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
28624 | } | |
28625 | static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) { | |
28626 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
28627 | } | |
28628 | static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) { | |
28629 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
28630 | } | |
28631 | static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { | |
28632 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x)); | |
28633 | } | |
28634 | static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { | |
28635 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); | |
28636 | } | |
28637 | static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { | |
28638 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
28639 | } | |
28640 | static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) { | |
28641 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x)); | |
28642 | } | |
28643 | static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) { | |
28644 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
28645 | } | |
28646 | static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) { | |
28647 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x)); | |
28648 | } | |
28649 | static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) { | |
28650 | return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
28651 | } | |
28652 | static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) { | |
28653 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x)); | |
28654 | } | |
28655 | static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) { | |
28656 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x)); | |
28657 | } | |
28658 | static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) { | |
28659 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x)); | |
28660 | } | |
28661 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
28662 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
28663 | } | |
28664 | static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) { | |
28665 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
28666 | } | |
28667 | static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) { | |
28668 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x)); | |
28669 | } | |
28670 | static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) { | |
28671 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x)); | |
28672 | } | |
28673 | static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) { | |
28674 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
28675 | } | |
28676 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { | |
28677 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
28678 | } | |
28679 | static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) { | |
28680 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
28681 | } | |
28682 | static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) { | |
28683 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
28684 | } | |
28685 | static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) { | |
28686 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
28687 | } | |
28688 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
28689 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
28690 | } | |
28691 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { | |
28692 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
28693 | } | |
28694 | static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) { | |
28695 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x)); | |
28696 | } | |
28697 | static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) { | |
28698 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
28699 | } | |
28700 | static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) { | |
28701 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
28702 | } | |
28703 | static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) { | |
28704 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
28705 | } | |
28706 | static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
28707 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
28708 | } | |
28709 | static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
28710 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
28711 | } | |
5e483524 RD |
28712 | static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) { |
28713 | return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
d55e5bfc RD |
28714 | } |
28715 | static void *_p_wxFrameTo_p_wxEvtHandler(void *x) { | |
28716 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
28717 | } | |
d55e5bfc RD |
28718 | static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) { |
28719 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
28720 | } | |
28721 | static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) { | |
28722 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
28723 | } | |
28724 | static void *_p_wxDialogTo_p_wxEvtHandler(void *x) { | |
28725 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
28726 | } | |
070c48b4 RD |
28727 | static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) { |
28728 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
28729 | } | |
d55e5bfc RD |
28730 | static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) { |
28731 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
28732 | } | |
28733 | static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) { | |
28734 | return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
28735 | } | |
28736 | static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) { | |
28737 | return (void *)((wxFrame *) ((wxMDIChildFrame *) x)); | |
28738 | } | |
28739 | static void *_p_wxProgressDialogTo_p_wxFrame(void *x) { | |
28740 | return (void *)((wxFrame *) ((wxProgressDialog *) x)); | |
28741 | } | |
28742 | static void *_p_wxTipWindowTo_p_wxFrame(void *x) { | |
28743 | return (void *)((wxFrame *) ((wxTipWindow *) x)); | |
28744 | } | |
28745 | static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) { | |
28746 | return (void *)((wxFrame *) ((wxPreviewFrame *) x)); | |
28747 | } | |
28748 | static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) { | |
28749 | return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
28750 | } | |
28751 | static void *_p_wxMiniFrameTo_p_wxFrame(void *x) { | |
28752 | return (void *)((wxFrame *) ((wxMiniFrame *) x)); | |
28753 | } | |
28754 | static void *_p_wxSplashScreenTo_p_wxFrame(void *x) { | |
28755 | return (void *)((wxFrame *) ((wxSplashScreen *) x)); | |
28756 | } | |
28757 | static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) { | |
28758 | return (void *)((wxFrame *) ((wxMDIParentFrame *) x)); | |
28759 | } | |
28760 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { | |
28761 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
28762 | } | |
28763 | static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) { | |
28764 | return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
28765 | } | |
28766 | static void *_p_wxPreviewFrameTo_p_wxObject(void *x) { | |
28767 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
28768 | } | |
28769 | static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) { | |
28770 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
28771 | } | |
28772 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { | |
28773 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
28774 | } | |
28775 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { | |
28776 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
28777 | } | |
28778 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { | |
28779 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
28780 | } | |
28781 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { | |
28782 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
28783 | } | |
28784 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { | |
28785 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
28786 | } | |
28787 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { | |
28788 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
28789 | } | |
28790 | static void *_p_wxSizerTo_p_wxObject(void *x) { | |
28791 | return (void *)((wxObject *) ((wxSizer *) x)); | |
28792 | } | |
28793 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { | |
28794 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
28795 | } | |
28796 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { | |
28797 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
28798 | } | |
28799 | static void *_p_wxPyPanelTo_p_wxObject(void *x) { | |
28800 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
28801 | } | |
28802 | static void *_p_wxEventTo_p_wxObject(void *x) { | |
28803 | return (void *)((wxObject *) ((wxEvent *) x)); | |
28804 | } | |
28805 | static void *_p_wxFontDataTo_p_wxObject(void *x) { | |
28806 | return (void *)((wxObject *) ((wxFontData *) x)); | |
28807 | } | |
28808 | static void *_p_wxPrintDataTo_p_wxObject(void *x) { | |
28809 | return (void *)((wxObject *) ((wxPrintData *) x)); | |
28810 | } | |
28811 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { | |
28812 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
28813 | } | |
28814 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { | |
28815 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
28816 | } | |
28817 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { | |
28818 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
28819 | } | |
28820 | static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) { | |
28821 | return (void *)((wxObject *) ((wxLayoutAlgorithm *) x)); | |
28822 | } | |
5e483524 RD |
28823 | static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) { |
28824 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
d55e5bfc RD |
28825 | } |
28826 | static void *_p_wxFindDialogEventTo_p_wxObject(void *x) { | |
28827 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
28828 | } | |
28829 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { | |
28830 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
28831 | } | |
28832 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
28833 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
28834 | } | |
28835 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { | |
28836 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
28837 | } | |
28838 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { | |
28839 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
28840 | } | |
28841 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { | |
28842 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
28843 | } | |
28844 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { | |
28845 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
28846 | } | |
28847 | static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) { | |
28848 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
28849 | } | |
28850 | static void *_p_wxControlTo_p_wxObject(void *x) { | |
28851 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
28852 | } | |
28853 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { | |
28854 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
28855 | } | |
28856 | static void *_p_wxSplitterEventTo_p_wxObject(void *x) { | |
28857 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
28858 | } | |
28859 | static void *_p_wxFSFileTo_p_wxObject(void *x) { | |
28860 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
28861 | } | |
28862 | static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) { | |
28863 | return (void *)((wxObject *) ((wxFindReplaceData *) x)); | |
28864 | } | |
28865 | static void *_p_wxPySizerTo_p_wxObject(void *x) { | |
28866 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
28867 | } | |
28868 | static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) { | |
28869 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
28870 | } | |
28871 | static void *_p_wxColourDataTo_p_wxObject(void *x) { | |
28872 | return (void *)((wxObject *) ((wxColourData *) x)); | |
28873 | } | |
28874 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
28875 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
28876 | } | |
28877 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { | |
28878 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
28879 | } | |
28880 | static void *_p_wxPyWindowTo_p_wxObject(void *x) { | |
28881 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x)); | |
28882 | } | |
28883 | static void *_p_wxSplashScreenTo_p_wxObject(void *x) { | |
28884 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
28885 | } | |
28886 | static void *_p_wxFileDialogTo_p_wxObject(void *x) { | |
28887 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
28888 | } | |
28889 | static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) { | |
28890 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
28891 | } | |
28892 | static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) { | |
28893 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
28894 | } | |
28895 | static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) { | |
28896 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
28897 | } | |
070c48b4 RD |
28898 | static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) { |
28899 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
28900 | } | |
d55e5bfc RD |
28901 | static void *_p_wxMessageDialogTo_p_wxObject(void *x) { |
28902 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
28903 | } | |
28904 | static void *_p_wxProgressDialogTo_p_wxObject(void *x) { | |
28905 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
28906 | } | |
28907 | static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) { | |
28908 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
28909 | } | |
28910 | static void *_p_wxShowEventTo_p_wxObject(void *x) { | |
28911 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
28912 | } | |
28913 | static void *_p_wxPrinterTo_p_wxObject(void *x) { | |
28914 | return (void *)((wxObject *) ((wxPrinter *) x)); | |
28915 | } | |
28916 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { | |
28917 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
28918 | } | |
53aa7709 RD |
28919 | static void *_p_wxDateEventTo_p_wxObject(void *x) { |
28920 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x)); | |
28921 | } | |
d55e5bfc RD |
28922 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { |
28923 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
28924 | } | |
28925 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { | |
28926 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
28927 | } | |
28928 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { | |
28929 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
28930 | } | |
28931 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { | |
28932 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
28933 | } | |
28934 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { | |
28935 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
28936 | } | |
28937 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { | |
28938 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
28939 | } | |
28940 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { | |
28941 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
28942 | } | |
28943 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { | |
28944 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
28945 | } | |
28946 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { | |
28947 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
28948 | } | |
28949 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { | |
28950 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
28951 | } | |
28952 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { | |
28953 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
28954 | } | |
28955 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { | |
28956 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
28957 | } | |
28958 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { | |
28959 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
28960 | } | |
28961 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { | |
28962 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
28963 | } | |
28964 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
28965 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
28966 | } | |
28967 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { | |
28968 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
28969 | } | |
28970 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { | |
28971 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
28972 | } | |
28973 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { | |
28974 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
28975 | } | |
28976 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { | |
28977 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
28978 | } | |
28979 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { | |
28980 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
28981 | } | |
28982 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { | |
28983 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
28984 | } | |
28985 | static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) { | |
28986 | return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
28987 | } | |
28988 | static void *_p_wxPyVListBoxTo_p_wxObject(void *x) { | |
28989 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
28990 | } | |
28991 | static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) { | |
28992 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
28993 | } | |
62d32a5f RD |
28994 | static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) { |
28995 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x)); | |
28996 | } | |
d55e5bfc RD |
28997 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { |
28998 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
28999 | } | |
29000 | static void *_p_wxMiniFrameTo_p_wxObject(void *x) { | |
29001 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
29002 | } | |
29003 | static void *_p_wxImageTo_p_wxObject(void *x) { | |
29004 | return (void *)((wxObject *) ((wxImage *) x)); | |
29005 | } | |
29006 | static void *_p_wxFrameTo_p_wxObject(void *x) { | |
29007 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
29008 | } | |
29009 | static void *_p_wxPyPrintoutTo_p_wxObject(void *x) { | |
29010 | return (void *)((wxObject *) ((wxPyPrintout *) x)); | |
29011 | } | |
29012 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { | |
29013 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
29014 | } | |
29015 | static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) { | |
29016 | return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x)); | |
29017 | } | |
29018 | static void *_p_wxStatusBarTo_p_wxObject(void *x) { | |
29019 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x)); | |
29020 | } | |
29021 | static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) { | |
29022 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
29023 | } | |
29024 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { | |
29025 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
29026 | } | |
29027 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { | |
29028 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
29029 | } | |
29030 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { | |
29031 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
29032 | } | |
29033 | static void *_p_wxWindowTo_p_wxObject(void *x) { | |
29034 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
29035 | } | |
29036 | static void *_p_wxMenuTo_p_wxObject(void *x) { | |
29037 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
29038 | } | |
29039 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { | |
29040 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
29041 | } | |
29042 | static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { | |
29043 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
29044 | } | |
29045 | static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { | |
29046 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); | |
29047 | } | |
29048 | static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { | |
29049 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x)); | |
29050 | } | |
29051 | static void *_p_wxSplitterWindowTo_p_wxObject(void *x) { | |
29052 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x)); | |
29053 | } | |
29054 | static void *_p_wxSashWindowTo_p_wxObject(void *x) { | |
29055 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x)); | |
29056 | } | |
29057 | static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) { | |
29058 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
29059 | } | |
29060 | static void *_p_wxPopupWindowTo_p_wxObject(void *x) { | |
29061 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x)); | |
29062 | } | |
29063 | static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) { | |
29064 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
29065 | } | |
29066 | static void *_p_wxTipWindowTo_p_wxObject(void *x) { | |
29067 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x)); | |
29068 | } | |
29069 | static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { | |
29070 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
29071 | } | |
29072 | static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { | |
29073 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); | |
29074 | } | |
29075 | static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) { | |
29076 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
29077 | } | |
29078 | static void *_p_wxSashEventTo_p_wxObject(void *x) { | |
29079 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x)); | |
29080 | } | |
29081 | static void *_p_wxPrintPreviewTo_p_wxObject(void *x) { | |
29082 | return (void *)((wxObject *) ((wxPrintPreview *) x)); | |
29083 | } | |
29084 | static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) { | |
29085 | return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
29086 | } | |
29087 | static void *_p_wxPanelTo_p_wxObject(void *x) { | |
29088 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x)); | |
29089 | } | |
29090 | static void *_p_wxDialogTo_p_wxObject(void *x) { | |
29091 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
29092 | } | |
29093 | static void *_p_wxColourDialogTo_p_wxObject(void *x) { | |
29094 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
29095 | } | |
29096 | static void *_p_wxDirDialogTo_p_wxObject(void *x) { | |
29097 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
29098 | } | |
29099 | static void *_p_wxFontDialogTo_p_wxObject(void *x) { | |
29100 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
29101 | } | |
29102 | static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) { | |
6e0de3df | 29103 | return (void *)((wxObject *) ((wxPageSetupDialog *) x)); |
d55e5bfc RD |
29104 | } |
29105 | static void *_p_wxPrintDialogTo_p_wxObject(void *x) { | |
070c48b4 | 29106 | return (void *)((wxObject *) ((wxPrintDialog *) x)); |
d55e5bfc RD |
29107 | } |
29108 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { | |
29109 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
29110 | } | |
29111 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { | |
29112 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
29113 | } | |
29114 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { | |
29115 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
29116 | } | |
29117 | static void *_p_wxPyAppTo_p_wxObject(void *x) { | |
29118 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
29119 | } | |
29120 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { | |
29121 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
29122 | } | |
29123 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { | |
29124 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
29125 | } | |
29126 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { | |
29127 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
29128 | } | |
29129 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { | |
29130 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
29131 | } | |
29132 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { | |
29133 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
29134 | } | |
29135 | static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) { | |
29136 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
29137 | } | |
29138 | static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) { | |
29139 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
29140 | } | |
29141 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
29142 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
29143 | } | |
29144 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
29145 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
29146 | } | |
29147 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { | |
29148 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
29149 | } | |
29150 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { | |
29151 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
29152 | } | |
29153 | static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) { | |
29154 | return (void *)((wxObject *) ((wxPageSetupDialogData *) x)); | |
29155 | } | |
29156 | static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) { | |
29157 | return (void *)((wxObject *) ((wxPrintDialogData *) x)); | |
29158 | } | |
29159 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { | |
29160 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
29161 | } | |
29162 | static void *_p_wxValidatorTo_p_wxObject(void *x) { | |
29163 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
29164 | } | |
29165 | static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) { | |
29166 | return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
29167 | } | |
29168 | static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) { | |
29169 | return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
29170 | } | |
29171 | static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) { | |
29172 | return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
29173 | } | |
29174 | static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) { | |
29175 | return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
29176 | } | |
29177 | static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) { | |
29178 | return (void *)((wxTopLevelWindow *) ((wxFrame *) x)); | |
29179 | } | |
29180 | static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) { | |
29181 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x)); | |
29182 | } | |
29183 | static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) { | |
29184 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x)); | |
29185 | } | |
29186 | static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) { | |
29187 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x)); | |
29188 | } | |
29189 | static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) { | |
29190 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x)); | |
29191 | } | |
29192 | static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) { | |
29193 | return (void *)((wxTopLevelWindow *) ((wxDialog *) x)); | |
29194 | } | |
d55e5bfc RD |
29195 | static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) { |
29196 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x)); | |
29197 | } | |
29198 | static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) { | |
29199 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x)); | |
29200 | } | |
29201 | static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) { | |
29202 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x)); | |
29203 | } | |
29204 | static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) { | |
29205 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x)); | |
29206 | } | |
d55e5bfc RD |
29207 | static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) { |
29208 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x)); | |
29209 | } | |
070c48b4 RD |
29210 | static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) { |
29211 | return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
29212 | } | |
d55e5bfc RD |
29213 | static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) { |
29214 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x)); | |
29215 | } | |
29216 | static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
29217 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x)); | |
29218 | } | |
29219 | static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
29220 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x)); | |
29221 | } | |
29222 | static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) { | |
29223 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x)); | |
29224 | } | |
070c48b4 RD |
29225 | static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) { |
29226 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x)); | |
29227 | } | |
d55e5bfc RD |
29228 | static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) { |
29229 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x)); | |
29230 | } | |
29231 | static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
29232 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x)); | |
29233 | } | |
29234 | static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
29235 | return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
29236 | } | |
29237 | static void *_p_wxSplashScreenTo_p_wxWindow(void *x) { | |
29238 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
29239 | } | |
29240 | static void *_p_wxMiniFrameTo_p_wxWindow(void *x) { | |
29241 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
29242 | } | |
29243 | static void *_p_wxPyPanelTo_p_wxWindow(void *x) { | |
29244 | return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x)); | |
29245 | } | |
29246 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { | |
29247 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
29248 | } | |
29249 | static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { | |
29250 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
29251 | } | |
29252 | static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { | |
29253 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
29254 | } | |
29255 | static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { | |
29256 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
29257 | } | |
070c48b4 RD |
29258 | static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) { |
29259 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
29260 | } | |
d55e5bfc RD |
29261 | static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) { |
29262 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
29263 | } | |
29264 | static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) { | |
29265 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
29266 | } | |
29267 | static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { | |
29268 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
29269 | } | |
29270 | static void *_p_wxFileDialogTo_p_wxWindow(void *x) { | |
29271 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
29272 | } | |
29273 | static void *_p_wxPanelTo_p_wxWindow(void *x) { | |
29274 | return (void *)((wxWindow *) ((wxPanel *) x)); | |
29275 | } | |
29276 | static void *_p_wxStatusBarTo_p_wxWindow(void *x) { | |
29277 | return (void *)((wxWindow *) ((wxStatusBar *) x)); | |
29278 | } | |
d55e5bfc RD |
29279 | static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { |
29280 | return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); | |
29281 | } | |
29282 | static void *_p_wxTipWindowTo_p_wxWindow(void *x) { | |
29283 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x)); | |
29284 | } | |
29285 | static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) { | |
29286 | return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
29287 | } | |
29288 | static void *_p_wxPopupWindowTo_p_wxWindow(void *x) { | |
29289 | return (void *)((wxWindow *) ((wxPopupWindow *) x)); | |
29290 | } | |
29291 | static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) { | |
29292 | return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
29293 | } | |
29294 | static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) { | |
29295 | return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x)); | |
29296 | } | |
29297 | static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) { | |
29298 | return (void *)((wxWindow *) ((wxTopLevelWindow *) x)); | |
29299 | } | |
29300 | static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) { | |
29301 | return (void *)((wxWindow *) ((wxSplashScreenWindow *) x)); | |
29302 | } | |
29303 | static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) { | |
29304 | return (void *)((wxWindow *) ((wxSplitterWindow *) x)); | |
29305 | } | |
29306 | static void *_p_wxSashWindowTo_p_wxWindow(void *x) { | |
29307 | return (void *)((wxWindow *) ((wxSashWindow *) x)); | |
29308 | } | |
070c48b4 RD |
29309 | static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) { |
29310 | return (void *)((wxWindow *) ((wxMDIClientWindow *) x)); | |
29311 | } | |
d55e5bfc RD |
29312 | static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) { |
29313 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
29314 | } | |
29315 | static void *_p_wxControlTo_p_wxWindow(void *x) { | |
29316 | return (void *)((wxWindow *) ((wxControl *) x)); | |
29317 | } | |
29318 | static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) { | |
29319 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
29320 | } | |
29321 | static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) { | |
29322 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
29323 | } | |
29324 | static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) { | |
29325 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
29326 | } | |
29327 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { | |
29328 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
29329 | } | |
29330 | static void *_p_wxPyWindowTo_p_wxWindow(void *x) { | |
29331 | return (void *)((wxWindow *) ((wxPyWindow *) x)); | |
29332 | } | |
29333 | static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) { | |
29334 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
29335 | } | |
29336 | static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) { | |
29337 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
29338 | } | |
29339 | static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) { | |
29340 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
29341 | } | |
29342 | static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) { | |
29343 | return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x)); | |
29344 | } | |
29345 | static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) { | |
29346 | return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
29347 | } | |
29348 | static void *_p_wxFrameTo_p_wxWindow(void *x) { | |
29349 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x)); | |
29350 | } | |
29351 | static void *_p_wxFontDialogTo_p_wxWindow(void *x) { | |
29352 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
29353 | } | |
29354 | static void *_p_wxDirDialogTo_p_wxWindow(void *x) { | |
29355 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
29356 | } | |
29357 | static void *_p_wxColourDialogTo_p_wxWindow(void *x) { | |
29358 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
29359 | } | |
29360 | static void *_p_wxDialogTo_p_wxWindow(void *x) { | |
29361 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x)); | |
29362 | } | |
d55e5bfc RD |
29363 | static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { |
29364 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
29365 | } | |
29366 | static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) { | |
29367 | return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
29368 | } | |
29369 | static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) { | |
29370 | return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
29371 | } | |
29372 | static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) { | |
29373 | return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
29374 | } | |
29375 | static void *_p_wxColourDialogTo_p_wxDialog(void *x) { | |
29376 | return (void *)((wxDialog *) ((wxColourDialog *) x)); | |
29377 | } | |
29378 | static void *_p_wxDirDialogTo_p_wxDialog(void *x) { | |
29379 | return (void *)((wxDialog *) ((wxDirDialog *) x)); | |
29380 | } | |
29381 | static void *_p_wxFontDialogTo_p_wxDialog(void *x) { | |
29382 | return (void *)((wxDialog *) ((wxFontDialog *) x)); | |
29383 | } | |
d55e5bfc RD |
29384 | static void *_p_wxFileDialogTo_p_wxDialog(void *x) { |
29385 | return (void *)((wxDialog *) ((wxFileDialog *) x)); | |
29386 | } | |
29387 | static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) { | |
29388 | return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x)); | |
29389 | } | |
29390 | static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) { | |
29391 | return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x)); | |
29392 | } | |
29393 | static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) { | |
29394 | return (void *)((wxDialog *) ((wxTextEntryDialog *) x)); | |
29395 | } | |
070c48b4 RD |
29396 | static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) { |
29397 | return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
29398 | } | |
d55e5bfc RD |
29399 | static void *_p_wxMessageDialogTo_p_wxDialog(void *x) { |
29400 | return (void *)((wxDialog *) ((wxMessageDialog *) x)); | |
29401 | } | |
29402 | static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) { | |
29403 | return (void *)((wxDialog *) ((wxFindReplaceDialog *) x)); | |
29404 | } | |
29405 | static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) { | |
29406 | return (void *)((wxPanel *) ((wxScrolledWindow *) x)); | |
29407 | } | |
29408 | static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) { | |
29409 | return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x)); | |
29410 | } | |
29411 | static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) { | |
29412 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
29413 | } | |
29414 | static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) { | |
29415 | return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
29416 | } | |
29417 | static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) { | |
29418 | return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
29419 | } | |
29420 | static void *_p_wxPyPanelTo_p_wxPanel(void *x) { | |
29421 | return (void *)((wxPanel *) ((wxPyPanel *) x)); | |
29422 | } | |
29423 | static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) { | |
29424 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
29425 | } | |
29426 | static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) { | |
29427 | return (void *)((wxPanel *) ((wxPreviewControlBar *) x)); | |
29428 | } | |
29429 | static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) { | |
29430 | return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
29431 | } | |
29432 | static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { | |
29433 | return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
29434 | } | |
29435 | static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) { | |
29436 | return (void *)((wxCommandEvent *) ((wxScrollEvent *) x)); | |
29437 | } | |
29438 | static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { | |
29439 | return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
29440 | } | |
53aa7709 RD |
29441 | static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) { |
29442 | return (void *)((wxCommandEvent *) ((wxDateEvent *) x)); | |
29443 | } | |
d55e5bfc RD |
29444 | static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { |
29445 | return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
29446 | } | |
29447 | static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) { | |
29448 | return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
29449 | } | |
29450 | static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) { | |
29451 | return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
29452 | } | |
29453 | static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) { | |
29454 | return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
29455 | } | |
29456 | static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) { | |
29457 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
29458 | } | |
29459 | static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) { | |
29460 | return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x)); | |
29461 | } | |
29462 | static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { | |
29463 | return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
29464 | } | |
29465 | static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) { | |
29466 | return (void *)((wxCommandEvent *) ((wxSashEvent *) x)); | |
29467 | } | |
29468 | static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) { | |
29469 | return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
29470 | } | |
29471 | 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}}; | |
29472 | 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}}; | |
29473 | 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}}; | |
29474 | 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}}; | |
29475 | 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 | 29476 | 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 | 29477 | 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 | 29478 | 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 | 29479 | 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 | 29480 | 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 |
29481 | 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}}; |
29482 | 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}}; | |
29483 | 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}}; | |
29484 | 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}}; | |
29485 | 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}}; | |
29486 | 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}}; | |
29487 | 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 |
29488 | 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}}; |
29489 | 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 |
29490 | 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}}; |
29491 | 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}}; | |
29492 | 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}}; | |
29493 | 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}}; | |
29494 | 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 | 29495 | 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 |
29496 | 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}}; |
29497 | 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}}; | |
29498 | 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}}; | |
29499 | 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 | 29500 | 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 | 29501 | 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 | 29502 | 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 |
29503 | 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}}; |
29504 | 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}}; | |
29505 | 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 | 29506 | 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 |
29507 | 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}}; |
29508 | 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}}; | |
29509 | 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 |
29510 | 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}}; |
29511 | 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 | 29512 | 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 | 29513 | 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 |
29514 | 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}}; |
29515 | 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}}; | |
29516 | 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}}; | |
29517 | 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 | 29518 | 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 |
29519 | 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}}; |
29520 | 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}}; | |
29521 | 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}}; | |
29522 | 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}}; | |
29523 | 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}}; | |
29524 | 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 | 29525 | 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 |
29526 | 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}}; |
29527 | 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}}; | |
29528 | 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 | 29529 | 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 | 29530 | 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 |
29531 | 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}}; |
29532 | 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}}; | |
29533 | 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}}; | |
29534 | 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 | 29535 | 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 |
29536 | 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}}; |
29537 | 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}}; | |
29538 | 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 |
29539 | 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}}; |
29540 | 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 | 29541 | 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 | 29542 | 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 | 29543 | 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 | 29544 | 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 |
29545 | 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}}; |
29546 | 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}}; | |
29547 | 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}}; | |
29548 | 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 |
29549 | 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}}; |
29550 | 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 | 29551 | 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 | 29552 | 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 | 29553 | 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 |
29554 | 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}}; |
29555 | 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 | 29556 | 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 | 29557 | 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 |
29558 | 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}}; |
29559 | 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}}; | |
29560 | 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 | 29561 | 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 |
29562 | 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}}; |
29563 | 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}}; | |
29564 | 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}}; | |
29565 | 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}}; | |
29566 | 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}}; | |
29567 | 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}}; | |
29568 | ||
29569 | static swig_type_info *swig_types_initial[] = { | |
29570 | _swigt__p_wxQueryLayoutInfoEvent, | |
29571 | _swigt__p_wxPreviewFrame, | |
29572 | _swigt__p_wxPyPreviewFrame, | |
29573 | _swigt__p_wxPyPanel, | |
29574 | _swigt__p_wxMenu, | |
d55e5bfc RD |
29575 | _swigt__p_wxFontData, |
29576 | _swigt__p_wxEvent, | |
f5b96ee1 | 29577 | _swigt__p_wxPrintData, |
d55e5bfc | 29578 | _swigt__p_wxTaskBarIcon, |
5e483524 | 29579 | _swigt__p_wxPyTaskBarIcon, |
d55e5bfc RD |
29580 | _swigt__p_wxIconBundle, |
29581 | _swigt__p_wxLayoutAlgorithm, | |
29582 | _swigt__p_wxFindDialogEvent, | |
29583 | _swigt__p_wxPreviewCanvas, | |
29584 | _swigt__p_wxFont, | |
29585 | _swigt__p_wxSplitterEvent, | |
29586 | _swigt__p_wxRegion, | |
36ed4f51 RD |
29587 | _swigt__ptrdiff_t, |
29588 | _swigt__std__ptrdiff_t, | |
d55e5bfc RD |
29589 | _swigt__p_wxFindReplaceData, |
29590 | _swigt__p_int, | |
29591 | _swigt__p_wxSize, | |
29592 | _swigt__p_wxDC, | |
29593 | _swigt__p_wxIcon, | |
f20a2e1f | 29594 | _swigt__p_wxVisualAttributes, |
d55e5bfc RD |
29595 | _swigt__p_wxMDIChildFrame, |
29596 | _swigt__p_wxColourData, | |
29597 | _swigt__p_wxNotifyEvent, | |
29598 | _swigt__p_wxPyWindow, | |
36ed4f51 | 29599 | _swigt__p_form_ops_t, |
d55e5bfc | 29600 | _swigt__p_wxSplashScreen, |
070c48b4 | 29601 | _swigt__p_wxPasswordEntryDialog, |
d55e5bfc RD |
29602 | _swigt__p_wxSingleChoiceDialog, |
29603 | _swigt__p_wxMultiChoiceDialog, | |
29604 | _swigt__p_wxFileDialog, | |
070c48b4 | 29605 | _swigt__p_wxTextEntryDialog, |
36ed4f51 RD |
29606 | _swigt__p_wxMessageDialog, |
29607 | _swigt__p_wxProgressDialog, | |
29608 | _swigt__p_wxFindReplaceDialog, | |
d55e5bfc RD |
29609 | _swigt__p_wxPrinter, |
29610 | _swigt__p_wxArrayInt, | |
36ed4f51 | 29611 | _swigt__p_wxDuplexMode, |
d55e5bfc RD |
29612 | _swigt__p_wxEvtHandler, |
29613 | _swigt__p_wxCalculateLayoutEvent, | |
29614 | _swigt__p_wxPyHtmlListBox, | |
29615 | _swigt__p_wxPyVListBox, | |
29616 | _swigt__p_wxRect, | |
62d32a5f | 29617 | _swigt__p_wxStdDialogButtonSizer, |
d55e5bfc RD |
29618 | _swigt__p_char, |
29619 | _swigt__p_wxMiniFrame, | |
29620 | _swigt__p_wxFrame, | |
29621 | _swigt__p_wxPyPrintout, | |
29622 | _swigt__p_wxTaskBarIconEvent, | |
29623 | _swigt__p_wxScrollWinEvent, | |
36ed4f51 | 29624 | _swigt__p_wxPaperSize, |
d55e5bfc RD |
29625 | _swigt__p_wxStatusBar, |
29626 | _swigt__p_wxMDIParentFrame, | |
29627 | _swigt__p_wxPoint, | |
29628 | _swigt__p_wxObject, | |
36ed4f51 | 29629 | _swigt__p_unsigned_long, |
d55e5bfc RD |
29630 | _swigt__p_wxTipWindow, |
29631 | _swigt__p_wxPyPopupTransientWindow, | |
29632 | _swigt__p_wxSashLayoutWindow, | |
29633 | _swigt__p_wxSplitterWindow, | |
f5b96ee1 | 29634 | _swigt__p_wxSplashScreenWindow, |
d55e5bfc RD |
29635 | _swigt__p_wxPyVScrolledWindow, |
29636 | _swigt__p_wxPopupWindow, | |
29637 | _swigt__p_wxSashWindow, | |
29638 | _swigt__p_wxTopLevelWindow, | |
29639 | _swigt__p_wxWindow, | |
29640 | _swigt__p_wxScrolledWindow, | |
d55e5bfc | 29641 | _swigt__p_wxMenuBar, |
36ed4f51 | 29642 | _swigt__p_wxMDIClientWindow, |
5e483524 | 29643 | _swigt__p_wxPyScrolledWindow, |
d55e5bfc RD |
29644 | _swigt__p_wxPrintPreview, |
29645 | _swigt__p_wxSashEvent, | |
29646 | _swigt__p_wxString, | |
29647 | _swigt__p_wxPyPrintPreview, | |
d55e5bfc RD |
29648 | _swigt__p_wxDirDialog, |
29649 | _swigt__p_wxColourDialog, | |
29650 | _swigt__p_wxDialog, | |
29651 | _swigt__p_wxPanel, | |
36ed4f51 | 29652 | _swigt__p_wxFontDialog, |
d55e5bfc RD |
29653 | _swigt__p_wxPageSetupDialog, |
29654 | _swigt__p_wxPrintDialog, | |
d6c14a4c | 29655 | _swigt__p_wxFileSystem, |
d55e5bfc | 29656 | _swigt__p_wxBitmap, |
36ed4f51 RD |
29657 | _swigt__unsigned_int, |
29658 | _swigt__p_unsigned_int, | |
29659 | _swigt__p_unsigned_char, | |
d55e5bfc RD |
29660 | _swigt__p_wxCommandEvent, |
29661 | _swigt__p_wxPreviewControlBar, | |
29662 | _swigt__p_wxPyPreviewControlBar, | |
29663 | _swigt__p_wxColour, | |
29664 | _swigt__p_wxToolBar, | |
29665 | _swigt__p_wxPageSetupDialogData, | |
29666 | _swigt__p_wxPrintDialogData, | |
29667 | 0 | |
29668 | }; | |
29669 | ||
29670 | ||
29671 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
29672 | ||
29673 | static swig_const_info swig_const_table[] = { | |
c370783e | 29674 | {0, 0, 0, 0.0, 0, 0}}; |
d55e5bfc RD |
29675 | |
29676 | #ifdef __cplusplus | |
29677 | } | |
29678 | #endif | |
29679 | ||
36ed4f51 RD |
29680 | |
29681 | #ifdef __cplusplus | |
29682 | extern "C" { | |
29683 | #endif | |
29684 | ||
29685 | /* Python-specific SWIG API */ | |
29686 | #define SWIG_newvarlink() SWIG_Python_newvarlink() | |
29687 | #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr) | |
29688 | #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants) | |
29689 | ||
29690 | /* ----------------------------------------------------------------------------- | |
29691 | * global variable support code. | |
29692 | * ----------------------------------------------------------------------------- */ | |
29693 | ||
29694 | typedef struct swig_globalvar { | |
29695 | char *name; /* Name of global variable */ | |
29696 | PyObject *(*get_attr)(); /* Return the current value */ | |
29697 | int (*set_attr)(PyObject *); /* Set the value */ | |
29698 | struct swig_globalvar *next; | |
29699 | } swig_globalvar; | |
29700 | ||
29701 | typedef struct swig_varlinkobject { | |
29702 | PyObject_HEAD | |
29703 | swig_globalvar *vars; | |
29704 | } swig_varlinkobject; | |
29705 | ||
29706 | static PyObject * | |
29707 | swig_varlink_repr(swig_varlinkobject *v) { | |
29708 | v = v; | |
29709 | return PyString_FromString("<Swig global variables>"); | |
29710 | } | |
29711 | ||
29712 | static int | |
29713 | swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) { | |
29714 | swig_globalvar *var; | |
29715 | flags = flags; | |
29716 | fprintf(fp,"Swig global variables { "); | |
29717 | for (var = v->vars; var; var=var->next) { | |
29718 | fprintf(fp,"%s", var->name); | |
29719 | if (var->next) fprintf(fp,", "); | |
29720 | } | |
29721 | fprintf(fp," }\n"); | |
29722 | return 0; | |
29723 | } | |
29724 | ||
29725 | static PyObject * | |
29726 | swig_varlink_getattr(swig_varlinkobject *v, char *n) { | |
29727 | swig_globalvar *var = v->vars; | |
29728 | while (var) { | |
29729 | if (strcmp(var->name,n) == 0) { | |
29730 | return (*var->get_attr)(); | |
29731 | } | |
29732 | var = var->next; | |
29733 | } | |
29734 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
29735 | return NULL; | |
29736 | } | |
29737 | ||
29738 | static int | |
29739 | swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) { | |
29740 | swig_globalvar *var = v->vars; | |
29741 | while (var) { | |
29742 | if (strcmp(var->name,n) == 0) { | |
29743 | return (*var->set_attr)(p); | |
29744 | } | |
29745 | var = var->next; | |
29746 | } | |
29747 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
29748 | return 1; | |
29749 | } | |
29750 | ||
29751 | static PyTypeObject varlinktype = { | |
29752 | PyObject_HEAD_INIT(0) | |
29753 | 0, /* Number of items in variable part (ob_size) */ | |
29754 | (char *)"swigvarlink", /* Type name (tp_name) */ | |
29755 | sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */ | |
29756 | 0, /* Itemsize (tp_itemsize) */ | |
29757 | 0, /* Deallocator (tp_dealloc) */ | |
29758 | (printfunc) swig_varlink_print, /* Print (tp_print) */ | |
29759 | (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */ | |
29760 | (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */ | |
29761 | 0, /* tp_compare */ | |
29762 | (reprfunc) swig_varlink_repr, /* tp_repr */ | |
29763 | 0, /* tp_as_number */ | |
29764 | 0, /* tp_as_sequence */ | |
29765 | 0, /* tp_as_mapping */ | |
29766 | 0, /* tp_hash */ | |
29767 | 0, /* tp_call */ | |
29768 | 0, /* tp_str */ | |
29769 | 0, /* tp_getattro */ | |
29770 | 0, /* tp_setattro */ | |
29771 | 0, /* tp_as_buffer */ | |
29772 | 0, /* tp_flags */ | |
29773 | 0, /* tp_doc */ | |
29774 | #if PY_VERSION_HEX >= 0x02000000 | |
29775 | 0, /* tp_traverse */ | |
29776 | 0, /* tp_clear */ | |
29777 | #endif | |
29778 | #if PY_VERSION_HEX >= 0x02010000 | |
29779 | 0, /* tp_richcompare */ | |
29780 | 0, /* tp_weaklistoffset */ | |
29781 | #endif | |
29782 | #if PY_VERSION_HEX >= 0x02020000 | |
29783 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ | |
29784 | #endif | |
29785 | #if PY_VERSION_HEX >= 0x02030000 | |
29786 | 0, /* tp_del */ | |
29787 | #endif | |
29788 | #ifdef COUNT_ALLOCS | |
29789 | 0,0,0,0 /* tp_alloc -> tp_next */ | |
29790 | #endif | |
29791 | }; | |
29792 | ||
29793 | /* Create a variable linking object for use later */ | |
29794 | static PyObject * | |
29795 | SWIG_Python_newvarlink(void) { | |
29796 | swig_varlinkobject *result = 0; | |
29797 | result = PyMem_NEW(swig_varlinkobject,1); | |
29798 | varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */ | |
29799 | result->ob_type = &varlinktype; | |
29800 | result->vars = 0; | |
29801 | result->ob_refcnt = 0; | |
29802 | Py_XINCREF((PyObject *) result); | |
29803 | return ((PyObject*) result); | |
29804 | } | |
29805 | ||
29806 | static void | |
29807 | SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) { | |
29808 | swig_varlinkobject *v; | |
29809 | swig_globalvar *gv; | |
29810 | v= (swig_varlinkobject *) p; | |
29811 | gv = (swig_globalvar *) malloc(sizeof(swig_globalvar)); | |
29812 | gv->name = (char *) malloc(strlen(name)+1); | |
29813 | strcpy(gv->name,name); | |
29814 | gv->get_attr = get_attr; | |
29815 | gv->set_attr = set_attr; | |
29816 | gv->next = v->vars; | |
29817 | v->vars = gv; | |
29818 | } | |
29819 | ||
29820 | /* ----------------------------------------------------------------------------- | |
29821 | * constants/methods manipulation | |
29822 | * ----------------------------------------------------------------------------- */ | |
29823 | ||
29824 | /* Install Constants */ | |
29825 | static void | |
29826 | SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) { | |
29827 | PyObject *obj = 0; | |
29828 | size_t i; | |
29829 | for (i = 0; constants[i].type; i++) { | |
29830 | switch(constants[i].type) { | |
29831 | case SWIG_PY_INT: | |
29832 | obj = PyInt_FromLong(constants[i].lvalue); | |
29833 | break; | |
29834 | case SWIG_PY_FLOAT: | |
29835 | obj = PyFloat_FromDouble(constants[i].dvalue); | |
29836 | break; | |
29837 | case SWIG_PY_STRING: | |
29838 | if (constants[i].pvalue) { | |
29839 | obj = PyString_FromString((char *) constants[i].pvalue); | |
29840 | } else { | |
29841 | Py_INCREF(Py_None); | |
29842 | obj = Py_None; | |
29843 | } | |
29844 | break; | |
29845 | case SWIG_PY_POINTER: | |
29846 | obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0); | |
29847 | break; | |
29848 | case SWIG_PY_BINARY: | |
29849 | obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype)); | |
29850 | break; | |
29851 | default: | |
29852 | obj = 0; | |
29853 | break; | |
29854 | } | |
29855 | if (obj) { | |
29856 | PyDict_SetItemString(d,constants[i].name,obj); | |
29857 | Py_DECREF(obj); | |
29858 | } | |
29859 | } | |
29860 | } | |
29861 | ||
29862 | /* -----------------------------------------------------------------------------*/ | |
29863 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
29864 | /* -----------------------------------------------------------------------------*/ | |
29865 | ||
29866 | static void | |
29867 | SWIG_Python_FixMethods(PyMethodDef *methods, | |
29868 | swig_const_info *const_table, | |
29869 | swig_type_info **types, | |
29870 | swig_type_info **types_initial) { | |
29871 | size_t i; | |
29872 | for (i = 0; methods[i].ml_name; ++i) { | |
29873 | char *c = methods[i].ml_doc; | |
29874 | if (c && (c = strstr(c, "swig_ptr: "))) { | |
29875 | int j; | |
29876 | swig_const_info *ci = 0; | |
29877 | char *name = c + 10; | |
29878 | for (j = 0; const_table[j].type; j++) { | |
29879 | if (strncmp(const_table[j].name, name, | |
29880 | strlen(const_table[j].name)) == 0) { | |
29881 | ci = &(const_table[j]); | |
29882 | break; | |
29883 | } | |
29884 | } | |
29885 | if (ci) { | |
29886 | size_t shift = (ci->ptype) - types; | |
29887 | swig_type_info *ty = types_initial[shift]; | |
29888 | size_t ldoc = (c - methods[i].ml_doc); | |
29889 | size_t lptr = strlen(ty->name)+2*sizeof(void*)+2; | |
29890 | char *ndoc = (char*)malloc(ldoc + lptr + 10); | |
29891 | char *buff = ndoc; | |
29892 | void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue); | |
29893 | strncpy(buff, methods[i].ml_doc, ldoc); | |
29894 | buff += ldoc; | |
29895 | strncpy(buff, "swig_ptr: ", 10); | |
29896 | buff += 10; | |
29897 | SWIG_PackVoidPtr(buff, ptr, ty->name, lptr); | |
29898 | methods[i].ml_doc = ndoc; | |
29899 | } | |
29900 | } | |
29901 | } | |
29902 | } | |
29903 | ||
29904 | /* -----------------------------------------------------------------------------* | |
29905 | * Initialize type list | |
29906 | * -----------------------------------------------------------------------------*/ | |
29907 | ||
29908 | #if PY_MAJOR_VERSION < 2 | |
29909 | /* PyModule_AddObject function was introduced in Python 2.0. The following function | |
29910 | is copied out of Python/modsupport.c in python version 2.3.4 */ | |
29911 | static int | |
29912 | PyModule_AddObject(PyObject *m, char *name, PyObject *o) | |
29913 | { | |
29914 | PyObject *dict; | |
29915 | if (!PyModule_Check(m)) { | |
29916 | PyErr_SetString(PyExc_TypeError, | |
29917 | "PyModule_AddObject() needs module as first arg"); | |
29918 | return -1; | |
29919 | } | |
29920 | if (!o) { | |
29921 | PyErr_SetString(PyExc_TypeError, | |
29922 | "PyModule_AddObject() needs non-NULL value"); | |
29923 | return -1; | |
29924 | } | |
29925 | ||
29926 | dict = PyModule_GetDict(m); | |
29927 | if (dict == NULL) { | |
29928 | /* Internal error -- modules must have a dict! */ | |
29929 | PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__", | |
29930 | PyModule_GetName(m)); | |
29931 | return -1; | |
29932 | } | |
29933 | if (PyDict_SetItemString(dict, name, o)) | |
29934 | return -1; | |
29935 | Py_DECREF(o); | |
29936 | return 0; | |
29937 | } | |
29938 | #endif | |
29939 | ||
29940 | static swig_type_info ** | |
29941 | SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) { | |
29942 | static PyMethodDef swig_empty_runtime_method_table[] = { | |
29943 | { | |
29944 | NULL, NULL, 0, NULL | |
29945 | } | |
29946 | };/* Sentinel */ | |
29947 | ||
29948 | PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, | |
29949 | swig_empty_runtime_method_table); | |
29950 | PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL); | |
29951 | if (pointer && module) { | |
29952 | PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer); | |
29953 | } | |
29954 | return type_list_handle; | |
29955 | } | |
29956 | ||
29957 | static swig_type_info ** | |
29958 | SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) { | |
29959 | swig_type_info **type_pointer; | |
29960 | ||
29961 | /* first check if module already created */ | |
29962 | type_pointer = SWIG_Python_GetTypeListHandle(); | |
29963 | if (type_pointer) { | |
29964 | return type_pointer; | |
29965 | } else { | |
29966 | /* create a new module and variable */ | |
29967 | return SWIG_Python_SetTypeListHandle(type_list_handle); | |
29968 | } | |
29969 | } | |
29970 | ||
29971 | #ifdef __cplusplus | |
29972 | } | |
29973 | #endif | |
29974 | ||
29975 | /* -----------------------------------------------------------------------------* | |
29976 | * Partial Init method | |
29977 | * -----------------------------------------------------------------------------*/ | |
29978 | ||
29979 | #ifdef SWIG_LINK_RUNTIME | |
29980 | #ifdef __cplusplus | |
29981 | extern "C" | |
29982 | #endif | |
29983 | SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *); | |
29984 | #endif | |
29985 | ||
d55e5bfc RD |
29986 | #ifdef __cplusplus |
29987 | extern "C" | |
29988 | #endif | |
29989 | SWIGEXPORT(void) SWIG_init(void) { | |
29990 | static PyObject *SWIG_globals = 0; | |
29991 | static int typeinit = 0; | |
29992 | PyObject *m, *d; | |
29993 | int i; | |
29994 | if (!SWIG_globals) SWIG_globals = SWIG_newvarlink(); | |
36ed4f51 RD |
29995 | |
29996 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
29997 | SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial); | |
29998 | ||
d55e5bfc RD |
29999 | m = Py_InitModule((char *) SWIG_name, SwigMethods); |
30000 | d = PyModule_GetDict(m); | |
30001 | ||
30002 | if (!typeinit) { | |
36ed4f51 RD |
30003 | #ifdef SWIG_LINK_RUNTIME |
30004 | swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle); | |
30005 | #else | |
30006 | # ifndef SWIG_STATIC_RUNTIME | |
30007 | swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle); | |
30008 | # endif | |
30009 | #endif | |
d55e5bfc RD |
30010 | for (i = 0; swig_types_initial[i]; i++) { |
30011 | swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]); | |
30012 | } | |
30013 | typeinit = 1; | |
30014 | } | |
36ed4f51 RD |
30015 | SWIG_InstallConstants(d,swig_const_table); |
30016 | ||
30017 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals); | |
30018 | SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set); | |
30019 | SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set); | |
30020 | SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set); | |
30021 | SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set); | |
30022 | { | |
30023 | PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_From_int((int)(wxSTAY_ON_TOP))); | |
30024 | } | |
30025 | { | |
30026 | PyDict_SetItemString(d,"ICONIZE", SWIG_From_int((int)(wxICONIZE))); | |
30027 | } | |
30028 | { | |
30029 | PyDict_SetItemString(d,"MINIMIZE", SWIG_From_int((int)(wxMINIMIZE))); | |
30030 | } | |
30031 | { | |
30032 | PyDict_SetItemString(d,"MAXIMIZE", SWIG_From_int((int)(wxMAXIMIZE))); | |
30033 | } | |
30034 | { | |
30035 | PyDict_SetItemString(d,"CLOSE_BOX", SWIG_From_int((int)(wxCLOSE_BOX))); | |
30036 | } | |
30037 | { | |
30038 | PyDict_SetItemString(d,"THICK_FRAME", SWIG_From_int((int)(wxTHICK_FRAME))); | |
30039 | } | |
30040 | { | |
30041 | PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_From_int((int)(wxSYSTEM_MENU))); | |
30042 | } | |
30043 | { | |
30044 | PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_From_int((int)(wxMINIMIZE_BOX))); | |
30045 | } | |
30046 | { | |
30047 | PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_From_int((int)(wxMAXIMIZE_BOX))); | |
30048 | } | |
30049 | { | |
30050 | PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_From_int((int)(wxTINY_CAPTION_HORIZ))); | |
30051 | } | |
30052 | { | |
30053 | PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_From_int((int)(wxTINY_CAPTION_VERT))); | |
30054 | } | |
30055 | { | |
30056 | PyDict_SetItemString(d,"RESIZE_BOX", SWIG_From_int((int)(wxRESIZE_BOX))); | |
30057 | } | |
30058 | { | |
30059 | PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_From_int((int)(wxRESIZE_BORDER))); | |
30060 | } | |
30061 | { | |
30062 | PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_From_int((int)(wxDIALOG_NO_PARENT))); | |
30063 | } | |
30064 | { | |
30065 | PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)(wxDEFAULT_FRAME_STYLE))); | |
30066 | } | |
30067 | { | |
30068 | PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)(wxDEFAULT_DIALOG_STYLE))); | |
30069 | } | |
30070 | { | |
30071 | PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_From_int((int)(wxFRAME_TOOL_WINDOW))); | |
30072 | } | |
30073 | { | |
30074 | PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)(wxFRAME_FLOAT_ON_PARENT))); | |
30075 | } | |
30076 | { | |
30077 | PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)(wxFRAME_NO_WINDOW_MENU))); | |
30078 | } | |
30079 | { | |
30080 | PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_From_int((int)(wxFRAME_NO_TASKBAR))); | |
30081 | } | |
30082 | { | |
30083 | PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_From_int((int)(wxFRAME_SHAPED))); | |
30084 | } | |
30085 | { | |
30086 | PyDict_SetItemString(d,"FRAME_DRAWER", SWIG_From_int((int)(wxFRAME_DRAWER))); | |
30087 | } | |
f491ed97 RD |
30088 | { |
30089 | PyDict_SetItemString(d,"FRAME_EX_METAL", SWIG_From_int((int)(wxFRAME_EX_METAL))); | |
30090 | } | |
30091 | { | |
30092 | PyDict_SetItemString(d,"DIALOG_EX_METAL", SWIG_From_int((int)(wxDIALOG_EX_METAL))); | |
30093 | } | |
36ed4f51 RD |
30094 | { |
30095 | PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_From_int((int)(wxDIALOG_MODAL))); | |
30096 | } | |
30097 | { | |
30098 | PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_From_int((int)(wxDIALOG_MODELESS))); | |
30099 | } | |
30100 | { | |
30101 | PyDict_SetItemString(d,"USER_COLOURS", SWIG_From_int((int)(wxUSER_COLOURS))); | |
30102 | } | |
30103 | { | |
30104 | PyDict_SetItemString(d,"NO_3D", SWIG_From_int((int)(wxNO_3D))); | |
30105 | } | |
30106 | { | |
30107 | PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)(wxFULLSCREEN_NOMENUBAR))); | |
30108 | } | |
30109 | { | |
30110 | PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)(wxFULLSCREEN_NOTOOLBAR))); | |
30111 | } | |
30112 | { | |
30113 | PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)(wxFULLSCREEN_NOSTATUSBAR))); | |
30114 | } | |
30115 | { | |
30116 | PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_From_int((int)(wxFULLSCREEN_NOBORDER))); | |
30117 | } | |
30118 | { | |
30119 | PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)(wxFULLSCREEN_NOCAPTION))); | |
30120 | } | |
30121 | { | |
30122 | PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_From_int((int)(wxFULLSCREEN_ALL))); | |
30123 | } | |
30124 | { | |
30125 | PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)(wxTOPLEVEL_EX_DIALOG))); | |
30126 | } | |
30127 | { | |
30128 | PyDict_SetItemString(d,"USER_ATTENTION_INFO", SWIG_From_int((int)(wxUSER_ATTENTION_INFO))); | |
30129 | } | |
30130 | { | |
30131 | PyDict_SetItemString(d,"USER_ATTENTION_ERROR", SWIG_From_int((int)(wxUSER_ATTENTION_ERROR))); | |
30132 | } | |
30133 | { | |
30134 | PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_PARENT))); | |
30135 | } | |
30136 | { | |
30137 | PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_SCREEN))); | |
30138 | } | |
30139 | { | |
30140 | PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_From_int((int)(wxSPLASH_NO_CENTRE))); | |
30141 | } | |
30142 | { | |
30143 | PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_From_int((int)(wxSPLASH_TIMEOUT))); | |
30144 | } | |
30145 | { | |
30146 | PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)(wxSPLASH_NO_TIMEOUT))); | |
30147 | } | |
30148 | { | |
30149 | PyDict_SetItemString(d,"SB_NORMAL", SWIG_From_int((int)(wxSB_NORMAL))); | |
30150 | } | |
30151 | { | |
30152 | PyDict_SetItemString(d,"SB_FLAT", SWIG_From_int((int)(wxSB_FLAT))); | |
30153 | } | |
30154 | { | |
30155 | PyDict_SetItemString(d,"SB_RAISED", SWIG_From_int((int)(wxSB_RAISED))); | |
30156 | } | |
d55e5bfc | 30157 | SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set); |
36ed4f51 RD |
30158 | { |
30159 | PyDict_SetItemString(d,"SP_NOBORDER", SWIG_From_int((int)(wxSP_NOBORDER))); | |
30160 | } | |
30161 | { | |
30162 | PyDict_SetItemString(d,"SP_NOSASH", SWIG_From_int((int)(wxSP_NOSASH))); | |
30163 | } | |
30164 | { | |
30165 | PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)(wxSP_PERMIT_UNSPLIT))); | |
30166 | } | |
30167 | { | |
30168 | PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_From_int((int)(wxSP_LIVE_UPDATE))); | |
30169 | } | |
30170 | { | |
30171 | PyDict_SetItemString(d,"SP_3DSASH", SWIG_From_int((int)(wxSP_3DSASH))); | |
30172 | } | |
30173 | { | |
30174 | PyDict_SetItemString(d,"SP_3DBORDER", SWIG_From_int((int)(wxSP_3DBORDER))); | |
30175 | } | |
30176 | { | |
30177 | PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_From_int((int)(wxSP_NO_XP_THEME))); | |
30178 | } | |
30179 | { | |
30180 | PyDict_SetItemString(d,"SP_BORDER", SWIG_From_int((int)(wxSP_BORDER))); | |
30181 | } | |
30182 | { | |
30183 | PyDict_SetItemString(d,"SP_3D", SWIG_From_int((int)(wxSP_3D))); | |
30184 | } | |
30185 | { | |
30186 | PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_From_int((int)(wxSPLIT_HORIZONTAL))); | |
30187 | } | |
30188 | { | |
30189 | PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_From_int((int)(wxSPLIT_VERTICAL))); | |
30190 | } | |
30191 | { | |
30192 | PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_From_int((int)(wxSPLIT_DRAG_NONE))); | |
30193 | } | |
30194 | { | |
30195 | PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)(wxSPLIT_DRAG_DRAGGING))); | |
30196 | } | |
30197 | { | |
30198 | PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSPLIT_DRAG_LEFT_DOWN))); | |
30199 | } | |
d55e5bfc RD |
30200 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED)); |
30201 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING)); | |
30202 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED)); | |
30203 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT)); | |
30204 | SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set); | |
30205 | SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set); | |
36ed4f51 RD |
30206 | { |
30207 | PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_From_int((int)(wxSASH_DRAG_NONE))); | |
30208 | } | |
30209 | { | |
30210 | PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_From_int((int)(wxSASH_DRAG_DRAGGING))); | |
30211 | } | |
30212 | { | |
30213 | PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSASH_DRAG_LEFT_DOWN))); | |
30214 | } | |
30215 | { | |
30216 | PyDict_SetItemString(d,"SW_NOBORDER", SWIG_From_int((int)(wxSW_NOBORDER))); | |
30217 | } | |
30218 | { | |
30219 | PyDict_SetItemString(d,"SW_BORDER", SWIG_From_int((int)(wxSW_BORDER))); | |
30220 | } | |
30221 | { | |
30222 | PyDict_SetItemString(d,"SW_3DSASH", SWIG_From_int((int)(wxSW_3DSASH))); | |
30223 | } | |
30224 | { | |
30225 | PyDict_SetItemString(d,"SW_3DBORDER", SWIG_From_int((int)(wxSW_3DBORDER))); | |
30226 | } | |
30227 | { | |
30228 | PyDict_SetItemString(d,"SW_3D", SWIG_From_int((int)(wxSW_3D))); | |
30229 | } | |
30230 | { | |
30231 | PyDict_SetItemString(d,"SASH_TOP", SWIG_From_int((int)(wxSASH_TOP))); | |
30232 | } | |
30233 | { | |
30234 | PyDict_SetItemString(d,"SASH_RIGHT", SWIG_From_int((int)(wxSASH_RIGHT))); | |
30235 | } | |
30236 | { | |
30237 | PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_From_int((int)(wxSASH_BOTTOM))); | |
30238 | } | |
30239 | { | |
30240 | PyDict_SetItemString(d,"SASH_LEFT", SWIG_From_int((int)(wxSASH_LEFT))); | |
30241 | } | |
30242 | { | |
30243 | PyDict_SetItemString(d,"SASH_NONE", SWIG_From_int((int)(wxSASH_NONE))); | |
30244 | } | |
30245 | { | |
30246 | PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_From_int((int)(wxSASH_STATUS_OK))); | |
30247 | } | |
30248 | { | |
30249 | PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)(wxSASH_STATUS_OUT_OF_RANGE))); | |
30250 | } | |
d55e5bfc | 30251 | PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED)); |
36ed4f51 RD |
30252 | { |
30253 | PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_From_int((int)(wxLAYOUT_HORIZONTAL))); | |
30254 | } | |
30255 | { | |
30256 | PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_From_int((int)(wxLAYOUT_VERTICAL))); | |
30257 | } | |
30258 | { | |
30259 | PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_From_int((int)(wxLAYOUT_NONE))); | |
30260 | } | |
30261 | { | |
30262 | PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_From_int((int)(wxLAYOUT_TOP))); | |
30263 | } | |
30264 | { | |
30265 | PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_From_int((int)(wxLAYOUT_LEFT))); | |
30266 | } | |
30267 | { | |
30268 | PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_From_int((int)(wxLAYOUT_RIGHT))); | |
30269 | } | |
30270 | { | |
30271 | PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_From_int((int)(wxLAYOUT_BOTTOM))); | |
30272 | } | |
30273 | { | |
30274 | PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_From_int((int)(wxLAYOUT_LENGTH_Y))); | |
30275 | } | |
30276 | { | |
30277 | PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_From_int((int)(wxLAYOUT_LENGTH_X))); | |
30278 | } | |
30279 | { | |
30280 | PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)(wxLAYOUT_MRU_LENGTH))); | |
30281 | } | |
30282 | { | |
30283 | PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_From_int((int)(wxLAYOUT_QUERY))); | |
30284 | } | |
d55e5bfc RD |
30285 | PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO)); |
30286 | PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT)); | |
30287 | SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set); | |
30288 | ||
30289 | // Map renamed classes back to their common name for OOR | |
30290 | wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox"); | |
30291 | wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox"); | |
30292 | wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow"); | |
30293 | ||
30294 | PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE)); | |
30295 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN)); | |
30296 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP)); | |
30297 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN)); | |
30298 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP)); | |
30299 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK)); | |
30300 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK)); | |
30301 | SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set); | |
30302 | SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set); | |
30303 | SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set); | |
30304 | SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set); | |
30305 | SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set); | |
30306 | SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set); | |
36ed4f51 RD |
30307 | { |
30308 | PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_From_int((int)(wxCHOICEDLG_STYLE))); | |
30309 | } | |
30310 | { | |
30311 | PyDict_SetItemString(d,"TextEntryDialogStyle", SWIG_From_int((int)(wxTextEntryDialogStyle))); | |
30312 | } | |
070c48b4 | 30313 | SWIG_addvarlink(SWIG_globals,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get, _wrap_GetPasswordFromUserPromptStr_set); |
36ed4f51 RD |
30314 | { |
30315 | PyDict_SetItemString(d,"FR_DOWN", SWIG_From_int((int)(wxFR_DOWN))); | |
30316 | } | |
30317 | { | |
30318 | PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_From_int((int)(wxFR_WHOLEWORD))); | |
30319 | } | |
30320 | { | |
30321 | PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_From_int((int)(wxFR_MATCHCASE))); | |
30322 | } | |
30323 | { | |
30324 | PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_From_int((int)(wxFR_REPLACEDIALOG))); | |
30325 | } | |
30326 | { | |
30327 | PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_From_int((int)(wxFR_NOUPDOWN))); | |
30328 | } | |
30329 | { | |
30330 | PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_From_int((int)(wxFR_NOMATCHCASE))); | |
30331 | } | |
30332 | { | |
30333 | PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_From_int((int)(wxFR_NOWHOLEWORD))); | |
30334 | } | |
d55e5bfc RD |
30335 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND)); |
30336 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT)); | |
30337 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE)); | |
30338 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL)); | |
30339 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE)); | |
36ed4f51 RD |
30340 | { |
30341 | PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_From_int((int)(4001))); | |
30342 | } | |
30343 | { | |
30344 | PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_From_int((int)(4001))); | |
30345 | } | |
30346 | { | |
30347 | PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_From_int((int)(4002))); | |
30348 | } | |
30349 | { | |
30350 | PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_From_int((int)(4003))); | |
30351 | } | |
30352 | { | |
30353 | PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_From_int((int)(4004))); | |
30354 | } | |
30355 | { | |
30356 | PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_From_int((int)(4005))); | |
30357 | } | |
24d7cbea RD |
30358 | { |
30359 | PyDict_SetItemString(d,"IDM_WINDOWPREV", SWIG_From_int((int)(4006))); | |
30360 | } | |
36ed4f51 RD |
30361 | { |
30362 | PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_From_int((int)(4100))); | |
30363 | } | |
30364 | { | |
30365 | PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_From_int((int)(4600))); | |
30366 | } | |
d55e5bfc RD |
30367 | SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set); |
30368 | SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set); | |
36ed4f51 RD |
30369 | { |
30370 | PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_From_int((int)(wxPRINT_MODE_NONE))); | |
30371 | } | |
30372 | { | |
30373 | PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_From_int((int)(wxPRINT_MODE_PREVIEW))); | |
30374 | } | |
30375 | { | |
30376 | PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_From_int((int)(wxPRINT_MODE_FILE))); | |
30377 | } | |
30378 | { | |
30379 | PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_From_int((int)(wxPRINT_MODE_PRINTER))); | |
30380 | } | |
30381 | { | |
30382 | PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_From_int((int)(wxPRINT_MODE_STREAM))); | |
30383 | } | |
30384 | { | |
30385 | PyDict_SetItemString(d,"PRINTBIN_DEFAULT", SWIG_From_int((int)(wxPRINTBIN_DEFAULT))); | |
30386 | } | |
30387 | { | |
30388 | PyDict_SetItemString(d,"PRINTBIN_ONLYONE", SWIG_From_int((int)(wxPRINTBIN_ONLYONE))); | |
30389 | } | |
30390 | { | |
30391 | PyDict_SetItemString(d,"PRINTBIN_LOWER", SWIG_From_int((int)(wxPRINTBIN_LOWER))); | |
30392 | } | |
30393 | { | |
30394 | PyDict_SetItemString(d,"PRINTBIN_MIDDLE", SWIG_From_int((int)(wxPRINTBIN_MIDDLE))); | |
30395 | } | |
30396 | { | |
30397 | PyDict_SetItemString(d,"PRINTBIN_MANUAL", SWIG_From_int((int)(wxPRINTBIN_MANUAL))); | |
30398 | } | |
30399 | { | |
30400 | PyDict_SetItemString(d,"PRINTBIN_ENVELOPE", SWIG_From_int((int)(wxPRINTBIN_ENVELOPE))); | |
30401 | } | |
30402 | { | |
30403 | PyDict_SetItemString(d,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)(wxPRINTBIN_ENVMANUAL))); | |
30404 | } | |
30405 | { | |
30406 | PyDict_SetItemString(d,"PRINTBIN_AUTO", SWIG_From_int((int)(wxPRINTBIN_AUTO))); | |
30407 | } | |
30408 | { | |
30409 | PyDict_SetItemString(d,"PRINTBIN_TRACTOR", SWIG_From_int((int)(wxPRINTBIN_TRACTOR))); | |
30410 | } | |
30411 | { | |
30412 | PyDict_SetItemString(d,"PRINTBIN_SMALLFMT", SWIG_From_int((int)(wxPRINTBIN_SMALLFMT))); | |
30413 | } | |
30414 | { | |
30415 | PyDict_SetItemString(d,"PRINTBIN_LARGEFMT", SWIG_From_int((int)(wxPRINTBIN_LARGEFMT))); | |
30416 | } | |
30417 | { | |
30418 | PyDict_SetItemString(d,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)(wxPRINTBIN_LARGECAPACITY))); | |
30419 | } | |
30420 | { | |
30421 | PyDict_SetItemString(d,"PRINTBIN_CASSETTE", SWIG_From_int((int)(wxPRINTBIN_CASSETTE))); | |
30422 | } | |
30423 | { | |
30424 | PyDict_SetItemString(d,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)(wxPRINTBIN_FORMSOURCE))); | |
30425 | } | |
30426 | { | |
30427 | PyDict_SetItemString(d,"PRINTBIN_USER", SWIG_From_int((int)(wxPRINTBIN_USER))); | |
30428 | } | |
30429 | { | |
30430 | PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_From_int((int)(wxPRINTER_NO_ERROR))); | |
30431 | } | |
30432 | { | |
30433 | PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_From_int((int)(wxPRINTER_CANCELLED))); | |
30434 | } | |
30435 | { | |
30436 | PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_From_int((int)(wxPRINTER_ERROR))); | |
30437 | } | |
30438 | { | |
30439 | PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_From_int((int)(wxPREVIEW_PRINT))); | |
30440 | } | |
30441 | { | |
30442 | PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_From_int((int)(wxPREVIEW_PREVIOUS))); | |
30443 | } | |
30444 | { | |
30445 | PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_From_int((int)(wxPREVIEW_NEXT))); | |
30446 | } | |
30447 | { | |
30448 | PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_From_int((int)(wxPREVIEW_ZOOM))); | |
30449 | } | |
30450 | { | |
30451 | PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_From_int((int)(wxPREVIEW_FIRST))); | |
30452 | } | |
30453 | { | |
30454 | PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_From_int((int)(wxPREVIEW_LAST))); | |
30455 | } | |
30456 | { | |
30457 | PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_From_int((int)(wxPREVIEW_GOTO))); | |
30458 | } | |
30459 | { | |
30460 | PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_From_int((int)(wxPREVIEW_DEFAULT))); | |
30461 | } | |
30462 | { | |
30463 | PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_From_int((int)(wxID_PREVIEW_CLOSE))); | |
30464 | } | |
30465 | { | |
30466 | PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_From_int((int)(wxID_PREVIEW_NEXT))); | |
30467 | } | |
30468 | { | |
30469 | PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)(wxID_PREVIEW_PREVIOUS))); | |
30470 | } | |
30471 | { | |
30472 | PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_From_int((int)(wxID_PREVIEW_PRINT))); | |
30473 | } | |
30474 | { | |
30475 | PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_From_int((int)(wxID_PREVIEW_ZOOM))); | |
30476 | } | |
30477 | { | |
30478 | PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_From_int((int)(wxID_PREVIEW_FIRST))); | |
30479 | } | |
30480 | { | |
30481 | PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_From_int((int)(wxID_PREVIEW_LAST))); | |
30482 | } | |
30483 | { | |
30484 | PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_From_int((int)(wxID_PREVIEW_GOTO))); | |
30485 | } | |
d55e5bfc RD |
30486 | |
30487 | wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout"); | |
30488 | ||
30489 | } | |
30490 |