]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/_windows_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / gtk / _windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.29
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
34
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
40 # else
41 # define SWIGTEMPLATEDISAMBIGUATOR
42 # endif
43 # else
44 # define SWIGTEMPLATEDISAMBIGUATOR
45 # endif
46 #endif
47
48 /* inline attribute */
49 #ifndef SWIGINLINE
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
52 # else
53 # define SWIGINLINE
54 # endif
55 #endif
56
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
58 #ifndef SWIGUNUSED
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
62 # else
63 # define SWIGUNUSED
64 # endif
65 # elif defined(__ICC)
66 # define SWIGUNUSED __attribute__ ((__unused__))
67 # else
68 # define SWIGUNUSED
69 # endif
70 #endif
71
72 #ifndef SWIGUNUSEDPARM
73 # ifdef __cplusplus
74 # define SWIGUNUSEDPARM(p)
75 # else
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
77 # endif
78 #endif
79
80 /* internal SWIG method */
81 #ifndef SWIGINTERN
82 # define SWIGINTERN static SWIGUNUSED
83 #endif
84
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
88 #endif
89
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
94 # endif
95 #endif
96
97 #ifndef SWIGEXPORT
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
100 # define SWIGEXPORT
101 # else
102 # define SWIGEXPORT __declspec(dllexport)
103 # endif
104 # else
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
107 # else
108 # define SWIGEXPORT
109 # endif
110 # endif
111 #endif
112
113 /* calling conventions for Windows */
114 #ifndef SWIGSTDCALL
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
117 # else
118 # define SWIGSTDCALL
119 # endif
120 #endif
121
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
125 #endif
126
127
128 /* Python.h has to appear first */
129 #include <Python.h>
130
131 /* -----------------------------------------------------------------------------
132 * swigrun.swg
133 *
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
137
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
141
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
147 #else
148 # define SWIG_TYPE_TABLE_NAME
149 #endif
150
151 /*
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
155
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
158 */
159
160 #ifndef SWIGRUNTIME
161 # define SWIGRUNTIME SWIGINTERN
162 #endif
163
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
166 #endif
167
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
171 #endif
172
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
175
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
178
179
180 /*
181 Flags/methods for returning states.
182
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
186
187 Use the following macros/flags to set or process the returning
188 states.
189
190 In old swig versions, you usually write code as:
191
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
193 // success code
194 } else {
195 //fail code
196 }
197
198 Now you can be more explicit as:
199
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
202 // success code
203 } else {
204 // fail code
205 }
206
207 that seems to be the same, but now you can also do
208
209 Type *ptr;
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
212 // success code
213 if (SWIG_IsNewObj(res) {
214 ...
215 delete *ptr;
216 } else {
217 ...
218 }
219 } else {
220 // fail code
221 }
222
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
226
227 int SWIG_ConvertPtr(obj, ptr,...) {
228 if (<obj is ok>) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
231 return SWIG_NEWOBJ;
232 } else {
233 *ptr = <ptr to old object>;
234 return SWIG_OLDOBJ;
235 }
236 } else {
237 return SWIG_BADOBJ;
238 }
239 }
240
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
243 swig errors code.
244
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
247
248 int food(double)
249 int fooi(int);
250
251 and you call
252
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
255
256 just use the SWIG_AddCast()/SWIG_CheckState()
257
258
259 */
260 #define SWIG_OK (0)
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
264
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
283
284
285 /* Cast-Rank Mode */
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
289 # endif
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
292 # endif
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297 }
298 SWIGINTERNINLINE int SWIG_CheckState(int r) {
299 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
300 }
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
304 #endif
305
306
307
308
309 #include <string.h>
310
311 #ifdef __cplusplus
312 extern "C" {
313 #endif
314
315 typedef void *(*swig_converter_func)(void *);
316 typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info {
320 const char *name; /* mangled name of this type */
321 const char *str; /* human readable name of this type */
322 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
324 void *clientdata; /* language specific type data */
325 int owndata; /* flag if the structure owns the clientdata */
326 } swig_type_info;
327
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info {
330 swig_type_info *type; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter; /* function to cast the void pointers */
332 struct swig_cast_info *next; /* pointer to next cast in linked list */
333 struct swig_cast_info *prev; /* pointer to the previous cast */
334 } swig_cast_info;
335
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info {
340 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size; /* Number of types in this module */
342 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
343 swig_type_info **type_initial; /* Array of initially generated type structures */
344 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
345 void *clientdata; /* Language specific module data */
346 } swig_module_info;
347
348 /*
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
351
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
354 */
355 SWIGRUNTIME int
356 SWIG_TypeNameComp(const char *f1, const char *l1,
357 const char *f2, const char *l2) {
358 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
359 while ((*f1 == ' ') && (f1 != l1)) ++f1;
360 while ((*f2 == ' ') && (f2 != l2)) ++f2;
361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
362 }
363 return (l1 - f1) - (l2 - f2);
364 }
365
366 /*
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
369 */
370 SWIGRUNTIME int
371 SWIG_TypeEquiv(const char *nb, const char *tb) {
372 int equiv = 0;
373 const char* te = tb + strlen(tb);
374 const char* ne = nb;
375 while (!equiv && *ne) {
376 for (nb = ne; *ne; ++ne) {
377 if (*ne == '|') break;
378 }
379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
380 if (*ne) ++ne;
381 }
382 return equiv;
383 }
384
385 /*
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
388 */
389 SWIGRUNTIME int
390 SWIG_TypeCompare(const char *nb, const char *tb) {
391 int equiv = 0;
392 const char* te = tb + strlen(tb);
393 const char* ne = nb;
394 while (!equiv && *ne) {
395 for (nb = ne; *ne; ++ne) {
396 if (*ne == '|') break;
397 }
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
400 }
401 return equiv;
402 }
403
404
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
407 if (ty) { \
408 swig_cast_info *iter = ty->cast; \
409 while (iter) { \
410 if (comparison) { \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
414 if (iter->next) \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
417 iter->prev = 0; \
418 if (ty->cast) ty->cast->prev = iter; \
419 ty->cast = iter; \
420 return iter; \
421 } \
422 iter = iter->next; \
423 } \
424 } \
425 return 0
426
427 /*
428 Check the typename
429 */
430 SWIGRUNTIME swig_cast_info *
431 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
432 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
433 }
434
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info *
437 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
439 }
440
441 /*
442 Cast a pointer up an inheritance hierarchy
443 */
444 SWIGRUNTIMEINLINE void *
445 SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
446 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
447 }
448
449 /*
450 Dynamic pointer casting. Down an inheritance hierarchy
451 */
452 SWIGRUNTIME swig_type_info *
453 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
454 swig_type_info *lastty = ty;
455 if (!ty || !ty->dcast) return ty;
456 while (ty && (ty->dcast)) {
457 ty = (*ty->dcast)(ptr);
458 if (ty) lastty = ty;
459 }
460 return lastty;
461 }
462
463 /*
464 Return the name associated with this type
465 */
466 SWIGRUNTIMEINLINE const char *
467 SWIG_TypeName(const swig_type_info *ty) {
468 return ty->name;
469 }
470
471 /*
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
474 */
475 SWIGRUNTIME const char *
476 SWIG_TypePrettyName(const swig_type_info *type) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
480 specific. */
481 if (!type) return NULL;
482 if (type->str != NULL) {
483 const char *last_name = type->str;
484 const char *s;
485 for (s = type->str; *s; s++)
486 if (*s == '|') last_name = s+1;
487 return last_name;
488 }
489 else
490 return type->name;
491 }
492
493 /*
494 Set the clientdata field for a type
495 */
496 SWIGRUNTIME void
497 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
507 }
508 }
509 cast = cast->next;
510 }
511 }
512 SWIGRUNTIME void
513 SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516 }
517
518 /*
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
521
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
524 the circular list.
525 */
526 SWIGRUNTIME swig_type_info *
527 SWIG_MangledTypeQueryModule(swig_module_info *start,
528 swig_module_info *end,
529 const char *name) {
530 swig_module_info *iter = start;
531 do {
532 if (iter->size) {
533 register size_t l = 0;
534 register size_t r = iter->size - 1;
535 do {
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i = (l + r) >> 1;
538 const char *iname = iter->types[i]->name;
539 if (iname) {
540 register int compare = strcmp(name, iname);
541 if (compare == 0) {
542 return iter->types[i];
543 } else if (compare < 0) {
544 if (i) {
545 r = i - 1;
546 } else {
547 break;
548 }
549 } else if (compare > 0) {
550 l = i + 1;
551 }
552 } else {
553 break; /* should never happen */
554 }
555 } while (l <= r);
556 }
557 iter = iter->next;
558 } while (iter != end);
559 return 0;
560 }
561
562 /*
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
566
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
569 the circular list.
570 */
571 SWIGRUNTIME swig_type_info *
572 SWIG_TypeQueryModule(swig_module_info *start,
573 swig_module_info *end,
574 const char *name) {
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
577 if (ret) {
578 return ret;
579 } else {
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info *iter = start;
583 do {
584 register size_t i = 0;
585 for (; i < iter->size; ++i) {
586 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
587 return iter->types[i];
588 }
589 iter = iter->next;
590 } while (iter != end);
591 }
592
593 /* neither found a match */
594 return 0;
595 }
596
597 /*
598 Pack binary data into a string
599 */
600 SWIGRUNTIME char *
601 SWIG_PackData(char *c, void *ptr, size_t sz) {
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
605 for (; u != eu; ++u) {
606 register unsigned char uu = *u;
607 *(c++) = hex[(uu & 0xf0) >> 4];
608 *(c++) = hex[uu & 0xf];
609 }
610 return c;
611 }
612
613 /*
614 Unpack binary data from a string
615 */
616 SWIGRUNTIME const char *
617 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
618 register unsigned char *u = (unsigned char *) ptr;
619 register const unsigned char *eu = u + sz;
620 for (; u != eu; ++u) {
621 register char d = *(c++);
622 register unsigned char uu;
623 if ((d >= '0') && (d <= '9'))
624 uu = ((d - '0') << 4);
625 else if ((d >= 'a') && (d <= 'f'))
626 uu = ((d - ('a'-10)) << 4);
627 else
628 return (char *) 0;
629 d = *(c++);
630 if ((d >= '0') && (d <= '9'))
631 uu |= (d - '0');
632 else if ((d >= 'a') && (d <= 'f'))
633 uu |= (d - ('a'-10));
634 else
635 return (char *) 0;
636 *u = uu;
637 }
638 return c;
639 }
640
641 /*
642 Pack 'void *' into a string buffer.
643 */
644 SWIGRUNTIME char *
645 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
646 char *r = buff;
647 if ((2*sizeof(void *) + 2) > bsz) return 0;
648 *(r++) = '_';
649 r = SWIG_PackData(r,&ptr,sizeof(void *));
650 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
651 strcpy(r,name);
652 return buff;
653 }
654
655 SWIGRUNTIME const char *
656 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
657 if (*c != '_') {
658 if (strcmp(c,"NULL") == 0) {
659 *ptr = (void *) 0;
660 return name;
661 } else {
662 return 0;
663 }
664 }
665 return SWIG_UnpackData(++c,ptr,sizeof(void *));
666 }
667
668 SWIGRUNTIME char *
669 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
670 char *r = buff;
671 size_t lname = (name ? strlen(name) : 0);
672 if ((2*sz + 2 + lname) > bsz) return 0;
673 *(r++) = '_';
674 r = SWIG_PackData(r,ptr,sz);
675 if (lname) {
676 strncpy(r,name,lname+1);
677 } else {
678 *r = 0;
679 }
680 return buff;
681 }
682
683 SWIGRUNTIME const char *
684 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
685 if (*c != '_') {
686 if (strcmp(c,"NULL") == 0) {
687 memset(ptr,0,sz);
688 return name;
689 } else {
690 return 0;
691 }
692 }
693 return SWIG_UnpackData(++c,ptr,sz);
694 }
695
696 #ifdef __cplusplus
697 }
698 #endif
699
700 /* Errors in SWIG */
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
714
715
716
717 /* Python.h has to appear first */
718 #include <Python.h>
719
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
724 # else
725 # define PyOS_snprintf snprintf
726 # endif
727 #endif
728
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
731
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
734 #endif
735
736 static PyObject *
737 PyString_FromFormat(const char *fmt, ...) {
738 va_list ap;
739 char buf[SWIG_PYBUFFER_SIZE * 2];
740 int res;
741 va_start(ap, fmt);
742 res = vsnprintf(buf, sizeof(buf), fmt, ap);
743 va_end(ap);
744 return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
745 }
746 #endif
747
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
751 #endif
752 #ifndef PyObject_DEL
753 # define PyObject_DEL PyObject_Del
754 #endif
755
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
760 # endif
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
763 # endif
764 #endif
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
769 # endif
770 #endif
771
772
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
777 # endif
778 #endif
779
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
784 # endif
785 #endif
786
787
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
790 static
791 PyObject *PyBool_FromLong(long ok)
792 {
793 PyObject *result = ok ? Py_True : Py_False;
794 Py_INCREF(result);
795 return result;
796 }
797 #endif
798
799
800 /* -----------------------------------------------------------------------------
801 * error manipulation
802 * ----------------------------------------------------------------------------- */
803
804 SWIGRUNTIME PyObject*
805 SWIG_Python_ErrorType(int code) {
806 PyObject* type = 0;
807 switch(code) {
808 case SWIG_MemoryError:
809 type = PyExc_MemoryError;
810 break;
811 case SWIG_IOError:
812 type = PyExc_IOError;
813 break;
814 case SWIG_RuntimeError:
815 type = PyExc_RuntimeError;
816 break;
817 case SWIG_IndexError:
818 type = PyExc_IndexError;
819 break;
820 case SWIG_TypeError:
821 type = PyExc_TypeError;
822 break;
823 case SWIG_DivisionByZero:
824 type = PyExc_ZeroDivisionError;
825 break;
826 case SWIG_OverflowError:
827 type = PyExc_OverflowError;
828 break;
829 case SWIG_SyntaxError:
830 type = PyExc_SyntaxError;
831 break;
832 case SWIG_ValueError:
833 type = PyExc_ValueError;
834 break;
835 case SWIG_SystemError:
836 type = PyExc_SystemError;
837 break;
838 case SWIG_AttributeError:
839 type = PyExc_AttributeError;
840 break;
841 default:
842 type = PyExc_RuntimeError;
843 }
844 return type;
845 }
846
847
848 SWIGRUNTIME void
849 SWIG_Python_AddErrorMsg(const char* mesg)
850 {
851 PyObject *type = 0;
852 PyObject *value = 0;
853 PyObject *traceback = 0;
854
855 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
856 if (value) {
857 PyObject *old_str = PyObject_Str(value);
858 PyErr_Clear();
859 Py_XINCREF(type);
860 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
861 Py_DECREF(old_str);
862 Py_DECREF(value);
863 } else {
864 PyErr_Format(PyExc_RuntimeError, mesg);
865 }
866 }
867
868
869
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
873 # endif
874 #endif
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
879 # endif
880 # endif
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
884 # endif
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block {
887 bool status;
888 PyGILState_STATE state;
889 public:
890 void end() { if (status) { PyGILState_Release(state); status = false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
893 };
894 class SWIG_Python_Thread_Allow {
895 bool status;
896 PyThreadState *save;
897 public:
898 void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
901 };
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
906 # else /* C code */
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
911 # endif
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
915 # endif
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
918 # endif
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
921 # endif
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
924 # endif
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
927 # endif
928 # endif
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
935 #endif
936
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
940
941 #ifdef __cplusplus
942 extern "C" {
943 #if 0
944 } /* cc-mode */
945 #endif
946 #endif
947
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
951
952 /* Constant Types */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
955
956 /* Constant information structure */
957 typedef struct swig_const_info {
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
964 } swig_const_info;
965
966 #ifdef __cplusplus
967 #if 0
968 { /* cc-mode */
969 #endif
970 }
971 #endif
972
973
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
977 *
978 * pyrun.swg
979 *
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
983 *
984 * ----------------------------------------------------------------------------- */
985
986 /* Common SWIG API */
987
988 /* for raw pointers */
989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995 #define swig_owntype int
996
997 /* for raw packed data */
998 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1000
1001 /* for class or struct pointers */
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1004
1005 /* for C or C++ function pointers */
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1008
1009 /* for C++ member pointers, ie, member methods */
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1012
1013
1014 /* Runtime API */
1015
1016 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1019
1020 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024 #define SWIG_fail goto fail
1025
1026
1027 /* Runtime API implementation */
1028
1029 /* Error manipulation */
1030
1031 SWIGINTERN void
1032 SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1034 PyErr_SetObject(errtype, obj);
1035 Py_DECREF(obj);
1036 SWIG_PYTHON_THREAD_END_BLOCK;
1037 }
1038
1039 SWIGINTERN void
1040 SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1042 PyErr_SetString(errtype, (char *) msg);
1043 SWIG_PYTHON_THREAD_END_BLOCK;
1044 }
1045
1046 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1047
1048 /* Set a constant value */
1049
1050 SWIGINTERN void
1051 SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1052 PyDict_SetItemString(d, (char*) name, obj);
1053 Py_DECREF(obj);
1054 }
1055
1056 /* Append a value to the result obj */
1057
1058 SWIGINTERN PyObject*
1059 SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1061 if (!result) {
1062 result = obj;
1063 } else if (result == Py_None) {
1064 Py_DECREF(result);
1065 result = obj;
1066 } else {
1067 if (!PyList_Check(result)) {
1068 PyObject *o2 = result;
1069 result = PyList_New(1);
1070 PyList_SetItem(result, 0, o2);
1071 }
1072 PyList_Append(result,obj);
1073 Py_DECREF(obj);
1074 }
1075 return result;
1076 #else
1077 PyObject* o2;
1078 PyObject* o3;
1079 if (!result) {
1080 result = obj;
1081 } else if (result == Py_None) {
1082 Py_DECREF(result);
1083 result = obj;
1084 } else {
1085 if (!PyTuple_Check(result)) {
1086 o2 = result;
1087 result = PyTuple_New(1);
1088 PyTuple_SET_ITEM(result, 0, o2);
1089 }
1090 o3 = PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3, 0, obj);
1092 o2 = result;
1093 result = PySequence_Concat(o2, o3);
1094 Py_DECREF(o2);
1095 Py_DECREF(o3);
1096 }
1097 return result;
1098 #endif
1099 }
1100
1101 /* Unpack the argument tuple */
1102
1103 SWIGINTERN int
1104 SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1105 {
1106 if (!args) {
1107 if (!min && !max) {
1108 return 1;
1109 } else {
1110 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1111 name, (min == max ? "" : "at least "), min);
1112 return 0;
1113 }
1114 }
1115 if (!PyTuple_Check(args)) {
1116 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1117 return 0;
1118 } else {
1119 register int l = PyTuple_GET_SIZE(args);
1120 if (l < min) {
1121 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1122 name, (min == max ? "" : "at least "), min, l);
1123 return 0;
1124 } else if (l > max) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at most "), max, l);
1127 return 0;
1128 } else {
1129 register int i;
1130 for (i = 0; i < l; ++i) {
1131 objs[i] = PyTuple_GET_ITEM(args, i);
1132 }
1133 for (; l < max; ++l) {
1134 objs[l] = 0;
1135 }
1136 return i + 1;
1137 }
1138 }
1139 }
1140
1141 /* A functor is a function object with one single object argument */
1142 #if PY_VERSION_HEX >= 0x02020000
1143 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1144 #else
1145 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1146 #endif
1147
1148 /*
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1151 */
1152 #ifdef __cplusplus
1153 #define SWIG_STATIC_POINTER(var) var
1154 #else
1155 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1156 #endif
1157
1158 /* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1161
1162 /* Flags for new pointer objects */
1163 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1165
1166 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1167
1168 #ifdef __cplusplus
1169 extern "C" {
1170 #if 0
1171 } /* cc-mode */
1172 #endif
1173 #endif
1174
1175 /* How to access Py_None */
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1178 # ifndef SWIG_PYTHON_BUILD_NONE
1179 # define SWIG_PYTHON_BUILD_NONE
1180 # endif
1181 # endif
1182 #endif
1183
1184 #ifdef SWIG_PYTHON_BUILD_NONE
1185 # ifdef Py_None
1186 # undef Py_None
1187 # define Py_None SWIG_Py_None()
1188 # endif
1189 SWIGRUNTIMEINLINE PyObject *
1190 _SWIG_Py_None(void)
1191 {
1192 PyObject *none = Py_BuildValue("");
1193 Py_DECREF(none);
1194 return none;
1195 }
1196 SWIGRUNTIME PyObject *
1197 SWIG_Py_None(void)
1198 {
1199 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1200 return none;
1201 }
1202 #endif
1203
1204 /* The python void return value */
1205
1206 SWIGRUNTIMEINLINE PyObject *
1207 SWIG_Py_Void(void)
1208 {
1209 PyObject *none = Py_None;
1210 Py_INCREF(none);
1211 return none;
1212 }
1213
1214 /* PySwigClientData */
1215
1216 typedef struct {
1217 PyObject *klass;
1218 PyObject *newraw;
1219 PyObject *newargs;
1220 PyObject *destroy;
1221 int delargs;
1222 int implicitconv;
1223 } PySwigClientData;
1224
1225 SWIGRUNTIMEINLINE int
1226 SWIG_Python_CheckImplicit(swig_type_info *ty)
1227 {
1228 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1229 return data ? data->implicitconv : 0;
1230 }
1231
1232 SWIGRUNTIMEINLINE PyObject *
1233 SWIG_Python_ExceptionType(swig_type_info *desc) {
1234 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1235 PyObject *klass = data ? data->klass : 0;
1236 return (klass ? klass : PyExc_RuntimeError);
1237 }
1238
1239
1240 SWIGRUNTIME PySwigClientData *
1241 PySwigClientData_New(PyObject* obj)
1242 {
1243 if (!obj) {
1244 return 0;
1245 } else {
1246 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1247 /* the klass element */
1248 data->klass = obj;
1249 Py_INCREF(data->klass);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj)) {
1252 data->newraw = 0;
1253 data->newargs = obj;
1254 Py_INCREF(obj);
1255 } else {
1256 #if (PY_VERSION_HEX < 0x02020000)
1257 data->newraw = 0;
1258 #else
1259 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1260 #endif
1261 if (data->newraw) {
1262 Py_INCREF(data->newraw);
1263 data->newargs = PyTuple_New(1);
1264 PyTuple_SetItem(data->newargs, 0, obj);
1265 } else {
1266 data->newargs = obj;
1267 }
1268 Py_INCREF(data->newargs);
1269 }
1270 /* the destroy method, aka as the C++ delete method */
1271 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1273 PyErr_Clear();
1274 data->destroy = 0;
1275 }
1276 if (data->destroy) {
1277 int flags;
1278 Py_INCREF(data->destroy);
1279 flags = PyCFunction_GET_FLAGS(data->destroy);
1280 #ifdef METH_O
1281 data->delargs = !(flags & (METH_O));
1282 #else
1283 data->delargs = 0;
1284 #endif
1285 } else {
1286 data->delargs = 0;
1287 }
1288 data->implicitconv = 0;
1289 return data;
1290 }
1291 }
1292
1293 SWIGRUNTIME void
1294 PySwigClientData_Del(PySwigClientData* data)
1295 {
1296 Py_XDECREF(data->newraw);
1297 Py_XDECREF(data->newargs);
1298 Py_XDECREF(data->destroy);
1299 }
1300
1301 /* =============== PySwigObject =====================*/
1302
1303 typedef struct {
1304 PyObject_HEAD
1305 void *ptr;
1306 swig_type_info *ty;
1307 int own;
1308 PyObject *next;
1309 } PySwigObject;
1310
1311 SWIGRUNTIME PyObject *
1312 PySwigObject_long(PySwigObject *v)
1313 {
1314 return PyLong_FromVoidPtr(v->ptr);
1315 }
1316
1317 SWIGRUNTIME PyObject *
1318 PySwigObject_format(const char* fmt, PySwigObject *v)
1319 {
1320 PyObject *res = NULL;
1321 PyObject *args = PyTuple_New(1);
1322 if (args) {
1323 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1324 PyObject *ofmt = PyString_FromString(fmt);
1325 if (ofmt) {
1326 res = PyString_Format(ofmt,args);
1327 Py_DECREF(ofmt);
1328 }
1329 Py_DECREF(args);
1330 }
1331 }
1332 return res;
1333 }
1334
1335 SWIGRUNTIME PyObject *
1336 PySwigObject_oct(PySwigObject *v)
1337 {
1338 return PySwigObject_format("%o",v);
1339 }
1340
1341 SWIGRUNTIME PyObject *
1342 PySwigObject_hex(PySwigObject *v)
1343 {
1344 return PySwigObject_format("%x",v);
1345 }
1346
1347 SWIGRUNTIME PyObject *
1348 #ifdef METH_NOARGS
1349 PySwigObject_repr(PySwigObject *v)
1350 #else
1351 PySwigObject_repr(PySwigObject *v, PyObject *args)
1352 #endif
1353 {
1354 const char *name = SWIG_TypePrettyName(v->ty);
1355 PyObject *hex = PySwigObject_hex(v);
1356 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1357 Py_DECREF(hex);
1358 if (v->next) {
1359 #ifdef METH_NOARGS
1360 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1361 #else
1362 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1363 #endif
1364 PyString_ConcatAndDel(&repr,nrep);
1365 }
1366 return repr;
1367 }
1368
1369 SWIGRUNTIME int
1370 PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1371 {
1372 #ifdef METH_NOARGS
1373 PyObject *repr = PySwigObject_repr(v);
1374 #else
1375 PyObject *repr = PySwigObject_repr(v, NULL);
1376 #endif
1377 if (repr) {
1378 fputs(PyString_AsString(repr), fp);
1379 Py_DECREF(repr);
1380 return 0;
1381 } else {
1382 return 1;
1383 }
1384 }
1385
1386 SWIGRUNTIME PyObject *
1387 PySwigObject_str(PySwigObject *v)
1388 {
1389 char result[SWIG_BUFFER_SIZE];
1390 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1391 PyString_FromString(result) : 0;
1392 }
1393
1394 SWIGRUNTIME int
1395 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1396 {
1397 void *i = v->ptr;
1398 void *j = w->ptr;
1399 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1400 }
1401
1402 SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1403
1404 SWIGRUNTIME PyTypeObject*
1405 PySwigObject_type(void) {
1406 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1407 return type;
1408 }
1409
1410 SWIGRUNTIMEINLINE int
1411 PySwigObject_Check(PyObject *op) {
1412 return ((op)->ob_type == PySwigObject_type())
1413 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1414 }
1415
1416 SWIGRUNTIME PyObject *
1417 PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1418
1419 SWIGRUNTIME void
1420 PySwigObject_dealloc(PyObject *v)
1421 {
1422 PySwigObject *sobj = (PySwigObject *) v;
1423 PyObject *next = sobj->next;
1424 if (sobj->own) {
1425 swig_type_info *ty = sobj->ty;
1426 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1427 PyObject *destroy = data ? data->destroy : 0;
1428 if (destroy) {
1429 /* destroy is always a VARARGS method */
1430 PyObject *res;
1431 if (data->delargs) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1434 res = SWIG_Python_CallFunctor(destroy, tmp);
1435 Py_DECREF(tmp);
1436 } else {
1437 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1438 PyObject *mself = PyCFunction_GET_SELF(destroy);
1439 res = ((*meth)(mself, v));
1440 }
1441 Py_XDECREF(res);
1442 } else {
1443 const char *name = SWIG_TypePrettyName(ty);
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1446 #endif
1447 }
1448 }
1449 Py_XDECREF(next);
1450 PyObject_DEL(v);
1451 }
1452
1453 SWIGRUNTIME PyObject*
1454 PySwigObject_append(PyObject* v, PyObject* next)
1455 {
1456 PySwigObject *sobj = (PySwigObject *) v;
1457 #ifndef METH_O
1458 PyObject *tmp = 0;
1459 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1460 next = tmp;
1461 #endif
1462 if (!PySwigObject_Check(next)) {
1463 return NULL;
1464 }
1465 sobj->next = next;
1466 Py_INCREF(next);
1467 return SWIG_Py_Void();
1468 }
1469
1470 SWIGRUNTIME PyObject*
1471 #ifdef METH_NOARGS
1472 PySwigObject_next(PyObject* v)
1473 #else
1474 PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1475 #endif
1476 {
1477 PySwigObject *sobj = (PySwigObject *) v;
1478 if (sobj->next) {
1479 Py_INCREF(sobj->next);
1480 return sobj->next;
1481 } else {
1482 return SWIG_Py_Void();
1483 }
1484 }
1485
1486 SWIGINTERN PyObject*
1487 #ifdef METH_NOARGS
1488 PySwigObject_disown(PyObject *v)
1489 #else
1490 PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1491 #endif
1492 {
1493 PySwigObject *sobj = (PySwigObject *)v;
1494 sobj->own = 0;
1495 return SWIG_Py_Void();
1496 }
1497
1498 SWIGINTERN PyObject*
1499 #ifdef METH_NOARGS
1500 PySwigObject_acquire(PyObject *v)
1501 #else
1502 PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1503 #endif
1504 {
1505 PySwigObject *sobj = (PySwigObject *)v;
1506 sobj->own = SWIG_POINTER_OWN;
1507 return SWIG_Py_Void();
1508 }
1509
1510 SWIGINTERN PyObject*
1511 PySwigObject_own(PyObject *v, PyObject *args)
1512 {
1513 PyObject *val = 0;
1514 #if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1516 #else
1517 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1518 #endif
1519 {
1520 return NULL;
1521 }
1522 else
1523 {
1524 PySwigObject *sobj = (PySwigObject *)v;
1525 PyObject *obj = PyBool_FromLong(sobj->own);
1526 if (val) {
1527 #ifdef METH_NOARGS
1528 if (PyObject_IsTrue(val)) {
1529 PySwigObject_acquire(v);
1530 } else {
1531 PySwigObject_disown(v);
1532 }
1533 #else
1534 if (PyObject_IsTrue(val)) {
1535 PySwigObject_acquire(v,args);
1536 } else {
1537 PySwigObject_disown(v,args);
1538 }
1539 #endif
1540 }
1541 return obj;
1542 }
1543 }
1544
1545 #ifdef METH_O
1546 static PyMethodDef
1547 swigobject_methods[] = {
1548 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1554 {0, 0, 0, 0}
1555 };
1556 #else
1557 static PyMethodDef
1558 swigobject_methods[] = {
1559 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1565 {0, 0, 0, 0}
1566 };
1567 #endif
1568
1569 #if PY_VERSION_HEX < 0x02020000
1570 SWIGINTERN PyObject *
1571 PySwigObject_getattr(PySwigObject *sobj,char *name)
1572 {
1573 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1574 }
1575 #endif
1576
1577 SWIGRUNTIME PyTypeObject*
1578 _PySwigObject_type(void) {
1579 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1580
1581 static PyNumberMethods PySwigObject_as_number = {
1582 (binaryfunc)0, /*nb_add*/
1583 (binaryfunc)0, /*nb_subtract*/
1584 (binaryfunc)0, /*nb_multiply*/
1585 (binaryfunc)0, /*nb_divide*/
1586 (binaryfunc)0, /*nb_remainder*/
1587 (binaryfunc)0, /*nb_divmod*/
1588 (ternaryfunc)0,/*nb_power*/
1589 (unaryfunc)0, /*nb_negative*/
1590 (unaryfunc)0, /*nb_positive*/
1591 (unaryfunc)0, /*nb_absolute*/
1592 (inquiry)0, /*nb_nonzero*/
1593 0, /*nb_invert*/
1594 0, /*nb_lshift*/
1595 0, /*nb_rshift*/
1596 0, /*nb_and*/
1597 0, /*nb_xor*/
1598 0, /*nb_or*/
1599 (coercion)0, /*nb_coerce*/
1600 (unaryfunc)PySwigObject_long, /*nb_int*/
1601 (unaryfunc)PySwigObject_long, /*nb_long*/
1602 (unaryfunc)0, /*nb_float*/
1603 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1604 (unaryfunc)PySwigObject_hex, /*nb_hex*/
1605 #if PY_VERSION_HEX >= 0x02020000
1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1607 #elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1609 #endif
1610 };
1611
1612 static PyTypeObject pyswigobject_type;
1613 static int type_init = 0;
1614 if (!type_init) {
1615 const PyTypeObject tmp
1616 = {
1617 PyObject_HEAD_INIT(NULL)
1618 0, /* ob_size */
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1623 (printfunc)PySwigObject_print, /* tp_print */
1624 #if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1626 #else
1627 (getattrfunc)0, /* tp_getattr */
1628 #endif
1629 (setattrfunc)0, /* tp_setattr */
1630 (cmpfunc)PySwigObject_compare, /* tp_compare */
1631 (reprfunc)PySwigObject_repr, /* tp_repr */
1632 &PySwigObject_as_number, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc)0, /* tp_hash */
1636 (ternaryfunc)0, /* tp_call */
1637 (reprfunc)PySwigObject_str, /* tp_str */
1638 PyObject_GenericGetAttr, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT, /* tp_flags */
1642 swigobject_doc, /* tp_doc */
1643 0, /* tp_traverse */
1644 0, /* tp_clear */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
1647 #if PY_VERSION_HEX >= 0x02020000
1648 0, /* tp_iter */
1649 0, /* tp_iternext */
1650 swigobject_methods, /* tp_methods */
1651 0, /* tp_members */
1652 0, /* tp_getset */
1653 0, /* tp_base */
1654 0, /* tp_dict */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1658 0, /* tp_init */
1659 0, /* tp_alloc */
1660 0, /* tp_new */
1661 0, /* tp_free */
1662 0, /* tp_is_gc */
1663 0, /* tp_bases */
1664 0, /* tp_mro */
1665 0, /* tp_cache */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
1668 #endif
1669 #if PY_VERSION_HEX >= 0x02030000
1670 0, /* tp_del */
1671 #endif
1672 #ifdef COUNT_ALLOCS
1673 0,0,0,0 /* tp_alloc -> tp_next */
1674 #endif
1675 };
1676 pyswigobject_type = tmp;
1677 pyswigobject_type.ob_type = &PyType_Type;
1678 type_init = 1;
1679 }
1680 return &pyswigobject_type;
1681 }
1682
1683 SWIGRUNTIME PyObject *
1684 PySwigObject_New(void *ptr, swig_type_info *ty, int own)
1685 {
1686 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1687 if (sobj) {
1688 sobj->ptr = ptr;
1689 sobj->ty = ty;
1690 sobj->own = own;
1691 sobj->next = 0;
1692 }
1693 return (PyObject *)sobj;
1694 }
1695
1696 /* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1699
1700 typedef struct {
1701 PyObject_HEAD
1702 void *pack;
1703 swig_type_info *ty;
1704 size_t size;
1705 } PySwigPacked;
1706
1707 SWIGRUNTIME int
1708 PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1709 {
1710 char result[SWIG_BUFFER_SIZE];
1711 fputs("<Swig Packed ", fp);
1712 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1713 fputs("at ", fp);
1714 fputs(result, fp);
1715 }
1716 fputs(v->ty->name,fp);
1717 fputs(">", fp);
1718 return 0;
1719 }
1720
1721 SWIGRUNTIME PyObject *
1722 PySwigPacked_repr(PySwigPacked *v)
1723 {
1724 char result[SWIG_BUFFER_SIZE];
1725 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1726 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
1727 } else {
1728 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
1729 }
1730 }
1731
1732 SWIGRUNTIME PyObject *
1733 PySwigPacked_str(PySwigPacked *v)
1734 {
1735 char result[SWIG_BUFFER_SIZE];
1736 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
1737 return PyString_FromFormat("%s%s", result, v->ty->name);
1738 } else {
1739 return PyString_FromString(v->ty->name);
1740 }
1741 }
1742
1743 SWIGRUNTIME int
1744 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1745 {
1746 size_t i = v->size;
1747 size_t j = w->size;
1748 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1749 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
1750 }
1751
1752 SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
1753
1754 SWIGRUNTIME PyTypeObject*
1755 PySwigPacked_type(void) {
1756 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1757 return type;
1758 }
1759
1760 SWIGRUNTIMEINLINE int
1761 PySwigPacked_Check(PyObject *op) {
1762 return ((op)->ob_type == _PySwigPacked_type())
1763 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1764 }
1765
1766 SWIGRUNTIME void
1767 PySwigPacked_dealloc(PyObject *v)
1768 {
1769 if (PySwigPacked_Check(v)) {
1770 PySwigPacked *sobj = (PySwigPacked *) v;
1771 free(sobj->pack);
1772 }
1773 PyObject_DEL(v);
1774 }
1775
1776 SWIGRUNTIME PyTypeObject*
1777 _PySwigPacked_type(void) {
1778 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type;
1780 static int type_init = 0;
1781 if (!type_init) {
1782 const PyTypeObject tmp
1783 = {
1784 PyObject_HEAD_INIT(NULL)
1785 0, /* ob_size */
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1790 (printfunc)PySwigPacked_print, /* tp_print */
1791 (getattrfunc)0, /* tp_getattr */
1792 (setattrfunc)0, /* tp_setattr */
1793 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1794 (reprfunc)PySwigPacked_repr, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc)0, /* tp_hash */
1799 (ternaryfunc)0, /* tp_call */
1800 (reprfunc)PySwigPacked_str, /* tp_str */
1801 PyObject_GenericGetAttr, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT, /* tp_flags */
1805 swigpacked_doc, /* tp_doc */
1806 0, /* tp_traverse */
1807 0, /* tp_clear */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810 #if PY_VERSION_HEX >= 0x02020000
1811 0, /* tp_iter */
1812 0, /* tp_iternext */
1813 0, /* tp_methods */
1814 0, /* tp_members */
1815 0, /* tp_getset */
1816 0, /* tp_base */
1817 0, /* tp_dict */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1821 0, /* tp_init */
1822 0, /* tp_alloc */
1823 0, /* tp_new */
1824 0, /* tp_free */
1825 0, /* tp_is_gc */
1826 0, /* tp_bases */
1827 0, /* tp_mro */
1828 0, /* tp_cache */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
1831 #endif
1832 #if PY_VERSION_HEX >= 0x02030000
1833 0, /* tp_del */
1834 #endif
1835 #ifdef COUNT_ALLOCS
1836 0,0,0,0 /* tp_alloc -> tp_next */
1837 #endif
1838 };
1839 pyswigpacked_type = tmp;
1840 pyswigpacked_type.ob_type = &PyType_Type;
1841 type_init = 1;
1842 }
1843 return &pyswigpacked_type;
1844 }
1845
1846 SWIGRUNTIME PyObject *
1847 PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
1848 {
1849 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1850 if (sobj) {
1851 void *pack = malloc(size);
1852 if (pack) {
1853 memcpy(pack, ptr, size);
1854 sobj->pack = pack;
1855 sobj->ty = ty;
1856 sobj->size = size;
1857 } else {
1858 PyObject_DEL((PyObject *) sobj);
1859 sobj = 0;
1860 }
1861 }
1862 return (PyObject *) sobj;
1863 }
1864
1865 SWIGRUNTIME swig_type_info *
1866 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1867 {
1868 if (PySwigPacked_Check(obj)) {
1869 PySwigPacked *sobj = (PySwigPacked *)obj;
1870 if (sobj->size != size) return 0;
1871 memcpy(ptr, sobj->pack, size);
1872 return sobj->ty;
1873 } else {
1874 return 0;
1875 }
1876 }
1877
1878 /* -----------------------------------------------------------------------------
1879 * pointers/data manipulation
1880 * ----------------------------------------------------------------------------- */
1881
1882 SWIGRUNTIMEINLINE PyObject *
1883 _SWIG_This(void)
1884 {
1885 return PyString_FromString("this");
1886 }
1887
1888 SWIGRUNTIME PyObject *
1889 SWIG_This(void)
1890 {
1891 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1892 return swig_this;
1893 }
1894
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1896
1897 SWIGRUNTIME PySwigObject *
1898 SWIG_Python_GetSwigThis(PyObject *pyobj)
1899 {
1900 if (PySwigObject_Check(pyobj)) {
1901 return (PySwigObject *) pyobj;
1902 } else {
1903 PyObject *obj = 0;
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj)) {
1906 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1907 } else {
1908 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1909 if (dictptr != NULL) {
1910 PyObject *dict = *dictptr;
1911 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1912 } else {
1913 #ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj)) {
1915 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1916 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1917 }
1918 #endif
1919 obj = PyObject_GetAttr(pyobj,SWIG_This());
1920 if (obj) {
1921 Py_DECREF(obj);
1922 } else {
1923 if (PyErr_Occurred()) PyErr_Clear();
1924 return 0;
1925 }
1926 }
1927 }
1928 #else
1929 obj = PyObject_GetAttr(pyobj,SWIG_This());
1930 if (obj) {
1931 Py_DECREF(obj);
1932 } else {
1933 if (PyErr_Occurred()) PyErr_Clear();
1934 return 0;
1935 }
1936 #endif
1937 if (obj && !PySwigObject_Check(obj)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj);
1941 }
1942 return (PySwigObject *)obj;
1943 }
1944 }
1945
1946 /* Acquire a pointer value */
1947
1948 SWIGRUNTIME int
1949 SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1950 if (own) {
1951 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1952 if (sobj) {
1953 int oldown = sobj->own;
1954 sobj->own = own;
1955 return oldown;
1956 }
1957 }
1958 return 0;
1959 }
1960
1961 /* Convert a pointer value */
1962
1963 SWIGRUNTIME int
1964 SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1965 if (!obj) return SWIG_ERROR;
1966 if (obj == Py_None) {
1967 if (ptr) *ptr = 0;
1968 return SWIG_OK;
1969 } else {
1970 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1971 while (sobj) {
1972 void *vptr = sobj->ptr;
1973 if (ty) {
1974 swig_type_info *to = sobj->ty;
1975 if (to == ty) {
1976 /* no type cast needed */
1977 if (ptr) *ptr = vptr;
1978 break;
1979 } else {
1980 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1981 if (!tc) {
1982 sobj = (PySwigObject *)sobj->next;
1983 } else {
1984 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1985 break;
1986 }
1987 }
1988 } else {
1989 if (ptr) *ptr = vptr;
1990 break;
1991 }
1992 }
1993 if (sobj) {
1994 if (own) *own = sobj->own;
1995 if (flags & SWIG_POINTER_DISOWN) {
1996 sobj->own = 0;
1997 }
1998 return SWIG_OK;
1999 } else {
2000 int res = SWIG_ERROR;
2001 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2002 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2003 if (data && !data->implicitconv) {
2004 PyObject *klass = data->klass;
2005 if (klass) {
2006 PyObject *impconv;
2007 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv = SWIG_Python_CallFunctor(klass, obj);
2009 data->implicitconv = 0;
2010 if (PyErr_Occurred()) {
2011 PyErr_Clear();
2012 impconv = 0;
2013 }
2014 if (impconv) {
2015 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2016 if (iobj) {
2017 void *vptr;
2018 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2019 if (SWIG_IsOK(res)) {
2020 if (ptr) {
2021 *ptr = vptr;
2022 /* transfer the ownership to 'ptr' */
2023 iobj->own = 0;
2024 res = SWIG_AddCast(res);
2025 res = SWIG_AddNewMask(res);
2026 } else {
2027 res = SWIG_AddCast(res);
2028 }
2029 }
2030 }
2031 Py_DECREF(impconv);
2032 }
2033 }
2034 }
2035 }
2036 return res;
2037 }
2038 }
2039 }
2040
2041 /* Convert a function ptr value */
2042
2043 SWIGRUNTIME int
2044 SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2045 if (!PyCFunction_Check(obj)) {
2046 return SWIG_ConvertPtr(obj, ptr, ty, 0);
2047 } else {
2048 void *vptr = 0;
2049
2050 /* here we get the method pointer for callbacks */
2051 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2052 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2053 if (desc) {
2054 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2055 if (!desc) return SWIG_ERROR;
2056 }
2057 if (ty) {
2058 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2059 if (!tc) return SWIG_ERROR;
2060 *ptr = SWIG_TypeCast(tc,vptr);
2061 } else {
2062 *ptr = vptr;
2063 }
2064 return SWIG_OK;
2065 }
2066 }
2067
2068 /* Convert a packed value value */
2069
2070 SWIGRUNTIME int
2071 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2072 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2073 if (!to) return SWIG_ERROR;
2074 if (ty) {
2075 if (to != ty) {
2076 /* check type cast? */
2077 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2078 if (!tc) return SWIG_ERROR;
2079 }
2080 }
2081 return SWIG_OK;
2082 }
2083
2084 /* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
2087
2088 /*
2089 Create a new instance object, whitout calling __init__, and set the
2090 'this' attribute.
2091 */
2092
2093 SWIGRUNTIME PyObject*
2094 SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2095 {
2096 #if (PY_VERSION_HEX >= 0x02020000)
2097 PyObject *inst = 0;
2098 PyObject *newraw = data->newraw;
2099 if (newraw) {
2100 inst = PyObject_Call(newraw, data->newargs, NULL);
2101 if (inst) {
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2104 if (dictptr != NULL) {
2105 PyObject *dict = *dictptr;
2106 if (dict == NULL) {
2107 dict = PyDict_New();
2108 *dictptr = dict;
2109 PyDict_SetItem(dict, SWIG_This(), swig_this);
2110 }
2111 }
2112 #else
2113 PyObject *key = SWIG_This();
2114 PyObject_SetAttr(inst, key, swig_this);
2115 #endif
2116 }
2117 } else {
2118 PyObject *dict = PyDict_New();
2119 PyDict_SetItem(dict, SWIG_This(), swig_this);
2120 inst = PyInstance_NewRaw(data->newargs, dict);
2121 Py_DECREF(dict);
2122 }
2123 return inst;
2124 #else
2125 #if (PY_VERSION_HEX >= 0x02010000)
2126 PyObject *inst;
2127 PyObject *dict = PyDict_New();
2128 PyDict_SetItem(dict, SWIG_This(), swig_this);
2129 inst = PyInstance_NewRaw(data->newargs, dict);
2130 Py_DECREF(dict);
2131 return (PyObject *) inst;
2132 #else
2133 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2134 if (inst == NULL) {
2135 return NULL;
2136 }
2137 inst->in_class = (PyClassObject *)data->newargs;
2138 Py_INCREF(inst->in_class);
2139 inst->in_dict = PyDict_New();
2140 if (inst->in_dict == NULL) {
2141 Py_DECREF(inst);
2142 return NULL;
2143 }
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst->in_weakreflist = NULL;
2146 #endif
2147 #ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst);
2149 #endif
2150 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2151 return (PyObject *) inst;
2152 #endif
2153 #endif
2154 }
2155
2156 SWIGRUNTIME void
2157 SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2158 {
2159 PyObject *dict;
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2162 if (dictptr != NULL) {
2163 dict = *dictptr;
2164 if (dict == NULL) {
2165 dict = PyDict_New();
2166 *dictptr = dict;
2167 }
2168 PyDict_SetItem(dict, SWIG_This(), swig_this);
2169 return;
2170 }
2171 #endif
2172 dict = PyObject_GetAttrString(inst, "__dict__");
2173 PyDict_SetItem(dict, SWIG_This(), swig_this);
2174 Py_DECREF(dict);
2175 }
2176
2177
2178 SWIGINTERN PyObject *
2179 SWIG_Python_InitShadowInstance(PyObject *args) {
2180 PyObject *obj[2];
2181 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2182 return NULL;
2183 } else {
2184 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2185 if (sthis) {
2186 PySwigObject_append((PyObject*) sthis, obj[1]);
2187 } else {
2188 SWIG_Python_SetSwigThis(obj[0], obj[1]);
2189 }
2190 return SWIG_Py_Void();
2191 }
2192 }
2193
2194 /* Create a new pointer object */
2195
2196 SWIGRUNTIME PyObject *
2197 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
2198 if (!ptr) {
2199 return SWIG_Py_Void();
2200 } else {
2201 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2202 PyObject *robj = PySwigObject_New(ptr, type, own);
2203 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2204 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2205 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2206 if (inst) {
2207 Py_DECREF(robj);
2208 robj = inst;
2209 }
2210 }
2211 return robj;
2212 }
2213 }
2214
2215 /* Create a new packed object */
2216
2217 SWIGRUNTIMEINLINE PyObject *
2218 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
2219 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
2220 }
2221
2222 /* -----------------------------------------------------------------------------*
2223 * Get type list
2224 * -----------------------------------------------------------------------------*/
2225
2226 #ifdef SWIG_LINK_RUNTIME
2227 void *SWIG_ReturnGlobalTypeList(void *);
2228 #endif
2229
2230 SWIGRUNTIME swig_module_info *
2231 SWIG_Python_GetModule(void) {
2232 static void *type_pointer = (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer) {
2235 #ifdef SWIG_LINK_RUNTIME
2236 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2237 #else
2238 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2240 if (PyErr_Occurred()) {
2241 PyErr_Clear();
2242 type_pointer = (void *)0;
2243 }
2244 #endif
2245 }
2246 return (swig_module_info *) type_pointer;
2247 }
2248
2249 #if PY_MAJOR_VERSION < 2
2250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2251 is copied out of Python/modsupport.c in python version 2.3.4 */
2252 SWIGINTERN int
2253 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2254 {
2255 PyObject *dict;
2256 if (!PyModule_Check(m)) {
2257 PyErr_SetString(PyExc_TypeError,
2258 "PyModule_AddObject() needs module as first arg");
2259 return SWIG_ERROR;
2260 }
2261 if (!o) {
2262 PyErr_SetString(PyExc_TypeError,
2263 "PyModule_AddObject() needs non-NULL value");
2264 return SWIG_ERROR;
2265 }
2266
2267 dict = PyModule_GetDict(m);
2268 if (dict == NULL) {
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2271 PyModule_GetName(m));
2272 return SWIG_ERROR;
2273 }
2274 if (PyDict_SetItemString(dict, name, o))
2275 return SWIG_ERROR;
2276 Py_DECREF(o);
2277 return SWIG_OK;
2278 }
2279 #endif
2280
2281 SWIGRUNTIME void
2282 SWIG_Python_DestroyModule(void *vptr)
2283 {
2284 swig_module_info *swig_module = (swig_module_info *) vptr;
2285 swig_type_info **types = swig_module->types;
2286 size_t i;
2287 for (i =0; i < swig_module->size; ++i) {
2288 swig_type_info *ty = types[i];
2289 if (ty->owndata) {
2290 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2291 if (data) PySwigClientData_Del(data);
2292 }
2293 }
2294 Py_DECREF(SWIG_This());
2295 }
2296
2297 SWIGRUNTIME void
2298 SWIG_Python_SetModule(swig_module_info *swig_module) {
2299 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2300
2301 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2302 swig_empty_runtime_method_table);
2303 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
2304 if (pointer && module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
2306 } else {
2307 Py_XDECREF(pointer);
2308 }
2309 }
2310
2311 /* The python cached type query */
2312 SWIGRUNTIME PyObject *
2313 SWIG_Python_TypeCache() {
2314 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2315 return cache;
2316 }
2317
2318 SWIGRUNTIME swig_type_info *
2319 SWIG_Python_TypeQuery(const char *type)
2320 {
2321 PyObject *cache = SWIG_Python_TypeCache();
2322 PyObject *key = PyString_FromString(type);
2323 PyObject *obj = PyDict_GetItem(cache, key);
2324 swig_type_info *descriptor;
2325 if (obj) {
2326 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2327 } else {
2328 swig_module_info *swig_module = SWIG_Python_GetModule();
2329 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2330 if (descriptor) {
2331 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2332 PyDict_SetItem(cache, key, obj);
2333 Py_DECREF(obj);
2334 }
2335 }
2336 Py_DECREF(key);
2337 return descriptor;
2338 }
2339
2340 /*
2341 For backward compatibility only
2342 */
2343 #define SWIG_POINTER_EXCEPTION 0
2344 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2346
2347 SWIGRUNTIME int
2348 SWIG_Python_AddErrMesg(const char* mesg, int infront)
2349 {
2350 if (PyErr_Occurred()) {
2351 PyObject *type = 0;
2352 PyObject *value = 0;
2353 PyObject *traceback = 0;
2354 PyErr_Fetch(&type, &value, &traceback);
2355 if (value) {
2356 PyObject *old_str = PyObject_Str(value);
2357 Py_XINCREF(type);
2358 PyErr_Clear();
2359 if (infront) {
2360 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2361 } else {
2362 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2363 }
2364 Py_DECREF(old_str);
2365 }
2366 return 1;
2367 } else {
2368 return 0;
2369 }
2370 }
2371
2372 SWIGRUNTIME int
2373 SWIG_Python_ArgFail(int argnum)
2374 {
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2377 char mesg[256];
2378 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2379 return SWIG_Python_AddErrMesg(mesg, 1);
2380 } else {
2381 return 0;
2382 }
2383 }
2384
2385 SWIGRUNTIMEINLINE const char *
2386 PySwigObject_GetDesc(PyObject *self)
2387 {
2388 PySwigObject *v = (PySwigObject *)self;
2389 swig_type_info *ty = v ? v->ty : 0;
2390 return ty ? ty->str : (char*)"";
2391 }
2392
2393 SWIGRUNTIME void
2394 SWIG_Python_TypeError(const char *type, PyObject *obj)
2395 {
2396 if (type) {
2397 #if defined(SWIG_COBJECT_TYPES)
2398 if (obj && PySwigObject_Check(obj)) {
2399 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2400 if (otype) {
2401 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2402 type, otype);
2403 return;
2404 }
2405 } else
2406 #endif
2407 {
2408 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2409 if (otype) {
2410 PyObject *str = PyObject_Str(obj);
2411 const char *cstr = str ? PyString_AsString(str) : 0;
2412 if (cstr) {
2413 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2414 type, otype, cstr);
2415 } else {
2416 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2417 type, otype);
2418 }
2419 Py_XDECREF(str);
2420 return;
2421 }
2422 }
2423 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2424 } else {
2425 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2426 }
2427 }
2428
2429
2430 /* Convert a pointer value, signal an exception on a type mismatch */
2431 SWIGRUNTIME void *
2432 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2433 void *result;
2434 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2435 PyErr_Clear();
2436 if (flags & SWIG_POINTER_EXCEPTION) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2438 SWIG_Python_ArgFail(argnum);
2439 }
2440 }
2441 return result;
2442 }
2443
2444
2445 #ifdef __cplusplus
2446 #if 0
2447 { /* cc-mode */
2448 #endif
2449 }
2450 #endif
2451
2452
2453
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2455
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2457
2458
2459
2460 /* -------- TYPES TABLE (BEGIN) -------- */
2461
2462 #define SWIGTYPE_p_bool swig_types[0]
2463 #define SWIGTYPE_p_char swig_types[1]
2464 #define SWIGTYPE_p_form_ops_t swig_types[2]
2465 #define SWIGTYPE_p_int swig_types[3]
2466 #define SWIGTYPE_p_unsigned_char swig_types[4]
2467 #define SWIGTYPE_p_unsigned_int swig_types[5]
2468 #define SWIGTYPE_p_unsigned_long swig_types[6]
2469 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2470 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2471 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2472 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2473 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2474 #define SWIGTYPE_p_wxBitmap swig_types[12]
2475 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2476 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2477 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2478 #define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2479 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2480 #define SWIGTYPE_p_wxCloseEvent swig_types[18]
2481 #define SWIGTYPE_p_wxColour swig_types[19]
2482 #define SWIGTYPE_p_wxColourData swig_types[20]
2483 #define SWIGTYPE_p_wxColourDialog swig_types[21]
2484 #define SWIGTYPE_p_wxCommandEvent swig_types[22]
2485 #define SWIGTYPE_p_wxContextMenuEvent swig_types[23]
2486 #define SWIGTYPE_p_wxControl swig_types[24]
2487 #define SWIGTYPE_p_wxControlWithItems swig_types[25]
2488 #define SWIGTYPE_p_wxDC swig_types[26]
2489 #define SWIGTYPE_p_wxDateEvent swig_types[27]
2490 #define SWIGTYPE_p_wxDialog swig_types[28]
2491 #define SWIGTYPE_p_wxDirDialog swig_types[29]
2492 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2493 #define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2494 #define SWIGTYPE_p_wxDuplexMode swig_types[32]
2495 #define SWIGTYPE_p_wxEraseEvent swig_types[33]
2496 #define SWIGTYPE_p_wxEvent swig_types[34]
2497 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
2498 #define SWIGTYPE_p_wxFSFile swig_types[36]
2499 #define SWIGTYPE_p_wxFileDialog swig_types[37]
2500 #define SWIGTYPE_p_wxFileSystem swig_types[38]
2501 #define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2502 #define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2503 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2504 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2505 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2506 #define SWIGTYPE_p_wxFont swig_types[44]
2507 #define SWIGTYPE_p_wxFontData swig_types[45]
2508 #define SWIGTYPE_p_wxFontDialog swig_types[46]
2509 #define SWIGTYPE_p_wxFrame swig_types[47]
2510 #define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2511 #define SWIGTYPE_p_wxGIFHandler swig_types[49]
2512 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2513 #define SWIGTYPE_p_wxGridSizer swig_types[51]
2514 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[52]
2515 #define SWIGTYPE_p_wxICOHandler swig_types[53]
2516 #define SWIGTYPE_p_wxIcon swig_types[54]
2517 #define SWIGTYPE_p_wxIconBundle swig_types[55]
2518 #define SWIGTYPE_p_wxIconizeEvent swig_types[56]
2519 #define SWIGTYPE_p_wxIdleEvent swig_types[57]
2520 #define SWIGTYPE_p_wxImage swig_types[58]
2521 #define SWIGTYPE_p_wxImageHandler swig_types[59]
2522 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2523 #define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2524 #define SWIGTYPE_p_wxJPEGHandler swig_types[62]
2525 #define SWIGTYPE_p_wxKeyEvent swig_types[63]
2526 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[64]
2527 #define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
2528 #define SWIGTYPE_p_wxMDIChildFrame swig_types[66]
2529 #define SWIGTYPE_p_wxMDIClientWindow swig_types[67]
2530 #define SWIGTYPE_p_wxMDIParentFrame swig_types[68]
2531 #define SWIGTYPE_p_wxMaximizeEvent swig_types[69]
2532 #define SWIGTYPE_p_wxMenu swig_types[70]
2533 #define SWIGTYPE_p_wxMenuBar swig_types[71]
2534 #define SWIGTYPE_p_wxMenuEvent swig_types[72]
2535 #define SWIGTYPE_p_wxMenuItem swig_types[73]
2536 #define SWIGTYPE_p_wxMessageDialog swig_types[74]
2537 #define SWIGTYPE_p_wxMiniFrame swig_types[75]
2538 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[76]
2539 #define SWIGTYPE_p_wxMouseEvent swig_types[77]
2540 #define SWIGTYPE_p_wxMoveEvent swig_types[78]
2541 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[79]
2542 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[80]
2543 #define SWIGTYPE_p_wxNcPaintEvent swig_types[81]
2544 #define SWIGTYPE_p_wxNotifyEvent swig_types[82]
2545 #define SWIGTYPE_p_wxObject swig_types[83]
2546 #define SWIGTYPE_p_wxPCXHandler swig_types[84]
2547 #define SWIGTYPE_p_wxPNGHandler swig_types[85]
2548 #define SWIGTYPE_p_wxPNMHandler swig_types[86]
2549 #define SWIGTYPE_p_wxPageSetupDialog swig_types[87]
2550 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[88]
2551 #define SWIGTYPE_p_wxPaintEvent swig_types[89]
2552 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[90]
2553 #define SWIGTYPE_p_wxPanel swig_types[91]
2554 #define SWIGTYPE_p_wxPaperSize swig_types[92]
2555 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[93]
2556 #define SWIGTYPE_p_wxPoint swig_types[94]
2557 #define SWIGTYPE_p_wxPopupWindow swig_types[95]
2558 #define SWIGTYPE_p_wxPreviewCanvas swig_types[96]
2559 #define SWIGTYPE_p_wxPreviewControlBar swig_types[97]
2560 #define SWIGTYPE_p_wxPreviewFrame swig_types[98]
2561 #define SWIGTYPE_p_wxPrintData swig_types[99]
2562 #define SWIGTYPE_p_wxPrintDialog swig_types[100]
2563 #define SWIGTYPE_p_wxPrintDialogData swig_types[101]
2564 #define SWIGTYPE_p_wxPrintPreview swig_types[102]
2565 #define SWIGTYPE_p_wxPrinter swig_types[103]
2566 #define SWIGTYPE_p_wxProgressDialog swig_types[104]
2567 #define SWIGTYPE_p_wxPyApp swig_types[105]
2568 #define SWIGTYPE_p_wxPyCommandEvent swig_types[106]
2569 #define SWIGTYPE_p_wxPyEvent swig_types[107]
2570 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[108]
2571 #define SWIGTYPE_p_wxPyImageHandler swig_types[109]
2572 #define SWIGTYPE_p_wxPyPanel swig_types[110]
2573 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[111]
2574 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[112]
2575 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[113]
2576 #define SWIGTYPE_p_wxPyPrintPreview swig_types[114]
2577 #define SWIGTYPE_p_wxPyPrintout swig_types[115]
2578 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[116]
2579 #define SWIGTYPE_p_wxPySizer swig_types[117]
2580 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[118]
2581 #define SWIGTYPE_p_wxPyVListBox swig_types[119]
2582 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[120]
2583 #define SWIGTYPE_p_wxPyValidator swig_types[121]
2584 #define SWIGTYPE_p_wxPyWindow swig_types[122]
2585 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[123]
2586 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[124]
2587 #define SWIGTYPE_p_wxRect swig_types[125]
2588 #define SWIGTYPE_p_wxRegion swig_types[126]
2589 #define SWIGTYPE_p_wxSashEvent swig_types[127]
2590 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[128]
2591 #define SWIGTYPE_p_wxSashWindow swig_types[129]
2592 #define SWIGTYPE_p_wxScrollEvent swig_types[130]
2593 #define SWIGTYPE_p_wxScrollWinEvent swig_types[131]
2594 #define SWIGTYPE_p_wxScrolledWindow swig_types[132]
2595 #define SWIGTYPE_p_wxSetCursorEvent swig_types[133]
2596 #define SWIGTYPE_p_wxShowEvent swig_types[134]
2597 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[135]
2598 #define SWIGTYPE_p_wxSize swig_types[136]
2599 #define SWIGTYPE_p_wxSizeEvent swig_types[137]
2600 #define SWIGTYPE_p_wxSizer swig_types[138]
2601 #define SWIGTYPE_p_wxSizerItem swig_types[139]
2602 #define SWIGTYPE_p_wxSplashScreen swig_types[140]
2603 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[141]
2604 #define SWIGTYPE_p_wxSplitterEvent swig_types[142]
2605 #define SWIGTYPE_p_wxSplitterWindow swig_types[143]
2606 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[144]
2607 #define SWIGTYPE_p_wxStatusBar swig_types[145]
2608 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[146]
2609 #define SWIGTYPE_p_wxString swig_types[147]
2610 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[148]
2611 #define SWIGTYPE_p_wxTIFFHandler swig_types[149]
2612 #define SWIGTYPE_p_wxTaskBarIcon swig_types[150]
2613 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[151]
2614 #define SWIGTYPE_p_wxTextEntryDialog swig_types[152]
2615 #define SWIGTYPE_p_wxTipWindow swig_types[153]
2616 #define SWIGTYPE_p_wxToolBar swig_types[154]
2617 #define SWIGTYPE_p_wxTopLevelWindow swig_types[155]
2618 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[156]
2619 #define SWIGTYPE_p_wxValidator swig_types[157]
2620 #define SWIGTYPE_p_wxVisualAttributes swig_types[158]
2621 #define SWIGTYPE_p_wxWindow swig_types[159]
2622 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[160]
2623 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[161]
2624 #define SWIGTYPE_p_wxXPMHandler swig_types[162]
2625 static swig_type_info *swig_types[164];
2626 static swig_module_info swig_module = {swig_types, 163, 0, 0, 0, 0};
2627 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2628 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2629
2630 /* -------- TYPES TABLE (END) -------- */
2631
2632 #if (PY_VERSION_HEX <= 0x02000000)
2633 # if !defined(SWIG_PYTHON_CLASSIC)
2634 # error "This python version requires to use swig with the '-classic' option"
2635 # endif
2636 #endif
2637 #if (PY_VERSION_HEX <= 0x02020000)
2638 # error "This python version requires to use swig with the '-nomodern' option"
2639 #endif
2640 #if (PY_VERSION_HEX <= 0x02020000)
2641 # error "This python version requires to use swig with the '-nomodernargs' option"
2642 #endif
2643 #ifndef METH_O
2644 # error "This python version requires to use swig with the '-nofastunpack' option"
2645 #endif
2646
2647 /*-----------------------------------------------
2648 @(target):= _windows_.so
2649 ------------------------------------------------*/
2650 #define SWIG_init init_windows_
2651
2652 #define SWIG_name "_windows_"
2653
2654 #define SWIGVERSION 0x010329
2655
2656
2657 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2658 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2659
2660
2661 #include <stdexcept>
2662
2663
2664 namespace swig {
2665 class PyObject_ptr {
2666 protected:
2667 PyObject *_obj;
2668
2669 public:
2670 PyObject_ptr() :_obj(0)
2671 {
2672 }
2673
2674 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2675 {
2676 Py_XINCREF(_obj);
2677 }
2678
2679 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2680 {
2681 if (initial_ref) Py_XINCREF(_obj);
2682 }
2683
2684 PyObject_ptr & operator=(const PyObject_ptr& item)
2685 {
2686 Py_XINCREF(item._obj);
2687 Py_XDECREF(_obj);
2688 _obj = item._obj;
2689 return *this;
2690 }
2691
2692 ~PyObject_ptr()
2693 {
2694 Py_XDECREF(_obj);
2695 }
2696
2697 operator PyObject *() const
2698 {
2699 return _obj;
2700 }
2701
2702 PyObject *operator->() const
2703 {
2704 return _obj;
2705 }
2706 };
2707 }
2708
2709
2710 namespace swig {
2711 struct PyObject_var : PyObject_ptr {
2712 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2713
2714 PyObject_var & operator = (PyObject* obj)
2715 {
2716 Py_XDECREF(_obj);
2717 _obj = obj;
2718 return *this;
2719 }
2720 };
2721 }
2722
2723
2724 #include "wx/wxPython/wxPython.h"
2725 #include "wx/wxPython/pyclasses.h"
2726
2727
2728 static const wxString wxPyEmptyString(wxEmptyString);
2729 static const wxString wxPyPanelNameStr(wxPanelNameStr);
2730
2731
2732
2733 #include <limits.h>
2734 #ifndef LLONG_MIN
2735 # define LLONG_MIN LONG_LONG_MIN
2736 #endif
2737 #ifndef LLONG_MAX
2738 # define LLONG_MAX LONG_LONG_MAX
2739 #endif
2740 #ifndef ULLONG_MAX
2741 # define ULLONG_MAX ULONG_LONG_MAX
2742 #endif
2743
2744
2745 SWIGINTERN int
2746 SWIG_AsVal_long (PyObject* obj, long* val)
2747 {
2748 if (PyNumber_Check(obj)) {
2749 if (val) *val = PyInt_AsLong(obj);
2750 return SWIG_OK;
2751 }
2752 return SWIG_TypeError;
2753 }
2754
2755
2756 SWIGINTERN int
2757 SWIG_AsVal_int (PyObject * obj, int *val)
2758 {
2759 long v;
2760 int res = SWIG_AsVal_long (obj, &v);
2761 if (SWIG_IsOK(res)) {
2762 if ((v < INT_MIN || v > INT_MAX)) {
2763 return SWIG_OverflowError;
2764 } else {
2765 if (val) *val = static_cast< int >(v);
2766 }
2767 }
2768 return res;
2769 }
2770
2771
2772 SWIGINTERN int
2773 SWIG_AsVal_bool (PyObject *obj, bool *val)
2774 {
2775 if (obj == Py_True) {
2776 if (val) *val = true;
2777 return SWIG_OK;
2778 } else if (obj == Py_False) {
2779 if (val) *val = false;
2780 return SWIG_OK;
2781 } else {
2782 long v = 0;
2783 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2784 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2785 return res;
2786 }
2787 }
2788
2789
2790 #define SWIG_From_long PyInt_FromLong
2791
2792
2793 SWIGINTERNINLINE PyObject *
2794 SWIG_From_int (int value)
2795 {
2796 return SWIG_From_long (value);
2797 }
2798
2799
2800 SWIGINTERN int
2801 SWIG_AsVal_double (PyObject *obj, double* val)
2802 {
2803 if (PyNumber_Check(obj)) {
2804 if (val) *val = PyFloat_AsDouble(obj);
2805 return SWIG_OK;
2806 }
2807 return SWIG_TypeError;
2808 }
2809
2810
2811 #define SWIG_From_double PyFloat_FromDouble
2812
2813 static const wxString wxPyFrameNameStr(wxFrameNameStr);
2814 static const wxString wxPyDialogNameStr(wxDialogNameStr);
2815 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
2816 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
2817 SWIGINTERN void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
2818 SWIGINTERN bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
2819
2820
2821 SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
2822 wxRect r;
2823 self->GetFieldRect(i, r);
2824 return r;
2825 }
2826 static const wxString wxPySplitterNameStr(wxT("splitter"));
2827 static const wxString wxPySashNameStr(wxT("sashWindow"));
2828 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
2829
2830 #include <wx/popupwin.h>
2831
2832
2833 class wxPyPopupTransientWindow : public wxPopupTransientWindow
2834 {
2835 public:
2836 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2837 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
2838 : wxPopupTransientWindow(parent, style) {}
2839
2840 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
2841 DEC_PYCALLBACK__(OnDismiss);
2842 DEC_PYCALLBACK_BOOL_(CanDismiss);
2843 PYPRIVATE;
2844 };
2845
2846
2847 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
2848 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
2849 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
2850
2851
2852 #include <wx/tipwin.h>
2853
2854 SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
2855 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2856 }
2857
2858 #include <wx/tipwin.h>
2859
2860
2861 #include <wx/vscroll.h>
2862
2863
2864 class wxPyVScrolledWindow : public wxVScrolledWindow
2865 {
2866 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
2867 public:
2868 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2869
2870 wxPyVScrolledWindow(wxWindow *parent,
2871 wxWindowID id = wxID_ANY,
2872 const wxPoint& pos = wxDefaultPosition,
2873 const wxSize& size = wxDefaultSize,
2874 long style = 0,
2875 const wxString& name = wxPyPanelNameStr)
2876 : wxVScrolledWindow(parent, id, pos, size, style, name)
2877 {}
2878
2879 // Overridable virtuals
2880
2881 // this function must be overridden in the derived class and it should
2882 // return the height of the given line in pixels
2883 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
2884
2885
2886 // this function doesn't have to be overridden but it may be useful to do
2887 // it if calculating the lines heights is a relatively expensive operation
2888 // as it gives the user code a possibility to calculate several of them at
2889 // once
2890 //
2891 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2892 // shouldn't rely on the latter being called for all lines in the interval
2893 // specified here. It is also possible that OnGetLineHeight() will be
2894 // called for the lines outside of this interval, so this is really just a
2895 // hint, not a promise.
2896 //
2897 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2898 // usual
2899 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
2900
2901
2902 // when the number of lines changes, we try to estimate the total height
2903 // of all lines which is a rather expensive operation in terms of lines
2904 // access, so if the user code may estimate the average height
2905 // better/faster than we do, it should override this function to implement
2906 // its own logic
2907 //
2908 // this function should return the best guess for the total height it may
2909 // make
2910 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2911
2912
2913 // Also expose some other interesting protected methods
2914
2915
2916 // find the index of the line we need to show at the top of the window such
2917 // that the last (fully or partially) visible line is the given one
2918 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
2919 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
2920
2921 // get the total height of the lines between lineMin (inclusive) and
2922 // lineMax (exclusive)
2923 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
2924 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
2925
2926 // update the thumb size shown by the scrollbar
2927 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2928
2929 // remove the scrollbar completely because we don't need it
2930 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2931
2932 PYPRIVATE;
2933 };
2934
2935 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
2936
2937 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
2938 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
2939 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2940
2941
2942 SWIGINTERN int
2943 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2944 {
2945 long v = 0;
2946 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2947 return SWIG_TypeError;
2948 }
2949 else if (val)
2950 *val = (unsigned long)v;
2951 return SWIG_OK;
2952 }
2953
2954
2955 SWIGINTERNINLINE int
2956 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2957 {
2958 unsigned long v;
2959 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2960 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2961 return res;
2962 }
2963
2964
2965 SWIGINTERNINLINE PyObject*
2966 SWIG_From_unsigned_SS_long (unsigned long value)
2967 {
2968 return (value > LONG_MAX) ?
2969 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2970 }
2971
2972
2973 SWIGINTERNINLINE PyObject *
2974 SWIG_From_size_t (size_t value)
2975 {
2976 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2977 }
2978
2979
2980 #include <wx/vlbox.h>
2981
2982 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
2983
2984 class wxPyVListBox : public wxVListBox
2985 {
2986 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
2987 public:
2988 wxPyVListBox() : wxVListBox() {}
2989
2990 wxPyVListBox(wxWindow *parent,
2991 wxWindowID id = wxID_ANY,
2992 const wxPoint& pos = wxDefaultPosition,
2993 const wxSize& size = wxDefaultSize,
2994 long style = 0,
2995 const wxString& name = wxPyVListBoxNameStr)
2996 : wxVListBox(parent, id, pos, size, style, name)
2997 {}
2998
2999 // Overridable virtuals
3000
3001 // the derived class must implement this function to actually draw the item
3002 // with the given index on the provided DC
3003 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3004 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
3005
3006
3007 // the derived class must implement this method to return the height of the
3008 // specified item
3009 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3010 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3011
3012
3013 // this method may be used to draw separators between the lines; note that
3014 // the rectangle may be modified, typically to deflate it a bit before
3015 // passing to OnDrawItem()
3016 //
3017 // the base class version doesn't do anything
3018 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3019 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3020
3021
3022 // this method is used to draw the items background and, maybe, a border
3023 // around it
3024 //
3025 // the base class version implements a reasonable default behaviour which
3026 // consists in drawing the selected item with the standard background
3027 // colour and drawing a border around the item if it is either selected or
3028 // current
3029 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3030 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3031
3032
3033 PYPRIVATE;
3034 };
3035
3036 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3037
3038 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3039 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
3040 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox, wxVListBox, OnDrawSeparator);
3041 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3042
3043
3044 SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
3045 unsigned long cookie = 0;
3046 int selected = self->GetFirstSelected(cookie);
3047 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3048 PyObject* tup = PyTuple_New(2);
3049 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3050 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3051 wxPyEndBlockThreads(blocked);
3052 return tup;
3053 }
3054 SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
3055 int selected = self->GetNextSelected(cookie);
3056 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3057 PyObject* tup = PyTuple_New(2);
3058 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3059 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3060 wxPyEndBlockThreads(blocked);
3061 return tup;
3062 }
3063
3064 #include <wx/htmllbox.h>
3065
3066
3067 class wxPyHtmlListBox : public wxHtmlListBox
3068 {
3069 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
3070 public:
3071 wxPyHtmlListBox() : wxHtmlListBox() {}
3072
3073 wxPyHtmlListBox(wxWindow *parent,
3074 wxWindowID id = wxID_ANY,
3075 const wxPoint& pos = wxDefaultPosition,
3076 const wxSize& size = wxDefaultSize,
3077 long style = 0,
3078 const wxString& name = wxPyVListBoxNameStr)
3079 : wxHtmlListBox(parent, id, pos, size, style, name)
3080 {}
3081
3082 // Overridable virtuals
3083
3084 // this method must be implemented in the derived class and should return
3085 // the body (i.e. without <html>) of the HTML for the given item
3086 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3087
3088 // this function may be overridden to decorate HTML returned by OnGetItem()
3089 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3090
3091 // These are from wxVListBox
3092 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3093 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3094
3095 // TODO:
3096 // // this method allows to customize the selection appearance: it may be used
3097 // // to specify the colour of the text which normally has the given colour
3098 // // colFg when it is inside the selection
3099 // //
3100 // // by default, the original colour is not used at all and all text has the
3101 // // same (default for this system) colour inside selection
3102 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3103
3104 // // this is the same as GetSelectedTextColour() but allows to customize the
3105 // // background colour -- this is even more rarely used as you can change it
3106 // // globally using SetSelectionBackground()
3107 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3108
3109
3110 // This method may be overriden to handle clicking on a link in
3111 // the listbox. By default, clicking links is ignored.
3112 virtual void OnLinkClicked(size_t n,
3113 const wxHtmlLinkInfo& link);
3114
3115 PYPRIVATE;
3116 };
3117
3118
3119 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3120
3121 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3122 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
3123 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawSeparator);
3124 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawBackground);
3125
3126
3127 void wxPyHtmlListBox::OnLinkClicked(size_t n,
3128 const wxHtmlLinkInfo& link) {
3129 bool found;
3130 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3131 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3132 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3133 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", n, obj));
3134 Py_DECREF(obj);
3135 }
3136 wxPyEndBlockThreads(blocked);
3137 if (! found)
3138 wxPyHtmlListBox::OnLinkClicked(n, link);
3139 }
3140
3141
3142
3143
3144
3145 #ifndef wxHAS_TASK_BAR_ICON
3146 // implement dummy classes for platforms that don't have it
3147
3148 class wxTaskBarIcon : public wxEvtHandler
3149 {
3150 public:
3151 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3152 };
3153
3154
3155 class wxTaskBarIconEvent : public wxEvent
3156 {
3157 public:
3158 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
3159 { wxPyRaiseNotImplemented(); }
3160 virtual wxEvent* Clone() const { return NULL; }
3161 bool IsOk() const { return false; }
3162 bool IsIconInstalled() const { return false; }
3163 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3164 bool RemoveIcon() { return false; }
3165 bool PopupMenu(wxMenu *menu) { return false; }
3166 };
3167
3168 enum {
3169 wxEVT_TASKBAR_MOVE = 0,
3170 wxEVT_TASKBAR_LEFT_DOWN = 0,
3171 wxEVT_TASKBAR_LEFT_UP = 0,
3172 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3173 wxEVT_TASKBAR_RIGHT_UP = 0,
3174 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3175 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3176 };
3177
3178
3179 #else
3180 // Otherwise make a class that can virtualize CreatePopupMenu
3181 class wxPyTaskBarIcon : public wxTaskBarIcon
3182 {
3183 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
3184 public:
3185 wxPyTaskBarIcon() : wxTaskBarIcon()
3186 {}
3187
3188 wxMenu* CreatePopupMenu() {
3189 wxMenu *rval = NULL;
3190 bool found;
3191 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3192 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3193 PyObject* ro;
3194 wxMenu* ptr;
3195 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3196 if (ro) {
3197 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3198 rval = ptr;
3199 Py_DECREF(ro);
3200 }
3201 }
3202 wxPyEndBlockThreads(blocked);
3203 if (! found)
3204 rval = wxTaskBarIcon::CreatePopupMenu();
3205 return rval;
3206 }
3207
3208 PYPRIVATE;
3209 };
3210
3211 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
3212
3213 #endif
3214
3215 SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
3216 self->RemoveIcon();
3217 delete self;
3218 }
3219 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3220 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3221 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3222 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3223 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3224 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
3225 SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
3226 wxArrayString arr;
3227 self->GetFilenames(arr);
3228 return wxArrayString2PyList_helper(arr);
3229 }
3230 SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
3231 wxArrayString arr;
3232 self->GetPaths(arr);
3233 return wxArrayString2PyList_helper(arr);
3234 }
3235 SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
3236 return wxArrayInt2PyList_helper(self->GetSelections());
3237 }
3238 SWIGINTERN wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style=wxCHOICEDLG_STYLE,wxPoint const &pos=wxDefaultPosition){
3239 return new wxSingleChoiceDialog(parent, message, caption,
3240 choices, choices_array, NULL, style, pos);
3241 }
3242 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
3243
3244 SWIGINTERNINLINE PyObject*
3245 SWIG_From_bool (bool value)
3246 {
3247 return PyBool_FromLong(value ? 1 : 0);
3248 }
3249
3250
3251 #include <wx/mdi.h>
3252
3253 // C++ version of Python aware wxWindow
3254 class wxPyWindow : public wxWindow
3255 {
3256 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3257 public:
3258 wxPyWindow() : wxWindow() {}
3259 wxPyWindow(wxWindow* parent, const wxWindowID id,
3260 const wxPoint& pos = wxDefaultPosition,
3261 const wxSize& size = wxDefaultSize,
3262 long style = 0,
3263 const wxString& name = wxPyPanelNameStr)
3264 : wxWindow(parent, id, pos, size, style, name) {}
3265
3266 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
3267
3268 bool DoEraseBackground(wxDC* dc) {
3269 #ifdef __WXMSW__
3270 return wxWindow::DoEraseBackground(dc->GetHDC());
3271 #else
3272 dc->SetBackground(wxBrush(GetBackgroundColour()));
3273 dc->Clear();
3274 return true;
3275 #endif
3276 }
3277
3278 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3279 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3280 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3281 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3282
3283 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3284 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3285 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3286
3287 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3288 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3289
3290 DEC_PYCALLBACK__(InitDialog);
3291 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3292 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3293 DEC_PYCALLBACK_BOOL_(Validate);
3294
3295 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3296 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3297 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3298
3299 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3300 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3301
3302 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3303 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3304
3305 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3306
3307 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3308
3309 PYPRIVATE;
3310 };
3311
3312 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3313
3314 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3315 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3316 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3317 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3318
3319 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3320 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3321 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3322
3323 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3324 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3325
3326 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3327 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3328 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3329 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3330
3331 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3332 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3333 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3334
3335 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3336 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3337
3338 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
3339 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
3340
3341 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
3342
3343 IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3344
3345 // C++ version of Python aware wxPanel
3346 class wxPyPanel : public wxPanel
3347 {
3348 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3349 public:
3350 wxPyPanel() : wxPanel() {}
3351 wxPyPanel(wxWindow* parent, const wxWindowID id,
3352 const wxPoint& pos = wxDefaultPosition,
3353 const wxSize& size = wxDefaultSize,
3354 long style = 0,
3355 const wxString& name = wxPyPanelNameStr)
3356 : wxPanel(parent, id, pos, size, style, name) {}
3357
3358 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
3359 bool DoEraseBackground(wxDC* dc) {
3360 #ifdef __WXMSW__
3361 return wxWindow::DoEraseBackground(dc->GetHDC());
3362 #else
3363 dc->SetBackground(wxBrush(GetBackgroundColour()));
3364 dc->Clear();
3365 return true;
3366 #endif
3367 }
3368
3369
3370 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3371 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3372 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3373 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3374
3375 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3376 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3377 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3378
3379 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3380 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3381
3382 DEC_PYCALLBACK__(InitDialog);
3383 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3384 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3385 DEC_PYCALLBACK_BOOL_(Validate);
3386
3387 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3388 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3389 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3390
3391 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3392 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3393
3394 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3395 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3396
3397 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3398
3399 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3400
3401 PYPRIVATE;
3402 };
3403
3404 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3405
3406 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3407 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3408 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3409 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3410
3411 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3412 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3413 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3414
3415 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3416 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3417
3418 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3419 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3420 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3421 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3422
3423 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3424 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3425 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3426
3427 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3428 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3429
3430 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
3431 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
3432
3433 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3434
3435 IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3436
3437 // C++ version of Python aware wxScrolledWindow
3438 class wxPyScrolledWindow : public wxScrolledWindow
3439 {
3440 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3441 public:
3442 wxPyScrolledWindow() : wxScrolledWindow() {}
3443 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3444 const wxPoint& pos = wxDefaultPosition,
3445 const wxSize& size = wxDefaultSize,
3446 long style = 0,
3447 const wxString& name = wxPyPanelNameStr)
3448 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3449
3450 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
3451 bool DoEraseBackground(wxDC* dc) {
3452 #ifdef __WXMSW__
3453 return wxWindow::DoEraseBackground(dc->GetHDC());
3454 #else
3455 dc->SetBackground(wxBrush(GetBackgroundColour()));
3456 dc->Clear();
3457 return true;
3458 #endif
3459 }
3460
3461 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3462 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3463 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3464 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3465
3466 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3467 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3468 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3469
3470 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3471 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3472
3473 DEC_PYCALLBACK__(InitDialog);
3474 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3475 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3476 DEC_PYCALLBACK_BOOL_(Validate);
3477
3478 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3479 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3480 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3481
3482 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3483 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3484
3485 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3486 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3487
3488 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3489
3490 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3491
3492 PYPRIVATE;
3493 };
3494
3495 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3496
3497 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3498 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3499 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3500 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3501
3502 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3503 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3504 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3505
3506 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3507 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3508
3509 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3510 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3511 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3512 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3513
3514 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3515 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3516 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3517
3518 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3519 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3520
3521 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
3522 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3523
3524 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
3525
3526 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3527
3528
3529 #include "wx/wxPython/printfw.h"
3530
3531
3532 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3533 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3534 SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
3535 PyObject* data;
3536 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3537 data = PyString_FromStringAndSize(self->GetPrivData(),
3538 self->GetPrivDataLen());
3539 wxPyEndBlockThreads(blocked);
3540 return data;
3541 }
3542 SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
3543 if (! PyString_Check(data)) {
3544 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3545 "Expected string object"));
3546 return /* NULL */ ;
3547 }
3548
3549 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3550 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3551 wxPyEndBlockThreads(blocked);
3552 }
3553
3554
3555 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
3556
3557 // Since this one would be tough and ugly to do with the Macros...
3558 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
3559 bool hadErr = false;
3560 bool found;
3561
3562 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3563 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3564 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3565 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3566 PyObject* val;
3567
3568 val = PyTuple_GetItem(result, 0);
3569 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
3570 else hadErr = true;
3571
3572 val = PyTuple_GetItem(result, 1);
3573 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
3574 else hadErr = true;
3575
3576 val = PyTuple_GetItem(result, 2);
3577 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
3578 else hadErr = true;
3579
3580 val = PyTuple_GetItem(result, 3);
3581 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
3582 else hadErr = true;
3583 }
3584 else
3585 hadErr = true;
3586
3587 if (hadErr) {
3588 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3589 PyErr_Print();
3590 }
3591 Py_DECREF(result);
3592 }
3593 wxPyEndBlockThreads(blocked);
3594 if (! found)
3595 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3596 }
3597
3598
3599
3600 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3601 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3602 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3603 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3604 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3605 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3606 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3607
3608
3609
3610
3611
3612 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3613 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3614
3615
3616 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3617 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3618 bool rval=false; \
3619 bool found; \
3620 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3621 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3622 PyObject* win = wxPyMake_wxObject(a,false); \
3623 PyObject* dc = wxPyMake_wxObject(&b,false); \
3624 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3625 Py_DECREF(win); \
3626 Py_DECREF(dc); \
3627 } \
3628 wxPyEndBlockThreads(blocked); \
3629 if (! found) \
3630 rval = PCLASS::CBNAME(a, b); \
3631 return rval; \
3632 }
3633
3634
3635
3636
3637 class wxPyPrintPreview : public wxPrintPreview
3638 {
3639 DECLARE_CLASS(wxPyPrintPreview)
3640 public:
3641 wxPyPrintPreview(wxPyPrintout* printout,
3642 wxPyPrintout* printoutForPrinting,
3643 wxPrintDialogData* data=NULL)
3644 : wxPrintPreview(printout, printoutForPrinting, data)
3645 {}
3646 wxPyPrintPreview(wxPyPrintout* printout,
3647 wxPyPrintout* printoutForPrinting,
3648 wxPrintData* data)
3649 : wxPrintPreview(printout, printoutForPrinting, data)
3650 {}
3651
3652 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3653 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3654 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3655 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3656 DEC_PYCALLBACK_VOID_INT(SetZoom);
3657 DEC_PYCALLBACK_BOOL_BOOL(Print);
3658 DEC_PYCALLBACK_VOID_(DetermineScaling);
3659
3660 PYPRIVATE;
3661 };
3662
3663 // Stupid renamed classes... Fix this in 2.5...
3664 #if defined(__WXMSW__)
3665 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3666 #elif defined(__WXMAC__)
3667 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3668 #else
3669 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3670 #endif
3671
3672 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3673 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3674 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3675 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3676 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3677 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3678 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3679
3680
3681 class wxPyPreviewFrame : public wxPreviewFrame
3682 {
3683 DECLARE_CLASS(wxPyPreviewFrame)
3684 public:
3685 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3686 const wxString& title,
3687 const wxPoint& pos = wxDefaultPosition,
3688 const wxSize& size = wxDefaultSize,
3689 long style = wxDEFAULT_FRAME_STYLE,
3690 const wxString& name = wxPyFrameNameStr)
3691 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3692 {}
3693
3694 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3695 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3696
3697 DEC_PYCALLBACK_VOID_(Initialize);
3698 DEC_PYCALLBACK_VOID_(CreateCanvas);
3699 DEC_PYCALLBACK_VOID_(CreateControlBar);
3700
3701 PYPRIVATE;
3702 };
3703
3704 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3705
3706 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3707 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3708 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3709
3710
3711 class wxPyPreviewControlBar : public wxPreviewControlBar
3712 {
3713 DECLARE_CLASS(wxPyPreviewControlBar)
3714 public:
3715 wxPyPreviewControlBar(wxPrintPreview *preview,
3716 long buttons,
3717 wxWindow *parent,
3718 const wxPoint& pos = wxDefaultPosition,
3719 const wxSize& size = wxDefaultSize,
3720 long style = 0,
3721 const wxString& name = wxPyPanelNameStr)
3722 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3723 {}
3724
3725 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3726
3727 DEC_PYCALLBACK_VOID_(CreateButtons);
3728 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3729
3730 PYPRIVATE;
3731 };
3732
3733 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3734 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3735 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3736
3737 #ifdef __cplusplus
3738 extern "C" {
3739 #endif
3740 SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3741 PyObject *resultobj = 0;
3742 wxWindow *arg1 = (wxWindow *) 0 ;
3743 int arg2 = (int) (int)-1 ;
3744 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3745 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3746 wxSize const &arg4_defvalue = wxDefaultSize ;
3747 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3748 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3749 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3750 wxString *arg6 = (wxString *) &arg6_defvalue ;
3751 wxPanel *result = 0 ;
3752 void *argp1 = 0 ;
3753 int res1 = 0 ;
3754 int val2 ;
3755 int ecode2 = 0 ;
3756 wxPoint temp3 ;
3757 wxSize temp4 ;
3758 long val5 ;
3759 int ecode5 = 0 ;
3760 bool temp6 = false ;
3761 PyObject * obj0 = 0 ;
3762 PyObject * obj1 = 0 ;
3763 PyObject * obj2 = 0 ;
3764 PyObject * obj3 = 0 ;
3765 PyObject * obj4 = 0 ;
3766 PyObject * obj5 = 0 ;
3767 char * kwnames[] = {
3768 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3769 };
3770
3771 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3772 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3773 if (!SWIG_IsOK(res1)) {
3774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3775 }
3776 arg1 = reinterpret_cast< wxWindow * >(argp1);
3777 if (obj1) {
3778 ecode2 = SWIG_AsVal_int(obj1, &val2);
3779 if (!SWIG_IsOK(ecode2)) {
3780 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3781 }
3782 arg2 = static_cast< int >(val2);
3783 }
3784 if (obj2) {
3785 {
3786 arg3 = &temp3;
3787 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3788 }
3789 }
3790 if (obj3) {
3791 {
3792 arg4 = &temp4;
3793 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3794 }
3795 }
3796 if (obj4) {
3797 ecode5 = SWIG_AsVal_long(obj4, &val5);
3798 if (!SWIG_IsOK(ecode5)) {
3799 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3800 }
3801 arg5 = static_cast< long >(val5);
3802 }
3803 if (obj5) {
3804 {
3805 arg6 = wxString_in_helper(obj5);
3806 if (arg6 == NULL) SWIG_fail;
3807 temp6 = true;
3808 }
3809 }
3810 {
3811 if (!wxPyCheckForApp()) SWIG_fail;
3812 PyThreadState* __tstate = wxPyBeginAllowThreads();
3813 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3814 wxPyEndAllowThreads(__tstate);
3815 if (PyErr_Occurred()) SWIG_fail;
3816 }
3817 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3818 {
3819 if (temp6)
3820 delete arg6;
3821 }
3822 return resultobj;
3823 fail:
3824 {
3825 if (temp6)
3826 delete arg6;
3827 }
3828 return NULL;
3829 }
3830
3831
3832 SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3833 PyObject *resultobj = 0;
3834 wxPanel *result = 0 ;
3835
3836 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3837 {
3838 if (!wxPyCheckForApp()) SWIG_fail;
3839 PyThreadState* __tstate = wxPyBeginAllowThreads();
3840 result = (wxPanel *)new wxPanel();
3841 wxPyEndAllowThreads(__tstate);
3842 if (PyErr_Occurred()) SWIG_fail;
3843 }
3844 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3845 return resultobj;
3846 fail:
3847 return NULL;
3848 }
3849
3850
3851 SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3852 PyObject *resultobj = 0;
3853 wxPanel *arg1 = (wxPanel *) 0 ;
3854 wxWindow *arg2 = (wxWindow *) 0 ;
3855 int arg3 = (int) (int)-1 ;
3856 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3857 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3858 wxSize const &arg5_defvalue = wxDefaultSize ;
3859 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3860 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3861 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3862 wxString *arg7 = (wxString *) &arg7_defvalue ;
3863 bool result;
3864 void *argp1 = 0 ;
3865 int res1 = 0 ;
3866 void *argp2 = 0 ;
3867 int res2 = 0 ;
3868 int val3 ;
3869 int ecode3 = 0 ;
3870 wxPoint temp4 ;
3871 wxSize temp5 ;
3872 long val6 ;
3873 int ecode6 = 0 ;
3874 bool temp7 = false ;
3875 PyObject * obj0 = 0 ;
3876 PyObject * obj1 = 0 ;
3877 PyObject * obj2 = 0 ;
3878 PyObject * obj3 = 0 ;
3879 PyObject * obj4 = 0 ;
3880 PyObject * obj5 = 0 ;
3881 PyObject * obj6 = 0 ;
3882 char * kwnames[] = {
3883 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3884 };
3885
3886 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3887 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3888 if (!SWIG_IsOK(res1)) {
3889 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3890 }
3891 arg1 = reinterpret_cast< wxPanel * >(argp1);
3892 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3893 if (!SWIG_IsOK(res2)) {
3894 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3895 }
3896 arg2 = reinterpret_cast< wxWindow * >(argp2);
3897 if (obj2) {
3898 ecode3 = SWIG_AsVal_int(obj2, &val3);
3899 if (!SWIG_IsOK(ecode3)) {
3900 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3901 }
3902 arg3 = static_cast< int >(val3);
3903 }
3904 if (obj3) {
3905 {
3906 arg4 = &temp4;
3907 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3908 }
3909 }
3910 if (obj4) {
3911 {
3912 arg5 = &temp5;
3913 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3914 }
3915 }
3916 if (obj5) {
3917 ecode6 = SWIG_AsVal_long(obj5, &val6);
3918 if (!SWIG_IsOK(ecode6)) {
3919 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3920 }
3921 arg6 = static_cast< long >(val6);
3922 }
3923 if (obj6) {
3924 {
3925 arg7 = wxString_in_helper(obj6);
3926 if (arg7 == NULL) SWIG_fail;
3927 temp7 = true;
3928 }
3929 }
3930 {
3931 PyThreadState* __tstate = wxPyBeginAllowThreads();
3932 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3933 wxPyEndAllowThreads(__tstate);
3934 if (PyErr_Occurred()) SWIG_fail;
3935 }
3936 {
3937 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3938 }
3939 {
3940 if (temp7)
3941 delete arg7;
3942 }
3943 return resultobj;
3944 fail:
3945 {
3946 if (temp7)
3947 delete arg7;
3948 }
3949 return NULL;
3950 }
3951
3952
3953 SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3954 PyObject *resultobj = 0;
3955 wxPanel *arg1 = (wxPanel *) 0 ;
3956 void *argp1 = 0 ;
3957 int res1 = 0 ;
3958 PyObject *swig_obj[1] ;
3959
3960 if (!args) SWIG_fail;
3961 swig_obj[0] = args;
3962 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3963 if (!SWIG_IsOK(res1)) {
3964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3965 }
3966 arg1 = reinterpret_cast< wxPanel * >(argp1);
3967 {
3968 PyThreadState* __tstate = wxPyBeginAllowThreads();
3969 (arg1)->SetFocusIgnoringChildren();
3970 wxPyEndAllowThreads(__tstate);
3971 if (PyErr_Occurred()) SWIG_fail;
3972 }
3973 resultobj = SWIG_Py_Void();
3974 return resultobj;
3975 fail:
3976 return NULL;
3977 }
3978
3979
3980 SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3981 PyObject *resultobj = 0;
3982 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3983 SwigValueWrapper<wxVisualAttributes > result;
3984 int val1 ;
3985 int ecode1 = 0 ;
3986 PyObject * obj0 = 0 ;
3987 char * kwnames[] = {
3988 (char *) "variant", NULL
3989 };
3990
3991 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
3992 if (obj0) {
3993 ecode1 = SWIG_AsVal_int(obj0, &val1);
3994 if (!SWIG_IsOK(ecode1)) {
3995 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3996 }
3997 arg1 = static_cast< wxWindowVariant >(val1);
3998 }
3999 {
4000 if (!wxPyCheckForApp()) SWIG_fail;
4001 PyThreadState* __tstate = wxPyBeginAllowThreads();
4002 result = wxPanel::GetClassDefaultAttributes(arg1);
4003 wxPyEndAllowThreads(__tstate);
4004 if (PyErr_Occurred()) SWIG_fail;
4005 }
4006 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
4007 return resultobj;
4008 fail:
4009 return NULL;
4010 }
4011
4012
4013 SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4014 PyObject *obj;
4015 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4016 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
4017 return SWIG_Py_Void();
4018 }
4019
4020 SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4021 return SWIG_Python_InitShadowInstance(args);
4022 }
4023
4024 SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4025 PyObject *resultobj = 0;
4026 wxWindow *arg1 = (wxWindow *) 0 ;
4027 int arg2 = (int) (int)-1 ;
4028 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4029 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4030 wxSize const &arg4_defvalue = wxDefaultSize ;
4031 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4032 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
4033 wxString const &arg6_defvalue = wxPyPanelNameStr ;
4034 wxString *arg6 = (wxString *) &arg6_defvalue ;
4035 wxScrolledWindow *result = 0 ;
4036 void *argp1 = 0 ;
4037 int res1 = 0 ;
4038 int val2 ;
4039 int ecode2 = 0 ;
4040 wxPoint temp3 ;
4041 wxSize temp4 ;
4042 long val5 ;
4043 int ecode5 = 0 ;
4044 bool temp6 = false ;
4045 PyObject * obj0 = 0 ;
4046 PyObject * obj1 = 0 ;
4047 PyObject * obj2 = 0 ;
4048 PyObject * obj3 = 0 ;
4049 PyObject * obj4 = 0 ;
4050 PyObject * obj5 = 0 ;
4051 char * kwnames[] = {
4052 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4053 };
4054
4055 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4056 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4057 if (!SWIG_IsOK(res1)) {
4058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4059 }
4060 arg1 = reinterpret_cast< wxWindow * >(argp1);
4061 if (obj1) {
4062 ecode2 = SWIG_AsVal_int(obj1, &val2);
4063 if (!SWIG_IsOK(ecode2)) {
4064 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4065 }
4066 arg2 = static_cast< int >(val2);
4067 }
4068 if (obj2) {
4069 {
4070 arg3 = &temp3;
4071 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4072 }
4073 }
4074 if (obj3) {
4075 {
4076 arg4 = &temp4;
4077 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4078 }
4079 }
4080 if (obj4) {
4081 ecode5 = SWIG_AsVal_long(obj4, &val5);
4082 if (!SWIG_IsOK(ecode5)) {
4083 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4084 }
4085 arg5 = static_cast< long >(val5);
4086 }
4087 if (obj5) {
4088 {
4089 arg6 = wxString_in_helper(obj5);
4090 if (arg6 == NULL) SWIG_fail;
4091 temp6 = true;
4092 }
4093 }
4094 {
4095 if (!wxPyCheckForApp()) SWIG_fail;
4096 PyThreadState* __tstate = wxPyBeginAllowThreads();
4097 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4098 wxPyEndAllowThreads(__tstate);
4099 if (PyErr_Occurred()) SWIG_fail;
4100 }
4101 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4102 {
4103 if (temp6)
4104 delete arg6;
4105 }
4106 return resultobj;
4107 fail:
4108 {
4109 if (temp6)
4110 delete arg6;
4111 }
4112 return NULL;
4113 }
4114
4115
4116 SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4117 PyObject *resultobj = 0;
4118 wxScrolledWindow *result = 0 ;
4119
4120 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4121 {
4122 if (!wxPyCheckForApp()) SWIG_fail;
4123 PyThreadState* __tstate = wxPyBeginAllowThreads();
4124 result = (wxScrolledWindow *)new wxScrolledWindow();
4125 wxPyEndAllowThreads(__tstate);
4126 if (PyErr_Occurred()) SWIG_fail;
4127 }
4128 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4129 return resultobj;
4130 fail:
4131 return NULL;
4132 }
4133
4134
4135 SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4136 PyObject *resultobj = 0;
4137 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4138 wxWindow *arg2 = (wxWindow *) 0 ;
4139 int arg3 = (int) (int)-1 ;
4140 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4141 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4142 wxSize const &arg5_defvalue = wxDefaultSize ;
4143 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4144 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4145 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4146 wxString *arg7 = (wxString *) &arg7_defvalue ;
4147 bool result;
4148 void *argp1 = 0 ;
4149 int res1 = 0 ;
4150 void *argp2 = 0 ;
4151 int res2 = 0 ;
4152 int val3 ;
4153 int ecode3 = 0 ;
4154 wxPoint temp4 ;
4155 wxSize temp5 ;
4156 long val6 ;
4157 int ecode6 = 0 ;
4158 bool temp7 = false ;
4159 PyObject * obj0 = 0 ;
4160 PyObject * obj1 = 0 ;
4161 PyObject * obj2 = 0 ;
4162 PyObject * obj3 = 0 ;
4163 PyObject * obj4 = 0 ;
4164 PyObject * obj5 = 0 ;
4165 PyObject * obj6 = 0 ;
4166 char * kwnames[] = {
4167 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4168 };
4169
4170 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4171 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4172 if (!SWIG_IsOK(res1)) {
4173 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4174 }
4175 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4176 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4177 if (!SWIG_IsOK(res2)) {
4178 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4179 }
4180 arg2 = reinterpret_cast< wxWindow * >(argp2);
4181 if (obj2) {
4182 ecode3 = SWIG_AsVal_int(obj2, &val3);
4183 if (!SWIG_IsOK(ecode3)) {
4184 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4185 }
4186 arg3 = static_cast< int >(val3);
4187 }
4188 if (obj3) {
4189 {
4190 arg4 = &temp4;
4191 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4192 }
4193 }
4194 if (obj4) {
4195 {
4196 arg5 = &temp5;
4197 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4198 }
4199 }
4200 if (obj5) {
4201 ecode6 = SWIG_AsVal_long(obj5, &val6);
4202 if (!SWIG_IsOK(ecode6)) {
4203 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4204 }
4205 arg6 = static_cast< long >(val6);
4206 }
4207 if (obj6) {
4208 {
4209 arg7 = wxString_in_helper(obj6);
4210 if (arg7 == NULL) SWIG_fail;
4211 temp7 = true;
4212 }
4213 }
4214 {
4215 PyThreadState* __tstate = wxPyBeginAllowThreads();
4216 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4217 wxPyEndAllowThreads(__tstate);
4218 if (PyErr_Occurred()) SWIG_fail;
4219 }
4220 {
4221 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4222 }
4223 {
4224 if (temp7)
4225 delete arg7;
4226 }
4227 return resultobj;
4228 fail:
4229 {
4230 if (temp7)
4231 delete arg7;
4232 }
4233 return NULL;
4234 }
4235
4236
4237 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4238 PyObject *resultobj = 0;
4239 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4240 int arg2 ;
4241 int arg3 ;
4242 int arg4 ;
4243 int arg5 ;
4244 int arg6 = (int) 0 ;
4245 int arg7 = (int) 0 ;
4246 bool arg8 = (bool) false ;
4247 void *argp1 = 0 ;
4248 int res1 = 0 ;
4249 int val2 ;
4250 int ecode2 = 0 ;
4251 int val3 ;
4252 int ecode3 = 0 ;
4253 int val4 ;
4254 int ecode4 = 0 ;
4255 int val5 ;
4256 int ecode5 = 0 ;
4257 int val6 ;
4258 int ecode6 = 0 ;
4259 int val7 ;
4260 int ecode7 = 0 ;
4261 bool val8 ;
4262 int ecode8 = 0 ;
4263 PyObject * obj0 = 0 ;
4264 PyObject * obj1 = 0 ;
4265 PyObject * obj2 = 0 ;
4266 PyObject * obj3 = 0 ;
4267 PyObject * obj4 = 0 ;
4268 PyObject * obj5 = 0 ;
4269 PyObject * obj6 = 0 ;
4270 PyObject * obj7 = 0 ;
4271 char * kwnames[] = {
4272 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4273 };
4274
4275 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4276 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4277 if (!SWIG_IsOK(res1)) {
4278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4279 }
4280 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4281 ecode2 = SWIG_AsVal_int(obj1, &val2);
4282 if (!SWIG_IsOK(ecode2)) {
4283 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4284 }
4285 arg2 = static_cast< int >(val2);
4286 ecode3 = SWIG_AsVal_int(obj2, &val3);
4287 if (!SWIG_IsOK(ecode3)) {
4288 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4289 }
4290 arg3 = static_cast< int >(val3);
4291 ecode4 = SWIG_AsVal_int(obj3, &val4);
4292 if (!SWIG_IsOK(ecode4)) {
4293 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4294 }
4295 arg4 = static_cast< int >(val4);
4296 ecode5 = SWIG_AsVal_int(obj4, &val5);
4297 if (!SWIG_IsOK(ecode5)) {
4298 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4299 }
4300 arg5 = static_cast< int >(val5);
4301 if (obj5) {
4302 ecode6 = SWIG_AsVal_int(obj5, &val6);
4303 if (!SWIG_IsOK(ecode6)) {
4304 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4305 }
4306 arg6 = static_cast< int >(val6);
4307 }
4308 if (obj6) {
4309 ecode7 = SWIG_AsVal_int(obj6, &val7);
4310 if (!SWIG_IsOK(ecode7)) {
4311 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4312 }
4313 arg7 = static_cast< int >(val7);
4314 }
4315 if (obj7) {
4316 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4317 if (!SWIG_IsOK(ecode8)) {
4318 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4319 }
4320 arg8 = static_cast< bool >(val8);
4321 }
4322 {
4323 PyThreadState* __tstate = wxPyBeginAllowThreads();
4324 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4325 wxPyEndAllowThreads(__tstate);
4326 if (PyErr_Occurred()) SWIG_fail;
4327 }
4328 resultobj = SWIG_Py_Void();
4329 return resultobj;
4330 fail:
4331 return NULL;
4332 }
4333
4334
4335 SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4336 PyObject *resultobj = 0;
4337 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4338 int arg2 ;
4339 int arg3 ;
4340 void *argp1 = 0 ;
4341 int res1 = 0 ;
4342 int val2 ;
4343 int ecode2 = 0 ;
4344 int val3 ;
4345 int ecode3 = 0 ;
4346 PyObject * obj0 = 0 ;
4347 PyObject * obj1 = 0 ;
4348 PyObject * obj2 = 0 ;
4349 char * kwnames[] = {
4350 (char *) "self",(char *) "x",(char *) "y", NULL
4351 };
4352
4353 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4354 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4355 if (!SWIG_IsOK(res1)) {
4356 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4357 }
4358 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4359 ecode2 = SWIG_AsVal_int(obj1, &val2);
4360 if (!SWIG_IsOK(ecode2)) {
4361 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4362 }
4363 arg2 = static_cast< int >(val2);
4364 ecode3 = SWIG_AsVal_int(obj2, &val3);
4365 if (!SWIG_IsOK(ecode3)) {
4366 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4367 }
4368 arg3 = static_cast< int >(val3);
4369 {
4370 PyThreadState* __tstate = wxPyBeginAllowThreads();
4371 (arg1)->Scroll(arg2,arg3);
4372 wxPyEndAllowThreads(__tstate);
4373 if (PyErr_Occurred()) SWIG_fail;
4374 }
4375 resultobj = SWIG_Py_Void();
4376 return resultobj;
4377 fail:
4378 return NULL;
4379 }
4380
4381
4382 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4383 PyObject *resultobj = 0;
4384 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4385 int arg2 ;
4386 int result;
4387 void *argp1 = 0 ;
4388 int res1 = 0 ;
4389 int val2 ;
4390 int ecode2 = 0 ;
4391 PyObject * obj0 = 0 ;
4392 PyObject * obj1 = 0 ;
4393 char * kwnames[] = {
4394 (char *) "self",(char *) "orient", NULL
4395 };
4396
4397 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
4398 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4399 if (!SWIG_IsOK(res1)) {
4400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4401 }
4402 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4403 ecode2 = SWIG_AsVal_int(obj1, &val2);
4404 if (!SWIG_IsOK(ecode2)) {
4405 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4406 }
4407 arg2 = static_cast< int >(val2);
4408 {
4409 PyThreadState* __tstate = wxPyBeginAllowThreads();
4410 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4411 wxPyEndAllowThreads(__tstate);
4412 if (PyErr_Occurred()) SWIG_fail;
4413 }
4414 resultobj = SWIG_From_int(static_cast< int >(result));
4415 return resultobj;
4416 fail:
4417 return NULL;
4418 }
4419
4420
4421 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4422 PyObject *resultobj = 0;
4423 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4424 int arg2 ;
4425 int arg3 ;
4426 void *argp1 = 0 ;
4427 int res1 = 0 ;
4428 int val2 ;
4429 int ecode2 = 0 ;
4430 int val3 ;
4431 int ecode3 = 0 ;
4432 PyObject * obj0 = 0 ;
4433 PyObject * obj1 = 0 ;
4434 PyObject * obj2 = 0 ;
4435 char * kwnames[] = {
4436 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4437 };
4438
4439 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4440 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4441 if (!SWIG_IsOK(res1)) {
4442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4443 }
4444 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4445 ecode2 = SWIG_AsVal_int(obj1, &val2);
4446 if (!SWIG_IsOK(ecode2)) {
4447 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4448 }
4449 arg2 = static_cast< int >(val2);
4450 ecode3 = SWIG_AsVal_int(obj2, &val3);
4451 if (!SWIG_IsOK(ecode3)) {
4452 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4453 }
4454 arg3 = static_cast< int >(val3);
4455 {
4456 PyThreadState* __tstate = wxPyBeginAllowThreads();
4457 (arg1)->SetScrollPageSize(arg2,arg3);
4458 wxPyEndAllowThreads(__tstate);
4459 if (PyErr_Occurred()) SWIG_fail;
4460 }
4461 resultobj = SWIG_Py_Void();
4462 return resultobj;
4463 fail:
4464 return NULL;
4465 }
4466
4467
4468 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4469 PyObject *resultobj = 0;
4470 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4471 int arg2 ;
4472 int arg3 ;
4473 void *argp1 = 0 ;
4474 int res1 = 0 ;
4475 int val2 ;
4476 int ecode2 = 0 ;
4477 int val3 ;
4478 int ecode3 = 0 ;
4479 PyObject * obj0 = 0 ;
4480 PyObject * obj1 = 0 ;
4481 PyObject * obj2 = 0 ;
4482 char * kwnames[] = {
4483 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4484 };
4485
4486 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4487 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4488 if (!SWIG_IsOK(res1)) {
4489 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4490 }
4491 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4492 ecode2 = SWIG_AsVal_int(obj1, &val2);
4493 if (!SWIG_IsOK(ecode2)) {
4494 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4495 }
4496 arg2 = static_cast< int >(val2);
4497 ecode3 = SWIG_AsVal_int(obj2, &val3);
4498 if (!SWIG_IsOK(ecode3)) {
4499 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4500 }
4501 arg3 = static_cast< int >(val3);
4502 {
4503 PyThreadState* __tstate = wxPyBeginAllowThreads();
4504 (arg1)->SetScrollRate(arg2,arg3);
4505 wxPyEndAllowThreads(__tstate);
4506 if (PyErr_Occurred()) SWIG_fail;
4507 }
4508 resultobj = SWIG_Py_Void();
4509 return resultobj;
4510 fail:
4511 return NULL;
4512 }
4513
4514
4515 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4516 PyObject *resultobj = 0;
4517 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4518 int *arg2 = (int *) 0 ;
4519 int *arg3 = (int *) 0 ;
4520 void *argp1 = 0 ;
4521 int res1 = 0 ;
4522 int temp2 ;
4523 int res2 = SWIG_TMPOBJ ;
4524 int temp3 ;
4525 int res3 = SWIG_TMPOBJ ;
4526 PyObject *swig_obj[1] ;
4527
4528 arg2 = &temp2;
4529 arg3 = &temp3;
4530 if (!args) SWIG_fail;
4531 swig_obj[0] = args;
4532 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4533 if (!SWIG_IsOK(res1)) {
4534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4535 }
4536 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4537 {
4538 PyThreadState* __tstate = wxPyBeginAllowThreads();
4539 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4540 wxPyEndAllowThreads(__tstate);
4541 if (PyErr_Occurred()) SWIG_fail;
4542 }
4543 resultobj = SWIG_Py_Void();
4544 if (SWIG_IsTmpObj(res2)) {
4545 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4546 } else {
4547 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4548 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4549 }
4550 if (SWIG_IsTmpObj(res3)) {
4551 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4552 } else {
4553 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4554 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4555 }
4556 return resultobj;
4557 fail:
4558 return NULL;
4559 }
4560
4561
4562 SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4563 PyObject *resultobj = 0;
4564 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4565 bool arg2 ;
4566 bool arg3 ;
4567 void *argp1 = 0 ;
4568 int res1 = 0 ;
4569 bool val2 ;
4570 int ecode2 = 0 ;
4571 bool val3 ;
4572 int ecode3 = 0 ;
4573 PyObject * obj0 = 0 ;
4574 PyObject * obj1 = 0 ;
4575 PyObject * obj2 = 0 ;
4576 char * kwnames[] = {
4577 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4578 };
4579
4580 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4581 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4582 if (!SWIG_IsOK(res1)) {
4583 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4584 }
4585 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4586 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4587 if (!SWIG_IsOK(ecode2)) {
4588 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4589 }
4590 arg2 = static_cast< bool >(val2);
4591 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4592 if (!SWIG_IsOK(ecode3)) {
4593 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4594 }
4595 arg3 = static_cast< bool >(val3);
4596 {
4597 PyThreadState* __tstate = wxPyBeginAllowThreads();
4598 (arg1)->EnableScrolling(arg2,arg3);
4599 wxPyEndAllowThreads(__tstate);
4600 if (PyErr_Occurred()) SWIG_fail;
4601 }
4602 resultobj = SWIG_Py_Void();
4603 return resultobj;
4604 fail:
4605 return NULL;
4606 }
4607
4608
4609 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4610 PyObject *resultobj = 0;
4611 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4612 int *arg2 = (int *) 0 ;
4613 int *arg3 = (int *) 0 ;
4614 void *argp1 = 0 ;
4615 int res1 = 0 ;
4616 int temp2 ;
4617 int res2 = SWIG_TMPOBJ ;
4618 int temp3 ;
4619 int res3 = SWIG_TMPOBJ ;
4620 PyObject *swig_obj[1] ;
4621
4622 arg2 = &temp2;
4623 arg3 = &temp3;
4624 if (!args) SWIG_fail;
4625 swig_obj[0] = args;
4626 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4627 if (!SWIG_IsOK(res1)) {
4628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4629 }
4630 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4631 {
4632 PyThreadState* __tstate = wxPyBeginAllowThreads();
4633 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4634 wxPyEndAllowThreads(__tstate);
4635 if (PyErr_Occurred()) SWIG_fail;
4636 }
4637 resultobj = SWIG_Py_Void();
4638 if (SWIG_IsTmpObj(res2)) {
4639 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4640 } else {
4641 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4642 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4643 }
4644 if (SWIG_IsTmpObj(res3)) {
4645 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4646 } else {
4647 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4648 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4649 }
4650 return resultobj;
4651 fail:
4652 return NULL;
4653 }
4654
4655
4656 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4657 PyObject *resultobj = 0;
4658 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4659 double arg2 ;
4660 double arg3 ;
4661 void *argp1 = 0 ;
4662 int res1 = 0 ;
4663 double val2 ;
4664 int ecode2 = 0 ;
4665 double val3 ;
4666 int ecode3 = 0 ;
4667 PyObject * obj0 = 0 ;
4668 PyObject * obj1 = 0 ;
4669 PyObject * obj2 = 0 ;
4670 char * kwnames[] = {
4671 (char *) "self",(char *) "xs",(char *) "ys", NULL
4672 };
4673
4674 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4675 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4676 if (!SWIG_IsOK(res1)) {
4677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4678 }
4679 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4680 ecode2 = SWIG_AsVal_double(obj1, &val2);
4681 if (!SWIG_IsOK(ecode2)) {
4682 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4683 }
4684 arg2 = static_cast< double >(val2);
4685 ecode3 = SWIG_AsVal_double(obj2, &val3);
4686 if (!SWIG_IsOK(ecode3)) {
4687 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4688 }
4689 arg3 = static_cast< double >(val3);
4690 {
4691 PyThreadState* __tstate = wxPyBeginAllowThreads();
4692 (arg1)->SetScale(arg2,arg3);
4693 wxPyEndAllowThreads(__tstate);
4694 if (PyErr_Occurred()) SWIG_fail;
4695 }
4696 resultobj = SWIG_Py_Void();
4697 return resultobj;
4698 fail:
4699 return NULL;
4700 }
4701
4702
4703 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4704 PyObject *resultobj = 0;
4705 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4706 double result;
4707 void *argp1 = 0 ;
4708 int res1 = 0 ;
4709 PyObject *swig_obj[1] ;
4710
4711 if (!args) SWIG_fail;
4712 swig_obj[0] = args;
4713 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4714 if (!SWIG_IsOK(res1)) {
4715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4716 }
4717 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4718 {
4719 PyThreadState* __tstate = wxPyBeginAllowThreads();
4720 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4721 wxPyEndAllowThreads(__tstate);
4722 if (PyErr_Occurred()) SWIG_fail;
4723 }
4724 resultobj = SWIG_From_double(static_cast< double >(result));
4725 return resultobj;
4726 fail:
4727 return NULL;
4728 }
4729
4730
4731 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4732 PyObject *resultobj = 0;
4733 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4734 double result;
4735 void *argp1 = 0 ;
4736 int res1 = 0 ;
4737 PyObject *swig_obj[1] ;
4738
4739 if (!args) SWIG_fail;
4740 swig_obj[0] = args;
4741 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4742 if (!SWIG_IsOK(res1)) {
4743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4744 }
4745 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4746 {
4747 PyThreadState* __tstate = wxPyBeginAllowThreads();
4748 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4749 wxPyEndAllowThreads(__tstate);
4750 if (PyErr_Occurred()) SWIG_fail;
4751 }
4752 resultobj = SWIG_From_double(static_cast< double >(result));
4753 return resultobj;
4754 fail:
4755 return NULL;
4756 }
4757
4758
4759 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4760 PyObject *resultobj = 0;
4761 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4762 wxPoint *arg2 = 0 ;
4763 wxPoint result;
4764 void *argp1 = 0 ;
4765 int res1 = 0 ;
4766 wxPoint temp2 ;
4767
4768 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4769 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4770 if (!SWIG_IsOK(res1)) {
4771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4772 }
4773 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4774 {
4775 arg2 = &temp2;
4776 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4777 }
4778 {
4779 PyThreadState* __tstate = wxPyBeginAllowThreads();
4780 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4781 wxPyEndAllowThreads(__tstate);
4782 if (PyErr_Occurred()) SWIG_fail;
4783 }
4784 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4785 return resultobj;
4786 fail:
4787 return NULL;
4788 }
4789
4790
4791 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4792 PyObject *resultobj = 0;
4793 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4794 int arg2 ;
4795 int arg3 ;
4796 int *arg4 = (int *) 0 ;
4797 int *arg5 = (int *) 0 ;
4798 void *argp1 = 0 ;
4799 int res1 = 0 ;
4800 int val2 ;
4801 int ecode2 = 0 ;
4802 int val3 ;
4803 int ecode3 = 0 ;
4804 int temp4 ;
4805 int res4 = SWIG_TMPOBJ ;
4806 int temp5 ;
4807 int res5 = SWIG_TMPOBJ ;
4808
4809 arg4 = &temp4;
4810 arg5 = &temp5;
4811 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4812 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4813 if (!SWIG_IsOK(res1)) {
4814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4815 }
4816 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4817 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4818 if (!SWIG_IsOK(ecode2)) {
4819 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4820 }
4821 arg2 = static_cast< int >(val2);
4822 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4823 if (!SWIG_IsOK(ecode3)) {
4824 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4825 }
4826 arg3 = static_cast< int >(val3);
4827 {
4828 PyThreadState* __tstate = wxPyBeginAllowThreads();
4829 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4830 wxPyEndAllowThreads(__tstate);
4831 if (PyErr_Occurred()) SWIG_fail;
4832 }
4833 resultobj = SWIG_Py_Void();
4834 if (SWIG_IsTmpObj(res4)) {
4835 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4836 } else {
4837 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4838 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4839 }
4840 if (SWIG_IsTmpObj(res5)) {
4841 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4842 } else {
4843 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4844 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4845 }
4846 return resultobj;
4847 fail:
4848 return NULL;
4849 }
4850
4851
4852 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4853 int argc;
4854 PyObject *argv[4];
4855
4856 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4857 --argc;
4858 if (argc == 2) {
4859 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4860 }
4861 if (argc == 3) {
4862 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4863 }
4864
4865 fail:
4866 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4867 return NULL;
4868 }
4869
4870
4871 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4872 PyObject *resultobj = 0;
4873 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4874 wxPoint *arg2 = 0 ;
4875 wxPoint result;
4876 void *argp1 = 0 ;
4877 int res1 = 0 ;
4878 wxPoint temp2 ;
4879
4880 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4881 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4882 if (!SWIG_IsOK(res1)) {
4883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4884 }
4885 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4886 {
4887 arg2 = &temp2;
4888 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4889 }
4890 {
4891 PyThreadState* __tstate = wxPyBeginAllowThreads();
4892 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4893 wxPyEndAllowThreads(__tstate);
4894 if (PyErr_Occurred()) SWIG_fail;
4895 }
4896 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4897 return resultobj;
4898 fail:
4899 return NULL;
4900 }
4901
4902
4903 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4904 PyObject *resultobj = 0;
4905 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4906 int arg2 ;
4907 int arg3 ;
4908 int *arg4 = (int *) 0 ;
4909 int *arg5 = (int *) 0 ;
4910 void *argp1 = 0 ;
4911 int res1 = 0 ;
4912 int val2 ;
4913 int ecode2 = 0 ;
4914 int val3 ;
4915 int ecode3 = 0 ;
4916 int temp4 ;
4917 int res4 = SWIG_TMPOBJ ;
4918 int temp5 ;
4919 int res5 = SWIG_TMPOBJ ;
4920
4921 arg4 = &temp4;
4922 arg5 = &temp5;
4923 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4924 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4925 if (!SWIG_IsOK(res1)) {
4926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4927 }
4928 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4929 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4930 if (!SWIG_IsOK(ecode2)) {
4931 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4932 }
4933 arg2 = static_cast< int >(val2);
4934 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4935 if (!SWIG_IsOK(ecode3)) {
4936 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4937 }
4938 arg3 = static_cast< int >(val3);
4939 {
4940 PyThreadState* __tstate = wxPyBeginAllowThreads();
4941 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
4942 wxPyEndAllowThreads(__tstate);
4943 if (PyErr_Occurred()) SWIG_fail;
4944 }
4945 resultobj = SWIG_Py_Void();
4946 if (SWIG_IsTmpObj(res4)) {
4947 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4948 } else {
4949 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4950 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4951 }
4952 if (SWIG_IsTmpObj(res5)) {
4953 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4954 } else {
4955 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4956 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4957 }
4958 return resultobj;
4959 fail:
4960 return NULL;
4961 }
4962
4963
4964 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
4965 int argc;
4966 PyObject *argv[4];
4967
4968 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
4969 --argc;
4970 if (argc == 2) {
4971 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
4972 }
4973 if (argc == 3) {
4974 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
4975 }
4976
4977 fail:
4978 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4979 return NULL;
4980 }
4981
4982
4983 SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4984 PyObject *resultobj = 0;
4985 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4986 void *argp1 = 0 ;
4987 int res1 = 0 ;
4988 PyObject *swig_obj[1] ;
4989
4990 if (!args) SWIG_fail;
4991 swig_obj[0] = args;
4992 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4993 if (!SWIG_IsOK(res1)) {
4994 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4995 }
4996 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4997 {
4998 PyThreadState* __tstate = wxPyBeginAllowThreads();
4999 (arg1)->AdjustScrollbars();
5000 wxPyEndAllowThreads(__tstate);
5001 if (PyErr_Occurred()) SWIG_fail;
5002 }
5003 resultobj = SWIG_Py_Void();
5004 return resultobj;
5005 fail:
5006 return NULL;
5007 }
5008
5009
5010 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5011 PyObject *resultobj = 0;
5012 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5013 wxScrollWinEvent *arg2 = 0 ;
5014 int result;
5015 void *argp1 = 0 ;
5016 int res1 = 0 ;
5017 void *argp2 = 0 ;
5018 int res2 = 0 ;
5019 PyObject * obj0 = 0 ;
5020 PyObject * obj1 = 0 ;
5021 char * kwnames[] = {
5022 (char *) "self",(char *) "event", NULL
5023 };
5024
5025 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
5026 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5027 if (!SWIG_IsOK(res1)) {
5028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5029 }
5030 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5031 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
5032 if (!SWIG_IsOK(res2)) {
5033 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5034 }
5035 if (!argp2) {
5036 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5037 }
5038 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
5039 {
5040 PyThreadState* __tstate = wxPyBeginAllowThreads();
5041 result = (int)(arg1)->CalcScrollInc(*arg2);
5042 wxPyEndAllowThreads(__tstate);
5043 if (PyErr_Occurred()) SWIG_fail;
5044 }
5045 resultobj = SWIG_From_int(static_cast< int >(result));
5046 return resultobj;
5047 fail:
5048 return NULL;
5049 }
5050
5051
5052 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5053 PyObject *resultobj = 0;
5054 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5055 wxWindow *arg2 = (wxWindow *) 0 ;
5056 void *argp1 = 0 ;
5057 int res1 = 0 ;
5058 void *argp2 = 0 ;
5059 int res2 = 0 ;
5060 PyObject * obj0 = 0 ;
5061 PyObject * obj1 = 0 ;
5062 char * kwnames[] = {
5063 (char *) "self",(char *) "target", NULL
5064 };
5065
5066 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
5067 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5068 if (!SWIG_IsOK(res1)) {
5069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5070 }
5071 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5072 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5073 if (!SWIG_IsOK(res2)) {
5074 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5075 }
5076 arg2 = reinterpret_cast< wxWindow * >(argp2);
5077 {
5078 PyThreadState* __tstate = wxPyBeginAllowThreads();
5079 (arg1)->SetTargetWindow(arg2);
5080 wxPyEndAllowThreads(__tstate);
5081 if (PyErr_Occurred()) SWIG_fail;
5082 }
5083 resultobj = SWIG_Py_Void();
5084 return resultobj;
5085 fail:
5086 return NULL;
5087 }
5088
5089
5090 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5091 PyObject *resultobj = 0;
5092 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5093 wxWindow *result = 0 ;
5094 void *argp1 = 0 ;
5095 int res1 = 0 ;
5096 PyObject *swig_obj[1] ;
5097
5098 if (!args) SWIG_fail;
5099 swig_obj[0] = args;
5100 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5101 if (!SWIG_IsOK(res1)) {
5102 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5103 }
5104 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5105 {
5106 PyThreadState* __tstate = wxPyBeginAllowThreads();
5107 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5108 wxPyEndAllowThreads(__tstate);
5109 if (PyErr_Occurred()) SWIG_fail;
5110 }
5111 {
5112 resultobj = wxPyMake_wxObject(result, 0);
5113 }
5114 return resultobj;
5115 fail:
5116 return NULL;
5117 }
5118
5119
5120 SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5121 PyObject *resultobj = 0;
5122 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5123 wxDC *arg2 = 0 ;
5124 void *argp1 = 0 ;
5125 int res1 = 0 ;
5126 void *argp2 = 0 ;
5127 int res2 = 0 ;
5128 PyObject * obj0 = 0 ;
5129 PyObject * obj1 = 0 ;
5130 char * kwnames[] = {
5131 (char *) "self",(char *) "dc", NULL
5132 };
5133
5134 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) SWIG_fail;
5135 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5136 if (!SWIG_IsOK(res1)) {
5137 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5138 }
5139 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5140 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5141 if (!SWIG_IsOK(res2)) {
5142 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5143 }
5144 if (!argp2) {
5145 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5146 }
5147 arg2 = reinterpret_cast< wxDC * >(argp2);
5148 {
5149 PyThreadState* __tstate = wxPyBeginAllowThreads();
5150 (arg1)->DoPrepareDC(*arg2);
5151 wxPyEndAllowThreads(__tstate);
5152 if (PyErr_Occurred()) SWIG_fail;
5153 }
5154 resultobj = SWIG_Py_Void();
5155 return resultobj;
5156 fail:
5157 return NULL;
5158 }
5159
5160
5161 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5162 PyObject *resultobj = 0;
5163 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5164 SwigValueWrapper<wxVisualAttributes > result;
5165 int val1 ;
5166 int ecode1 = 0 ;
5167 PyObject * obj0 = 0 ;
5168 char * kwnames[] = {
5169 (char *) "variant", NULL
5170 };
5171
5172 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5173 if (obj0) {
5174 ecode1 = SWIG_AsVal_int(obj0, &val1);
5175 if (!SWIG_IsOK(ecode1)) {
5176 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5177 }
5178 arg1 = static_cast< wxWindowVariant >(val1);
5179 }
5180 {
5181 if (!wxPyCheckForApp()) SWIG_fail;
5182 PyThreadState* __tstate = wxPyBeginAllowThreads();
5183 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5184 wxPyEndAllowThreads(__tstate);
5185 if (PyErr_Occurred()) SWIG_fail;
5186 }
5187 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5188 return resultobj;
5189 fail:
5190 return NULL;
5191 }
5192
5193
5194 SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5195 PyObject *obj;
5196 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5197 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5198 return SWIG_Py_Void();
5199 }
5200
5201 SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5202 return SWIG_Python_InitShadowInstance(args);
5203 }
5204
5205 SWIGINTERN int FrameNameStr_set(PyObject *) {
5206 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5207 return 1;
5208 }
5209
5210
5211 SWIGINTERN PyObject *FrameNameStr_get(void) {
5212 PyObject *pyobj = 0;
5213
5214 {
5215 #if wxUSE_UNICODE
5216 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5217 #else
5218 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5219 #endif
5220 }
5221 return pyobj;
5222 }
5223
5224
5225 SWIGINTERN int DialogNameStr_set(PyObject *) {
5226 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5227 return 1;
5228 }
5229
5230
5231 SWIGINTERN PyObject *DialogNameStr_get(void) {
5232 PyObject *pyobj = 0;
5233
5234 {
5235 #if wxUSE_UNICODE
5236 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5237 #else
5238 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5239 #endif
5240 }
5241 return pyobj;
5242 }
5243
5244
5245 SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5246 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5247 return 1;
5248 }
5249
5250
5251 SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5252 PyObject *pyobj = 0;
5253
5254 {
5255 #if wxUSE_UNICODE
5256 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5257 #else
5258 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5259 #endif
5260 }
5261 return pyobj;
5262 }
5263
5264
5265 SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5266 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5267 return 1;
5268 }
5269
5270
5271 SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5272 PyObject *pyobj = 0;
5273
5274 {
5275 #if wxUSE_UNICODE
5276 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5277 #else
5278 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5279 #endif
5280 }
5281 return pyobj;
5282 }
5283
5284
5285 SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5286 PyObject *resultobj = 0;
5287 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5288 bool arg2 = (bool) true ;
5289 void *argp1 = 0 ;
5290 int res1 = 0 ;
5291 bool val2 ;
5292 int ecode2 = 0 ;
5293 PyObject * obj0 = 0 ;
5294 PyObject * obj1 = 0 ;
5295 char * kwnames[] = {
5296 (char *) "self",(char *) "maximize", NULL
5297 };
5298
5299 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5300 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5301 if (!SWIG_IsOK(res1)) {
5302 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5303 }
5304 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5305 if (obj1) {
5306 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5307 if (!SWIG_IsOK(ecode2)) {
5308 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5309 }
5310 arg2 = static_cast< bool >(val2);
5311 }
5312 {
5313 PyThreadState* __tstate = wxPyBeginAllowThreads();
5314 (arg1)->Maximize(arg2);
5315 wxPyEndAllowThreads(__tstate);
5316 if (PyErr_Occurred()) SWIG_fail;
5317 }
5318 resultobj = SWIG_Py_Void();
5319 return resultobj;
5320 fail:
5321 return NULL;
5322 }
5323
5324
5325 SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5326 PyObject *resultobj = 0;
5327 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5328 void *argp1 = 0 ;
5329 int res1 = 0 ;
5330 PyObject *swig_obj[1] ;
5331
5332 if (!args) SWIG_fail;
5333 swig_obj[0] = args;
5334 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5335 if (!SWIG_IsOK(res1)) {
5336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5337 }
5338 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5339 {
5340 PyThreadState* __tstate = wxPyBeginAllowThreads();
5341 (arg1)->Restore();
5342 wxPyEndAllowThreads(__tstate);
5343 if (PyErr_Occurred()) SWIG_fail;
5344 }
5345 resultobj = SWIG_Py_Void();
5346 return resultobj;
5347 fail:
5348 return NULL;
5349 }
5350
5351
5352 SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5353 PyObject *resultobj = 0;
5354 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5355 bool arg2 = (bool) true ;
5356 void *argp1 = 0 ;
5357 int res1 = 0 ;
5358 bool val2 ;
5359 int ecode2 = 0 ;
5360 PyObject * obj0 = 0 ;
5361 PyObject * obj1 = 0 ;
5362 char * kwnames[] = {
5363 (char *) "self",(char *) "iconize", NULL
5364 };
5365
5366 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5367 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5368 if (!SWIG_IsOK(res1)) {
5369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5370 }
5371 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5372 if (obj1) {
5373 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5374 if (!SWIG_IsOK(ecode2)) {
5375 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5376 }
5377 arg2 = static_cast< bool >(val2);
5378 }
5379 {
5380 PyThreadState* __tstate = wxPyBeginAllowThreads();
5381 (arg1)->Iconize(arg2);
5382 wxPyEndAllowThreads(__tstate);
5383 if (PyErr_Occurred()) SWIG_fail;
5384 }
5385 resultobj = SWIG_Py_Void();
5386 return resultobj;
5387 fail:
5388 return NULL;
5389 }
5390
5391
5392 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5393 PyObject *resultobj = 0;
5394 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5395 bool result;
5396 void *argp1 = 0 ;
5397 int res1 = 0 ;
5398 PyObject *swig_obj[1] ;
5399
5400 if (!args) SWIG_fail;
5401 swig_obj[0] = args;
5402 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5403 if (!SWIG_IsOK(res1)) {
5404 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5405 }
5406 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5407 {
5408 PyThreadState* __tstate = wxPyBeginAllowThreads();
5409 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
5410 wxPyEndAllowThreads(__tstate);
5411 if (PyErr_Occurred()) SWIG_fail;
5412 }
5413 {
5414 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5415 }
5416 return resultobj;
5417 fail:
5418 return NULL;
5419 }
5420
5421
5422 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5423 PyObject *resultobj = 0;
5424 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5425 bool result;
5426 void *argp1 = 0 ;
5427 int res1 = 0 ;
5428 PyObject *swig_obj[1] ;
5429
5430 if (!args) SWIG_fail;
5431 swig_obj[0] = args;
5432 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5433 if (!SWIG_IsOK(res1)) {
5434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5435 }
5436 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5437 {
5438 PyThreadState* __tstate = wxPyBeginAllowThreads();
5439 result = (bool)((wxTopLevelWindow const *)arg1)->IsAlwaysMaximized();
5440 wxPyEndAllowThreads(__tstate);
5441 if (PyErr_Occurred()) SWIG_fail;
5442 }
5443 {
5444 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5445 }
5446 return resultobj;
5447 fail:
5448 return NULL;
5449 }
5450
5451
5452 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5453 PyObject *resultobj = 0;
5454 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5455 bool result;
5456 void *argp1 = 0 ;
5457 int res1 = 0 ;
5458 PyObject *swig_obj[1] ;
5459
5460 if (!args) SWIG_fail;
5461 swig_obj[0] = args;
5462 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5463 if (!SWIG_IsOK(res1)) {
5464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5465 }
5466 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5467 {
5468 PyThreadState* __tstate = wxPyBeginAllowThreads();
5469 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
5470 wxPyEndAllowThreads(__tstate);
5471 if (PyErr_Occurred()) SWIG_fail;
5472 }
5473 {
5474 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5475 }
5476 return resultobj;
5477 fail:
5478 return NULL;
5479 }
5480
5481
5482 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5483 PyObject *resultobj = 0;
5484 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5485 wxIcon result;
5486 void *argp1 = 0 ;
5487 int res1 = 0 ;
5488 PyObject *swig_obj[1] ;
5489
5490 if (!args) SWIG_fail;
5491 swig_obj[0] = args;
5492 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5493 if (!SWIG_IsOK(res1)) {
5494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5495 }
5496 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5497 {
5498 PyThreadState* __tstate = wxPyBeginAllowThreads();
5499 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
5500 wxPyEndAllowThreads(__tstate);
5501 if (PyErr_Occurred()) SWIG_fail;
5502 }
5503 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
5504 return resultobj;
5505 fail:
5506 return NULL;
5507 }
5508
5509
5510 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5511 PyObject *resultobj = 0;
5512 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5513 wxIcon *arg2 = 0 ;
5514 void *argp1 = 0 ;
5515 int res1 = 0 ;
5516 void *argp2 = 0 ;
5517 int res2 = 0 ;
5518 PyObject * obj0 = 0 ;
5519 PyObject * obj1 = 0 ;
5520 char * kwnames[] = {
5521 (char *) "self",(char *) "icon", NULL
5522 };
5523
5524 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
5525 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5526 if (!SWIG_IsOK(res1)) {
5527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5528 }
5529 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5530 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
5531 if (!SWIG_IsOK(res2)) {
5532 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5533 }
5534 if (!argp2) {
5535 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5536 }
5537 arg2 = reinterpret_cast< wxIcon * >(argp2);
5538 {
5539 PyThreadState* __tstate = wxPyBeginAllowThreads();
5540 (arg1)->SetIcon((wxIcon const &)*arg2);
5541 wxPyEndAllowThreads(__tstate);
5542 if (PyErr_Occurred()) SWIG_fail;
5543 }
5544 resultobj = SWIG_Py_Void();
5545 return resultobj;
5546 fail:
5547 return NULL;
5548 }
5549
5550
5551 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5552 PyObject *resultobj = 0;
5553 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5554 wxIconBundle *arg2 = 0 ;
5555 void *argp1 = 0 ;
5556 int res1 = 0 ;
5557 void *argp2 = 0 ;
5558 int res2 = 0 ;
5559 PyObject * obj0 = 0 ;
5560 PyObject * obj1 = 0 ;
5561 char * kwnames[] = {
5562 (char *) "self",(char *) "icons", NULL
5563 };
5564
5565 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail;
5566 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5567 if (!SWIG_IsOK(res1)) {
5568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5569 }
5570 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5571 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0);
5572 if (!SWIG_IsOK(res2)) {
5573 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5574 }
5575 if (!argp2) {
5576 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5577 }
5578 arg2 = reinterpret_cast< wxIconBundle * >(argp2);
5579 {
5580 PyThreadState* __tstate = wxPyBeginAllowThreads();
5581 (arg1)->SetIcons((wxIconBundle const &)*arg2);
5582 wxPyEndAllowThreads(__tstate);
5583 if (PyErr_Occurred()) SWIG_fail;
5584 }
5585 resultobj = SWIG_Py_Void();
5586 return resultobj;
5587 fail:
5588 return NULL;
5589 }
5590
5591
5592 SWIGINTERN PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5593 PyObject *resultobj = 0;
5594 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5595 bool arg2 ;
5596 long arg3 = (long) wxFULLSCREEN_ALL ;
5597 bool result;
5598 void *argp1 = 0 ;
5599 int res1 = 0 ;
5600 bool val2 ;
5601 int ecode2 = 0 ;
5602 long val3 ;
5603 int ecode3 = 0 ;
5604 PyObject * obj0 = 0 ;
5605 PyObject * obj1 = 0 ;
5606 PyObject * obj2 = 0 ;
5607 char * kwnames[] = {
5608 (char *) "self",(char *) "show",(char *) "style", NULL
5609 };
5610
5611 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5612 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5613 if (!SWIG_IsOK(res1)) {
5614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5615 }
5616 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5617 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5618 if (!SWIG_IsOK(ecode2)) {
5619 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5620 }
5621 arg2 = static_cast< bool >(val2);
5622 if (obj2) {
5623 ecode3 = SWIG_AsVal_long(obj2, &val3);
5624 if (!SWIG_IsOK(ecode3)) {
5625 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5626 }
5627 arg3 = static_cast< long >(val3);
5628 }
5629 {
5630 PyThreadState* __tstate = wxPyBeginAllowThreads();
5631 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
5632 wxPyEndAllowThreads(__tstate);
5633 if (PyErr_Occurred()) SWIG_fail;
5634 }
5635 {
5636 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5637 }
5638 return resultobj;
5639 fail:
5640 return NULL;
5641 }
5642
5643
5644 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5645 PyObject *resultobj = 0;
5646 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5647 bool result;
5648 void *argp1 = 0 ;
5649 int res1 = 0 ;
5650 PyObject *swig_obj[1] ;
5651
5652 if (!args) SWIG_fail;
5653 swig_obj[0] = args;
5654 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5655 if (!SWIG_IsOK(res1)) {
5656 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5657 }
5658 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5659 {
5660 PyThreadState* __tstate = wxPyBeginAllowThreads();
5661 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
5662 wxPyEndAllowThreads(__tstate);
5663 if (PyErr_Occurred()) SWIG_fail;
5664 }
5665 {
5666 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5667 }
5668 return resultobj;
5669 fail:
5670 return NULL;
5671 }
5672
5673
5674 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5675 PyObject *resultobj = 0;
5676 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5677 wxString *arg2 = 0 ;
5678 void *argp1 = 0 ;
5679 int res1 = 0 ;
5680 bool temp2 = false ;
5681 PyObject * obj0 = 0 ;
5682 PyObject * obj1 = 0 ;
5683 char * kwnames[] = {
5684 (char *) "self",(char *) "title", NULL
5685 };
5686
5687 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
5688 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5689 if (!SWIG_IsOK(res1)) {
5690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5691 }
5692 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5693 {
5694 arg2 = wxString_in_helper(obj1);
5695 if (arg2 == NULL) SWIG_fail;
5696 temp2 = true;
5697 }
5698 {
5699 PyThreadState* __tstate = wxPyBeginAllowThreads();
5700 (arg1)->SetTitle((wxString const &)*arg2);
5701 wxPyEndAllowThreads(__tstate);
5702 if (PyErr_Occurred()) SWIG_fail;
5703 }
5704 resultobj = SWIG_Py_Void();
5705 {
5706 if (temp2)
5707 delete arg2;
5708 }
5709 return resultobj;
5710 fail:
5711 {
5712 if (temp2)
5713 delete arg2;
5714 }
5715 return NULL;
5716 }
5717
5718
5719 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5720 PyObject *resultobj = 0;
5721 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5722 wxString result;
5723 void *argp1 = 0 ;
5724 int res1 = 0 ;
5725 PyObject *swig_obj[1] ;
5726
5727 if (!args) SWIG_fail;
5728 swig_obj[0] = args;
5729 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5730 if (!SWIG_IsOK(res1)) {
5731 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5732 }
5733 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5734 {
5735 PyThreadState* __tstate = wxPyBeginAllowThreads();
5736 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
5737 wxPyEndAllowThreads(__tstate);
5738 if (PyErr_Occurred()) SWIG_fail;
5739 }
5740 {
5741 #if wxUSE_UNICODE
5742 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5743 #else
5744 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5745 #endif
5746 }
5747 return resultobj;
5748 fail:
5749 return NULL;
5750 }
5751
5752
5753 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5754 PyObject *resultobj = 0;
5755 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5756 wxRegion *arg2 = 0 ;
5757 bool result;
5758 void *argp1 = 0 ;
5759 int res1 = 0 ;
5760 void *argp2 = 0 ;
5761 int res2 = 0 ;
5762 PyObject * obj0 = 0 ;
5763 PyObject * obj1 = 0 ;
5764 char * kwnames[] = {
5765 (char *) "self",(char *) "region", NULL
5766 };
5767
5768 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) SWIG_fail;
5769 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5770 if (!SWIG_IsOK(res1)) {
5771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5772 }
5773 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5774 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRegion, 0 | 0);
5775 if (!SWIG_IsOK(res2)) {
5776 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5777 }
5778 if (!argp2) {
5779 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5780 }
5781 arg2 = reinterpret_cast< wxRegion * >(argp2);
5782 {
5783 PyThreadState* __tstate = wxPyBeginAllowThreads();
5784 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
5785 wxPyEndAllowThreads(__tstate);
5786 if (PyErr_Occurred()) SWIG_fail;
5787 }
5788 {
5789 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5790 }
5791 return resultobj;
5792 fail:
5793 return NULL;
5794 }
5795
5796
5797 SWIGINTERN PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5798 PyObject *resultobj = 0;
5799 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5800 int arg2 = (int) wxUSER_ATTENTION_INFO ;
5801 void *argp1 = 0 ;
5802 int res1 = 0 ;
5803 int val2 ;
5804 int ecode2 = 0 ;
5805 PyObject * obj0 = 0 ;
5806 PyObject * obj1 = 0 ;
5807 char * kwnames[] = {
5808 (char *) "self",(char *) "flags", NULL
5809 };
5810
5811 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) SWIG_fail;
5812 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5813 if (!SWIG_IsOK(res1)) {
5814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5815 }
5816 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5817 if (obj1) {
5818 ecode2 = SWIG_AsVal_int(obj1, &val2);
5819 if (!SWIG_IsOK(ecode2)) {
5820 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5821 }
5822 arg2 = static_cast< int >(val2);
5823 }
5824 {
5825 PyThreadState* __tstate = wxPyBeginAllowThreads();
5826 (arg1)->RequestUserAttention(arg2);
5827 wxPyEndAllowThreads(__tstate);
5828 if (PyErr_Occurred()) SWIG_fail;
5829 }
5830 resultobj = SWIG_Py_Void();
5831 return resultobj;
5832 fail:
5833 return NULL;
5834 }
5835
5836
5837 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5838 PyObject *resultobj = 0;
5839 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5840 bool result;
5841 void *argp1 = 0 ;
5842 int res1 = 0 ;
5843 PyObject *swig_obj[1] ;
5844
5845 if (!args) SWIG_fail;
5846 swig_obj[0] = args;
5847 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5848 if (!SWIG_IsOK(res1)) {
5849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5850 }
5851 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5852 {
5853 PyThreadState* __tstate = wxPyBeginAllowThreads();
5854 result = (bool)(arg1)->IsActive();
5855 wxPyEndAllowThreads(__tstate);
5856 if (PyErr_Occurred()) SWIG_fail;
5857 }
5858 {
5859 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5860 }
5861 return resultobj;
5862 fail:
5863 return NULL;
5864 }
5865
5866
5867 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5868 PyObject *resultobj = 0;
5869 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5870 bool arg2 ;
5871 void *argp1 = 0 ;
5872 int res1 = 0 ;
5873 bool val2 ;
5874 int ecode2 = 0 ;
5875 PyObject * obj0 = 0 ;
5876 PyObject * obj1 = 0 ;
5877 char * kwnames[] = {
5878 (char *) "self",(char *) "on", NULL
5879 };
5880
5881 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) SWIG_fail;
5882 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5883 if (!SWIG_IsOK(res1)) {
5884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5885 }
5886 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5887 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5888 if (!SWIG_IsOK(ecode2)) {
5889 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5890 }
5891 arg2 = static_cast< bool >(val2);
5892 {
5893 PyThreadState* __tstate = wxPyBeginAllowThreads();
5894 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
5895 wxPyEndAllowThreads(__tstate);
5896 if (PyErr_Occurred()) SWIG_fail;
5897 }
5898 resultobj = SWIG_Py_Void();
5899 return resultobj;
5900 fail:
5901 return NULL;
5902 }
5903
5904
5905 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5906 PyObject *resultobj = 0;
5907 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5908 bool result;
5909 void *argp1 = 0 ;
5910 int res1 = 0 ;
5911 PyObject *swig_obj[1] ;
5912
5913 if (!args) SWIG_fail;
5914 swig_obj[0] = args;
5915 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5916 if (!SWIG_IsOK(res1)) {
5917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5918 }
5919 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5920 {
5921 PyThreadState* __tstate = wxPyBeginAllowThreads();
5922 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
5923 wxPyEndAllowThreads(__tstate);
5924 if (PyErr_Occurred()) SWIG_fail;
5925 }
5926 {
5927 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5928 }
5929 return resultobj;
5930 fail:
5931 return NULL;
5932 }
5933
5934
5935 SWIGINTERN PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5936 PyObject *resultobj = 0;
5937 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5938 int arg2 = (int) wxBOTH ;
5939 void *argp1 = 0 ;
5940 int res1 = 0 ;
5941 int val2 ;
5942 int ecode2 = 0 ;
5943 PyObject * obj0 = 0 ;
5944 PyObject * obj1 = 0 ;
5945 char * kwnames[] = {
5946 (char *) "self",(char *) "dir", NULL
5947 };
5948
5949 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) SWIG_fail;
5950 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5951 if (!SWIG_IsOK(res1)) {
5952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5953 }
5954 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5955 if (obj1) {
5956 ecode2 = SWIG_AsVal_int(obj1, &val2);
5957 if (!SWIG_IsOK(ecode2)) {
5958 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
5959 }
5960 arg2 = static_cast< int >(val2);
5961 }
5962 {
5963 PyThreadState* __tstate = wxPyBeginAllowThreads();
5964 (arg1)->CenterOnScreen(arg2);
5965 wxPyEndAllowThreads(__tstate);
5966 if (PyErr_Occurred()) SWIG_fail;
5967 }
5968 resultobj = SWIG_Py_Void();
5969 return resultobj;
5970 fail:
5971 return NULL;
5972 }
5973
5974
5975 SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5976 PyObject *obj;
5977 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5978 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow, SWIG_NewClientData(obj));
5979 return SWIG_Py_Void();
5980 }
5981
5982 SWIGINTERN PyObject *_wrap_new_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5983 PyObject *resultobj = 0;
5984 wxWindow *arg1 = (wxWindow *) 0 ;
5985 int arg2 = (int) (int)-1 ;
5986 wxString const &arg3_defvalue = wxPyEmptyString ;
5987 wxString *arg3 = (wxString *) &arg3_defvalue ;
5988 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5989 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5990 wxSize const &arg5_defvalue = wxDefaultSize ;
5991 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5992 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
5993 wxString const &arg7_defvalue = wxPyFrameNameStr ;
5994 wxString *arg7 = (wxString *) &arg7_defvalue ;
5995 wxFrame *result = 0 ;
5996 void *argp1 = 0 ;
5997 int res1 = 0 ;
5998 int val2 ;
5999 int ecode2 = 0 ;
6000 bool temp3 = false ;
6001 wxPoint temp4 ;
6002 wxSize temp5 ;
6003 long val6 ;
6004 int ecode6 = 0 ;
6005 bool temp7 = false ;
6006 PyObject * obj0 = 0 ;
6007 PyObject * obj1 = 0 ;
6008 PyObject * obj2 = 0 ;
6009 PyObject * obj3 = 0 ;
6010 PyObject * obj4 = 0 ;
6011 PyObject * obj5 = 0 ;
6012 PyObject * obj6 = 0 ;
6013 char * kwnames[] = {
6014 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6015 };
6016
6017 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6018 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6019 if (!SWIG_IsOK(res1)) {
6020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6021 }
6022 arg1 = reinterpret_cast< wxWindow * >(argp1);
6023 if (obj1) {
6024 ecode2 = SWIG_AsVal_int(obj1, &val2);
6025 if (!SWIG_IsOK(ecode2)) {
6026 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6027 }
6028 arg2 = static_cast< int >(val2);
6029 }
6030 if (obj2) {
6031 {
6032 arg3 = wxString_in_helper(obj2);
6033 if (arg3 == NULL) SWIG_fail;
6034 temp3 = true;
6035 }
6036 }
6037 if (obj3) {
6038 {
6039 arg4 = &temp4;
6040 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6041 }
6042 }
6043 if (obj4) {
6044 {
6045 arg5 = &temp5;
6046 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6047 }
6048 }
6049 if (obj5) {
6050 ecode6 = SWIG_AsVal_long(obj5, &val6);
6051 if (!SWIG_IsOK(ecode6)) {
6052 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6053 }
6054 arg6 = static_cast< long >(val6);
6055 }
6056 if (obj6) {
6057 {
6058 arg7 = wxString_in_helper(obj6);
6059 if (arg7 == NULL) SWIG_fail;
6060 temp7 = true;
6061 }
6062 }
6063 {
6064 if (!wxPyCheckForApp()) SWIG_fail;
6065 PyThreadState* __tstate = wxPyBeginAllowThreads();
6066 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6067 wxPyEndAllowThreads(__tstate);
6068 if (PyErr_Occurred()) SWIG_fail;
6069 }
6070 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_NEW | 0 );
6071 {
6072 if (temp3)
6073 delete arg3;
6074 }
6075 {
6076 if (temp7)
6077 delete arg7;
6078 }
6079 return resultobj;
6080 fail:
6081 {
6082 if (temp3)
6083 delete arg3;
6084 }
6085 {
6086 if (temp7)
6087 delete arg7;
6088 }
6089 return NULL;
6090 }
6091
6092
6093 SWIGINTERN PyObject *_wrap_new_PreFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6094 PyObject *resultobj = 0;
6095 wxFrame *result = 0 ;
6096
6097 if (!SWIG_Python_UnpackTuple(args,"new_PreFrame",0,0,0)) SWIG_fail;
6098 {
6099 if (!wxPyCheckForApp()) SWIG_fail;
6100 PyThreadState* __tstate = wxPyBeginAllowThreads();
6101 result = (wxFrame *)new wxFrame();
6102 wxPyEndAllowThreads(__tstate);
6103 if (PyErr_Occurred()) SWIG_fail;
6104 }
6105 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_OWN | 0 );
6106 return resultobj;
6107 fail:
6108 return NULL;
6109 }
6110
6111
6112 SWIGINTERN PyObject *_wrap_Frame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6113 PyObject *resultobj = 0;
6114 wxFrame *arg1 = (wxFrame *) 0 ;
6115 wxWindow *arg2 = (wxWindow *) 0 ;
6116 int arg3 = (int) (int)-1 ;
6117 wxString const &arg4_defvalue = wxPyEmptyString ;
6118 wxString *arg4 = (wxString *) &arg4_defvalue ;
6119 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6120 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6121 wxSize const &arg6_defvalue = wxDefaultSize ;
6122 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6123 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6124 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6125 wxString *arg8 = (wxString *) &arg8_defvalue ;
6126 bool result;
6127 void *argp1 = 0 ;
6128 int res1 = 0 ;
6129 void *argp2 = 0 ;
6130 int res2 = 0 ;
6131 int val3 ;
6132 int ecode3 = 0 ;
6133 bool temp4 = false ;
6134 wxPoint temp5 ;
6135 wxSize temp6 ;
6136 long val7 ;
6137 int ecode7 = 0 ;
6138 bool temp8 = false ;
6139 PyObject * obj0 = 0 ;
6140 PyObject * obj1 = 0 ;
6141 PyObject * obj2 = 0 ;
6142 PyObject * obj3 = 0 ;
6143 PyObject * obj4 = 0 ;
6144 PyObject * obj5 = 0 ;
6145 PyObject * obj6 = 0 ;
6146 PyObject * obj7 = 0 ;
6147 char * kwnames[] = {
6148 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6149 };
6150
6151 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6152 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6153 if (!SWIG_IsOK(res1)) {
6154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6155 }
6156 arg1 = reinterpret_cast< wxFrame * >(argp1);
6157 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6158 if (!SWIG_IsOK(res2)) {
6159 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6160 }
6161 arg2 = reinterpret_cast< wxWindow * >(argp2);
6162 if (obj2) {
6163 ecode3 = SWIG_AsVal_int(obj2, &val3);
6164 if (!SWIG_IsOK(ecode3)) {
6165 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6166 }
6167 arg3 = static_cast< int >(val3);
6168 }
6169 if (obj3) {
6170 {
6171 arg4 = wxString_in_helper(obj3);
6172 if (arg4 == NULL) SWIG_fail;
6173 temp4 = true;
6174 }
6175 }
6176 if (obj4) {
6177 {
6178 arg5 = &temp5;
6179 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6180 }
6181 }
6182 if (obj5) {
6183 {
6184 arg6 = &temp6;
6185 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6186 }
6187 }
6188 if (obj6) {
6189 ecode7 = SWIG_AsVal_long(obj6, &val7);
6190 if (!SWIG_IsOK(ecode7)) {
6191 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6192 }
6193 arg7 = static_cast< long >(val7);
6194 }
6195 if (obj7) {
6196 {
6197 arg8 = wxString_in_helper(obj7);
6198 if (arg8 == NULL) SWIG_fail;
6199 temp8 = true;
6200 }
6201 }
6202 {
6203 PyThreadState* __tstate = wxPyBeginAllowThreads();
6204 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6205 wxPyEndAllowThreads(__tstate);
6206 if (PyErr_Occurred()) SWIG_fail;
6207 }
6208 {
6209 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6210 }
6211 {
6212 if (temp4)
6213 delete arg4;
6214 }
6215 {
6216 if (temp8)
6217 delete arg8;
6218 }
6219 return resultobj;
6220 fail:
6221 {
6222 if (temp4)
6223 delete arg4;
6224 }
6225 {
6226 if (temp8)
6227 delete arg8;
6228 }
6229 return NULL;
6230 }
6231
6232
6233 SWIGINTERN PyObject *_wrap_Frame_SendSizeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6234 PyObject *resultobj = 0;
6235 wxFrame *arg1 = (wxFrame *) 0 ;
6236 void *argp1 = 0 ;
6237 int res1 = 0 ;
6238 PyObject *swig_obj[1] ;
6239
6240 if (!args) SWIG_fail;
6241 swig_obj[0] = args;
6242 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6243 if (!SWIG_IsOK(res1)) {
6244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6245 }
6246 arg1 = reinterpret_cast< wxFrame * >(argp1);
6247 {
6248 PyThreadState* __tstate = wxPyBeginAllowThreads();
6249 (arg1)->SendSizeEvent();
6250 wxPyEndAllowThreads(__tstate);
6251 if (PyErr_Occurred()) SWIG_fail;
6252 }
6253 resultobj = SWIG_Py_Void();
6254 return resultobj;
6255 fail:
6256 return NULL;
6257 }
6258
6259
6260 SWIGINTERN PyObject *_wrap_Frame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6261 PyObject *resultobj = 0;
6262 wxFrame *arg1 = (wxFrame *) 0 ;
6263 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
6264 void *argp1 = 0 ;
6265 int res1 = 0 ;
6266 void *argp2 = 0 ;
6267 int res2 = 0 ;
6268 PyObject * obj0 = 0 ;
6269 PyObject * obj1 = 0 ;
6270 char * kwnames[] = {
6271 (char *) "self",(char *) "menubar", NULL
6272 };
6273
6274 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail;
6275 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6276 if (!SWIG_IsOK(res1)) {
6277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6278 }
6279 arg1 = reinterpret_cast< wxFrame * >(argp1);
6280 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 );
6281 if (!SWIG_IsOK(res2)) {
6282 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6283 }
6284 arg2 = reinterpret_cast< wxMenuBar * >(argp2);
6285 {
6286 PyThreadState* __tstate = wxPyBeginAllowThreads();
6287 (arg1)->SetMenuBar(arg2);
6288 wxPyEndAllowThreads(__tstate);
6289 if (PyErr_Occurred()) SWIG_fail;
6290 }
6291 resultobj = SWIG_Py_Void();
6292 return resultobj;
6293 fail:
6294 return NULL;
6295 }
6296
6297
6298 SWIGINTERN PyObject *_wrap_Frame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6299 PyObject *resultobj = 0;
6300 wxFrame *arg1 = (wxFrame *) 0 ;
6301 wxMenuBar *result = 0 ;
6302 void *argp1 = 0 ;
6303 int res1 = 0 ;
6304 PyObject *swig_obj[1] ;
6305
6306 if (!args) SWIG_fail;
6307 swig_obj[0] = args;
6308 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6309 if (!SWIG_IsOK(res1)) {
6310 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6311 }
6312 arg1 = reinterpret_cast< wxFrame * >(argp1);
6313 {
6314 PyThreadState* __tstate = wxPyBeginAllowThreads();
6315 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
6316 wxPyEndAllowThreads(__tstate);
6317 if (PyErr_Occurred()) SWIG_fail;
6318 }
6319 {
6320 resultobj = wxPyMake_wxObject(result, 0);
6321 }
6322 return resultobj;
6323 fail:
6324 return NULL;
6325 }
6326
6327
6328 SWIGINTERN PyObject *_wrap_Frame_ProcessCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6329 PyObject *resultobj = 0;
6330 wxFrame *arg1 = (wxFrame *) 0 ;
6331 int arg2 ;
6332 bool result;
6333 void *argp1 = 0 ;
6334 int res1 = 0 ;
6335 int val2 ;
6336 int ecode2 = 0 ;
6337 PyObject * obj0 = 0 ;
6338 PyObject * obj1 = 0 ;
6339 char * kwnames[] = {
6340 (char *) "self",(char *) "winid", NULL
6341 };
6342
6343 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) SWIG_fail;
6344 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6345 if (!SWIG_IsOK(res1)) {
6346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6347 }
6348 arg1 = reinterpret_cast< wxFrame * >(argp1);
6349 ecode2 = SWIG_AsVal_int(obj1, &val2);
6350 if (!SWIG_IsOK(ecode2)) {
6351 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6352 }
6353 arg2 = static_cast< int >(val2);
6354 {
6355 PyThreadState* __tstate = wxPyBeginAllowThreads();
6356 result = (bool)(arg1)->ProcessCommand(arg2);
6357 wxPyEndAllowThreads(__tstate);
6358 if (PyErr_Occurred()) SWIG_fail;
6359 }
6360 {
6361 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6362 }
6363 return resultobj;
6364 fail:
6365 return NULL;
6366 }
6367
6368
6369 SWIGINTERN PyObject *_wrap_Frame_CreateStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6370 PyObject *resultobj = 0;
6371 wxFrame *arg1 = (wxFrame *) 0 ;
6372 int arg2 = (int) 1 ;
6373 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6374 int arg4 = (int) 0 ;
6375 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6376 wxString *arg5 = (wxString *) &arg5_defvalue ;
6377 wxStatusBar *result = 0 ;
6378 void *argp1 = 0 ;
6379 int res1 = 0 ;
6380 int val2 ;
6381 int ecode2 = 0 ;
6382 long val3 ;
6383 int ecode3 = 0 ;
6384 int val4 ;
6385 int ecode4 = 0 ;
6386 bool temp5 = false ;
6387 PyObject * obj0 = 0 ;
6388 PyObject * obj1 = 0 ;
6389 PyObject * obj2 = 0 ;
6390 PyObject * obj3 = 0 ;
6391 PyObject * obj4 = 0 ;
6392 char * kwnames[] = {
6393 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6394 };
6395
6396 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
6397 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6398 if (!SWIG_IsOK(res1)) {
6399 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6400 }
6401 arg1 = reinterpret_cast< wxFrame * >(argp1);
6402 if (obj1) {
6403 ecode2 = SWIG_AsVal_int(obj1, &val2);
6404 if (!SWIG_IsOK(ecode2)) {
6405 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6406 }
6407 arg2 = static_cast< int >(val2);
6408 }
6409 if (obj2) {
6410 ecode3 = SWIG_AsVal_long(obj2, &val3);
6411 if (!SWIG_IsOK(ecode3)) {
6412 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6413 }
6414 arg3 = static_cast< long >(val3);
6415 }
6416 if (obj3) {
6417 ecode4 = SWIG_AsVal_int(obj3, &val4);
6418 if (!SWIG_IsOK(ecode4)) {
6419 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6420 }
6421 arg4 = static_cast< int >(val4);
6422 }
6423 if (obj4) {
6424 {
6425 arg5 = wxString_in_helper(obj4);
6426 if (arg5 == NULL) SWIG_fail;
6427 temp5 = true;
6428 }
6429 }
6430 {
6431 PyThreadState* __tstate = wxPyBeginAllowThreads();
6432 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
6433 wxPyEndAllowThreads(__tstate);
6434 if (PyErr_Occurred()) SWIG_fail;
6435 }
6436 {
6437 resultobj = wxPyMake_wxObject(result, (bool)0);
6438 }
6439 {
6440 if (temp5)
6441 delete arg5;
6442 }
6443 return resultobj;
6444 fail:
6445 {
6446 if (temp5)
6447 delete arg5;
6448 }
6449 return NULL;
6450 }
6451
6452
6453 SWIGINTERN PyObject *_wrap_Frame_GetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6454 PyObject *resultobj = 0;
6455 wxFrame *arg1 = (wxFrame *) 0 ;
6456 wxStatusBar *result = 0 ;
6457 void *argp1 = 0 ;
6458 int res1 = 0 ;
6459 PyObject *swig_obj[1] ;
6460
6461 if (!args) SWIG_fail;
6462 swig_obj[0] = args;
6463 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6464 if (!SWIG_IsOK(res1)) {
6465 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6466 }
6467 arg1 = reinterpret_cast< wxFrame * >(argp1);
6468 {
6469 PyThreadState* __tstate = wxPyBeginAllowThreads();
6470 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
6471 wxPyEndAllowThreads(__tstate);
6472 if (PyErr_Occurred()) SWIG_fail;
6473 }
6474 {
6475 resultobj = wxPyMake_wxObject(result, (bool)0);
6476 }
6477 return resultobj;
6478 fail:
6479 return NULL;
6480 }
6481
6482
6483 SWIGINTERN PyObject *_wrap_Frame_SetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6484 PyObject *resultobj = 0;
6485 wxFrame *arg1 = (wxFrame *) 0 ;
6486 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
6487 void *argp1 = 0 ;
6488 int res1 = 0 ;
6489 void *argp2 = 0 ;
6490 int res2 = 0 ;
6491 PyObject * obj0 = 0 ;
6492 PyObject * obj1 = 0 ;
6493 char * kwnames[] = {
6494 (char *) "self",(char *) "statBar", NULL
6495 };
6496
6497 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
6498 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6499 if (!SWIG_IsOK(res1)) {
6500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6501 }
6502 arg1 = reinterpret_cast< wxFrame * >(argp1);
6503 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxStatusBar, 0 | 0 );
6504 if (!SWIG_IsOK(res2)) {
6505 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6506 }
6507 arg2 = reinterpret_cast< wxStatusBar * >(argp2);
6508 {
6509 PyThreadState* __tstate = wxPyBeginAllowThreads();
6510 (arg1)->SetStatusBar(arg2);
6511 wxPyEndAllowThreads(__tstate);
6512 if (PyErr_Occurred()) SWIG_fail;
6513 }
6514 resultobj = SWIG_Py_Void();
6515 return resultobj;
6516 fail:
6517 return NULL;
6518 }
6519
6520
6521 SWIGINTERN PyObject *_wrap_Frame_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6522 PyObject *resultobj = 0;
6523 wxFrame *arg1 = (wxFrame *) 0 ;
6524 wxString *arg2 = 0 ;
6525 int arg3 = (int) 0 ;
6526 void *argp1 = 0 ;
6527 int res1 = 0 ;
6528 bool temp2 = false ;
6529 int val3 ;
6530 int ecode3 = 0 ;
6531 PyObject * obj0 = 0 ;
6532 PyObject * obj1 = 0 ;
6533 PyObject * obj2 = 0 ;
6534 char * kwnames[] = {
6535 (char *) "self",(char *) "text",(char *) "number", NULL
6536 };
6537
6538 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6539 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6540 if (!SWIG_IsOK(res1)) {
6541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6542 }
6543 arg1 = reinterpret_cast< wxFrame * >(argp1);
6544 {
6545 arg2 = wxString_in_helper(obj1);
6546 if (arg2 == NULL) SWIG_fail;
6547 temp2 = true;
6548 }
6549 if (obj2) {
6550 ecode3 = SWIG_AsVal_int(obj2, &val3);
6551 if (!SWIG_IsOK(ecode3)) {
6552 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6553 }
6554 arg3 = static_cast< int >(val3);
6555 }
6556 {
6557 PyThreadState* __tstate = wxPyBeginAllowThreads();
6558 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6559 wxPyEndAllowThreads(__tstate);
6560 if (PyErr_Occurred()) SWIG_fail;
6561 }
6562 resultobj = SWIG_Py_Void();
6563 {
6564 if (temp2)
6565 delete arg2;
6566 }
6567 return resultobj;
6568 fail:
6569 {
6570 if (temp2)
6571 delete arg2;
6572 }
6573 return NULL;
6574 }
6575
6576
6577 SWIGINTERN PyObject *_wrap_Frame_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6578 PyObject *resultobj = 0;
6579 wxFrame *arg1 = (wxFrame *) 0 ;
6580 int arg2 ;
6581 int *arg3 = (int *) 0 ;
6582 void *argp1 = 0 ;
6583 int res1 = 0 ;
6584 PyObject * obj0 = 0 ;
6585 PyObject * obj1 = 0 ;
6586 char * kwnames[] = {
6587 (char *) "self",(char *) "widths", NULL
6588 };
6589
6590 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
6591 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6592 if (!SWIG_IsOK(res1)) {
6593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6594 }
6595 arg1 = reinterpret_cast< wxFrame * >(argp1);
6596 {
6597 arg2 = PyList_Size(obj1);
6598 arg3 = int_LIST_helper(obj1);
6599 if (arg3 == NULL) SWIG_fail;
6600 }
6601 {
6602 PyThreadState* __tstate = wxPyBeginAllowThreads();
6603 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
6604 wxPyEndAllowThreads(__tstate);
6605 if (PyErr_Occurred()) SWIG_fail;
6606 }
6607 resultobj = SWIG_Py_Void();
6608 {
6609 if (arg3) delete [] arg3;
6610 }
6611 return resultobj;
6612 fail:
6613 {
6614 if (arg3) delete [] arg3;
6615 }
6616 return NULL;
6617 }
6618
6619
6620 SWIGINTERN PyObject *_wrap_Frame_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6621 PyObject *resultobj = 0;
6622 wxFrame *arg1 = (wxFrame *) 0 ;
6623 wxString *arg2 = 0 ;
6624 int arg3 = (int) 0 ;
6625 void *argp1 = 0 ;
6626 int res1 = 0 ;
6627 bool temp2 = false ;
6628 int val3 ;
6629 int ecode3 = 0 ;
6630 PyObject * obj0 = 0 ;
6631 PyObject * obj1 = 0 ;
6632 PyObject * obj2 = 0 ;
6633 char * kwnames[] = {
6634 (char *) "self",(char *) "text",(char *) "number", NULL
6635 };
6636
6637 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6638 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6639 if (!SWIG_IsOK(res1)) {
6640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6641 }
6642 arg1 = reinterpret_cast< wxFrame * >(argp1);
6643 {
6644 arg2 = wxString_in_helper(obj1);
6645 if (arg2 == NULL) SWIG_fail;
6646 temp2 = true;
6647 }
6648 if (obj2) {
6649 ecode3 = SWIG_AsVal_int(obj2, &val3);
6650 if (!SWIG_IsOK(ecode3)) {
6651 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6652 }
6653 arg3 = static_cast< int >(val3);
6654 }
6655 {
6656 PyThreadState* __tstate = wxPyBeginAllowThreads();
6657 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
6658 wxPyEndAllowThreads(__tstate);
6659 if (PyErr_Occurred()) SWIG_fail;
6660 }
6661 resultobj = SWIG_Py_Void();
6662 {
6663 if (temp2)
6664 delete arg2;
6665 }
6666 return resultobj;
6667 fail:
6668 {
6669 if (temp2)
6670 delete arg2;
6671 }
6672 return NULL;
6673 }
6674
6675
6676 SWIGINTERN PyObject *_wrap_Frame_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6677 PyObject *resultobj = 0;
6678 wxFrame *arg1 = (wxFrame *) 0 ;
6679 int arg2 = (int) 0 ;
6680 void *argp1 = 0 ;
6681 int res1 = 0 ;
6682 int val2 ;
6683 int ecode2 = 0 ;
6684 PyObject * obj0 = 0 ;
6685 PyObject * obj1 = 0 ;
6686 char * kwnames[] = {
6687 (char *) "self",(char *) "number", NULL
6688 };
6689
6690 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
6691 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6692 if (!SWIG_IsOK(res1)) {
6693 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6694 }
6695 arg1 = reinterpret_cast< wxFrame * >(argp1);
6696 if (obj1) {
6697 ecode2 = SWIG_AsVal_int(obj1, &val2);
6698 if (!SWIG_IsOK(ecode2)) {
6699 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6700 }
6701 arg2 = static_cast< int >(val2);
6702 }
6703 {
6704 PyThreadState* __tstate = wxPyBeginAllowThreads();
6705 (arg1)->PopStatusText(arg2);
6706 wxPyEndAllowThreads(__tstate);
6707 if (PyErr_Occurred()) SWIG_fail;
6708 }
6709 resultobj = SWIG_Py_Void();
6710 return resultobj;
6711 fail:
6712 return NULL;
6713 }
6714
6715
6716 SWIGINTERN PyObject *_wrap_Frame_SetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6717 PyObject *resultobj = 0;
6718 wxFrame *arg1 = (wxFrame *) 0 ;
6719 int arg2 ;
6720 void *argp1 = 0 ;
6721 int res1 = 0 ;
6722 int val2 ;
6723 int ecode2 = 0 ;
6724 PyObject * obj0 = 0 ;
6725 PyObject * obj1 = 0 ;
6726 char * kwnames[] = {
6727 (char *) "self",(char *) "n", NULL
6728 };
6729
6730 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) SWIG_fail;
6731 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6732 if (!SWIG_IsOK(res1)) {
6733 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6734 }
6735 arg1 = reinterpret_cast< wxFrame * >(argp1);
6736 ecode2 = SWIG_AsVal_int(obj1, &val2);
6737 if (!SWIG_IsOK(ecode2)) {
6738 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6739 }
6740 arg2 = static_cast< int >(val2);
6741 {
6742 PyThreadState* __tstate = wxPyBeginAllowThreads();
6743 (arg1)->SetStatusBarPane(arg2);
6744 wxPyEndAllowThreads(__tstate);
6745 if (PyErr_Occurred()) SWIG_fail;
6746 }
6747 resultobj = SWIG_Py_Void();
6748 return resultobj;
6749 fail:
6750 return NULL;
6751 }
6752
6753
6754 SWIGINTERN PyObject *_wrap_Frame_GetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6755 PyObject *resultobj = 0;
6756 wxFrame *arg1 = (wxFrame *) 0 ;
6757 int result;
6758 void *argp1 = 0 ;
6759 int res1 = 0 ;
6760 PyObject *swig_obj[1] ;
6761
6762 if (!args) SWIG_fail;
6763 swig_obj[0] = args;
6764 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6765 if (!SWIG_IsOK(res1)) {
6766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6767 }
6768 arg1 = reinterpret_cast< wxFrame * >(argp1);
6769 {
6770 PyThreadState* __tstate = wxPyBeginAllowThreads();
6771 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
6772 wxPyEndAllowThreads(__tstate);
6773 if (PyErr_Occurred()) SWIG_fail;
6774 }
6775 resultobj = SWIG_From_int(static_cast< int >(result));
6776 return resultobj;
6777 fail:
6778 return NULL;
6779 }
6780
6781
6782 SWIGINTERN PyObject *_wrap_Frame_CreateToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6783 PyObject *resultobj = 0;
6784 wxFrame *arg1 = (wxFrame *) 0 ;
6785 long arg2 = (long) -1 ;
6786 int arg3 = (int) -1 ;
6787 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
6788 wxString *arg4 = (wxString *) &arg4_defvalue ;
6789 wxToolBar *result = 0 ;
6790 void *argp1 = 0 ;
6791 int res1 = 0 ;
6792 long val2 ;
6793 int ecode2 = 0 ;
6794 int val3 ;
6795 int ecode3 = 0 ;
6796 bool temp4 = false ;
6797 PyObject * obj0 = 0 ;
6798 PyObject * obj1 = 0 ;
6799 PyObject * obj2 = 0 ;
6800 PyObject * obj3 = 0 ;
6801 char * kwnames[] = {
6802 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
6803 };
6804
6805 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
6806 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6807 if (!SWIG_IsOK(res1)) {
6808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6809 }
6810 arg1 = reinterpret_cast< wxFrame * >(argp1);
6811 if (obj1) {
6812 ecode2 = SWIG_AsVal_long(obj1, &val2);
6813 if (!SWIG_IsOK(ecode2)) {
6814 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
6815 }
6816 arg2 = static_cast< long >(val2);
6817 }
6818 if (obj2) {
6819 ecode3 = SWIG_AsVal_int(obj2, &val3);
6820 if (!SWIG_IsOK(ecode3)) {
6821 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
6822 }
6823 arg3 = static_cast< int >(val3);
6824 }
6825 if (obj3) {
6826 {
6827 arg4 = wxString_in_helper(obj3);
6828 if (arg4 == NULL) SWIG_fail;
6829 temp4 = true;
6830 }
6831 }
6832 {
6833 PyThreadState* __tstate = wxPyBeginAllowThreads();
6834 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
6835 wxPyEndAllowThreads(__tstate);
6836 if (PyErr_Occurred()) SWIG_fail;
6837 }
6838 {
6839 resultobj = wxPyMake_wxObject(result, (bool)0);
6840 }
6841 {
6842 if (temp4)
6843 delete arg4;
6844 }
6845 return resultobj;
6846 fail:
6847 {
6848 if (temp4)
6849 delete arg4;
6850 }
6851 return NULL;
6852 }
6853
6854
6855 SWIGINTERN PyObject *_wrap_Frame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6856 PyObject *resultobj = 0;
6857 wxFrame *arg1 = (wxFrame *) 0 ;
6858 wxToolBar *result = 0 ;
6859 void *argp1 = 0 ;
6860 int res1 = 0 ;
6861 PyObject *swig_obj[1] ;
6862
6863 if (!args) SWIG_fail;
6864 swig_obj[0] = args;
6865 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6866 if (!SWIG_IsOK(res1)) {
6867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6868 }
6869 arg1 = reinterpret_cast< wxFrame * >(argp1);
6870 {
6871 PyThreadState* __tstate = wxPyBeginAllowThreads();
6872 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
6873 wxPyEndAllowThreads(__tstate);
6874 if (PyErr_Occurred()) SWIG_fail;
6875 }
6876 {
6877 resultobj = wxPyMake_wxObject(result, (bool)0);
6878 }
6879 return resultobj;
6880 fail:
6881 return NULL;
6882 }
6883
6884
6885 SWIGINTERN PyObject *_wrap_Frame_SetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6886 PyObject *resultobj = 0;
6887 wxFrame *arg1 = (wxFrame *) 0 ;
6888 wxToolBar *arg2 = (wxToolBar *) 0 ;
6889 void *argp1 = 0 ;
6890 int res1 = 0 ;
6891 void *argp2 = 0 ;
6892 int res2 = 0 ;
6893 PyObject * obj0 = 0 ;
6894 PyObject * obj1 = 0 ;
6895 char * kwnames[] = {
6896 (char *) "self",(char *) "toolbar", NULL
6897 };
6898
6899 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) SWIG_fail;
6900 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6901 if (!SWIG_IsOK(res1)) {
6902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6903 }
6904 arg1 = reinterpret_cast< wxFrame * >(argp1);
6905 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBar, 0 | 0 );
6906 if (!SWIG_IsOK(res2)) {
6907 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
6908 }
6909 arg2 = reinterpret_cast< wxToolBar * >(argp2);
6910 {
6911 PyThreadState* __tstate = wxPyBeginAllowThreads();
6912 (arg1)->SetToolBar(arg2);
6913 wxPyEndAllowThreads(__tstate);
6914 if (PyErr_Occurred()) SWIG_fail;
6915 }
6916 resultobj = SWIG_Py_Void();
6917 return resultobj;
6918 fail:
6919 return NULL;
6920 }
6921
6922
6923 SWIGINTERN PyObject *_wrap_Frame_DoGiveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6924 PyObject *resultobj = 0;
6925 wxFrame *arg1 = (wxFrame *) 0 ;
6926 wxString *arg2 = 0 ;
6927 bool arg3 ;
6928 void *argp1 = 0 ;
6929 int res1 = 0 ;
6930 bool temp2 = false ;
6931 bool val3 ;
6932 int ecode3 = 0 ;
6933 PyObject * obj0 = 0 ;
6934 PyObject * obj1 = 0 ;
6935 PyObject * obj2 = 0 ;
6936 char * kwnames[] = {
6937 (char *) "self",(char *) "text",(char *) "show", NULL
6938 };
6939
6940 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6941 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6942 if (!SWIG_IsOK(res1)) {
6943 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
6944 }
6945 arg1 = reinterpret_cast< wxFrame * >(argp1);
6946 {
6947 arg2 = wxString_in_helper(obj1);
6948 if (arg2 == NULL) SWIG_fail;
6949 temp2 = true;
6950 }
6951 ecode3 = SWIG_AsVal_bool(obj2, &val3);
6952 if (!SWIG_IsOK(ecode3)) {
6953 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
6954 }
6955 arg3 = static_cast< bool >(val3);
6956 {
6957 PyThreadState* __tstate = wxPyBeginAllowThreads();
6958 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
6959 wxPyEndAllowThreads(__tstate);
6960 if (PyErr_Occurred()) SWIG_fail;
6961 }
6962 resultobj = SWIG_Py_Void();
6963 {
6964 if (temp2)
6965 delete arg2;
6966 }
6967 return resultobj;
6968 fail:
6969 {
6970 if (temp2)
6971 delete arg2;
6972 }
6973 return NULL;
6974 }
6975
6976
6977 SWIGINTERN PyObject *_wrap_Frame_DoMenuUpdates(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6978 PyObject *resultobj = 0;
6979 wxFrame *arg1 = (wxFrame *) 0 ;
6980 wxMenu *arg2 = (wxMenu *) NULL ;
6981 void *argp1 = 0 ;
6982 int res1 = 0 ;
6983 void *argp2 = 0 ;
6984 int res2 = 0 ;
6985 PyObject * obj0 = 0 ;
6986 PyObject * obj1 = 0 ;
6987 char * kwnames[] = {
6988 (char *) "self",(char *) "menu", NULL
6989 };
6990
6991 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) SWIG_fail;
6992 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6993 if (!SWIG_IsOK(res1)) {
6994 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
6995 }
6996 arg1 = reinterpret_cast< wxFrame * >(argp1);
6997 if (obj1) {
6998 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
6999 if (!SWIG_IsOK(res2)) {
7000 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7001 }
7002 arg2 = reinterpret_cast< wxMenu * >(argp2);
7003 }
7004 {
7005 PyThreadState* __tstate = wxPyBeginAllowThreads();
7006 (arg1)->DoMenuUpdates(arg2);
7007 wxPyEndAllowThreads(__tstate);
7008 if (PyErr_Occurred()) SWIG_fail;
7009 }
7010 resultobj = SWIG_Py_Void();
7011 return resultobj;
7012 fail:
7013 return NULL;
7014 }
7015
7016
7017 SWIGINTERN PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7018 PyObject *resultobj = 0;
7019 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7020 SwigValueWrapper<wxVisualAttributes > result;
7021 int val1 ;
7022 int ecode1 = 0 ;
7023 PyObject * obj0 = 0 ;
7024 char * kwnames[] = {
7025 (char *) "variant", NULL
7026 };
7027
7028 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7029 if (obj0) {
7030 ecode1 = SWIG_AsVal_int(obj0, &val1);
7031 if (!SWIG_IsOK(ecode1)) {
7032 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7033 }
7034 arg1 = static_cast< wxWindowVariant >(val1);
7035 }
7036 {
7037 if (!wxPyCheckForApp()) SWIG_fail;
7038 PyThreadState* __tstate = wxPyBeginAllowThreads();
7039 result = wxFrame::GetClassDefaultAttributes(arg1);
7040 wxPyEndAllowThreads(__tstate);
7041 if (PyErr_Occurred()) SWIG_fail;
7042 }
7043 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7044 return resultobj;
7045 fail:
7046 return NULL;
7047 }
7048
7049
7050 SWIGINTERN PyObject *Frame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7051 PyObject *obj;
7052 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7053 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame, SWIG_NewClientData(obj));
7054 return SWIG_Py_Void();
7055 }
7056
7057 SWIGINTERN PyObject *Frame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7058 return SWIG_Python_InitShadowInstance(args);
7059 }
7060
7061 SWIGINTERN PyObject *_wrap_new_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7062 PyObject *resultobj = 0;
7063 wxWindow *arg1 = (wxWindow *) 0 ;
7064 int arg2 = (int) (int)-1 ;
7065 wxString const &arg3_defvalue = wxPyEmptyString ;
7066 wxString *arg3 = (wxString *) &arg3_defvalue ;
7067 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7068 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7069 wxSize const &arg5_defvalue = wxDefaultSize ;
7070 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7071 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
7072 wxString const &arg7_defvalue = wxPyDialogNameStr ;
7073 wxString *arg7 = (wxString *) &arg7_defvalue ;
7074 wxDialog *result = 0 ;
7075 void *argp1 = 0 ;
7076 int res1 = 0 ;
7077 int val2 ;
7078 int ecode2 = 0 ;
7079 bool temp3 = false ;
7080 wxPoint temp4 ;
7081 wxSize temp5 ;
7082 long val6 ;
7083 int ecode6 = 0 ;
7084 bool temp7 = false ;
7085 PyObject * obj0 = 0 ;
7086 PyObject * obj1 = 0 ;
7087 PyObject * obj2 = 0 ;
7088 PyObject * obj3 = 0 ;
7089 PyObject * obj4 = 0 ;
7090 PyObject * obj5 = 0 ;
7091 PyObject * obj6 = 0 ;
7092 char * kwnames[] = {
7093 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7094 };
7095
7096 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7097 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7098 if (!SWIG_IsOK(res1)) {
7099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7100 }
7101 arg1 = reinterpret_cast< wxWindow * >(argp1);
7102 if (obj1) {
7103 ecode2 = SWIG_AsVal_int(obj1, &val2);
7104 if (!SWIG_IsOK(ecode2)) {
7105 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7106 }
7107 arg2 = static_cast< int >(val2);
7108 }
7109 if (obj2) {
7110 {
7111 arg3 = wxString_in_helper(obj2);
7112 if (arg3 == NULL) SWIG_fail;
7113 temp3 = true;
7114 }
7115 }
7116 if (obj3) {
7117 {
7118 arg4 = &temp4;
7119 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7120 }
7121 }
7122 if (obj4) {
7123 {
7124 arg5 = &temp5;
7125 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7126 }
7127 }
7128 if (obj5) {
7129 ecode6 = SWIG_AsVal_long(obj5, &val6);
7130 if (!SWIG_IsOK(ecode6)) {
7131 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7132 }
7133 arg6 = static_cast< long >(val6);
7134 }
7135 if (obj6) {
7136 {
7137 arg7 = wxString_in_helper(obj6);
7138 if (arg7 == NULL) SWIG_fail;
7139 temp7 = true;
7140 }
7141 }
7142 {
7143 if (!wxPyCheckForApp()) SWIG_fail;
7144 PyThreadState* __tstate = wxPyBeginAllowThreads();
7145 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7146 wxPyEndAllowThreads(__tstate);
7147 if (PyErr_Occurred()) SWIG_fail;
7148 }
7149 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_NEW | 0 );
7150 {
7151 if (temp3)
7152 delete arg3;
7153 }
7154 {
7155 if (temp7)
7156 delete arg7;
7157 }
7158 return resultobj;
7159 fail:
7160 {
7161 if (temp3)
7162 delete arg3;
7163 }
7164 {
7165 if (temp7)
7166 delete arg7;
7167 }
7168 return NULL;
7169 }
7170
7171
7172 SWIGINTERN PyObject *_wrap_new_PreDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7173 PyObject *resultobj = 0;
7174 wxDialog *result = 0 ;
7175
7176 if (!SWIG_Python_UnpackTuple(args,"new_PreDialog",0,0,0)) SWIG_fail;
7177 {
7178 if (!wxPyCheckForApp()) SWIG_fail;
7179 PyThreadState* __tstate = wxPyBeginAllowThreads();
7180 result = (wxDialog *)new wxDialog();
7181 wxPyEndAllowThreads(__tstate);
7182 if (PyErr_Occurred()) SWIG_fail;
7183 }
7184 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_OWN | 0 );
7185 return resultobj;
7186 fail:
7187 return NULL;
7188 }
7189
7190
7191 SWIGINTERN PyObject *_wrap_Dialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7192 PyObject *resultobj = 0;
7193 wxDialog *arg1 = (wxDialog *) 0 ;
7194 wxWindow *arg2 = (wxWindow *) 0 ;
7195 int arg3 = (int) (int)-1 ;
7196 wxString const &arg4_defvalue = wxPyEmptyString ;
7197 wxString *arg4 = (wxString *) &arg4_defvalue ;
7198 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7199 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7200 wxSize const &arg6_defvalue = wxDefaultSize ;
7201 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7202 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
7203 wxString const &arg8_defvalue = wxPyDialogNameStr ;
7204 wxString *arg8 = (wxString *) &arg8_defvalue ;
7205 bool result;
7206 void *argp1 = 0 ;
7207 int res1 = 0 ;
7208 void *argp2 = 0 ;
7209 int res2 = 0 ;
7210 int val3 ;
7211 int ecode3 = 0 ;
7212 bool temp4 = false ;
7213 wxPoint temp5 ;
7214 wxSize temp6 ;
7215 long val7 ;
7216 int ecode7 = 0 ;
7217 bool temp8 = false ;
7218 PyObject * obj0 = 0 ;
7219 PyObject * obj1 = 0 ;
7220 PyObject * obj2 = 0 ;
7221 PyObject * obj3 = 0 ;
7222 PyObject * obj4 = 0 ;
7223 PyObject * obj5 = 0 ;
7224 PyObject * obj6 = 0 ;
7225 PyObject * obj7 = 0 ;
7226 char * kwnames[] = {
7227 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7228 };
7229
7230 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7231 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7232 if (!SWIG_IsOK(res1)) {
7233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7234 }
7235 arg1 = reinterpret_cast< wxDialog * >(argp1);
7236 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7237 if (!SWIG_IsOK(res2)) {
7238 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7239 }
7240 arg2 = reinterpret_cast< wxWindow * >(argp2);
7241 if (obj2) {
7242 ecode3 = SWIG_AsVal_int(obj2, &val3);
7243 if (!SWIG_IsOK(ecode3)) {
7244 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7245 }
7246 arg3 = static_cast< int >(val3);
7247 }
7248 if (obj3) {
7249 {
7250 arg4 = wxString_in_helper(obj3);
7251 if (arg4 == NULL) SWIG_fail;
7252 temp4 = true;
7253 }
7254 }
7255 if (obj4) {
7256 {
7257 arg5 = &temp5;
7258 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7259 }
7260 }
7261 if (obj5) {
7262 {
7263 arg6 = &temp6;
7264 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7265 }
7266 }
7267 if (obj6) {
7268 ecode7 = SWIG_AsVal_long(obj6, &val7);
7269 if (!SWIG_IsOK(ecode7)) {
7270 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7271 }
7272 arg7 = static_cast< long >(val7);
7273 }
7274 if (obj7) {
7275 {
7276 arg8 = wxString_in_helper(obj7);
7277 if (arg8 == NULL) SWIG_fail;
7278 temp8 = true;
7279 }
7280 }
7281 {
7282 PyThreadState* __tstate = wxPyBeginAllowThreads();
7283 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7284 wxPyEndAllowThreads(__tstate);
7285 if (PyErr_Occurred()) SWIG_fail;
7286 }
7287 {
7288 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7289 }
7290 {
7291 if (temp4)
7292 delete arg4;
7293 }
7294 {
7295 if (temp8)
7296 delete arg8;
7297 }
7298 return resultobj;
7299 fail:
7300 {
7301 if (temp4)
7302 delete arg4;
7303 }
7304 {
7305 if (temp8)
7306 delete arg8;
7307 }
7308 return NULL;
7309 }
7310
7311
7312 SWIGINTERN PyObject *_wrap_Dialog_SetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7313 PyObject *resultobj = 0;
7314 wxDialog *arg1 = (wxDialog *) 0 ;
7315 int arg2 ;
7316 void *argp1 = 0 ;
7317 int res1 = 0 ;
7318 int val2 ;
7319 int ecode2 = 0 ;
7320 PyObject * obj0 = 0 ;
7321 PyObject * obj1 = 0 ;
7322 char * kwnames[] = {
7323 (char *) "self",(char *) "returnCode", NULL
7324 };
7325
7326 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) SWIG_fail;
7327 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7328 if (!SWIG_IsOK(res1)) {
7329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7330 }
7331 arg1 = reinterpret_cast< wxDialog * >(argp1);
7332 ecode2 = SWIG_AsVal_int(obj1, &val2);
7333 if (!SWIG_IsOK(ecode2)) {
7334 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7335 }
7336 arg2 = static_cast< int >(val2);
7337 {
7338 PyThreadState* __tstate = wxPyBeginAllowThreads();
7339 (arg1)->SetReturnCode(arg2);
7340 wxPyEndAllowThreads(__tstate);
7341 if (PyErr_Occurred()) SWIG_fail;
7342 }
7343 resultobj = SWIG_Py_Void();
7344 return resultobj;
7345 fail:
7346 return NULL;
7347 }
7348
7349
7350 SWIGINTERN PyObject *_wrap_Dialog_GetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7351 PyObject *resultobj = 0;
7352 wxDialog *arg1 = (wxDialog *) 0 ;
7353 int result;
7354 void *argp1 = 0 ;
7355 int res1 = 0 ;
7356 PyObject *swig_obj[1] ;
7357
7358 if (!args) SWIG_fail;
7359 swig_obj[0] = args;
7360 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7361 if (!SWIG_IsOK(res1)) {
7362 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7363 }
7364 arg1 = reinterpret_cast< wxDialog * >(argp1);
7365 {
7366 PyThreadState* __tstate = wxPyBeginAllowThreads();
7367 result = (int)((wxDialog const *)arg1)->GetReturnCode();
7368 wxPyEndAllowThreads(__tstate);
7369 if (PyErr_Occurred()) SWIG_fail;
7370 }
7371 resultobj = SWIG_From_int(static_cast< int >(result));
7372 return resultobj;
7373 fail:
7374 return NULL;
7375 }
7376
7377
7378 SWIGINTERN PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7379 PyObject *resultobj = 0;
7380 wxDialog *arg1 = (wxDialog *) 0 ;
7381 int arg2 ;
7382 void *argp1 = 0 ;
7383 int res1 = 0 ;
7384 int val2 ;
7385 int ecode2 = 0 ;
7386 PyObject * obj0 = 0 ;
7387 PyObject * obj1 = 0 ;
7388 char * kwnames[] = {
7389 (char *) "self",(char *) "affirmativeId", NULL
7390 };
7391
7392 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) SWIG_fail;
7393 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7394 if (!SWIG_IsOK(res1)) {
7395 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7396 }
7397 arg1 = reinterpret_cast< wxDialog * >(argp1);
7398 ecode2 = SWIG_AsVal_int(obj1, &val2);
7399 if (!SWIG_IsOK(ecode2)) {
7400 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7401 }
7402 arg2 = static_cast< int >(val2);
7403 {
7404 PyThreadState* __tstate = wxPyBeginAllowThreads();
7405 (arg1)->SetAffirmativeId(arg2);
7406 wxPyEndAllowThreads(__tstate);
7407 if (PyErr_Occurred()) SWIG_fail;
7408 }
7409 resultobj = SWIG_Py_Void();
7410 return resultobj;
7411 fail:
7412 return NULL;
7413 }
7414
7415
7416 SWIGINTERN PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7417 PyObject *resultobj = 0;
7418 wxDialog *arg1 = (wxDialog *) 0 ;
7419 int result;
7420 void *argp1 = 0 ;
7421 int res1 = 0 ;
7422 PyObject *swig_obj[1] ;
7423
7424 if (!args) SWIG_fail;
7425 swig_obj[0] = args;
7426 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7427 if (!SWIG_IsOK(res1)) {
7428 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7429 }
7430 arg1 = reinterpret_cast< wxDialog * >(argp1);
7431 {
7432 PyThreadState* __tstate = wxPyBeginAllowThreads();
7433 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
7434 wxPyEndAllowThreads(__tstate);
7435 if (PyErr_Occurred()) SWIG_fail;
7436 }
7437 resultobj = SWIG_From_int(static_cast< int >(result));
7438 return resultobj;
7439 fail:
7440 return NULL;
7441 }
7442
7443
7444 SWIGINTERN PyObject *_wrap_Dialog_SetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7445 PyObject *resultobj = 0;
7446 wxDialog *arg1 = (wxDialog *) 0 ;
7447 int arg2 ;
7448 void *argp1 = 0 ;
7449 int res1 = 0 ;
7450 int val2 ;
7451 int ecode2 = 0 ;
7452 PyObject * obj0 = 0 ;
7453 PyObject * obj1 = 0 ;
7454 char * kwnames[] = {
7455 (char *) "self",(char *) "escapeId", NULL
7456 };
7457
7458 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) SWIG_fail;
7459 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7460 if (!SWIG_IsOK(res1)) {
7461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7462 }
7463 arg1 = reinterpret_cast< wxDialog * >(argp1);
7464 ecode2 = SWIG_AsVal_int(obj1, &val2);
7465 if (!SWIG_IsOK(ecode2)) {
7466 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7467 }
7468 arg2 = static_cast< int >(val2);
7469 {
7470 PyThreadState* __tstate = wxPyBeginAllowThreads();
7471 (arg1)->SetEscapeId(arg2);
7472 wxPyEndAllowThreads(__tstate);
7473 if (PyErr_Occurred()) SWIG_fail;
7474 }
7475 resultobj = SWIG_Py_Void();
7476 return resultobj;
7477 fail:
7478 return NULL;
7479 }
7480
7481
7482 SWIGINTERN PyObject *_wrap_Dialog_GetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7483 PyObject *resultobj = 0;
7484 wxDialog *arg1 = (wxDialog *) 0 ;
7485 int result;
7486 void *argp1 = 0 ;
7487 int res1 = 0 ;
7488 PyObject *swig_obj[1] ;
7489
7490 if (!args) SWIG_fail;
7491 swig_obj[0] = args;
7492 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7493 if (!SWIG_IsOK(res1)) {
7494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7495 }
7496 arg1 = reinterpret_cast< wxDialog * >(argp1);
7497 {
7498 PyThreadState* __tstate = wxPyBeginAllowThreads();
7499 result = (int)((wxDialog const *)arg1)->GetEscapeId();
7500 wxPyEndAllowThreads(__tstate);
7501 if (PyErr_Occurred()) SWIG_fail;
7502 }
7503 resultobj = SWIG_From_int(static_cast< int >(result));
7504 return resultobj;
7505 fail:
7506 return NULL;
7507 }
7508
7509
7510 SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7511 PyObject *resultobj = 0;
7512 wxDialog *arg1 = (wxDialog *) 0 ;
7513 wxString *arg2 = 0 ;
7514 wxSizer *result = 0 ;
7515 void *argp1 = 0 ;
7516 int res1 = 0 ;
7517 bool temp2 = false ;
7518 PyObject * obj0 = 0 ;
7519 PyObject * obj1 = 0 ;
7520 char * kwnames[] = {
7521 (char *) "self",(char *) "message", NULL
7522 };
7523
7524 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7525 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7526 if (!SWIG_IsOK(res1)) {
7527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7528 }
7529 arg1 = reinterpret_cast< wxDialog * >(argp1);
7530 {
7531 arg2 = wxString_in_helper(obj1);
7532 if (arg2 == NULL) SWIG_fail;
7533 temp2 = true;
7534 }
7535 {
7536 PyThreadState* __tstate = wxPyBeginAllowThreads();
7537 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
7538 wxPyEndAllowThreads(__tstate);
7539 if (PyErr_Occurred()) SWIG_fail;
7540 }
7541 {
7542 resultobj = wxPyMake_wxObject(result, (bool)0);
7543 }
7544 {
7545 if (temp2)
7546 delete arg2;
7547 }
7548 return resultobj;
7549 fail:
7550 {
7551 if (temp2)
7552 delete arg2;
7553 }
7554 return NULL;
7555 }
7556
7557
7558 SWIGINTERN PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7559 PyObject *resultobj = 0;
7560 wxDialog *arg1 = (wxDialog *) 0 ;
7561 long arg2 ;
7562 bool arg3 = (bool) false ;
7563 int arg4 = (int) 0 ;
7564 wxSizer *result = 0 ;
7565 void *argp1 = 0 ;
7566 int res1 = 0 ;
7567 long val2 ;
7568 int ecode2 = 0 ;
7569 bool val3 ;
7570 int ecode3 = 0 ;
7571 int val4 ;
7572 int ecode4 = 0 ;
7573 PyObject * obj0 = 0 ;
7574 PyObject * obj1 = 0 ;
7575 PyObject * obj2 = 0 ;
7576 PyObject * obj3 = 0 ;
7577 char * kwnames[] = {
7578 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7579 };
7580
7581 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7582 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7583 if (!SWIG_IsOK(res1)) {
7584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7585 }
7586 arg1 = reinterpret_cast< wxDialog * >(argp1);
7587 ecode2 = SWIG_AsVal_long(obj1, &val2);
7588 if (!SWIG_IsOK(ecode2)) {
7589 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7590 }
7591 arg2 = static_cast< long >(val2);
7592 if (obj2) {
7593 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7594 if (!SWIG_IsOK(ecode3)) {
7595 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7596 }
7597 arg3 = static_cast< bool >(val3);
7598 }
7599 if (obj3) {
7600 ecode4 = SWIG_AsVal_int(obj3, &val4);
7601 if (!SWIG_IsOK(ecode4)) {
7602 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7603 }
7604 arg4 = static_cast< int >(val4);
7605 }
7606 {
7607 PyThreadState* __tstate = wxPyBeginAllowThreads();
7608 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2,arg3,arg4);
7609 wxPyEndAllowThreads(__tstate);
7610 if (PyErr_Occurred()) SWIG_fail;
7611 }
7612 {
7613 resultobj = wxPyMake_wxObject(result, (bool)0);
7614 }
7615 return resultobj;
7616 fail:
7617 return NULL;
7618 }
7619
7620
7621 SWIGINTERN PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7622 PyObject *resultobj = 0;
7623 wxDialog *arg1 = (wxDialog *) 0 ;
7624 long arg2 ;
7625 wxStdDialogButtonSizer *result = 0 ;
7626 void *argp1 = 0 ;
7627 int res1 = 0 ;
7628 long val2 ;
7629 int ecode2 = 0 ;
7630 PyObject * obj0 = 0 ;
7631 PyObject * obj1 = 0 ;
7632 char * kwnames[] = {
7633 (char *) "self",(char *) "flags", NULL
7634 };
7635
7636 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7637 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7638 if (!SWIG_IsOK(res1)) {
7639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7640 }
7641 arg1 = reinterpret_cast< wxDialog * >(argp1);
7642 ecode2 = SWIG_AsVal_long(obj1, &val2);
7643 if (!SWIG_IsOK(ecode2)) {
7644 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7645 }
7646 arg2 = static_cast< long >(val2);
7647 {
7648 PyThreadState* __tstate = wxPyBeginAllowThreads();
7649 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
7650 wxPyEndAllowThreads(__tstate);
7651 if (PyErr_Occurred()) SWIG_fail;
7652 }
7653 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0 | 0 );
7654 return resultobj;
7655 fail:
7656 return NULL;
7657 }
7658
7659
7660 SWIGINTERN PyObject *_wrap_Dialog_IsModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7661 PyObject *resultobj = 0;
7662 wxDialog *arg1 = (wxDialog *) 0 ;
7663 bool result;
7664 void *argp1 = 0 ;
7665 int res1 = 0 ;
7666 PyObject *swig_obj[1] ;
7667
7668 if (!args) SWIG_fail;
7669 swig_obj[0] = args;
7670 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7671 if (!SWIG_IsOK(res1)) {
7672 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7673 }
7674 arg1 = reinterpret_cast< wxDialog * >(argp1);
7675 {
7676 PyThreadState* __tstate = wxPyBeginAllowThreads();
7677 result = (bool)((wxDialog const *)arg1)->IsModal();
7678 wxPyEndAllowThreads(__tstate);
7679 if (PyErr_Occurred()) SWIG_fail;
7680 }
7681 {
7682 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7683 }
7684 return resultobj;
7685 fail:
7686 return NULL;
7687 }
7688
7689
7690 SWIGINTERN PyObject *_wrap_Dialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7691 PyObject *resultobj = 0;
7692 wxDialog *arg1 = (wxDialog *) 0 ;
7693 int result;
7694 void *argp1 = 0 ;
7695 int res1 = 0 ;
7696 PyObject *swig_obj[1] ;
7697
7698 if (!args) SWIG_fail;
7699 swig_obj[0] = args;
7700 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7701 if (!SWIG_IsOK(res1)) {
7702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7703 }
7704 arg1 = reinterpret_cast< wxDialog * >(argp1);
7705 {
7706 PyThreadState* __tstate = wxPyBeginAllowThreads();
7707 result = (int)(arg1)->ShowModal();
7708 wxPyEndAllowThreads(__tstate);
7709 if (PyErr_Occurred()) SWIG_fail;
7710 }
7711 resultobj = SWIG_From_int(static_cast< int >(result));
7712 return resultobj;
7713 fail:
7714 return NULL;
7715 }
7716
7717
7718 SWIGINTERN PyObject *_wrap_Dialog_EndModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7719 PyObject *resultobj = 0;
7720 wxDialog *arg1 = (wxDialog *) 0 ;
7721 int arg2 ;
7722 void *argp1 = 0 ;
7723 int res1 = 0 ;
7724 int val2 ;
7725 int ecode2 = 0 ;
7726 PyObject * obj0 = 0 ;
7727 PyObject * obj1 = 0 ;
7728 char * kwnames[] = {
7729 (char *) "self",(char *) "retCode", NULL
7730 };
7731
7732 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) SWIG_fail;
7733 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7734 if (!SWIG_IsOK(res1)) {
7735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7736 }
7737 arg1 = reinterpret_cast< wxDialog * >(argp1);
7738 ecode2 = SWIG_AsVal_int(obj1, &val2);
7739 if (!SWIG_IsOK(ecode2)) {
7740 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7741 }
7742 arg2 = static_cast< int >(val2);
7743 {
7744 PyThreadState* __tstate = wxPyBeginAllowThreads();
7745 (arg1)->EndModal(arg2);
7746 wxPyEndAllowThreads(__tstate);
7747 if (PyErr_Occurred()) SWIG_fail;
7748 }
7749 resultobj = SWIG_Py_Void();
7750 return resultobj;
7751 fail:
7752 return NULL;
7753 }
7754
7755
7756 SWIGINTERN PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7757 PyObject *resultobj = 0;
7758 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7759 SwigValueWrapper<wxVisualAttributes > result;
7760 int val1 ;
7761 int ecode1 = 0 ;
7762 PyObject * obj0 = 0 ;
7763 char * kwnames[] = {
7764 (char *) "variant", NULL
7765 };
7766
7767 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7768 if (obj0) {
7769 ecode1 = SWIG_AsVal_int(obj0, &val1);
7770 if (!SWIG_IsOK(ecode1)) {
7771 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7772 }
7773 arg1 = static_cast< wxWindowVariant >(val1);
7774 }
7775 {
7776 if (!wxPyCheckForApp()) SWIG_fail;
7777 PyThreadState* __tstate = wxPyBeginAllowThreads();
7778 result = wxDialog::GetClassDefaultAttributes(arg1);
7779 wxPyEndAllowThreads(__tstate);
7780 if (PyErr_Occurred()) SWIG_fail;
7781 }
7782 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7783 return resultobj;
7784 fail:
7785 return NULL;
7786 }
7787
7788
7789 SWIGINTERN PyObject *Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7790 PyObject *obj;
7791 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7792 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog, SWIG_NewClientData(obj));
7793 return SWIG_Py_Void();
7794 }
7795
7796 SWIGINTERN PyObject *Dialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7797 return SWIG_Python_InitShadowInstance(args);
7798 }
7799
7800 SWIGINTERN PyObject *_wrap_new_MiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7801 PyObject *resultobj = 0;
7802 wxWindow *arg1 = (wxWindow *) 0 ;
7803 int arg2 = (int) (int)-1 ;
7804 wxString const &arg3_defvalue = wxPyEmptyString ;
7805 wxString *arg3 = (wxString *) &arg3_defvalue ;
7806 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7807 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7808 wxSize const &arg5_defvalue = wxDefaultSize ;
7809 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7810 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
7811 wxString const &arg7_defvalue = wxPyFrameNameStr ;
7812 wxString *arg7 = (wxString *) &arg7_defvalue ;
7813 wxMiniFrame *result = 0 ;
7814 void *argp1 = 0 ;
7815 int res1 = 0 ;
7816 int val2 ;
7817 int ecode2 = 0 ;
7818 bool temp3 = false ;
7819 wxPoint temp4 ;
7820 wxSize temp5 ;
7821 long val6 ;
7822 int ecode6 = 0 ;
7823 bool temp7 = false ;
7824 PyObject * obj0 = 0 ;
7825 PyObject * obj1 = 0 ;
7826 PyObject * obj2 = 0 ;
7827 PyObject * obj3 = 0 ;
7828 PyObject * obj4 = 0 ;
7829 PyObject * obj5 = 0 ;
7830 PyObject * obj6 = 0 ;
7831 char * kwnames[] = {
7832 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7833 };
7834
7835 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7836 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7837 if (!SWIG_IsOK(res1)) {
7838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
7839 }
7840 arg1 = reinterpret_cast< wxWindow * >(argp1);
7841 if (obj1) {
7842 ecode2 = SWIG_AsVal_int(obj1, &val2);
7843 if (!SWIG_IsOK(ecode2)) {
7844 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
7845 }
7846 arg2 = static_cast< int >(val2);
7847 }
7848 if (obj2) {
7849 {
7850 arg3 = wxString_in_helper(obj2);
7851 if (arg3 == NULL) SWIG_fail;
7852 temp3 = true;
7853 }
7854 }
7855 if (obj3) {
7856 {
7857 arg4 = &temp4;
7858 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7859 }
7860 }
7861 if (obj4) {
7862 {
7863 arg5 = &temp5;
7864 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7865 }
7866 }
7867 if (obj5) {
7868 ecode6 = SWIG_AsVal_long(obj5, &val6);
7869 if (!SWIG_IsOK(ecode6)) {
7870 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
7871 }
7872 arg6 = static_cast< long >(val6);
7873 }
7874 if (obj6) {
7875 {
7876 arg7 = wxString_in_helper(obj6);
7877 if (arg7 == NULL) SWIG_fail;
7878 temp7 = true;
7879 }
7880 }
7881 {
7882 if (!wxPyCheckForApp()) SWIG_fail;
7883 PyThreadState* __tstate = wxPyBeginAllowThreads();
7884 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7885 wxPyEndAllowThreads(__tstate);
7886 if (PyErr_Occurred()) SWIG_fail;
7887 }
7888 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_NEW | 0 );
7889 {
7890 if (temp3)
7891 delete arg3;
7892 }
7893 {
7894 if (temp7)
7895 delete arg7;
7896 }
7897 return resultobj;
7898 fail:
7899 {
7900 if (temp3)
7901 delete arg3;
7902 }
7903 {
7904 if (temp7)
7905 delete arg7;
7906 }
7907 return NULL;
7908 }
7909
7910
7911 SWIGINTERN PyObject *_wrap_new_PreMiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7912 PyObject *resultobj = 0;
7913 wxMiniFrame *result = 0 ;
7914
7915 if (!SWIG_Python_UnpackTuple(args,"new_PreMiniFrame",0,0,0)) SWIG_fail;
7916 {
7917 if (!wxPyCheckForApp()) SWIG_fail;
7918 PyThreadState* __tstate = wxPyBeginAllowThreads();
7919 result = (wxMiniFrame *)new wxMiniFrame();
7920 wxPyEndAllowThreads(__tstate);
7921 if (PyErr_Occurred()) SWIG_fail;
7922 }
7923 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_OWN | 0 );
7924 return resultobj;
7925 fail:
7926 return NULL;
7927 }
7928
7929
7930 SWIGINTERN PyObject *_wrap_MiniFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7931 PyObject *resultobj = 0;
7932 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
7933 wxWindow *arg2 = (wxWindow *) 0 ;
7934 int arg3 = (int) (int)-1 ;
7935 wxString const &arg4_defvalue = wxPyEmptyString ;
7936 wxString *arg4 = (wxString *) &arg4_defvalue ;
7937 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7938 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7939 wxSize const &arg6_defvalue = wxDefaultSize ;
7940 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7941 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
7942 wxString const &arg8_defvalue = wxPyFrameNameStr ;
7943 wxString *arg8 = (wxString *) &arg8_defvalue ;
7944 bool result;
7945 void *argp1 = 0 ;
7946 int res1 = 0 ;
7947 void *argp2 = 0 ;
7948 int res2 = 0 ;
7949 int val3 ;
7950 int ecode3 = 0 ;
7951 bool temp4 = false ;
7952 wxPoint temp5 ;
7953 wxSize temp6 ;
7954 long val7 ;
7955 int ecode7 = 0 ;
7956 bool temp8 = false ;
7957 PyObject * obj0 = 0 ;
7958 PyObject * obj1 = 0 ;
7959 PyObject * obj2 = 0 ;
7960 PyObject * obj3 = 0 ;
7961 PyObject * obj4 = 0 ;
7962 PyObject * obj5 = 0 ;
7963 PyObject * obj6 = 0 ;
7964 PyObject * obj7 = 0 ;
7965 char * kwnames[] = {
7966 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7967 };
7968
7969 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7970 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMiniFrame, 0 | 0 );
7971 if (!SWIG_IsOK(res1)) {
7972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
7973 }
7974 arg1 = reinterpret_cast< wxMiniFrame * >(argp1);
7975 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7976 if (!SWIG_IsOK(res2)) {
7977 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7978 }
7979 arg2 = reinterpret_cast< wxWindow * >(argp2);
7980 if (obj2) {
7981 ecode3 = SWIG_AsVal_int(obj2, &val3);
7982 if (!SWIG_IsOK(ecode3)) {
7983 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
7984 }
7985 arg3 = static_cast< int >(val3);
7986 }
7987 if (obj3) {
7988 {
7989 arg4 = wxString_in_helper(obj3);
7990 if (arg4 == NULL) SWIG_fail;
7991 temp4 = true;
7992 }
7993 }
7994 if (obj4) {
7995 {
7996 arg5 = &temp5;
7997 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7998 }
7999 }
8000 if (obj5) {
8001 {
8002 arg6 = &temp6;
8003 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8004 }
8005 }
8006 if (obj6) {
8007 ecode7 = SWIG_AsVal_long(obj6, &val7);
8008 if (!SWIG_IsOK(ecode7)) {
8009 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8010 }
8011 arg7 = static_cast< long >(val7);
8012 }
8013 if (obj7) {
8014 {
8015 arg8 = wxString_in_helper(obj7);
8016 if (arg8 == NULL) SWIG_fail;
8017 temp8 = true;
8018 }
8019 }
8020 {
8021 PyThreadState* __tstate = wxPyBeginAllowThreads();
8022 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8023 wxPyEndAllowThreads(__tstate);
8024 if (PyErr_Occurred()) SWIG_fail;
8025 }
8026 {
8027 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8028 }
8029 {
8030 if (temp4)
8031 delete arg4;
8032 }
8033 {
8034 if (temp8)
8035 delete arg8;
8036 }
8037 return resultobj;
8038 fail:
8039 {
8040 if (temp4)
8041 delete arg4;
8042 }
8043 {
8044 if (temp8)
8045 delete arg8;
8046 }
8047 return NULL;
8048 }
8049
8050
8051 SWIGINTERN PyObject *MiniFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8052 PyObject *obj;
8053 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8054 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame, SWIG_NewClientData(obj));
8055 return SWIG_Py_Void();
8056 }
8057
8058 SWIGINTERN PyObject *MiniFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8059 return SWIG_Python_InitShadowInstance(args);
8060 }
8061
8062 SWIGINTERN PyObject *_wrap_new_SplashScreenWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8063 PyObject *resultobj = 0;
8064 wxBitmap *arg1 = 0 ;
8065 wxWindow *arg2 = (wxWindow *) 0 ;
8066 int arg3 ;
8067 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8068 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8069 wxSize const &arg5_defvalue = wxDefaultSize ;
8070 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8071 long arg6 = (long) wxNO_BORDER ;
8072 wxSplashScreenWindow *result = 0 ;
8073 void *argp1 = 0 ;
8074 int res1 = 0 ;
8075 void *argp2 = 0 ;
8076 int res2 = 0 ;
8077 int val3 ;
8078 int ecode3 = 0 ;
8079 wxPoint temp4 ;
8080 wxSize temp5 ;
8081 long val6 ;
8082 int ecode6 = 0 ;
8083 PyObject * obj0 = 0 ;
8084 PyObject * obj1 = 0 ;
8085 PyObject * obj2 = 0 ;
8086 PyObject * obj3 = 0 ;
8087 PyObject * obj4 = 0 ;
8088 PyObject * obj5 = 0 ;
8089 char * kwnames[] = {
8090 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8091 };
8092
8093 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8094 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8095 if (!SWIG_IsOK(res1)) {
8096 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8097 }
8098 if (!argp1) {
8099 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8100 }
8101 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8102 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8103 if (!SWIG_IsOK(res2)) {
8104 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8105 }
8106 arg2 = reinterpret_cast< wxWindow * >(argp2);
8107 ecode3 = SWIG_AsVal_int(obj2, &val3);
8108 if (!SWIG_IsOK(ecode3)) {
8109 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8110 }
8111 arg3 = static_cast< int >(val3);
8112 if (obj3) {
8113 {
8114 arg4 = &temp4;
8115 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8116 }
8117 }
8118 if (obj4) {
8119 {
8120 arg5 = &temp5;
8121 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8122 }
8123 }
8124 if (obj5) {
8125 ecode6 = SWIG_AsVal_long(obj5, &val6);
8126 if (!SWIG_IsOK(ecode6)) {
8127 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8128 }
8129 arg6 = static_cast< long >(val6);
8130 }
8131 {
8132 if (!wxPyCheckForApp()) SWIG_fail;
8133 PyThreadState* __tstate = wxPyBeginAllowThreads();
8134 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
8135 wxPyEndAllowThreads(__tstate);
8136 if (PyErr_Occurred()) SWIG_fail;
8137 }
8138 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_NEW | 0 );
8139 return resultobj;
8140 fail:
8141 return NULL;
8142 }
8143
8144
8145 SWIGINTERN PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8146 PyObject *resultobj = 0;
8147 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8148 wxBitmap *arg2 = 0 ;
8149 void *argp1 = 0 ;
8150 int res1 = 0 ;
8151 void *argp2 = 0 ;
8152 int res2 = 0 ;
8153 PyObject * obj0 = 0 ;
8154 PyObject * obj1 = 0 ;
8155 char * kwnames[] = {
8156 (char *) "self",(char *) "bitmap", NULL
8157 };
8158
8159 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8160 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8161 if (!SWIG_IsOK(res1)) {
8162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8163 }
8164 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8165 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8166 if (!SWIG_IsOK(res2)) {
8167 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8168 }
8169 if (!argp2) {
8170 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8171 }
8172 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8173 {
8174 PyThreadState* __tstate = wxPyBeginAllowThreads();
8175 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8176 wxPyEndAllowThreads(__tstate);
8177 if (PyErr_Occurred()) SWIG_fail;
8178 }
8179 resultobj = SWIG_Py_Void();
8180 return resultobj;
8181 fail:
8182 return NULL;
8183 }
8184
8185
8186 SWIGINTERN PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8187 PyObject *resultobj = 0;
8188 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8189 wxBitmap *result = 0 ;
8190 void *argp1 = 0 ;
8191 int res1 = 0 ;
8192 PyObject *swig_obj[1] ;
8193
8194 if (!args) SWIG_fail;
8195 swig_obj[0] = args;
8196 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8197 if (!SWIG_IsOK(res1)) {
8198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8199 }
8200 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8201 {
8202 PyThreadState* __tstate = wxPyBeginAllowThreads();
8203 {
8204 wxBitmap &_result_ref = (arg1)->GetBitmap();
8205 result = (wxBitmap *) &_result_ref;
8206 }
8207 wxPyEndAllowThreads(__tstate);
8208 if (PyErr_Occurred()) SWIG_fail;
8209 }
8210 {
8211 wxBitmap* resultptr = new wxBitmap(*result);
8212 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8213 }
8214 return resultobj;
8215 fail:
8216 return NULL;
8217 }
8218
8219
8220 SWIGINTERN PyObject *SplashScreenWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8221 PyObject *obj;
8222 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8223 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow, SWIG_NewClientData(obj));
8224 return SWIG_Py_Void();
8225 }
8226
8227 SWIGINTERN PyObject *SplashScreenWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8228 return SWIG_Python_InitShadowInstance(args);
8229 }
8230
8231 SWIGINTERN PyObject *_wrap_new_SplashScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8232 PyObject *resultobj = 0;
8233 wxBitmap *arg1 = 0 ;
8234 long arg2 ;
8235 int arg3 ;
8236 wxWindow *arg4 = (wxWindow *) 0 ;
8237 int arg5 = (int) -1 ;
8238 wxPoint const &arg6_defvalue = wxDefaultPosition ;
8239 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
8240 wxSize const &arg7_defvalue = wxDefaultSize ;
8241 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
8242 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
8243 wxSplashScreen *result = 0 ;
8244 void *argp1 = 0 ;
8245 int res1 = 0 ;
8246 long val2 ;
8247 int ecode2 = 0 ;
8248 int val3 ;
8249 int ecode3 = 0 ;
8250 void *argp4 = 0 ;
8251 int res4 = 0 ;
8252 int val5 ;
8253 int ecode5 = 0 ;
8254 wxPoint temp6 ;
8255 wxSize temp7 ;
8256 long val8 ;
8257 int ecode8 = 0 ;
8258 PyObject * obj0 = 0 ;
8259 PyObject * obj1 = 0 ;
8260 PyObject * obj2 = 0 ;
8261 PyObject * obj3 = 0 ;
8262 PyObject * obj4 = 0 ;
8263 PyObject * obj5 = 0 ;
8264 PyObject * obj6 = 0 ;
8265 PyObject * obj7 = 0 ;
8266 char * kwnames[] = {
8267 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8268 };
8269
8270 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8271 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8272 if (!SWIG_IsOK(res1)) {
8273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8274 }
8275 if (!argp1) {
8276 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8277 }
8278 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8279 ecode2 = SWIG_AsVal_long(obj1, &val2);
8280 if (!SWIG_IsOK(ecode2)) {
8281 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8282 }
8283 arg2 = static_cast< long >(val2);
8284 ecode3 = SWIG_AsVal_int(obj2, &val3);
8285 if (!SWIG_IsOK(ecode3)) {
8286 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8287 }
8288 arg3 = static_cast< int >(val3);
8289 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
8290 if (!SWIG_IsOK(res4)) {
8291 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8292 }
8293 arg4 = reinterpret_cast< wxWindow * >(argp4);
8294 if (obj4) {
8295 ecode5 = SWIG_AsVal_int(obj4, &val5);
8296 if (!SWIG_IsOK(ecode5)) {
8297 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8298 }
8299 arg5 = static_cast< int >(val5);
8300 }
8301 if (obj5) {
8302 {
8303 arg6 = &temp6;
8304 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
8305 }
8306 }
8307 if (obj6) {
8308 {
8309 arg7 = &temp7;
8310 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
8311 }
8312 }
8313 if (obj7) {
8314 ecode8 = SWIG_AsVal_long(obj7, &val8);
8315 if (!SWIG_IsOK(ecode8)) {
8316 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8317 }
8318 arg8 = static_cast< long >(val8);
8319 }
8320 {
8321 if (!wxPyCheckForApp()) SWIG_fail;
8322 PyThreadState* __tstate = wxPyBeginAllowThreads();
8323 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
8324 wxPyEndAllowThreads(__tstate);
8325 if (PyErr_Occurred()) SWIG_fail;
8326 }
8327 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_NEW | 0 );
8328 return resultobj;
8329 fail:
8330 return NULL;
8331 }
8332
8333
8334 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8335 PyObject *resultobj = 0;
8336 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8337 long result;
8338 void *argp1 = 0 ;
8339 int res1 = 0 ;
8340 PyObject *swig_obj[1] ;
8341
8342 if (!args) SWIG_fail;
8343 swig_obj[0] = args;
8344 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8345 if (!SWIG_IsOK(res1)) {
8346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8347 }
8348 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8349 {
8350 PyThreadState* __tstate = wxPyBeginAllowThreads();
8351 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
8352 wxPyEndAllowThreads(__tstate);
8353 if (PyErr_Occurred()) SWIG_fail;
8354 }
8355 resultobj = SWIG_From_long(static_cast< long >(result));
8356 return resultobj;
8357 fail:
8358 return NULL;
8359 }
8360
8361
8362 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8363 PyObject *resultobj = 0;
8364 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8365 wxSplashScreenWindow *result = 0 ;
8366 void *argp1 = 0 ;
8367 int res1 = 0 ;
8368 PyObject *swig_obj[1] ;
8369
8370 if (!args) SWIG_fail;
8371 swig_obj[0] = args;
8372 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8373 if (!SWIG_IsOK(res1)) {
8374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8375 }
8376 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8377 {
8378 PyThreadState* __tstate = wxPyBeginAllowThreads();
8379 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
8380 wxPyEndAllowThreads(__tstate);
8381 if (PyErr_Occurred()) SWIG_fail;
8382 }
8383 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8384 return resultobj;
8385 fail:
8386 return NULL;
8387 }
8388
8389
8390 SWIGINTERN PyObject *_wrap_SplashScreen_GetTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8391 PyObject *resultobj = 0;
8392 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8393 int result;
8394 void *argp1 = 0 ;
8395 int res1 = 0 ;
8396 PyObject *swig_obj[1] ;
8397
8398 if (!args) SWIG_fail;
8399 swig_obj[0] = args;
8400 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8401 if (!SWIG_IsOK(res1)) {
8402 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8403 }
8404 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8405 {
8406 PyThreadState* __tstate = wxPyBeginAllowThreads();
8407 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
8408 wxPyEndAllowThreads(__tstate);
8409 if (PyErr_Occurred()) SWIG_fail;
8410 }
8411 resultobj = SWIG_From_int(static_cast< int >(result));
8412 return resultobj;
8413 fail:
8414 return NULL;
8415 }
8416
8417
8418 SWIGINTERN PyObject *SplashScreen_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8419 PyObject *obj;
8420 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8421 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen, SWIG_NewClientData(obj));
8422 return SWIG_Py_Void();
8423 }
8424
8425 SWIGINTERN PyObject *SplashScreen_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8426 return SWIG_Python_InitShadowInstance(args);
8427 }
8428
8429 SWIGINTERN PyObject *_wrap_new_StatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8430 PyObject *resultobj = 0;
8431 wxWindow *arg1 = (wxWindow *) 0 ;
8432 int arg2 = (int) -1 ;
8433 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
8434 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
8435 wxString *arg4 = (wxString *) &arg4_defvalue ;
8436 wxStatusBar *result = 0 ;
8437 void *argp1 = 0 ;
8438 int res1 = 0 ;
8439 int val2 ;
8440 int ecode2 = 0 ;
8441 long val3 ;
8442 int ecode3 = 0 ;
8443 bool temp4 = false ;
8444 PyObject * obj0 = 0 ;
8445 PyObject * obj1 = 0 ;
8446 PyObject * obj2 = 0 ;
8447 PyObject * obj3 = 0 ;
8448 char * kwnames[] = {
8449 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8450 };
8451
8452 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8453 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8454 if (!SWIG_IsOK(res1)) {
8455 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8456 }
8457 arg1 = reinterpret_cast< wxWindow * >(argp1);
8458 if (obj1) {
8459 ecode2 = SWIG_AsVal_int(obj1, &val2);
8460 if (!SWIG_IsOK(ecode2)) {
8461 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8462 }
8463 arg2 = static_cast< int >(val2);
8464 }
8465 if (obj2) {
8466 ecode3 = SWIG_AsVal_long(obj2, &val3);
8467 if (!SWIG_IsOK(ecode3)) {
8468 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8469 }
8470 arg3 = static_cast< long >(val3);
8471 }
8472 if (obj3) {
8473 {
8474 arg4 = wxString_in_helper(obj3);
8475 if (arg4 == NULL) SWIG_fail;
8476 temp4 = true;
8477 }
8478 }
8479 {
8480 if (!wxPyCheckForApp()) SWIG_fail;
8481 PyThreadState* __tstate = wxPyBeginAllowThreads();
8482 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
8483 wxPyEndAllowThreads(__tstate);
8484 if (PyErr_Occurred()) SWIG_fail;
8485 }
8486 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_NEW | 0 );
8487 {
8488 if (temp4)
8489 delete arg4;
8490 }
8491 return resultobj;
8492 fail:
8493 {
8494 if (temp4)
8495 delete arg4;
8496 }
8497 return NULL;
8498 }
8499
8500
8501 SWIGINTERN PyObject *_wrap_new_PreStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8502 PyObject *resultobj = 0;
8503 wxStatusBar *result = 0 ;
8504
8505 if (!SWIG_Python_UnpackTuple(args,"new_PreStatusBar",0,0,0)) SWIG_fail;
8506 {
8507 if (!wxPyCheckForApp()) SWIG_fail;
8508 PyThreadState* __tstate = wxPyBeginAllowThreads();
8509 result = (wxStatusBar *)new wxStatusBar();
8510 wxPyEndAllowThreads(__tstate);
8511 if (PyErr_Occurred()) SWIG_fail;
8512 }
8513 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_OWN | 0 );
8514 return resultobj;
8515 fail:
8516 return NULL;
8517 }
8518
8519
8520 SWIGINTERN PyObject *_wrap_StatusBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8521 PyObject *resultobj = 0;
8522 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8523 wxWindow *arg2 = (wxWindow *) 0 ;
8524 int arg3 = (int) -1 ;
8525 long arg4 = (long) wxST_SIZEGRIP ;
8526 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
8527 wxString *arg5 = (wxString *) &arg5_defvalue ;
8528 bool result;
8529 void *argp1 = 0 ;
8530 int res1 = 0 ;
8531 void *argp2 = 0 ;
8532 int res2 = 0 ;
8533 int val3 ;
8534 int ecode3 = 0 ;
8535 long val4 ;
8536 int ecode4 = 0 ;
8537 bool temp5 = false ;
8538 PyObject * obj0 = 0 ;
8539 PyObject * obj1 = 0 ;
8540 PyObject * obj2 = 0 ;
8541 PyObject * obj3 = 0 ;
8542 PyObject * obj4 = 0 ;
8543 char * kwnames[] = {
8544 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8545 };
8546
8547 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8548 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8549 if (!SWIG_IsOK(res1)) {
8550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8551 }
8552 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8553 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8554 if (!SWIG_IsOK(res2)) {
8555 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8556 }
8557 arg2 = reinterpret_cast< wxWindow * >(argp2);
8558 if (obj2) {
8559 ecode3 = SWIG_AsVal_int(obj2, &val3);
8560 if (!SWIG_IsOK(ecode3)) {
8561 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8562 }
8563 arg3 = static_cast< int >(val3);
8564 }
8565 if (obj3) {
8566 ecode4 = SWIG_AsVal_long(obj3, &val4);
8567 if (!SWIG_IsOK(ecode4)) {
8568 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8569 }
8570 arg4 = static_cast< long >(val4);
8571 }
8572 if (obj4) {
8573 {
8574 arg5 = wxString_in_helper(obj4);
8575 if (arg5 == NULL) SWIG_fail;
8576 temp5 = true;
8577 }
8578 }
8579 {
8580 PyThreadState* __tstate = wxPyBeginAllowThreads();
8581 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
8582 wxPyEndAllowThreads(__tstate);
8583 if (PyErr_Occurred()) SWIG_fail;
8584 }
8585 {
8586 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8587 }
8588 {
8589 if (temp5)
8590 delete arg5;
8591 }
8592 return resultobj;
8593 fail:
8594 {
8595 if (temp5)
8596 delete arg5;
8597 }
8598 return NULL;
8599 }
8600
8601
8602 SWIGINTERN PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8603 PyObject *resultobj = 0;
8604 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8605 int arg2 = (int) 1 ;
8606 void *argp1 = 0 ;
8607 int res1 = 0 ;
8608 int val2 ;
8609 int ecode2 = 0 ;
8610 PyObject * obj0 = 0 ;
8611 PyObject * obj1 = 0 ;
8612 char * kwnames[] = {
8613 (char *) "self",(char *) "number", NULL
8614 };
8615
8616 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) SWIG_fail;
8617 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8618 if (!SWIG_IsOK(res1)) {
8619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8620 }
8621 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8622 if (obj1) {
8623 ecode2 = SWIG_AsVal_int(obj1, &val2);
8624 if (!SWIG_IsOK(ecode2)) {
8625 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8626 }
8627 arg2 = static_cast< int >(val2);
8628 }
8629 {
8630 PyThreadState* __tstate = wxPyBeginAllowThreads();
8631 (arg1)->SetFieldsCount(arg2);
8632 wxPyEndAllowThreads(__tstate);
8633 if (PyErr_Occurred()) SWIG_fail;
8634 }
8635 resultobj = SWIG_Py_Void();
8636 return resultobj;
8637 fail:
8638 return NULL;
8639 }
8640
8641
8642 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8643 PyObject *resultobj = 0;
8644 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8645 int result;
8646 void *argp1 = 0 ;
8647 int res1 = 0 ;
8648 PyObject *swig_obj[1] ;
8649
8650 if (!args) SWIG_fail;
8651 swig_obj[0] = args;
8652 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8653 if (!SWIG_IsOK(res1)) {
8654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8655 }
8656 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8657 {
8658 PyThreadState* __tstate = wxPyBeginAllowThreads();
8659 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
8660 wxPyEndAllowThreads(__tstate);
8661 if (PyErr_Occurred()) SWIG_fail;
8662 }
8663 resultobj = SWIG_From_int(static_cast< int >(result));
8664 return resultobj;
8665 fail:
8666 return NULL;
8667 }
8668
8669
8670 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8671 PyObject *resultobj = 0;
8672 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8673 wxString *arg2 = 0 ;
8674 int arg3 = (int) 0 ;
8675 void *argp1 = 0 ;
8676 int res1 = 0 ;
8677 bool temp2 = false ;
8678 int val3 ;
8679 int ecode3 = 0 ;
8680 PyObject * obj0 = 0 ;
8681 PyObject * obj1 = 0 ;
8682 PyObject * obj2 = 0 ;
8683 char * kwnames[] = {
8684 (char *) "self",(char *) "text",(char *) "number", NULL
8685 };
8686
8687 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8688 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8689 if (!SWIG_IsOK(res1)) {
8690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8691 }
8692 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8693 {
8694 arg2 = wxString_in_helper(obj1);
8695 if (arg2 == NULL) SWIG_fail;
8696 temp2 = true;
8697 }
8698 if (obj2) {
8699 ecode3 = SWIG_AsVal_int(obj2, &val3);
8700 if (!SWIG_IsOK(ecode3)) {
8701 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8702 }
8703 arg3 = static_cast< int >(val3);
8704 }
8705 {
8706 PyThreadState* __tstate = wxPyBeginAllowThreads();
8707 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
8708 wxPyEndAllowThreads(__tstate);
8709 if (PyErr_Occurred()) SWIG_fail;
8710 }
8711 resultobj = SWIG_Py_Void();
8712 {
8713 if (temp2)
8714 delete arg2;
8715 }
8716 return resultobj;
8717 fail:
8718 {
8719 if (temp2)
8720 delete arg2;
8721 }
8722 return NULL;
8723 }
8724
8725
8726 SWIGINTERN PyObject *_wrap_StatusBar_GetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8727 PyObject *resultobj = 0;
8728 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8729 int arg2 = (int) 0 ;
8730 wxString result;
8731 void *argp1 = 0 ;
8732 int res1 = 0 ;
8733 int val2 ;
8734 int ecode2 = 0 ;
8735 PyObject * obj0 = 0 ;
8736 PyObject * obj1 = 0 ;
8737 char * kwnames[] = {
8738 (char *) "self",(char *) "number", NULL
8739 };
8740
8741 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
8742 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8743 if (!SWIG_IsOK(res1)) {
8744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8745 }
8746 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8747 if (obj1) {
8748 ecode2 = SWIG_AsVal_int(obj1, &val2);
8749 if (!SWIG_IsOK(ecode2)) {
8750 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8751 }
8752 arg2 = static_cast< int >(val2);
8753 }
8754 {
8755 PyThreadState* __tstate = wxPyBeginAllowThreads();
8756 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
8757 wxPyEndAllowThreads(__tstate);
8758 if (PyErr_Occurred()) SWIG_fail;
8759 }
8760 {
8761 #if wxUSE_UNICODE
8762 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8763 #else
8764 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8765 #endif
8766 }
8767 return resultobj;
8768 fail:
8769 return NULL;
8770 }
8771
8772
8773 SWIGINTERN PyObject *_wrap_StatusBar_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8774 PyObject *resultobj = 0;
8775 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8776 wxString *arg2 = 0 ;
8777 int arg3 = (int) 0 ;
8778 void *argp1 = 0 ;
8779 int res1 = 0 ;
8780 bool temp2 = false ;
8781 int val3 ;
8782 int ecode3 = 0 ;
8783 PyObject * obj0 = 0 ;
8784 PyObject * obj1 = 0 ;
8785 PyObject * obj2 = 0 ;
8786 char * kwnames[] = {
8787 (char *) "self",(char *) "text",(char *) "number", NULL
8788 };
8789
8790 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8791 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8792 if (!SWIG_IsOK(res1)) {
8793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8794 }
8795 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8796 {
8797 arg2 = wxString_in_helper(obj1);
8798 if (arg2 == NULL) SWIG_fail;
8799 temp2 = true;
8800 }
8801 if (obj2) {
8802 ecode3 = SWIG_AsVal_int(obj2, &val3);
8803 if (!SWIG_IsOK(ecode3)) {
8804 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
8805 }
8806 arg3 = static_cast< int >(val3);
8807 }
8808 {
8809 PyThreadState* __tstate = wxPyBeginAllowThreads();
8810 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
8811 wxPyEndAllowThreads(__tstate);
8812 if (PyErr_Occurred()) SWIG_fail;
8813 }
8814 resultobj = SWIG_Py_Void();
8815 {
8816 if (temp2)
8817 delete arg2;
8818 }
8819 return resultobj;
8820 fail:
8821 {
8822 if (temp2)
8823 delete arg2;
8824 }
8825 return NULL;
8826 }
8827
8828
8829 SWIGINTERN PyObject *_wrap_StatusBar_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8830 PyObject *resultobj = 0;
8831 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8832 int arg2 = (int) 0 ;
8833 void *argp1 = 0 ;
8834 int res1 = 0 ;
8835 int val2 ;
8836 int ecode2 = 0 ;
8837 PyObject * obj0 = 0 ;
8838 PyObject * obj1 = 0 ;
8839 char * kwnames[] = {
8840 (char *) "self",(char *) "number", NULL
8841 };
8842
8843 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
8844 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8845 if (!SWIG_IsOK(res1)) {
8846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8847 }
8848 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8849 if (obj1) {
8850 ecode2 = SWIG_AsVal_int(obj1, &val2);
8851 if (!SWIG_IsOK(ecode2)) {
8852 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
8853 }
8854 arg2 = static_cast< int >(val2);
8855 }
8856 {
8857 PyThreadState* __tstate = wxPyBeginAllowThreads();
8858 (arg1)->PopStatusText(arg2);
8859 wxPyEndAllowThreads(__tstate);
8860 if (PyErr_Occurred()) SWIG_fail;
8861 }
8862 resultobj = SWIG_Py_Void();
8863 return resultobj;
8864 fail:
8865 return NULL;
8866 }
8867
8868
8869 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8870 PyObject *resultobj = 0;
8871 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8872 int arg2 ;
8873 int *arg3 = (int *) 0 ;
8874 void *argp1 = 0 ;
8875 int res1 = 0 ;
8876 PyObject * obj0 = 0 ;
8877 PyObject * obj1 = 0 ;
8878 char * kwnames[] = {
8879 (char *) "self",(char *) "widths", NULL
8880 };
8881
8882 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
8883 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8884 if (!SWIG_IsOK(res1)) {
8885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8886 }
8887 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8888 {
8889 arg2 = PyList_Size(obj1);
8890 arg3 = int_LIST_helper(obj1);
8891 if (arg3 == NULL) SWIG_fail;
8892 }
8893 {
8894 PyThreadState* __tstate = wxPyBeginAllowThreads();
8895 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
8896 wxPyEndAllowThreads(__tstate);
8897 if (PyErr_Occurred()) SWIG_fail;
8898 }
8899 resultobj = SWIG_Py_Void();
8900 {
8901 if (arg3) delete [] arg3;
8902 }
8903 return resultobj;
8904 fail:
8905 {
8906 if (arg3) delete [] arg3;
8907 }
8908 return NULL;
8909 }
8910
8911
8912 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8913 PyObject *resultobj = 0;
8914 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8915 int arg2 ;
8916 int *arg3 = (int *) 0 ;
8917 void *argp1 = 0 ;
8918 int res1 = 0 ;
8919 PyObject * obj0 = 0 ;
8920 PyObject * obj1 = 0 ;
8921 char * kwnames[] = {
8922 (char *) "self",(char *) "styles", NULL
8923 };
8924
8925 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) SWIG_fail;
8926 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8927 if (!SWIG_IsOK(res1)) {
8928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8929 }
8930 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8931 {
8932 arg2 = PyList_Size(obj1);
8933 arg3 = int_LIST_helper(obj1);
8934 if (arg3 == NULL) SWIG_fail;
8935 }
8936 {
8937 PyThreadState* __tstate = wxPyBeginAllowThreads();
8938 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
8939 wxPyEndAllowThreads(__tstate);
8940 if (PyErr_Occurred()) SWIG_fail;
8941 }
8942 resultobj = SWIG_Py_Void();
8943 {
8944 if (arg3) delete [] arg3;
8945 }
8946 return resultobj;
8947 fail:
8948 {
8949 if (arg3) delete [] arg3;
8950 }
8951 return NULL;
8952 }
8953
8954
8955 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8956 PyObject *resultobj = 0;
8957 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8958 int arg2 ;
8959 wxRect result;
8960 void *argp1 = 0 ;
8961 int res1 = 0 ;
8962 int val2 ;
8963 int ecode2 = 0 ;
8964 PyObject * obj0 = 0 ;
8965 PyObject * obj1 = 0 ;
8966 char * kwnames[] = {
8967 (char *) "self",(char *) "i", NULL
8968 };
8969
8970 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) SWIG_fail;
8971 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8972 if (!SWIG_IsOK(res1)) {
8973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8974 }
8975 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8976 ecode2 = SWIG_AsVal_int(obj1, &val2);
8977 if (!SWIG_IsOK(ecode2)) {
8978 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
8979 }
8980 arg2 = static_cast< int >(val2);
8981 {
8982 PyThreadState* __tstate = wxPyBeginAllowThreads();
8983 result = wxStatusBar_GetFieldRect(arg1,arg2);
8984 wxPyEndAllowThreads(__tstate);
8985 if (PyErr_Occurred()) SWIG_fail;
8986 }
8987 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
8988 return resultobj;
8989 fail:
8990 return NULL;
8991 }
8992
8993
8994 SWIGINTERN PyObject *_wrap_StatusBar_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8995 PyObject *resultobj = 0;
8996 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8997 int arg2 ;
8998 void *argp1 = 0 ;
8999 int res1 = 0 ;
9000 int val2 ;
9001 int ecode2 = 0 ;
9002 PyObject * obj0 = 0 ;
9003 PyObject * obj1 = 0 ;
9004 char * kwnames[] = {
9005 (char *) "self",(char *) "height", NULL
9006 };
9007
9008 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) SWIG_fail;
9009 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9010 if (!SWIG_IsOK(res1)) {
9011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9012 }
9013 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9014 ecode2 = SWIG_AsVal_int(obj1, &val2);
9015 if (!SWIG_IsOK(ecode2)) {
9016 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9017 }
9018 arg2 = static_cast< int >(val2);
9019 {
9020 PyThreadState* __tstate = wxPyBeginAllowThreads();
9021 (arg1)->SetMinHeight(arg2);
9022 wxPyEndAllowThreads(__tstate);
9023 if (PyErr_Occurred()) SWIG_fail;
9024 }
9025 resultobj = SWIG_Py_Void();
9026 return resultobj;
9027 fail:
9028 return NULL;
9029 }
9030
9031
9032 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9033 PyObject *resultobj = 0;
9034 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9035 int result;
9036 void *argp1 = 0 ;
9037 int res1 = 0 ;
9038 PyObject *swig_obj[1] ;
9039
9040 if (!args) SWIG_fail;
9041 swig_obj[0] = args;
9042 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9043 if (!SWIG_IsOK(res1)) {
9044 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9045 }
9046 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9047 {
9048 PyThreadState* __tstate = wxPyBeginAllowThreads();
9049 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
9050 wxPyEndAllowThreads(__tstate);
9051 if (PyErr_Occurred()) SWIG_fail;
9052 }
9053 resultobj = SWIG_From_int(static_cast< int >(result));
9054 return resultobj;
9055 fail:
9056 return NULL;
9057 }
9058
9059
9060 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9061 PyObject *resultobj = 0;
9062 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9063 int result;
9064 void *argp1 = 0 ;
9065 int res1 = 0 ;
9066 PyObject *swig_obj[1] ;
9067
9068 if (!args) SWIG_fail;
9069 swig_obj[0] = args;
9070 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9071 if (!SWIG_IsOK(res1)) {
9072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9073 }
9074 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9075 {
9076 PyThreadState* __tstate = wxPyBeginAllowThreads();
9077 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
9078 wxPyEndAllowThreads(__tstate);
9079 if (PyErr_Occurred()) SWIG_fail;
9080 }
9081 resultobj = SWIG_From_int(static_cast< int >(result));
9082 return resultobj;
9083 fail:
9084 return NULL;
9085 }
9086
9087
9088 SWIGINTERN PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9089 PyObject *resultobj = 0;
9090 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9091 SwigValueWrapper<wxVisualAttributes > result;
9092 int val1 ;
9093 int ecode1 = 0 ;
9094 PyObject * obj0 = 0 ;
9095 char * kwnames[] = {
9096 (char *) "variant", NULL
9097 };
9098
9099 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9100 if (obj0) {
9101 ecode1 = SWIG_AsVal_int(obj0, &val1);
9102 if (!SWIG_IsOK(ecode1)) {
9103 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9104 }
9105 arg1 = static_cast< wxWindowVariant >(val1);
9106 }
9107 {
9108 if (!wxPyCheckForApp()) SWIG_fail;
9109 PyThreadState* __tstate = wxPyBeginAllowThreads();
9110 result = wxStatusBar::GetClassDefaultAttributes(arg1);
9111 wxPyEndAllowThreads(__tstate);
9112 if (PyErr_Occurred()) SWIG_fail;
9113 }
9114 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9115 return resultobj;
9116 fail:
9117 return NULL;
9118 }
9119
9120
9121 SWIGINTERN PyObject *StatusBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9122 PyObject *obj;
9123 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9124 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar, SWIG_NewClientData(obj));
9125 return SWIG_Py_Void();
9126 }
9127
9128 SWIGINTERN PyObject *StatusBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9129 return SWIG_Python_InitShadowInstance(args);
9130 }
9131
9132 SWIGINTERN int SplitterNameStr_set(PyObject *) {
9133 SWIG_Error(SWIG_AttributeError,"Variable SplitterNameStr is read-only.");
9134 return 1;
9135 }
9136
9137
9138 SWIGINTERN PyObject *SplitterNameStr_get(void) {
9139 PyObject *pyobj = 0;
9140
9141 {
9142 #if wxUSE_UNICODE
9143 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9144 #else
9145 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9146 #endif
9147 }
9148 return pyobj;
9149 }
9150
9151
9152 SWIGINTERN PyObject *_wrap_new_SplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9153 PyObject *resultobj = 0;
9154 wxWindow *arg1 = (wxWindow *) 0 ;
9155 int arg2 = (int) -1 ;
9156 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9157 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9158 wxSize const &arg4_defvalue = wxDefaultSize ;
9159 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9160 long arg5 = (long) wxSP_3D ;
9161 wxString const &arg6_defvalue = wxPySplitterNameStr ;
9162 wxString *arg6 = (wxString *) &arg6_defvalue ;
9163 wxSplitterWindow *result = 0 ;
9164 void *argp1 = 0 ;
9165 int res1 = 0 ;
9166 int val2 ;
9167 int ecode2 = 0 ;
9168 wxPoint temp3 ;
9169 wxSize temp4 ;
9170 long val5 ;
9171 int ecode5 = 0 ;
9172 bool temp6 = false ;
9173 PyObject * obj0 = 0 ;
9174 PyObject * obj1 = 0 ;
9175 PyObject * obj2 = 0 ;
9176 PyObject * obj3 = 0 ;
9177 PyObject * obj4 = 0 ;
9178 PyObject * obj5 = 0 ;
9179 char * kwnames[] = {
9180 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9181 };
9182
9183 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9184 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9185 if (!SWIG_IsOK(res1)) {
9186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9187 }
9188 arg1 = reinterpret_cast< wxWindow * >(argp1);
9189 if (obj1) {
9190 ecode2 = SWIG_AsVal_int(obj1, &val2);
9191 if (!SWIG_IsOK(ecode2)) {
9192 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9193 }
9194 arg2 = static_cast< int >(val2);
9195 }
9196 if (obj2) {
9197 {
9198 arg3 = &temp3;
9199 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9200 }
9201 }
9202 if (obj3) {
9203 {
9204 arg4 = &temp4;
9205 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9206 }
9207 }
9208 if (obj4) {
9209 ecode5 = SWIG_AsVal_long(obj4, &val5);
9210 if (!SWIG_IsOK(ecode5)) {
9211 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9212 }
9213 arg5 = static_cast< long >(val5);
9214 }
9215 if (obj5) {
9216 {
9217 arg6 = wxString_in_helper(obj5);
9218 if (arg6 == NULL) SWIG_fail;
9219 temp6 = true;
9220 }
9221 }
9222 {
9223 if (!wxPyCheckForApp()) SWIG_fail;
9224 PyThreadState* __tstate = wxPyBeginAllowThreads();
9225 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9226 wxPyEndAllowThreads(__tstate);
9227 if (PyErr_Occurred()) SWIG_fail;
9228 }
9229 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_NEW | 0 );
9230 {
9231 if (temp6)
9232 delete arg6;
9233 }
9234 return resultobj;
9235 fail:
9236 {
9237 if (temp6)
9238 delete arg6;
9239 }
9240 return NULL;
9241 }
9242
9243
9244 SWIGINTERN PyObject *_wrap_new_PreSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9245 PyObject *resultobj = 0;
9246 wxSplitterWindow *result = 0 ;
9247
9248 if (!SWIG_Python_UnpackTuple(args,"new_PreSplitterWindow",0,0,0)) SWIG_fail;
9249 {
9250 if (!wxPyCheckForApp()) SWIG_fail;
9251 PyThreadState* __tstate = wxPyBeginAllowThreads();
9252 result = (wxSplitterWindow *)new wxSplitterWindow();
9253 wxPyEndAllowThreads(__tstate);
9254 if (PyErr_Occurred()) SWIG_fail;
9255 }
9256 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_OWN | 0 );
9257 return resultobj;
9258 fail:
9259 return NULL;
9260 }
9261
9262
9263 SWIGINTERN PyObject *_wrap_SplitterWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9264 PyObject *resultobj = 0;
9265 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9266 wxWindow *arg2 = (wxWindow *) 0 ;
9267 int arg3 = (int) -1 ;
9268 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9269 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9270 wxSize const &arg5_defvalue = wxDefaultSize ;
9271 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9272 long arg6 = (long) wxSP_3D ;
9273 wxString const &arg7_defvalue = wxPySplitterNameStr ;
9274 wxString *arg7 = (wxString *) &arg7_defvalue ;
9275 bool result;
9276 void *argp1 = 0 ;
9277 int res1 = 0 ;
9278 void *argp2 = 0 ;
9279 int res2 = 0 ;
9280 int val3 ;
9281 int ecode3 = 0 ;
9282 wxPoint temp4 ;
9283 wxSize temp5 ;
9284 long val6 ;
9285 int ecode6 = 0 ;
9286 bool temp7 = false ;
9287 PyObject * obj0 = 0 ;
9288 PyObject * obj1 = 0 ;
9289 PyObject * obj2 = 0 ;
9290 PyObject * obj3 = 0 ;
9291 PyObject * obj4 = 0 ;
9292 PyObject * obj5 = 0 ;
9293 PyObject * obj6 = 0 ;
9294 char * kwnames[] = {
9295 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9296 };
9297
9298 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9299 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9300 if (!SWIG_IsOK(res1)) {
9301 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9302 }
9303 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9304 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9305 if (!SWIG_IsOK(res2)) {
9306 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9307 }
9308 arg2 = reinterpret_cast< wxWindow * >(argp2);
9309 if (obj2) {
9310 ecode3 = SWIG_AsVal_int(obj2, &val3);
9311 if (!SWIG_IsOK(ecode3)) {
9312 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9313 }
9314 arg3 = static_cast< int >(val3);
9315 }
9316 if (obj3) {
9317 {
9318 arg4 = &temp4;
9319 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9320 }
9321 }
9322 if (obj4) {
9323 {
9324 arg5 = &temp5;
9325 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9326 }
9327 }
9328 if (obj5) {
9329 ecode6 = SWIG_AsVal_long(obj5, &val6);
9330 if (!SWIG_IsOK(ecode6)) {
9331 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9332 }
9333 arg6 = static_cast< long >(val6);
9334 }
9335 if (obj6) {
9336 {
9337 arg7 = wxString_in_helper(obj6);
9338 if (arg7 == NULL) SWIG_fail;
9339 temp7 = true;
9340 }
9341 }
9342 {
9343 PyThreadState* __tstate = wxPyBeginAllowThreads();
9344 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9345 wxPyEndAllowThreads(__tstate);
9346 if (PyErr_Occurred()) SWIG_fail;
9347 }
9348 {
9349 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9350 }
9351 {
9352 if (temp7)
9353 delete arg7;
9354 }
9355 return resultobj;
9356 fail:
9357 {
9358 if (temp7)
9359 delete arg7;
9360 }
9361 return NULL;
9362 }
9363
9364
9365 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9366 PyObject *resultobj = 0;
9367 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9368 wxWindow *result = 0 ;
9369 void *argp1 = 0 ;
9370 int res1 = 0 ;
9371 PyObject *swig_obj[1] ;
9372
9373 if (!args) SWIG_fail;
9374 swig_obj[0] = args;
9375 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9376 if (!SWIG_IsOK(res1)) {
9377 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9378 }
9379 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9380 {
9381 PyThreadState* __tstate = wxPyBeginAllowThreads();
9382 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
9383 wxPyEndAllowThreads(__tstate);
9384 if (PyErr_Occurred()) SWIG_fail;
9385 }
9386 {
9387 resultobj = wxPyMake_wxObject(result, 0);
9388 }
9389 return resultobj;
9390 fail:
9391 return NULL;
9392 }
9393
9394
9395 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9396 PyObject *resultobj = 0;
9397 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9398 wxWindow *result = 0 ;
9399 void *argp1 = 0 ;
9400 int res1 = 0 ;
9401 PyObject *swig_obj[1] ;
9402
9403 if (!args) SWIG_fail;
9404 swig_obj[0] = args;
9405 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9406 if (!SWIG_IsOK(res1)) {
9407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9408 }
9409 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9410 {
9411 PyThreadState* __tstate = wxPyBeginAllowThreads();
9412 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
9413 wxPyEndAllowThreads(__tstate);
9414 if (PyErr_Occurred()) SWIG_fail;
9415 }
9416 {
9417 resultobj = wxPyMake_wxObject(result, 0);
9418 }
9419 return resultobj;
9420 fail:
9421 return NULL;
9422 }
9423
9424
9425 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9426 PyObject *resultobj = 0;
9427 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9428 int arg2 ;
9429 void *argp1 = 0 ;
9430 int res1 = 0 ;
9431 int val2 ;
9432 int ecode2 = 0 ;
9433 PyObject * obj0 = 0 ;
9434 PyObject * obj1 = 0 ;
9435 char * kwnames[] = {
9436 (char *) "self",(char *) "mode", NULL
9437 };
9438
9439 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) SWIG_fail;
9440 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9441 if (!SWIG_IsOK(res1)) {
9442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9443 }
9444 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9445 ecode2 = SWIG_AsVal_int(obj1, &val2);
9446 if (!SWIG_IsOK(ecode2)) {
9447 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9448 }
9449 arg2 = static_cast< int >(val2);
9450 {
9451 PyThreadState* __tstate = wxPyBeginAllowThreads();
9452 (arg1)->SetSplitMode(arg2);
9453 wxPyEndAllowThreads(__tstate);
9454 if (PyErr_Occurred()) SWIG_fail;
9455 }
9456 resultobj = SWIG_Py_Void();
9457 return resultobj;
9458 fail:
9459 return NULL;
9460 }
9461
9462
9463 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9464 PyObject *resultobj = 0;
9465 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9466 wxSplitMode result;
9467 void *argp1 = 0 ;
9468 int res1 = 0 ;
9469 PyObject *swig_obj[1] ;
9470
9471 if (!args) SWIG_fail;
9472 swig_obj[0] = args;
9473 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9474 if (!SWIG_IsOK(res1)) {
9475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9476 }
9477 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9478 {
9479 PyThreadState* __tstate = wxPyBeginAllowThreads();
9480 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
9481 wxPyEndAllowThreads(__tstate);
9482 if (PyErr_Occurred()) SWIG_fail;
9483 }
9484 resultobj = SWIG_From_int(static_cast< int >(result));
9485 return resultobj;
9486 fail:
9487 return NULL;
9488 }
9489
9490
9491 SWIGINTERN PyObject *_wrap_SplitterWindow_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9492 PyObject *resultobj = 0;
9493 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9494 wxWindow *arg2 = (wxWindow *) 0 ;
9495 void *argp1 = 0 ;
9496 int res1 = 0 ;
9497 void *argp2 = 0 ;
9498 int res2 = 0 ;
9499 PyObject * obj0 = 0 ;
9500 PyObject * obj1 = 0 ;
9501 char * kwnames[] = {
9502 (char *) "self",(char *) "window", NULL
9503 };
9504
9505 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) SWIG_fail;
9506 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9507 if (!SWIG_IsOK(res1)) {
9508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9509 }
9510 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9511 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9512 if (!SWIG_IsOK(res2)) {
9513 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9514 }
9515 arg2 = reinterpret_cast< wxWindow * >(argp2);
9516 {
9517 PyThreadState* __tstate = wxPyBeginAllowThreads();
9518 (arg1)->Initialize(arg2);
9519 wxPyEndAllowThreads(__tstate);
9520 if (PyErr_Occurred()) SWIG_fail;
9521 }
9522 resultobj = SWIG_Py_Void();
9523 return resultobj;
9524 fail:
9525 return NULL;
9526 }
9527
9528
9529 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9530 PyObject *resultobj = 0;
9531 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9532 wxWindow *arg2 = (wxWindow *) 0 ;
9533 wxWindow *arg3 = (wxWindow *) 0 ;
9534 int arg4 = (int) 0 ;
9535 bool result;
9536 void *argp1 = 0 ;
9537 int res1 = 0 ;
9538 void *argp2 = 0 ;
9539 int res2 = 0 ;
9540 void *argp3 = 0 ;
9541 int res3 = 0 ;
9542 int val4 ;
9543 int ecode4 = 0 ;
9544 PyObject * obj0 = 0 ;
9545 PyObject * obj1 = 0 ;
9546 PyObject * obj2 = 0 ;
9547 PyObject * obj3 = 0 ;
9548 char * kwnames[] = {
9549 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9550 };
9551
9552 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9553 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9554 if (!SWIG_IsOK(res1)) {
9555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9556 }
9557 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9558 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9559 if (!SWIG_IsOK(res2)) {
9560 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9561 }
9562 arg2 = reinterpret_cast< wxWindow * >(argp2);
9563 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9564 if (!SWIG_IsOK(res3)) {
9565 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9566 }
9567 arg3 = reinterpret_cast< wxWindow * >(argp3);
9568 if (obj3) {
9569 ecode4 = SWIG_AsVal_int(obj3, &val4);
9570 if (!SWIG_IsOK(ecode4)) {
9571 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9572 }
9573 arg4 = static_cast< int >(val4);
9574 }
9575 {
9576 PyThreadState* __tstate = wxPyBeginAllowThreads();
9577 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
9578 wxPyEndAllowThreads(__tstate);
9579 if (PyErr_Occurred()) SWIG_fail;
9580 }
9581 {
9582 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9583 }
9584 return resultobj;
9585 fail:
9586 return NULL;
9587 }
9588
9589
9590 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9591 PyObject *resultobj = 0;
9592 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9593 wxWindow *arg2 = (wxWindow *) 0 ;
9594 wxWindow *arg3 = (wxWindow *) 0 ;
9595 int arg4 = (int) 0 ;
9596 bool result;
9597 void *argp1 = 0 ;
9598 int res1 = 0 ;
9599 void *argp2 = 0 ;
9600 int res2 = 0 ;
9601 void *argp3 = 0 ;
9602 int res3 = 0 ;
9603 int val4 ;
9604 int ecode4 = 0 ;
9605 PyObject * obj0 = 0 ;
9606 PyObject * obj1 = 0 ;
9607 PyObject * obj2 = 0 ;
9608 PyObject * obj3 = 0 ;
9609 char * kwnames[] = {
9610 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9611 };
9612
9613 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9614 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9615 if (!SWIG_IsOK(res1)) {
9616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9617 }
9618 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9619 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9620 if (!SWIG_IsOK(res2)) {
9621 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9622 }
9623 arg2 = reinterpret_cast< wxWindow * >(argp2);
9624 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9625 if (!SWIG_IsOK(res3)) {
9626 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9627 }
9628 arg3 = reinterpret_cast< wxWindow * >(argp3);
9629 if (obj3) {
9630 ecode4 = SWIG_AsVal_int(obj3, &val4);
9631 if (!SWIG_IsOK(ecode4)) {
9632 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9633 }
9634 arg4 = static_cast< int >(val4);
9635 }
9636 {
9637 PyThreadState* __tstate = wxPyBeginAllowThreads();
9638 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
9639 wxPyEndAllowThreads(__tstate);
9640 if (PyErr_Occurred()) SWIG_fail;
9641 }
9642 {
9643 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9644 }
9645 return resultobj;
9646 fail:
9647 return NULL;
9648 }
9649
9650
9651 SWIGINTERN PyObject *_wrap_SplitterWindow_Unsplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9652 PyObject *resultobj = 0;
9653 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9654 wxWindow *arg2 = (wxWindow *) NULL ;
9655 bool result;
9656 void *argp1 = 0 ;
9657 int res1 = 0 ;
9658 void *argp2 = 0 ;
9659 int res2 = 0 ;
9660 PyObject * obj0 = 0 ;
9661 PyObject * obj1 = 0 ;
9662 char * kwnames[] = {
9663 (char *) "self",(char *) "toRemove", NULL
9664 };
9665
9666 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) SWIG_fail;
9667 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9668 if (!SWIG_IsOK(res1)) {
9669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9670 }
9671 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9672 if (obj1) {
9673 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9674 if (!SWIG_IsOK(res2)) {
9675 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9676 }
9677 arg2 = reinterpret_cast< wxWindow * >(argp2);
9678 }
9679 {
9680 PyThreadState* __tstate = wxPyBeginAllowThreads();
9681 result = (bool)(arg1)->Unsplit(arg2);
9682 wxPyEndAllowThreads(__tstate);
9683 if (PyErr_Occurred()) SWIG_fail;
9684 }
9685 {
9686 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9687 }
9688 return resultobj;
9689 fail:
9690 return NULL;
9691 }
9692
9693
9694 SWIGINTERN PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9695 PyObject *resultobj = 0;
9696 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9697 wxWindow *arg2 = (wxWindow *) 0 ;
9698 wxWindow *arg3 = (wxWindow *) 0 ;
9699 bool result;
9700 void *argp1 = 0 ;
9701 int res1 = 0 ;
9702 void *argp2 = 0 ;
9703 int res2 = 0 ;
9704 void *argp3 = 0 ;
9705 int res3 = 0 ;
9706 PyObject * obj0 = 0 ;
9707 PyObject * obj1 = 0 ;
9708 PyObject * obj2 = 0 ;
9709 char * kwnames[] = {
9710 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9711 };
9712
9713 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9714 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9715 if (!SWIG_IsOK(res1)) {
9716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9717 }
9718 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9719 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9720 if (!SWIG_IsOK(res2)) {
9721 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9722 }
9723 arg2 = reinterpret_cast< wxWindow * >(argp2);
9724 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9725 if (!SWIG_IsOK(res3)) {
9726 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9727 }
9728 arg3 = reinterpret_cast< wxWindow * >(argp3);
9729 {
9730 PyThreadState* __tstate = wxPyBeginAllowThreads();
9731 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
9732 wxPyEndAllowThreads(__tstate);
9733 if (PyErr_Occurred()) SWIG_fail;
9734 }
9735 {
9736 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9737 }
9738 return resultobj;
9739 fail:
9740 return NULL;
9741 }
9742
9743
9744 SWIGINTERN PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9745 PyObject *resultobj = 0;
9746 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9747 void *argp1 = 0 ;
9748 int res1 = 0 ;
9749 PyObject *swig_obj[1] ;
9750
9751 if (!args) SWIG_fail;
9752 swig_obj[0] = args;
9753 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9754 if (!SWIG_IsOK(res1)) {
9755 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9756 }
9757 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9758 {
9759 PyThreadState* __tstate = wxPyBeginAllowThreads();
9760 (arg1)->UpdateSize();
9761 wxPyEndAllowThreads(__tstate);
9762 if (PyErr_Occurred()) SWIG_fail;
9763 }
9764 resultobj = SWIG_Py_Void();
9765 return resultobj;
9766 fail:
9767 return NULL;
9768 }
9769
9770
9771 SWIGINTERN PyObject *_wrap_SplitterWindow_IsSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9772 PyObject *resultobj = 0;
9773 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9774 bool result;
9775 void *argp1 = 0 ;
9776 int res1 = 0 ;
9777 PyObject *swig_obj[1] ;
9778
9779 if (!args) SWIG_fail;
9780 swig_obj[0] = args;
9781 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9782 if (!SWIG_IsOK(res1)) {
9783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9784 }
9785 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9786 {
9787 PyThreadState* __tstate = wxPyBeginAllowThreads();
9788 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
9789 wxPyEndAllowThreads(__tstate);
9790 if (PyErr_Occurred()) SWIG_fail;
9791 }
9792 {
9793 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9794 }
9795 return resultobj;
9796 fail:
9797 return NULL;
9798 }
9799
9800
9801 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9802 PyObject *resultobj = 0;
9803 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9804 int arg2 ;
9805 void *argp1 = 0 ;
9806 int res1 = 0 ;
9807 int val2 ;
9808 int ecode2 = 0 ;
9809 PyObject * obj0 = 0 ;
9810 PyObject * obj1 = 0 ;
9811 char * kwnames[] = {
9812 (char *) "self",(char *) "width", NULL
9813 };
9814
9815 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) SWIG_fail;
9816 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9817 if (!SWIG_IsOK(res1)) {
9818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9819 }
9820 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9821 ecode2 = SWIG_AsVal_int(obj1, &val2);
9822 if (!SWIG_IsOK(ecode2)) {
9823 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
9824 }
9825 arg2 = static_cast< int >(val2);
9826 {
9827 PyThreadState* __tstate = wxPyBeginAllowThreads();
9828 (arg1)->SetSashSize(arg2);
9829 wxPyEndAllowThreads(__tstate);
9830 if (PyErr_Occurred()) SWIG_fail;
9831 }
9832 resultobj = SWIG_Py_Void();
9833 return resultobj;
9834 fail:
9835 return NULL;
9836 }
9837
9838
9839 SWIGINTERN PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9840 PyObject *resultobj = 0;
9841 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9842 int arg2 ;
9843 void *argp1 = 0 ;
9844 int res1 = 0 ;
9845 int val2 ;
9846 int ecode2 = 0 ;
9847 PyObject * obj0 = 0 ;
9848 PyObject * obj1 = 0 ;
9849 char * kwnames[] = {
9850 (char *) "self",(char *) "width", NULL
9851 };
9852
9853 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
9854 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9855 if (!SWIG_IsOK(res1)) {
9856 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9857 }
9858 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9859 ecode2 = SWIG_AsVal_int(obj1, &val2);
9860 if (!SWIG_IsOK(ecode2)) {
9861 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
9862 }
9863 arg2 = static_cast< int >(val2);
9864 {
9865 PyThreadState* __tstate = wxPyBeginAllowThreads();
9866 (arg1)->SetBorderSize(arg2);
9867 wxPyEndAllowThreads(__tstate);
9868 if (PyErr_Occurred()) SWIG_fail;
9869 }
9870 resultobj = SWIG_Py_Void();
9871 return resultobj;
9872 fail:
9873 return NULL;
9874 }
9875
9876
9877 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9878 PyObject *resultobj = 0;
9879 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9880 int result;
9881 void *argp1 = 0 ;
9882 int res1 = 0 ;
9883 PyObject *swig_obj[1] ;
9884
9885 if (!args) SWIG_fail;
9886 swig_obj[0] = args;
9887 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9888 if (!SWIG_IsOK(res1)) {
9889 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9890 }
9891 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9892 {
9893 PyThreadState* __tstate = wxPyBeginAllowThreads();
9894 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
9895 wxPyEndAllowThreads(__tstate);
9896 if (PyErr_Occurred()) SWIG_fail;
9897 }
9898 resultobj = SWIG_From_int(static_cast< int >(result));
9899 return resultobj;
9900 fail:
9901 return NULL;
9902 }
9903
9904
9905 SWIGINTERN PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9906 PyObject *resultobj = 0;
9907 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9908 int result;
9909 void *argp1 = 0 ;
9910 int res1 = 0 ;
9911 PyObject *swig_obj[1] ;
9912
9913 if (!args) SWIG_fail;
9914 swig_obj[0] = args;
9915 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9916 if (!SWIG_IsOK(res1)) {
9917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9918 }
9919 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9920 {
9921 PyThreadState* __tstate = wxPyBeginAllowThreads();
9922 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
9923 wxPyEndAllowThreads(__tstate);
9924 if (PyErr_Occurred()) SWIG_fail;
9925 }
9926 resultobj = SWIG_From_int(static_cast< int >(result));
9927 return resultobj;
9928 fail:
9929 return NULL;
9930 }
9931
9932
9933 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9934 PyObject *resultobj = 0;
9935 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9936 int arg2 ;
9937 bool arg3 = (bool) true ;
9938 void *argp1 = 0 ;
9939 int res1 = 0 ;
9940 int val2 ;
9941 int ecode2 = 0 ;
9942 bool val3 ;
9943 int ecode3 = 0 ;
9944 PyObject * obj0 = 0 ;
9945 PyObject * obj1 = 0 ;
9946 PyObject * obj2 = 0 ;
9947 char * kwnames[] = {
9948 (char *) "self",(char *) "position",(char *) "redraw", NULL
9949 };
9950
9951 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9952 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9953 if (!SWIG_IsOK(res1)) {
9954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9955 }
9956 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9957 ecode2 = SWIG_AsVal_int(obj1, &val2);
9958 if (!SWIG_IsOK(ecode2)) {
9959 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
9960 }
9961 arg2 = static_cast< int >(val2);
9962 if (obj2) {
9963 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9964 if (!SWIG_IsOK(ecode3)) {
9965 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
9966 }
9967 arg3 = static_cast< bool >(val3);
9968 }
9969 {
9970 PyThreadState* __tstate = wxPyBeginAllowThreads();
9971 (arg1)->SetSashPosition(arg2,arg3);
9972 wxPyEndAllowThreads(__tstate);
9973 if (PyErr_Occurred()) SWIG_fail;
9974 }
9975 resultobj = SWIG_Py_Void();
9976 return resultobj;
9977 fail:
9978 return NULL;
9979 }
9980
9981
9982 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9983 PyObject *resultobj = 0;
9984 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9985 int result;
9986 void *argp1 = 0 ;
9987 int res1 = 0 ;
9988 PyObject *swig_obj[1] ;
9989
9990 if (!args) SWIG_fail;
9991 swig_obj[0] = args;
9992 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9993 if (!SWIG_IsOK(res1)) {
9994 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9995 }
9996 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9997 {
9998 PyThreadState* __tstate = wxPyBeginAllowThreads();
9999 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
10000 wxPyEndAllowThreads(__tstate);
10001 if (PyErr_Occurred()) SWIG_fail;
10002 }
10003 resultobj = SWIG_From_int(static_cast< int >(result));
10004 return resultobj;
10005 fail:
10006 return NULL;
10007 }
10008
10009
10010 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10011 PyObject *resultobj = 0;
10012 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10013 double arg2 ;
10014 void *argp1 = 0 ;
10015 int res1 = 0 ;
10016 double val2 ;
10017 int ecode2 = 0 ;
10018 PyObject * obj0 = 0 ;
10019 PyObject * obj1 = 0 ;
10020 char * kwnames[] = {
10021 (char *) "self",(char *) "gravity", NULL
10022 };
10023
10024 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) SWIG_fail;
10025 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10026 if (!SWIG_IsOK(res1)) {
10027 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10028 }
10029 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10030 ecode2 = SWIG_AsVal_double(obj1, &val2);
10031 if (!SWIG_IsOK(ecode2)) {
10032 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10033 }
10034 arg2 = static_cast< double >(val2);
10035 {
10036 PyThreadState* __tstate = wxPyBeginAllowThreads();
10037 (arg1)->SetSashGravity(arg2);
10038 wxPyEndAllowThreads(__tstate);
10039 if (PyErr_Occurred()) SWIG_fail;
10040 }
10041 resultobj = SWIG_Py_Void();
10042 return resultobj;
10043 fail:
10044 return NULL;
10045 }
10046
10047
10048 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10049 PyObject *resultobj = 0;
10050 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10051 double result;
10052 void *argp1 = 0 ;
10053 int res1 = 0 ;
10054 PyObject *swig_obj[1] ;
10055
10056 if (!args) SWIG_fail;
10057 swig_obj[0] = args;
10058 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10059 if (!SWIG_IsOK(res1)) {
10060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10061 }
10062 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10063 {
10064 PyThreadState* __tstate = wxPyBeginAllowThreads();
10065 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
10066 wxPyEndAllowThreads(__tstate);
10067 if (PyErr_Occurred()) SWIG_fail;
10068 }
10069 resultobj = SWIG_From_double(static_cast< double >(result));
10070 return resultobj;
10071 fail:
10072 return NULL;
10073 }
10074
10075
10076 SWIGINTERN PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10077 PyObject *resultobj = 0;
10078 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10079 int arg2 ;
10080 void *argp1 = 0 ;
10081 int res1 = 0 ;
10082 int val2 ;
10083 int ecode2 = 0 ;
10084 PyObject * obj0 = 0 ;
10085 PyObject * obj1 = 0 ;
10086 char * kwnames[] = {
10087 (char *) "self",(char *) "min", NULL
10088 };
10089
10090 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) SWIG_fail;
10091 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10092 if (!SWIG_IsOK(res1)) {
10093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10094 }
10095 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10096 ecode2 = SWIG_AsVal_int(obj1, &val2);
10097 if (!SWIG_IsOK(ecode2)) {
10098 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10099 }
10100 arg2 = static_cast< int >(val2);
10101 {
10102 PyThreadState* __tstate = wxPyBeginAllowThreads();
10103 (arg1)->SetMinimumPaneSize(arg2);
10104 wxPyEndAllowThreads(__tstate);
10105 if (PyErr_Occurred()) SWIG_fail;
10106 }
10107 resultobj = SWIG_Py_Void();
10108 return resultobj;
10109 fail:
10110 return NULL;
10111 }
10112
10113
10114 SWIGINTERN PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10115 PyObject *resultobj = 0;
10116 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10117 int result;
10118 void *argp1 = 0 ;
10119 int res1 = 0 ;
10120 PyObject *swig_obj[1] ;
10121
10122 if (!args) SWIG_fail;
10123 swig_obj[0] = args;
10124 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10125 if (!SWIG_IsOK(res1)) {
10126 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10127 }
10128 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10129 {
10130 PyThreadState* __tstate = wxPyBeginAllowThreads();
10131 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
10132 wxPyEndAllowThreads(__tstate);
10133 if (PyErr_Occurred()) SWIG_fail;
10134 }
10135 resultobj = SWIG_From_int(static_cast< int >(result));
10136 return resultobj;
10137 fail:
10138 return NULL;
10139 }
10140
10141
10142 SWIGINTERN PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10143 PyObject *resultobj = 0;
10144 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10145 int arg2 ;
10146 int arg3 ;
10147 int arg4 = (int) 5 ;
10148 bool result;
10149 void *argp1 = 0 ;
10150 int res1 = 0 ;
10151 int val2 ;
10152 int ecode2 = 0 ;
10153 int val3 ;
10154 int ecode3 = 0 ;
10155 int val4 ;
10156 int ecode4 = 0 ;
10157 PyObject * obj0 = 0 ;
10158 PyObject * obj1 = 0 ;
10159 PyObject * obj2 = 0 ;
10160 PyObject * obj3 = 0 ;
10161 char * kwnames[] = {
10162 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10163 };
10164
10165 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10166 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10167 if (!SWIG_IsOK(res1)) {
10168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10169 }
10170 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10171 ecode2 = SWIG_AsVal_int(obj1, &val2);
10172 if (!SWIG_IsOK(ecode2)) {
10173 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10174 }
10175 arg2 = static_cast< int >(val2);
10176 ecode3 = SWIG_AsVal_int(obj2, &val3);
10177 if (!SWIG_IsOK(ecode3)) {
10178 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10179 }
10180 arg3 = static_cast< int >(val3);
10181 if (obj3) {
10182 ecode4 = SWIG_AsVal_int(obj3, &val4);
10183 if (!SWIG_IsOK(ecode4)) {
10184 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10185 }
10186 arg4 = static_cast< int >(val4);
10187 }
10188 {
10189 PyThreadState* __tstate = wxPyBeginAllowThreads();
10190 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
10191 wxPyEndAllowThreads(__tstate);
10192 if (PyErr_Occurred()) SWIG_fail;
10193 }
10194 {
10195 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10196 }
10197 return resultobj;
10198 fail:
10199 return NULL;
10200 }
10201
10202
10203 SWIGINTERN PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10204 PyObject *resultobj = 0;
10205 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10206 void *argp1 = 0 ;
10207 int res1 = 0 ;
10208 PyObject *swig_obj[1] ;
10209
10210 if (!args) SWIG_fail;
10211 swig_obj[0] = args;
10212 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10213 if (!SWIG_IsOK(res1)) {
10214 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10215 }
10216 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10217 {
10218 PyThreadState* __tstate = wxPyBeginAllowThreads();
10219 (arg1)->SizeWindows();
10220 wxPyEndAllowThreads(__tstate);
10221 if (PyErr_Occurred()) SWIG_fail;
10222 }
10223 resultobj = SWIG_Py_Void();
10224 return resultobj;
10225 fail:
10226 return NULL;
10227 }
10228
10229
10230 SWIGINTERN PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10231 PyObject *resultobj = 0;
10232 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10233 bool arg2 ;
10234 void *argp1 = 0 ;
10235 int res1 = 0 ;
10236 bool val2 ;
10237 int ecode2 = 0 ;
10238 PyObject * obj0 = 0 ;
10239 PyObject * obj1 = 0 ;
10240 char * kwnames[] = {
10241 (char *) "self",(char *) "needUpdating", NULL
10242 };
10243
10244 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) SWIG_fail;
10245 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10246 if (!SWIG_IsOK(res1)) {
10247 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10248 }
10249 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10250 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10251 if (!SWIG_IsOK(ecode2)) {
10252 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10253 }
10254 arg2 = static_cast< bool >(val2);
10255 {
10256 PyThreadState* __tstate = wxPyBeginAllowThreads();
10257 (arg1)->SetNeedUpdating(arg2);
10258 wxPyEndAllowThreads(__tstate);
10259 if (PyErr_Occurred()) SWIG_fail;
10260 }
10261 resultobj = SWIG_Py_Void();
10262 return resultobj;
10263 fail:
10264 return NULL;
10265 }
10266
10267
10268 SWIGINTERN PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10269 PyObject *resultobj = 0;
10270 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10271 bool result;
10272 void *argp1 = 0 ;
10273 int res1 = 0 ;
10274 PyObject *swig_obj[1] ;
10275
10276 if (!args) SWIG_fail;
10277 swig_obj[0] = args;
10278 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10279 if (!SWIG_IsOK(res1)) {
10280 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10281 }
10282 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10283 {
10284 PyThreadState* __tstate = wxPyBeginAllowThreads();
10285 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
10286 wxPyEndAllowThreads(__tstate);
10287 if (PyErr_Occurred()) SWIG_fail;
10288 }
10289 {
10290 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10291 }
10292 return resultobj;
10293 fail:
10294 return NULL;
10295 }
10296
10297
10298 SWIGINTERN PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10299 PyObject *resultobj = 0;
10300 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10301 SwigValueWrapper<wxVisualAttributes > result;
10302 int val1 ;
10303 int ecode1 = 0 ;
10304 PyObject * obj0 = 0 ;
10305 char * kwnames[] = {
10306 (char *) "variant", NULL
10307 };
10308
10309 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10310 if (obj0) {
10311 ecode1 = SWIG_AsVal_int(obj0, &val1);
10312 if (!SWIG_IsOK(ecode1)) {
10313 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10314 }
10315 arg1 = static_cast< wxWindowVariant >(val1);
10316 }
10317 {
10318 if (!wxPyCheckForApp()) SWIG_fail;
10319 PyThreadState* __tstate = wxPyBeginAllowThreads();
10320 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
10321 wxPyEndAllowThreads(__tstate);
10322 if (PyErr_Occurred()) SWIG_fail;
10323 }
10324 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10325 return resultobj;
10326 fail:
10327 return NULL;
10328 }
10329
10330
10331 SWIGINTERN PyObject *SplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10332 PyObject *obj;
10333 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10334 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow, SWIG_NewClientData(obj));
10335 return SWIG_Py_Void();
10336 }
10337
10338 SWIGINTERN PyObject *SplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10339 return SWIG_Python_InitShadowInstance(args);
10340 }
10341
10342 SWIGINTERN PyObject *_wrap_new_SplitterEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10343 PyObject *resultobj = 0;
10344 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10345 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
10346 wxSplitterEvent *result = 0 ;
10347 int val1 ;
10348 int ecode1 = 0 ;
10349 void *argp2 = 0 ;
10350 int res2 = 0 ;
10351 PyObject * obj0 = 0 ;
10352 PyObject * obj1 = 0 ;
10353 char * kwnames[] = {
10354 (char *) "type",(char *) "splitter", NULL
10355 };
10356
10357 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10358 if (obj0) {
10359 ecode1 = SWIG_AsVal_int(obj0, &val1);
10360 if (!SWIG_IsOK(ecode1)) {
10361 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10362 }
10363 arg1 = static_cast< wxEventType >(val1);
10364 }
10365 if (obj1) {
10366 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10367 if (!SWIG_IsOK(res2)) {
10368 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10369 }
10370 arg2 = reinterpret_cast< wxSplitterWindow * >(argp2);
10371 }
10372 {
10373 PyThreadState* __tstate = wxPyBeginAllowThreads();
10374 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
10375 wxPyEndAllowThreads(__tstate);
10376 if (PyErr_Occurred()) SWIG_fail;
10377 }
10378 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_NEW | 0 );
10379 return resultobj;
10380 fail:
10381 return NULL;
10382 }
10383
10384
10385 SWIGINTERN PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10386 PyObject *resultobj = 0;
10387 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10388 int arg2 ;
10389 void *argp1 = 0 ;
10390 int res1 = 0 ;
10391 int val2 ;
10392 int ecode2 = 0 ;
10393 PyObject * obj0 = 0 ;
10394 PyObject * obj1 = 0 ;
10395 char * kwnames[] = {
10396 (char *) "self",(char *) "pos", NULL
10397 };
10398
10399 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10400 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10401 if (!SWIG_IsOK(res1)) {
10402 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10403 }
10404 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10405 ecode2 = SWIG_AsVal_int(obj1, &val2);
10406 if (!SWIG_IsOK(ecode2)) {
10407 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10408 }
10409 arg2 = static_cast< int >(val2);
10410 {
10411 PyThreadState* __tstate = wxPyBeginAllowThreads();
10412 (arg1)->SetSashPosition(arg2);
10413 wxPyEndAllowThreads(__tstate);
10414 if (PyErr_Occurred()) SWIG_fail;
10415 }
10416 resultobj = SWIG_Py_Void();
10417 return resultobj;
10418 fail:
10419 return NULL;
10420 }
10421
10422
10423 SWIGINTERN PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10424 PyObject *resultobj = 0;
10425 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10426 int result;
10427 void *argp1 = 0 ;
10428 int res1 = 0 ;
10429 PyObject *swig_obj[1] ;
10430
10431 if (!args) SWIG_fail;
10432 swig_obj[0] = args;
10433 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10434 if (!SWIG_IsOK(res1)) {
10435 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10436 }
10437 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10438 {
10439 PyThreadState* __tstate = wxPyBeginAllowThreads();
10440 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
10441 wxPyEndAllowThreads(__tstate);
10442 if (PyErr_Occurred()) SWIG_fail;
10443 }
10444 resultobj = SWIG_From_int(static_cast< int >(result));
10445 return resultobj;
10446 fail:
10447 return NULL;
10448 }
10449
10450
10451 SWIGINTERN PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10452 PyObject *resultobj = 0;
10453 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10454 wxWindow *result = 0 ;
10455 void *argp1 = 0 ;
10456 int res1 = 0 ;
10457 PyObject *swig_obj[1] ;
10458
10459 if (!args) SWIG_fail;
10460 swig_obj[0] = args;
10461 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10462 if (!SWIG_IsOK(res1)) {
10463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10464 }
10465 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10466 {
10467 PyThreadState* __tstate = wxPyBeginAllowThreads();
10468 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
10469 wxPyEndAllowThreads(__tstate);
10470 if (PyErr_Occurred()) SWIG_fail;
10471 }
10472 {
10473 resultobj = wxPyMake_wxObject(result, 0);
10474 }
10475 return resultobj;
10476 fail:
10477 return NULL;
10478 }
10479
10480
10481 SWIGINTERN PyObject *_wrap_SplitterEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10482 PyObject *resultobj = 0;
10483 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10484 int result;
10485 void *argp1 = 0 ;
10486 int res1 = 0 ;
10487 PyObject *swig_obj[1] ;
10488
10489 if (!args) SWIG_fail;
10490 swig_obj[0] = args;
10491 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10492 if (!SWIG_IsOK(res1)) {
10493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10494 }
10495 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10496 {
10497 PyThreadState* __tstate = wxPyBeginAllowThreads();
10498 result = (int)((wxSplitterEvent const *)arg1)->GetX();
10499 wxPyEndAllowThreads(__tstate);
10500 if (PyErr_Occurred()) SWIG_fail;
10501 }
10502 resultobj = SWIG_From_int(static_cast< int >(result));
10503 return resultobj;
10504 fail:
10505 return NULL;
10506 }
10507
10508
10509 SWIGINTERN PyObject *_wrap_SplitterEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10510 PyObject *resultobj = 0;
10511 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10512 int result;
10513 void *argp1 = 0 ;
10514 int res1 = 0 ;
10515 PyObject *swig_obj[1] ;
10516
10517 if (!args) SWIG_fail;
10518 swig_obj[0] = args;
10519 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10520 if (!SWIG_IsOK(res1)) {
10521 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10522 }
10523 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10524 {
10525 PyThreadState* __tstate = wxPyBeginAllowThreads();
10526 result = (int)((wxSplitterEvent const *)arg1)->GetY();
10527 wxPyEndAllowThreads(__tstate);
10528 if (PyErr_Occurred()) SWIG_fail;
10529 }
10530 resultobj = SWIG_From_int(static_cast< int >(result));
10531 return resultobj;
10532 fail:
10533 return NULL;
10534 }
10535
10536
10537 SWIGINTERN PyObject *SplitterEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10538 PyObject *obj;
10539 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10540 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent, SWIG_NewClientData(obj));
10541 return SWIG_Py_Void();
10542 }
10543
10544 SWIGINTERN PyObject *SplitterEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10545 return SWIG_Python_InitShadowInstance(args);
10546 }
10547
10548 SWIGINTERN int SashNameStr_set(PyObject *) {
10549 SWIG_Error(SWIG_AttributeError,"Variable SashNameStr is read-only.");
10550 return 1;
10551 }
10552
10553
10554 SWIGINTERN PyObject *SashNameStr_get(void) {
10555 PyObject *pyobj = 0;
10556
10557 {
10558 #if wxUSE_UNICODE
10559 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10560 #else
10561 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10562 #endif
10563 }
10564 return pyobj;
10565 }
10566
10567
10568 SWIGINTERN int SashLayoutNameStr_set(PyObject *) {
10569 SWIG_Error(SWIG_AttributeError,"Variable SashLayoutNameStr is read-only.");
10570 return 1;
10571 }
10572
10573
10574 SWIGINTERN PyObject *SashLayoutNameStr_get(void) {
10575 PyObject *pyobj = 0;
10576
10577 {
10578 #if wxUSE_UNICODE
10579 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10580 #else
10581 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10582 #endif
10583 }
10584 return pyobj;
10585 }
10586
10587
10588 SWIGINTERN PyObject *_wrap_new_SashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10589 PyObject *resultobj = 0;
10590 wxWindow *arg1 = (wxWindow *) 0 ;
10591 int arg2 = (int) -1 ;
10592 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10593 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10594 wxSize const &arg4_defvalue = wxDefaultSize ;
10595 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10596 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10597 wxString const &arg6_defvalue = wxPySashNameStr ;
10598 wxString *arg6 = (wxString *) &arg6_defvalue ;
10599 wxSashWindow *result = 0 ;
10600 void *argp1 = 0 ;
10601 int res1 = 0 ;
10602 int val2 ;
10603 int ecode2 = 0 ;
10604 wxPoint temp3 ;
10605 wxSize temp4 ;
10606 long val5 ;
10607 int ecode5 = 0 ;
10608 bool temp6 = false ;
10609 PyObject * obj0 = 0 ;
10610 PyObject * obj1 = 0 ;
10611 PyObject * obj2 = 0 ;
10612 PyObject * obj3 = 0 ;
10613 PyObject * obj4 = 0 ;
10614 PyObject * obj5 = 0 ;
10615 char * kwnames[] = {
10616 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10617 };
10618
10619 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10620 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10621 if (!SWIG_IsOK(res1)) {
10622 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10623 }
10624 arg1 = reinterpret_cast< wxWindow * >(argp1);
10625 if (obj1) {
10626 ecode2 = SWIG_AsVal_int(obj1, &val2);
10627 if (!SWIG_IsOK(ecode2)) {
10628 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10629 }
10630 arg2 = static_cast< int >(val2);
10631 }
10632 if (obj2) {
10633 {
10634 arg3 = &temp3;
10635 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10636 }
10637 }
10638 if (obj3) {
10639 {
10640 arg4 = &temp4;
10641 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10642 }
10643 }
10644 if (obj4) {
10645 ecode5 = SWIG_AsVal_long(obj4, &val5);
10646 if (!SWIG_IsOK(ecode5)) {
10647 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10648 }
10649 arg5 = static_cast< long >(val5);
10650 }
10651 if (obj5) {
10652 {
10653 arg6 = wxString_in_helper(obj5);
10654 if (arg6 == NULL) SWIG_fail;
10655 temp6 = true;
10656 }
10657 }
10658 {
10659 if (!wxPyCheckForApp()) SWIG_fail;
10660 PyThreadState* __tstate = wxPyBeginAllowThreads();
10661 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10662 wxPyEndAllowThreads(__tstate);
10663 if (PyErr_Occurred()) SWIG_fail;
10664 }
10665 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_NEW | 0 );
10666 {
10667 if (temp6)
10668 delete arg6;
10669 }
10670 return resultobj;
10671 fail:
10672 {
10673 if (temp6)
10674 delete arg6;
10675 }
10676 return NULL;
10677 }
10678
10679
10680 SWIGINTERN PyObject *_wrap_new_PreSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10681 PyObject *resultobj = 0;
10682 wxSashWindow *result = 0 ;
10683
10684 if (!SWIG_Python_UnpackTuple(args,"new_PreSashWindow",0,0,0)) SWIG_fail;
10685 {
10686 if (!wxPyCheckForApp()) SWIG_fail;
10687 PyThreadState* __tstate = wxPyBeginAllowThreads();
10688 result = (wxSashWindow *)new wxSashWindow();
10689 wxPyEndAllowThreads(__tstate);
10690 if (PyErr_Occurred()) SWIG_fail;
10691 }
10692 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_OWN | 0 );
10693 return resultobj;
10694 fail:
10695 return NULL;
10696 }
10697
10698
10699 SWIGINTERN PyObject *_wrap_SashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10700 PyObject *resultobj = 0;
10701 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10702 wxWindow *arg2 = (wxWindow *) 0 ;
10703 int arg3 = (int) -1 ;
10704 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10705 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10706 wxSize const &arg5_defvalue = wxDefaultSize ;
10707 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10708 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10709 wxString const &arg7_defvalue = wxPySashNameStr ;
10710 wxString *arg7 = (wxString *) &arg7_defvalue ;
10711 bool result;
10712 void *argp1 = 0 ;
10713 int res1 = 0 ;
10714 void *argp2 = 0 ;
10715 int res2 = 0 ;
10716 int val3 ;
10717 int ecode3 = 0 ;
10718 wxPoint temp4 ;
10719 wxSize temp5 ;
10720 long val6 ;
10721 int ecode6 = 0 ;
10722 bool temp7 = false ;
10723 PyObject * obj0 = 0 ;
10724 PyObject * obj1 = 0 ;
10725 PyObject * obj2 = 0 ;
10726 PyObject * obj3 = 0 ;
10727 PyObject * obj4 = 0 ;
10728 PyObject * obj5 = 0 ;
10729 PyObject * obj6 = 0 ;
10730 char * kwnames[] = {
10731 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10732 };
10733
10734 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
10735 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10736 if (!SWIG_IsOK(res1)) {
10737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10738 }
10739 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10740 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10741 if (!SWIG_IsOK(res2)) {
10742 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10743 }
10744 arg2 = reinterpret_cast< wxWindow * >(argp2);
10745 if (obj2) {
10746 ecode3 = SWIG_AsVal_int(obj2, &val3);
10747 if (!SWIG_IsOK(ecode3)) {
10748 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10749 }
10750 arg3 = static_cast< int >(val3);
10751 }
10752 if (obj3) {
10753 {
10754 arg4 = &temp4;
10755 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10756 }
10757 }
10758 if (obj4) {
10759 {
10760 arg5 = &temp5;
10761 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10762 }
10763 }
10764 if (obj5) {
10765 ecode6 = SWIG_AsVal_long(obj5, &val6);
10766 if (!SWIG_IsOK(ecode6)) {
10767 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10768 }
10769 arg6 = static_cast< long >(val6);
10770 }
10771 if (obj6) {
10772 {
10773 arg7 = wxString_in_helper(obj6);
10774 if (arg7 == NULL) SWIG_fail;
10775 temp7 = true;
10776 }
10777 }
10778 {
10779 PyThreadState* __tstate = wxPyBeginAllowThreads();
10780 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10781 wxPyEndAllowThreads(__tstate);
10782 if (PyErr_Occurred()) SWIG_fail;
10783 }
10784 {
10785 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10786 }
10787 {
10788 if (temp7)
10789 delete arg7;
10790 }
10791 return resultobj;
10792 fail:
10793 {
10794 if (temp7)
10795 delete arg7;
10796 }
10797 return NULL;
10798 }
10799
10800
10801 SWIGINTERN PyObject *_wrap_SashWindow_SetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10802 PyObject *resultobj = 0;
10803 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10804 wxSashEdgePosition arg2 ;
10805 bool arg3 ;
10806 void *argp1 = 0 ;
10807 int res1 = 0 ;
10808 int val2 ;
10809 int ecode2 = 0 ;
10810 bool val3 ;
10811 int ecode3 = 0 ;
10812 PyObject * obj0 = 0 ;
10813 PyObject * obj1 = 0 ;
10814 PyObject * obj2 = 0 ;
10815 char * kwnames[] = {
10816 (char *) "self",(char *) "edge",(char *) "sash", NULL
10817 };
10818
10819 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10820 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10821 if (!SWIG_IsOK(res1)) {
10822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10823 }
10824 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10825 ecode2 = SWIG_AsVal_int(obj1, &val2);
10826 if (!SWIG_IsOK(ecode2)) {
10827 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10828 }
10829 arg2 = static_cast< wxSashEdgePosition >(val2);
10830 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10831 if (!SWIG_IsOK(ecode3)) {
10832 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
10833 }
10834 arg3 = static_cast< bool >(val3);
10835 {
10836 PyThreadState* __tstate = wxPyBeginAllowThreads();
10837 (arg1)->SetSashVisible(arg2,arg3);
10838 wxPyEndAllowThreads(__tstate);
10839 if (PyErr_Occurred()) SWIG_fail;
10840 }
10841 resultobj = SWIG_Py_Void();
10842 return resultobj;
10843 fail:
10844 return NULL;
10845 }
10846
10847
10848 SWIGINTERN PyObject *_wrap_SashWindow_GetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10849 PyObject *resultobj = 0;
10850 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10851 wxSashEdgePosition arg2 ;
10852 bool result;
10853 void *argp1 = 0 ;
10854 int res1 = 0 ;
10855 int val2 ;
10856 int ecode2 = 0 ;
10857 PyObject * obj0 = 0 ;
10858 PyObject * obj1 = 0 ;
10859 char * kwnames[] = {
10860 (char *) "self",(char *) "edge", NULL
10861 };
10862
10863 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) SWIG_fail;
10864 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10865 if (!SWIG_IsOK(res1)) {
10866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10867 }
10868 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10869 ecode2 = SWIG_AsVal_int(obj1, &val2);
10870 if (!SWIG_IsOK(ecode2)) {
10871 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10872 }
10873 arg2 = static_cast< wxSashEdgePosition >(val2);
10874 {
10875 PyThreadState* __tstate = wxPyBeginAllowThreads();
10876 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
10877 wxPyEndAllowThreads(__tstate);
10878 if (PyErr_Occurred()) SWIG_fail;
10879 }
10880 {
10881 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10882 }
10883 return resultobj;
10884 fail:
10885 return NULL;
10886 }
10887
10888
10889 SWIGINTERN PyObject *_wrap_SashWindow_SetSashBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10890 PyObject *resultobj = 0;
10891 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10892 wxSashEdgePosition arg2 ;
10893 bool arg3 ;
10894 void *argp1 = 0 ;
10895 int res1 = 0 ;
10896 int val2 ;
10897 int ecode2 = 0 ;
10898 bool val3 ;
10899 int ecode3 = 0 ;
10900 PyObject * obj0 = 0 ;
10901 PyObject * obj1 = 0 ;
10902 PyObject * obj2 = 0 ;
10903 char * kwnames[] = {
10904 (char *) "self",(char *) "edge",(char *) "border", NULL
10905 };
10906
10907 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10908 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10909 if (!SWIG_IsOK(res1)) {
10910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10911 }
10912 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10913 ecode2 = SWIG_AsVal_int(obj1, &val2);
10914 if (!SWIG_IsOK(ecode2)) {
10915 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10916 }
10917 arg2 = static_cast< wxSashEdgePosition >(val2);
10918 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10919 if (!SWIG_IsOK(ecode3)) {
10920 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
10921 }
10922 arg3 = static_cast< bool >(val3);
10923 {
10924 PyThreadState* __tstate = wxPyBeginAllowThreads();
10925 (arg1)->SetSashBorder(arg2,arg3);
10926 wxPyEndAllowThreads(__tstate);
10927 if (PyErr_Occurred()) SWIG_fail;
10928 }
10929 resultobj = SWIG_Py_Void();
10930 return resultobj;
10931 fail:
10932 return NULL;
10933 }
10934
10935
10936 SWIGINTERN PyObject *_wrap_SashWindow_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10937 PyObject *resultobj = 0;
10938 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10939 wxSashEdgePosition arg2 ;
10940 bool result;
10941 void *argp1 = 0 ;
10942 int res1 = 0 ;
10943 int val2 ;
10944 int ecode2 = 0 ;
10945 PyObject * obj0 = 0 ;
10946 PyObject * obj1 = 0 ;
10947 char * kwnames[] = {
10948 (char *) "self",(char *) "edge", NULL
10949 };
10950
10951 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) SWIG_fail;
10952 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10953 if (!SWIG_IsOK(res1)) {
10954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10955 }
10956 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10957 ecode2 = SWIG_AsVal_int(obj1, &val2);
10958 if (!SWIG_IsOK(ecode2)) {
10959 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10960 }
10961 arg2 = static_cast< wxSashEdgePosition >(val2);
10962 {
10963 PyThreadState* __tstate = wxPyBeginAllowThreads();
10964 result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2);
10965 wxPyEndAllowThreads(__tstate);
10966 if (PyErr_Occurred()) SWIG_fail;
10967 }
10968 {
10969 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10970 }
10971 return resultobj;
10972 fail:
10973 return NULL;
10974 }
10975
10976
10977 SWIGINTERN PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10978 PyObject *resultobj = 0;
10979 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10980 wxSashEdgePosition arg2 ;
10981 int result;
10982 void *argp1 = 0 ;
10983 int res1 = 0 ;
10984 int val2 ;
10985 int ecode2 = 0 ;
10986 PyObject * obj0 = 0 ;
10987 PyObject * obj1 = 0 ;
10988 char * kwnames[] = {
10989 (char *) "self",(char *) "edge", NULL
10990 };
10991
10992 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) SWIG_fail;
10993 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10994 if (!SWIG_IsOK(res1)) {
10995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10996 }
10997 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10998 ecode2 = SWIG_AsVal_int(obj1, &val2);
10999 if (!SWIG_IsOK(ecode2)) {
11000 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11001 }
11002 arg2 = static_cast< wxSashEdgePosition >(val2);
11003 {
11004 PyThreadState* __tstate = wxPyBeginAllowThreads();
11005 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
11006 wxPyEndAllowThreads(__tstate);
11007 if (PyErr_Occurred()) SWIG_fail;
11008 }
11009 resultobj = SWIG_From_int(static_cast< int >(result));
11010 return resultobj;
11011 fail:
11012 return NULL;
11013 }
11014
11015
11016 SWIGINTERN PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11017 PyObject *resultobj = 0;
11018 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11019 int arg2 ;
11020 void *argp1 = 0 ;
11021 int res1 = 0 ;
11022 int val2 ;
11023 int ecode2 = 0 ;
11024 PyObject * obj0 = 0 ;
11025 PyObject * obj1 = 0 ;
11026 char * kwnames[] = {
11027 (char *) "self",(char *) "width", NULL
11028 };
11029
11030 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11031 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11032 if (!SWIG_IsOK(res1)) {
11033 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11034 }
11035 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11036 ecode2 = SWIG_AsVal_int(obj1, &val2);
11037 if (!SWIG_IsOK(ecode2)) {
11038 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11039 }
11040 arg2 = static_cast< int >(val2);
11041 {
11042 PyThreadState* __tstate = wxPyBeginAllowThreads();
11043 (arg1)->SetDefaultBorderSize(arg2);
11044 wxPyEndAllowThreads(__tstate);
11045 if (PyErr_Occurred()) SWIG_fail;
11046 }
11047 resultobj = SWIG_Py_Void();
11048 return resultobj;
11049 fail:
11050 return NULL;
11051 }
11052
11053
11054 SWIGINTERN PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11055 PyObject *resultobj = 0;
11056 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11057 int result;
11058 void *argp1 = 0 ;
11059 int res1 = 0 ;
11060 PyObject *swig_obj[1] ;
11061
11062 if (!args) SWIG_fail;
11063 swig_obj[0] = args;
11064 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11065 if (!SWIG_IsOK(res1)) {
11066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11067 }
11068 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11069 {
11070 PyThreadState* __tstate = wxPyBeginAllowThreads();
11071 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
11072 wxPyEndAllowThreads(__tstate);
11073 if (PyErr_Occurred()) SWIG_fail;
11074 }
11075 resultobj = SWIG_From_int(static_cast< int >(result));
11076 return resultobj;
11077 fail:
11078 return NULL;
11079 }
11080
11081
11082 SWIGINTERN PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11083 PyObject *resultobj = 0;
11084 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11085 int arg2 ;
11086 void *argp1 = 0 ;
11087 int res1 = 0 ;
11088 int val2 ;
11089 int ecode2 = 0 ;
11090 PyObject * obj0 = 0 ;
11091 PyObject * obj1 = 0 ;
11092 char * kwnames[] = {
11093 (char *) "self",(char *) "width", NULL
11094 };
11095
11096 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11097 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11098 if (!SWIG_IsOK(res1)) {
11099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11100 }
11101 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11102 ecode2 = SWIG_AsVal_int(obj1, &val2);
11103 if (!SWIG_IsOK(ecode2)) {
11104 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11105 }
11106 arg2 = static_cast< int >(val2);
11107 {
11108 PyThreadState* __tstate = wxPyBeginAllowThreads();
11109 (arg1)->SetExtraBorderSize(arg2);
11110 wxPyEndAllowThreads(__tstate);
11111 if (PyErr_Occurred()) SWIG_fail;
11112 }
11113 resultobj = SWIG_Py_Void();
11114 return resultobj;
11115 fail:
11116 return NULL;
11117 }
11118
11119
11120 SWIGINTERN PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11121 PyObject *resultobj = 0;
11122 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11123 int result;
11124 void *argp1 = 0 ;
11125 int res1 = 0 ;
11126 PyObject *swig_obj[1] ;
11127
11128 if (!args) SWIG_fail;
11129 swig_obj[0] = args;
11130 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11131 if (!SWIG_IsOK(res1)) {
11132 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11133 }
11134 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11135 {
11136 PyThreadState* __tstate = wxPyBeginAllowThreads();
11137 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
11138 wxPyEndAllowThreads(__tstate);
11139 if (PyErr_Occurred()) SWIG_fail;
11140 }
11141 resultobj = SWIG_From_int(static_cast< int >(result));
11142 return resultobj;
11143 fail:
11144 return NULL;
11145 }
11146
11147
11148 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11149 PyObject *resultobj = 0;
11150 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11151 int arg2 ;
11152 void *argp1 = 0 ;
11153 int res1 = 0 ;
11154 int val2 ;
11155 int ecode2 = 0 ;
11156 PyObject * obj0 = 0 ;
11157 PyObject * obj1 = 0 ;
11158 char * kwnames[] = {
11159 (char *) "self",(char *) "min", NULL
11160 };
11161
11162 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11163 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11164 if (!SWIG_IsOK(res1)) {
11165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11166 }
11167 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11168 ecode2 = SWIG_AsVal_int(obj1, &val2);
11169 if (!SWIG_IsOK(ecode2)) {
11170 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11171 }
11172 arg2 = static_cast< int >(val2);
11173 {
11174 PyThreadState* __tstate = wxPyBeginAllowThreads();
11175 (arg1)->SetMinimumSizeX(arg2);
11176 wxPyEndAllowThreads(__tstate);
11177 if (PyErr_Occurred()) SWIG_fail;
11178 }
11179 resultobj = SWIG_Py_Void();
11180 return resultobj;
11181 fail:
11182 return NULL;
11183 }
11184
11185
11186 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11187 PyObject *resultobj = 0;
11188 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11189 int arg2 ;
11190 void *argp1 = 0 ;
11191 int res1 = 0 ;
11192 int val2 ;
11193 int ecode2 = 0 ;
11194 PyObject * obj0 = 0 ;
11195 PyObject * obj1 = 0 ;
11196 char * kwnames[] = {
11197 (char *) "self",(char *) "min", NULL
11198 };
11199
11200 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11201 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11202 if (!SWIG_IsOK(res1)) {
11203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11204 }
11205 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11206 ecode2 = SWIG_AsVal_int(obj1, &val2);
11207 if (!SWIG_IsOK(ecode2)) {
11208 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11209 }
11210 arg2 = static_cast< int >(val2);
11211 {
11212 PyThreadState* __tstate = wxPyBeginAllowThreads();
11213 (arg1)->SetMinimumSizeY(arg2);
11214 wxPyEndAllowThreads(__tstate);
11215 if (PyErr_Occurred()) SWIG_fail;
11216 }
11217 resultobj = SWIG_Py_Void();
11218 return resultobj;
11219 fail:
11220 return NULL;
11221 }
11222
11223
11224 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11225 PyObject *resultobj = 0;
11226 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11227 int result;
11228 void *argp1 = 0 ;
11229 int res1 = 0 ;
11230 PyObject *swig_obj[1] ;
11231
11232 if (!args) SWIG_fail;
11233 swig_obj[0] = args;
11234 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11235 if (!SWIG_IsOK(res1)) {
11236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11237 }
11238 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11239 {
11240 PyThreadState* __tstate = wxPyBeginAllowThreads();
11241 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
11242 wxPyEndAllowThreads(__tstate);
11243 if (PyErr_Occurred()) SWIG_fail;
11244 }
11245 resultobj = SWIG_From_int(static_cast< int >(result));
11246 return resultobj;
11247 fail:
11248 return NULL;
11249 }
11250
11251
11252 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11253 PyObject *resultobj = 0;
11254 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11255 int result;
11256 void *argp1 = 0 ;
11257 int res1 = 0 ;
11258 PyObject *swig_obj[1] ;
11259
11260 if (!args) SWIG_fail;
11261 swig_obj[0] = args;
11262 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11263 if (!SWIG_IsOK(res1)) {
11264 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11265 }
11266 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11267 {
11268 PyThreadState* __tstate = wxPyBeginAllowThreads();
11269 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
11270 wxPyEndAllowThreads(__tstate);
11271 if (PyErr_Occurred()) SWIG_fail;
11272 }
11273 resultobj = SWIG_From_int(static_cast< int >(result));
11274 return resultobj;
11275 fail:
11276 return NULL;
11277 }
11278
11279
11280 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11281 PyObject *resultobj = 0;
11282 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11283 int arg2 ;
11284 void *argp1 = 0 ;
11285 int res1 = 0 ;
11286 int val2 ;
11287 int ecode2 = 0 ;
11288 PyObject * obj0 = 0 ;
11289 PyObject * obj1 = 0 ;
11290 char * kwnames[] = {
11291 (char *) "self",(char *) "max", NULL
11292 };
11293
11294 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11295 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11296 if (!SWIG_IsOK(res1)) {
11297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11298 }
11299 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11300 ecode2 = SWIG_AsVal_int(obj1, &val2);
11301 if (!SWIG_IsOK(ecode2)) {
11302 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11303 }
11304 arg2 = static_cast< int >(val2);
11305 {
11306 PyThreadState* __tstate = wxPyBeginAllowThreads();
11307 (arg1)->SetMaximumSizeX(arg2);
11308 wxPyEndAllowThreads(__tstate);
11309 if (PyErr_Occurred()) SWIG_fail;
11310 }
11311 resultobj = SWIG_Py_Void();
11312 return resultobj;
11313 fail:
11314 return NULL;
11315 }
11316
11317
11318 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11319 PyObject *resultobj = 0;
11320 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11321 int arg2 ;
11322 void *argp1 = 0 ;
11323 int res1 = 0 ;
11324 int val2 ;
11325 int ecode2 = 0 ;
11326 PyObject * obj0 = 0 ;
11327 PyObject * obj1 = 0 ;
11328 char * kwnames[] = {
11329 (char *) "self",(char *) "max", NULL
11330 };
11331
11332 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11333 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11334 if (!SWIG_IsOK(res1)) {
11335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11336 }
11337 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11338 ecode2 = SWIG_AsVal_int(obj1, &val2);
11339 if (!SWIG_IsOK(ecode2)) {
11340 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11341 }
11342 arg2 = static_cast< int >(val2);
11343 {
11344 PyThreadState* __tstate = wxPyBeginAllowThreads();
11345 (arg1)->SetMaximumSizeY(arg2);
11346 wxPyEndAllowThreads(__tstate);
11347 if (PyErr_Occurred()) SWIG_fail;
11348 }
11349 resultobj = SWIG_Py_Void();
11350 return resultobj;
11351 fail:
11352 return NULL;
11353 }
11354
11355
11356 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11357 PyObject *resultobj = 0;
11358 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11359 int result;
11360 void *argp1 = 0 ;
11361 int res1 = 0 ;
11362 PyObject *swig_obj[1] ;
11363
11364 if (!args) SWIG_fail;
11365 swig_obj[0] = args;
11366 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11367 if (!SWIG_IsOK(res1)) {
11368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11369 }
11370 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11371 {
11372 PyThreadState* __tstate = wxPyBeginAllowThreads();
11373 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
11374 wxPyEndAllowThreads(__tstate);
11375 if (PyErr_Occurred()) SWIG_fail;
11376 }
11377 resultobj = SWIG_From_int(static_cast< int >(result));
11378 return resultobj;
11379 fail:
11380 return NULL;
11381 }
11382
11383
11384 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11385 PyObject *resultobj = 0;
11386 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11387 int result;
11388 void *argp1 = 0 ;
11389 int res1 = 0 ;
11390 PyObject *swig_obj[1] ;
11391
11392 if (!args) SWIG_fail;
11393 swig_obj[0] = args;
11394 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11395 if (!SWIG_IsOK(res1)) {
11396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11397 }
11398 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11399 {
11400 PyThreadState* __tstate = wxPyBeginAllowThreads();
11401 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
11402 wxPyEndAllowThreads(__tstate);
11403 if (PyErr_Occurred()) SWIG_fail;
11404 }
11405 resultobj = SWIG_From_int(static_cast< int >(result));
11406 return resultobj;
11407 fail:
11408 return NULL;
11409 }
11410
11411
11412 SWIGINTERN PyObject *_wrap_SashWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11413 PyObject *resultobj = 0;
11414 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11415 int arg2 ;
11416 int arg3 ;
11417 int arg4 = (int) 2 ;
11418 wxSashEdgePosition result;
11419 void *argp1 = 0 ;
11420 int res1 = 0 ;
11421 int val2 ;
11422 int ecode2 = 0 ;
11423 int val3 ;
11424 int ecode3 = 0 ;
11425 int val4 ;
11426 int ecode4 = 0 ;
11427 PyObject * obj0 = 0 ;
11428 PyObject * obj1 = 0 ;
11429 PyObject * obj2 = 0 ;
11430 PyObject * obj3 = 0 ;
11431 char * kwnames[] = {
11432 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11433 };
11434
11435 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11436 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11437 if (!SWIG_IsOK(res1)) {
11438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11439 }
11440 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11441 ecode2 = SWIG_AsVal_int(obj1, &val2);
11442 if (!SWIG_IsOK(ecode2)) {
11443 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11444 }
11445 arg2 = static_cast< int >(val2);
11446 ecode3 = SWIG_AsVal_int(obj2, &val3);
11447 if (!SWIG_IsOK(ecode3)) {
11448 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11449 }
11450 arg3 = static_cast< int >(val3);
11451 if (obj3) {
11452 ecode4 = SWIG_AsVal_int(obj3, &val4);
11453 if (!SWIG_IsOK(ecode4)) {
11454 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11455 }
11456 arg4 = static_cast< int >(val4);
11457 }
11458 {
11459 PyThreadState* __tstate = wxPyBeginAllowThreads();
11460 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
11461 wxPyEndAllowThreads(__tstate);
11462 if (PyErr_Occurred()) SWIG_fail;
11463 }
11464 resultobj = SWIG_From_int(static_cast< int >(result));
11465 return resultobj;
11466 fail:
11467 return NULL;
11468 }
11469
11470
11471 SWIGINTERN PyObject *_wrap_SashWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11472 PyObject *resultobj = 0;
11473 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11474 void *argp1 = 0 ;
11475 int res1 = 0 ;
11476 PyObject *swig_obj[1] ;
11477
11478 if (!args) SWIG_fail;
11479 swig_obj[0] = args;
11480 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11481 if (!SWIG_IsOK(res1)) {
11482 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11483 }
11484 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11485 {
11486 PyThreadState* __tstate = wxPyBeginAllowThreads();
11487 (arg1)->SizeWindows();
11488 wxPyEndAllowThreads(__tstate);
11489 if (PyErr_Occurred()) SWIG_fail;
11490 }
11491 resultobj = SWIG_Py_Void();
11492 return resultobj;
11493 fail:
11494 return NULL;
11495 }
11496
11497
11498 SWIGINTERN PyObject *SashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11499 PyObject *obj;
11500 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11501 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow, SWIG_NewClientData(obj));
11502 return SWIG_Py_Void();
11503 }
11504
11505 SWIGINTERN PyObject *SashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11506 return SWIG_Python_InitShadowInstance(args);
11507 }
11508
11509 SWIGINTERN PyObject *_wrap_new_SashEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11510 PyObject *resultobj = 0;
11511 int arg1 = (int) 0 ;
11512 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
11513 wxSashEvent *result = 0 ;
11514 int val1 ;
11515 int ecode1 = 0 ;
11516 int val2 ;
11517 int ecode2 = 0 ;
11518 PyObject * obj0 = 0 ;
11519 PyObject * obj1 = 0 ;
11520 char * kwnames[] = {
11521 (char *) "id",(char *) "edge", NULL
11522 };
11523
11524 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11525 if (obj0) {
11526 ecode1 = SWIG_AsVal_int(obj0, &val1);
11527 if (!SWIG_IsOK(ecode1)) {
11528 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11529 }
11530 arg1 = static_cast< int >(val1);
11531 }
11532 if (obj1) {
11533 ecode2 = SWIG_AsVal_int(obj1, &val2);
11534 if (!SWIG_IsOK(ecode2)) {
11535 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11536 }
11537 arg2 = static_cast< wxSashEdgePosition >(val2);
11538 }
11539 {
11540 PyThreadState* __tstate = wxPyBeginAllowThreads();
11541 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
11542 wxPyEndAllowThreads(__tstate);
11543 if (PyErr_Occurred()) SWIG_fail;
11544 }
11545 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashEvent, SWIG_POINTER_NEW | 0 );
11546 return resultobj;
11547 fail:
11548 return NULL;
11549 }
11550
11551
11552 SWIGINTERN PyObject *_wrap_SashEvent_SetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11553 PyObject *resultobj = 0;
11554 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11555 wxSashEdgePosition arg2 ;
11556 void *argp1 = 0 ;
11557 int res1 = 0 ;
11558 int val2 ;
11559 int ecode2 = 0 ;
11560 PyObject * obj0 = 0 ;
11561 PyObject * obj1 = 0 ;
11562 char * kwnames[] = {
11563 (char *) "self",(char *) "edge", NULL
11564 };
11565
11566 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) SWIG_fail;
11567 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11568 if (!SWIG_IsOK(res1)) {
11569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11570 }
11571 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11572 ecode2 = SWIG_AsVal_int(obj1, &val2);
11573 if (!SWIG_IsOK(ecode2)) {
11574 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11575 }
11576 arg2 = static_cast< wxSashEdgePosition >(val2);
11577 {
11578 PyThreadState* __tstate = wxPyBeginAllowThreads();
11579 (arg1)->SetEdge(arg2);
11580 wxPyEndAllowThreads(__tstate);
11581 if (PyErr_Occurred()) SWIG_fail;
11582 }
11583 resultobj = SWIG_Py_Void();
11584 return resultobj;
11585 fail:
11586 return NULL;
11587 }
11588
11589
11590 SWIGINTERN PyObject *_wrap_SashEvent_GetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11591 PyObject *resultobj = 0;
11592 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11593 wxSashEdgePosition result;
11594 void *argp1 = 0 ;
11595 int res1 = 0 ;
11596 PyObject *swig_obj[1] ;
11597
11598 if (!args) SWIG_fail;
11599 swig_obj[0] = args;
11600 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11601 if (!SWIG_IsOK(res1)) {
11602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11603 }
11604 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11605 {
11606 PyThreadState* __tstate = wxPyBeginAllowThreads();
11607 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
11608 wxPyEndAllowThreads(__tstate);
11609 if (PyErr_Occurred()) SWIG_fail;
11610 }
11611 resultobj = SWIG_From_int(static_cast< int >(result));
11612 return resultobj;
11613 fail:
11614 return NULL;
11615 }
11616
11617
11618 SWIGINTERN PyObject *_wrap_SashEvent_SetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11619 PyObject *resultobj = 0;
11620 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11621 wxRect *arg2 = 0 ;
11622 void *argp1 = 0 ;
11623 int res1 = 0 ;
11624 wxRect temp2 ;
11625 PyObject * obj0 = 0 ;
11626 PyObject * obj1 = 0 ;
11627 char * kwnames[] = {
11628 (char *) "self",(char *) "rect", NULL
11629 };
11630
11631 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) SWIG_fail;
11632 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11633 if (!SWIG_IsOK(res1)) {
11634 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11635 }
11636 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11637 {
11638 arg2 = &temp2;
11639 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11640 }
11641 {
11642 PyThreadState* __tstate = wxPyBeginAllowThreads();
11643 (arg1)->SetDragRect((wxRect const &)*arg2);
11644 wxPyEndAllowThreads(__tstate);
11645 if (PyErr_Occurred()) SWIG_fail;
11646 }
11647 resultobj = SWIG_Py_Void();
11648 return resultobj;
11649 fail:
11650 return NULL;
11651 }
11652
11653
11654 SWIGINTERN PyObject *_wrap_SashEvent_GetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11655 PyObject *resultobj = 0;
11656 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11657 wxRect result;
11658 void *argp1 = 0 ;
11659 int res1 = 0 ;
11660 PyObject *swig_obj[1] ;
11661
11662 if (!args) SWIG_fail;
11663 swig_obj[0] = args;
11664 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11665 if (!SWIG_IsOK(res1)) {
11666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11667 }
11668 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11669 {
11670 PyThreadState* __tstate = wxPyBeginAllowThreads();
11671 result = ((wxSashEvent const *)arg1)->GetDragRect();
11672 wxPyEndAllowThreads(__tstate);
11673 if (PyErr_Occurred()) SWIG_fail;
11674 }
11675 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
11676 return resultobj;
11677 fail:
11678 return NULL;
11679 }
11680
11681
11682 SWIGINTERN PyObject *_wrap_SashEvent_SetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11683 PyObject *resultobj = 0;
11684 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11685 wxSashDragStatus arg2 ;
11686 void *argp1 = 0 ;
11687 int res1 = 0 ;
11688 int val2 ;
11689 int ecode2 = 0 ;
11690 PyObject * obj0 = 0 ;
11691 PyObject * obj1 = 0 ;
11692 char * kwnames[] = {
11693 (char *) "self",(char *) "status", NULL
11694 };
11695
11696 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) SWIG_fail;
11697 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11698 if (!SWIG_IsOK(res1)) {
11699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11700 }
11701 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11702 ecode2 = SWIG_AsVal_int(obj1, &val2);
11703 if (!SWIG_IsOK(ecode2)) {
11704 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11705 }
11706 arg2 = static_cast< wxSashDragStatus >(val2);
11707 {
11708 PyThreadState* __tstate = wxPyBeginAllowThreads();
11709 (arg1)->SetDragStatus(arg2);
11710 wxPyEndAllowThreads(__tstate);
11711 if (PyErr_Occurred()) SWIG_fail;
11712 }
11713 resultobj = SWIG_Py_Void();
11714 return resultobj;
11715 fail:
11716 return NULL;
11717 }
11718
11719
11720 SWIGINTERN PyObject *_wrap_SashEvent_GetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11721 PyObject *resultobj = 0;
11722 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11723 wxSashDragStatus result;
11724 void *argp1 = 0 ;
11725 int res1 = 0 ;
11726 PyObject *swig_obj[1] ;
11727
11728 if (!args) SWIG_fail;
11729 swig_obj[0] = args;
11730 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11731 if (!SWIG_IsOK(res1)) {
11732 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11733 }
11734 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11735 {
11736 PyThreadState* __tstate = wxPyBeginAllowThreads();
11737 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
11738 wxPyEndAllowThreads(__tstate);
11739 if (PyErr_Occurred()) SWIG_fail;
11740 }
11741 resultobj = SWIG_From_int(static_cast< int >(result));
11742 return resultobj;
11743 fail:
11744 return NULL;
11745 }
11746
11747
11748 SWIGINTERN PyObject *SashEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11749 PyObject *obj;
11750 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11751 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent, SWIG_NewClientData(obj));
11752 return SWIG_Py_Void();
11753 }
11754
11755 SWIGINTERN PyObject *SashEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11756 return SWIG_Python_InitShadowInstance(args);
11757 }
11758
11759 SWIGINTERN PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11760 PyObject *resultobj = 0;
11761 int arg1 = (int) 0 ;
11762 wxQueryLayoutInfoEvent *result = 0 ;
11763 int val1 ;
11764 int ecode1 = 0 ;
11765 PyObject * obj0 = 0 ;
11766 char * kwnames[] = {
11767 (char *) "id", NULL
11768 };
11769
11770 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) SWIG_fail;
11771 if (obj0) {
11772 ecode1 = SWIG_AsVal_int(obj0, &val1);
11773 if (!SWIG_IsOK(ecode1)) {
11774 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11775 }
11776 arg1 = static_cast< int >(val1);
11777 }
11778 {
11779 PyThreadState* __tstate = wxPyBeginAllowThreads();
11780 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
11781 wxPyEndAllowThreads(__tstate);
11782 if (PyErr_Occurred()) SWIG_fail;
11783 }
11784 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_NEW | 0 );
11785 return resultobj;
11786 fail:
11787 return NULL;
11788 }
11789
11790
11791 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11792 PyObject *resultobj = 0;
11793 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11794 int arg2 ;
11795 void *argp1 = 0 ;
11796 int res1 = 0 ;
11797 int val2 ;
11798 int ecode2 = 0 ;
11799 PyObject * obj0 = 0 ;
11800 PyObject * obj1 = 0 ;
11801 char * kwnames[] = {
11802 (char *) "self",(char *) "length", NULL
11803 };
11804
11805 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) SWIG_fail;
11806 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11807 if (!SWIG_IsOK(res1)) {
11808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11809 }
11810 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11811 ecode2 = SWIG_AsVal_int(obj1, &val2);
11812 if (!SWIG_IsOK(ecode2)) {
11813 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
11814 }
11815 arg2 = static_cast< int >(val2);
11816 {
11817 PyThreadState* __tstate = wxPyBeginAllowThreads();
11818 (arg1)->SetRequestedLength(arg2);
11819 wxPyEndAllowThreads(__tstate);
11820 if (PyErr_Occurred()) SWIG_fail;
11821 }
11822 resultobj = SWIG_Py_Void();
11823 return resultobj;
11824 fail:
11825 return NULL;
11826 }
11827
11828
11829 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11830 PyObject *resultobj = 0;
11831 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11832 int result;
11833 void *argp1 = 0 ;
11834 int res1 = 0 ;
11835 PyObject *swig_obj[1] ;
11836
11837 if (!args) SWIG_fail;
11838 swig_obj[0] = args;
11839 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11840 if (!SWIG_IsOK(res1)) {
11841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11842 }
11843 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11844 {
11845 PyThreadState* __tstate = wxPyBeginAllowThreads();
11846 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
11847 wxPyEndAllowThreads(__tstate);
11848 if (PyErr_Occurred()) SWIG_fail;
11849 }
11850 resultobj = SWIG_From_int(static_cast< int >(result));
11851 return resultobj;
11852 fail:
11853 return NULL;
11854 }
11855
11856
11857 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11858 PyObject *resultobj = 0;
11859 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11860 int arg2 ;
11861 void *argp1 = 0 ;
11862 int res1 = 0 ;
11863 int val2 ;
11864 int ecode2 = 0 ;
11865 PyObject * obj0 = 0 ;
11866 PyObject * obj1 = 0 ;
11867 char * kwnames[] = {
11868 (char *) "self",(char *) "flags", NULL
11869 };
11870
11871 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
11872 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11873 if (!SWIG_IsOK(res1)) {
11874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11875 }
11876 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11877 ecode2 = SWIG_AsVal_int(obj1, &val2);
11878 if (!SWIG_IsOK(ecode2)) {
11879 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
11880 }
11881 arg2 = static_cast< int >(val2);
11882 {
11883 PyThreadState* __tstate = wxPyBeginAllowThreads();
11884 (arg1)->SetFlags(arg2);
11885 wxPyEndAllowThreads(__tstate);
11886 if (PyErr_Occurred()) SWIG_fail;
11887 }
11888 resultobj = SWIG_Py_Void();
11889 return resultobj;
11890 fail:
11891 return NULL;
11892 }
11893
11894
11895 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11896 PyObject *resultobj = 0;
11897 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11898 int result;
11899 void *argp1 = 0 ;
11900 int res1 = 0 ;
11901 PyObject *swig_obj[1] ;
11902
11903 if (!args) SWIG_fail;
11904 swig_obj[0] = args;
11905 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11906 if (!SWIG_IsOK(res1)) {
11907 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11908 }
11909 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11910 {
11911 PyThreadState* __tstate = wxPyBeginAllowThreads();
11912 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
11913 wxPyEndAllowThreads(__tstate);
11914 if (PyErr_Occurred()) SWIG_fail;
11915 }
11916 resultobj = SWIG_From_int(static_cast< int >(result));
11917 return resultobj;
11918 fail:
11919 return NULL;
11920 }
11921
11922
11923 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11924 PyObject *resultobj = 0;
11925 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11926 wxSize *arg2 = 0 ;
11927 void *argp1 = 0 ;
11928 int res1 = 0 ;
11929 wxSize temp2 ;
11930 PyObject * obj0 = 0 ;
11931 PyObject * obj1 = 0 ;
11932 char * kwnames[] = {
11933 (char *) "self",(char *) "size", NULL
11934 };
11935
11936 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
11937 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11938 if (!SWIG_IsOK(res1)) {
11939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11940 }
11941 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11942 {
11943 arg2 = &temp2;
11944 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11945 }
11946 {
11947 PyThreadState* __tstate = wxPyBeginAllowThreads();
11948 (arg1)->SetSize((wxSize const &)*arg2);
11949 wxPyEndAllowThreads(__tstate);
11950 if (PyErr_Occurred()) SWIG_fail;
11951 }
11952 resultobj = SWIG_Py_Void();
11953 return resultobj;
11954 fail:
11955 return NULL;
11956 }
11957
11958
11959 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11960 PyObject *resultobj = 0;
11961 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11962 wxSize result;
11963 void *argp1 = 0 ;
11964 int res1 = 0 ;
11965 PyObject *swig_obj[1] ;
11966
11967 if (!args) SWIG_fail;
11968 swig_obj[0] = args;
11969 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11970 if (!SWIG_IsOK(res1)) {
11971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11972 }
11973 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11974 {
11975 PyThreadState* __tstate = wxPyBeginAllowThreads();
11976 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
11977 wxPyEndAllowThreads(__tstate);
11978 if (PyErr_Occurred()) SWIG_fail;
11979 }
11980 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
11981 return resultobj;
11982 fail:
11983 return NULL;
11984 }
11985
11986
11987 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11988 PyObject *resultobj = 0;
11989 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11990 wxLayoutOrientation arg2 ;
11991 void *argp1 = 0 ;
11992 int res1 = 0 ;
11993 int val2 ;
11994 int ecode2 = 0 ;
11995 PyObject * obj0 = 0 ;
11996 PyObject * obj1 = 0 ;
11997 char * kwnames[] = {
11998 (char *) "self",(char *) "orient", NULL
11999 };
12000
12001 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12002 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12003 if (!SWIG_IsOK(res1)) {
12004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12005 }
12006 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12007 ecode2 = SWIG_AsVal_int(obj1, &val2);
12008 if (!SWIG_IsOK(ecode2)) {
12009 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12010 }
12011 arg2 = static_cast< wxLayoutOrientation >(val2);
12012 {
12013 PyThreadState* __tstate = wxPyBeginAllowThreads();
12014 (arg1)->SetOrientation(arg2);
12015 wxPyEndAllowThreads(__tstate);
12016 if (PyErr_Occurred()) SWIG_fail;
12017 }
12018 resultobj = SWIG_Py_Void();
12019 return resultobj;
12020 fail:
12021 return NULL;
12022 }
12023
12024
12025 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12026 PyObject *resultobj = 0;
12027 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12028 wxLayoutOrientation result;
12029 void *argp1 = 0 ;
12030 int res1 = 0 ;
12031 PyObject *swig_obj[1] ;
12032
12033 if (!args) SWIG_fail;
12034 swig_obj[0] = args;
12035 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12036 if (!SWIG_IsOK(res1)) {
12037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12038 }
12039 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12040 {
12041 PyThreadState* __tstate = wxPyBeginAllowThreads();
12042 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
12043 wxPyEndAllowThreads(__tstate);
12044 if (PyErr_Occurred()) SWIG_fail;
12045 }
12046 resultobj = SWIG_From_int(static_cast< int >(result));
12047 return resultobj;
12048 fail:
12049 return NULL;
12050 }
12051
12052
12053 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12054 PyObject *resultobj = 0;
12055 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12056 wxLayoutAlignment arg2 ;
12057 void *argp1 = 0 ;
12058 int res1 = 0 ;
12059 int val2 ;
12060 int ecode2 = 0 ;
12061 PyObject * obj0 = 0 ;
12062 PyObject * obj1 = 0 ;
12063 char * kwnames[] = {
12064 (char *) "self",(char *) "align", NULL
12065 };
12066
12067 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12068 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12069 if (!SWIG_IsOK(res1)) {
12070 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12071 }
12072 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12073 ecode2 = SWIG_AsVal_int(obj1, &val2);
12074 if (!SWIG_IsOK(ecode2)) {
12075 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12076 }
12077 arg2 = static_cast< wxLayoutAlignment >(val2);
12078 {
12079 PyThreadState* __tstate = wxPyBeginAllowThreads();
12080 (arg1)->SetAlignment(arg2);
12081 wxPyEndAllowThreads(__tstate);
12082 if (PyErr_Occurred()) SWIG_fail;
12083 }
12084 resultobj = SWIG_Py_Void();
12085 return resultobj;
12086 fail:
12087 return NULL;
12088 }
12089
12090
12091 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12092 PyObject *resultobj = 0;
12093 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12094 wxLayoutAlignment result;
12095 void *argp1 = 0 ;
12096 int res1 = 0 ;
12097 PyObject *swig_obj[1] ;
12098
12099 if (!args) SWIG_fail;
12100 swig_obj[0] = args;
12101 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12102 if (!SWIG_IsOK(res1)) {
12103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12104 }
12105 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12106 {
12107 PyThreadState* __tstate = wxPyBeginAllowThreads();
12108 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
12109 wxPyEndAllowThreads(__tstate);
12110 if (PyErr_Occurred()) SWIG_fail;
12111 }
12112 resultobj = SWIG_From_int(static_cast< int >(result));
12113 return resultobj;
12114 fail:
12115 return NULL;
12116 }
12117
12118
12119 SWIGINTERN PyObject *QueryLayoutInfoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12120 PyObject *obj;
12121 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12122 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_NewClientData(obj));
12123 return SWIG_Py_Void();
12124 }
12125
12126 SWIGINTERN PyObject *QueryLayoutInfoEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12127 return SWIG_Python_InitShadowInstance(args);
12128 }
12129
12130 SWIGINTERN PyObject *_wrap_new_CalculateLayoutEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12131 PyObject *resultobj = 0;
12132 int arg1 = (int) 0 ;
12133 wxCalculateLayoutEvent *result = 0 ;
12134 int val1 ;
12135 int ecode1 = 0 ;
12136 PyObject * obj0 = 0 ;
12137 char * kwnames[] = {
12138 (char *) "id", NULL
12139 };
12140
12141 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) SWIG_fail;
12142 if (obj0) {
12143 ecode1 = SWIG_AsVal_int(obj0, &val1);
12144 if (!SWIG_IsOK(ecode1)) {
12145 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12146 }
12147 arg1 = static_cast< int >(val1);
12148 }
12149 {
12150 PyThreadState* __tstate = wxPyBeginAllowThreads();
12151 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
12152 wxPyEndAllowThreads(__tstate);
12153 if (PyErr_Occurred()) SWIG_fail;
12154 }
12155 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_NEW | 0 );
12156 return resultobj;
12157 fail:
12158 return NULL;
12159 }
12160
12161
12162 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12163 PyObject *resultobj = 0;
12164 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12165 int arg2 ;
12166 void *argp1 = 0 ;
12167 int res1 = 0 ;
12168 int val2 ;
12169 int ecode2 = 0 ;
12170 PyObject * obj0 = 0 ;
12171 PyObject * obj1 = 0 ;
12172 char * kwnames[] = {
12173 (char *) "self",(char *) "flags", NULL
12174 };
12175
12176 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12177 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12178 if (!SWIG_IsOK(res1)) {
12179 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12180 }
12181 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12182 ecode2 = SWIG_AsVal_int(obj1, &val2);
12183 if (!SWIG_IsOK(ecode2)) {
12184 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12185 }
12186 arg2 = static_cast< int >(val2);
12187 {
12188 PyThreadState* __tstate = wxPyBeginAllowThreads();
12189 (arg1)->SetFlags(arg2);
12190 wxPyEndAllowThreads(__tstate);
12191 if (PyErr_Occurred()) SWIG_fail;
12192 }
12193 resultobj = SWIG_Py_Void();
12194 return resultobj;
12195 fail:
12196 return NULL;
12197 }
12198
12199
12200 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12201 PyObject *resultobj = 0;
12202 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12203 int result;
12204 void *argp1 = 0 ;
12205 int res1 = 0 ;
12206 PyObject *swig_obj[1] ;
12207
12208 if (!args) SWIG_fail;
12209 swig_obj[0] = args;
12210 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12211 if (!SWIG_IsOK(res1)) {
12212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12213 }
12214 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12215 {
12216 PyThreadState* __tstate = wxPyBeginAllowThreads();
12217 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
12218 wxPyEndAllowThreads(__tstate);
12219 if (PyErr_Occurred()) SWIG_fail;
12220 }
12221 resultobj = SWIG_From_int(static_cast< int >(result));
12222 return resultobj;
12223 fail:
12224 return NULL;
12225 }
12226
12227
12228 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12229 PyObject *resultobj = 0;
12230 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12231 wxRect *arg2 = 0 ;
12232 void *argp1 = 0 ;
12233 int res1 = 0 ;
12234 wxRect temp2 ;
12235 PyObject * obj0 = 0 ;
12236 PyObject * obj1 = 0 ;
12237 char * kwnames[] = {
12238 (char *) "self",(char *) "rect", NULL
12239 };
12240
12241 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12242 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12243 if (!SWIG_IsOK(res1)) {
12244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12245 }
12246 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12247 {
12248 arg2 = &temp2;
12249 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12250 }
12251 {
12252 PyThreadState* __tstate = wxPyBeginAllowThreads();
12253 (arg1)->SetRect((wxRect const &)*arg2);
12254 wxPyEndAllowThreads(__tstate);
12255 if (PyErr_Occurred()) SWIG_fail;
12256 }
12257 resultobj = SWIG_Py_Void();
12258 return resultobj;
12259 fail:
12260 return NULL;
12261 }
12262
12263
12264 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12265 PyObject *resultobj = 0;
12266 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12267 wxRect result;
12268 void *argp1 = 0 ;
12269 int res1 = 0 ;
12270 PyObject *swig_obj[1] ;
12271
12272 if (!args) SWIG_fail;
12273 swig_obj[0] = args;
12274 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12275 if (!SWIG_IsOK(res1)) {
12276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12277 }
12278 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12279 {
12280 PyThreadState* __tstate = wxPyBeginAllowThreads();
12281 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
12282 wxPyEndAllowThreads(__tstate);
12283 if (PyErr_Occurred()) SWIG_fail;
12284 }
12285 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12286 return resultobj;
12287 fail:
12288 return NULL;
12289 }
12290
12291
12292 SWIGINTERN PyObject *CalculateLayoutEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12293 PyObject *obj;
12294 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12295 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_NewClientData(obj));
12296 return SWIG_Py_Void();
12297 }
12298
12299 SWIGINTERN PyObject *CalculateLayoutEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12300 return SWIG_Python_InitShadowInstance(args);
12301 }
12302
12303 SWIGINTERN PyObject *_wrap_new_SashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12304 PyObject *resultobj = 0;
12305 wxWindow *arg1 = (wxWindow *) 0 ;
12306 int arg2 = (int) -1 ;
12307 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12308 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12309 wxSize const &arg4_defvalue = wxDefaultSize ;
12310 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12311 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12312 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
12313 wxString *arg6 = (wxString *) &arg6_defvalue ;
12314 wxSashLayoutWindow *result = 0 ;
12315 void *argp1 = 0 ;
12316 int res1 = 0 ;
12317 int val2 ;
12318 int ecode2 = 0 ;
12319 wxPoint temp3 ;
12320 wxSize temp4 ;
12321 long val5 ;
12322 int ecode5 = 0 ;
12323 bool temp6 = false ;
12324 PyObject * obj0 = 0 ;
12325 PyObject * obj1 = 0 ;
12326 PyObject * obj2 = 0 ;
12327 PyObject * obj3 = 0 ;
12328 PyObject * obj4 = 0 ;
12329 PyObject * obj5 = 0 ;
12330 char * kwnames[] = {
12331 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12332 };
12333
12334 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12335 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12336 if (!SWIG_IsOK(res1)) {
12337 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12338 }
12339 arg1 = reinterpret_cast< wxWindow * >(argp1);
12340 if (obj1) {
12341 ecode2 = SWIG_AsVal_int(obj1, &val2);
12342 if (!SWIG_IsOK(ecode2)) {
12343 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12344 }
12345 arg2 = static_cast< int >(val2);
12346 }
12347 if (obj2) {
12348 {
12349 arg3 = &temp3;
12350 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12351 }
12352 }
12353 if (obj3) {
12354 {
12355 arg4 = &temp4;
12356 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12357 }
12358 }
12359 if (obj4) {
12360 ecode5 = SWIG_AsVal_long(obj4, &val5);
12361 if (!SWIG_IsOK(ecode5)) {
12362 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12363 }
12364 arg5 = static_cast< long >(val5);
12365 }
12366 if (obj5) {
12367 {
12368 arg6 = wxString_in_helper(obj5);
12369 if (arg6 == NULL) SWIG_fail;
12370 temp6 = true;
12371 }
12372 }
12373 {
12374 if (!wxPyCheckForApp()) SWIG_fail;
12375 PyThreadState* __tstate = wxPyBeginAllowThreads();
12376 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12377 wxPyEndAllowThreads(__tstate);
12378 if (PyErr_Occurred()) SWIG_fail;
12379 }
12380 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_NEW | 0 );
12381 {
12382 if (temp6)
12383 delete arg6;
12384 }
12385 return resultobj;
12386 fail:
12387 {
12388 if (temp6)
12389 delete arg6;
12390 }
12391 return NULL;
12392 }
12393
12394
12395 SWIGINTERN PyObject *_wrap_new_PreSashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12396 PyObject *resultobj = 0;
12397 wxSashLayoutWindow *result = 0 ;
12398
12399 if (!SWIG_Python_UnpackTuple(args,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail;
12400 {
12401 if (!wxPyCheckForApp()) SWIG_fail;
12402 PyThreadState* __tstate = wxPyBeginAllowThreads();
12403 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
12404 wxPyEndAllowThreads(__tstate);
12405 if (PyErr_Occurred()) SWIG_fail;
12406 }
12407 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_OWN | 0 );
12408 return resultobj;
12409 fail:
12410 return NULL;
12411 }
12412
12413
12414 SWIGINTERN PyObject *_wrap_SashLayoutWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12415 PyObject *resultobj = 0;
12416 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12417 wxWindow *arg2 = (wxWindow *) 0 ;
12418 int arg3 = (int) -1 ;
12419 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12420 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12421 wxSize const &arg5_defvalue = wxDefaultSize ;
12422 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12423 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12424 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
12425 wxString *arg7 = (wxString *) &arg7_defvalue ;
12426 bool result;
12427 void *argp1 = 0 ;
12428 int res1 = 0 ;
12429 void *argp2 = 0 ;
12430 int res2 = 0 ;
12431 int val3 ;
12432 int ecode3 = 0 ;
12433 wxPoint temp4 ;
12434 wxSize temp5 ;
12435 long val6 ;
12436 int ecode6 = 0 ;
12437 bool temp7 = false ;
12438 PyObject * obj0 = 0 ;
12439 PyObject * obj1 = 0 ;
12440 PyObject * obj2 = 0 ;
12441 PyObject * obj3 = 0 ;
12442 PyObject * obj4 = 0 ;
12443 PyObject * obj5 = 0 ;
12444 PyObject * obj6 = 0 ;
12445 char * kwnames[] = {
12446 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12447 };
12448
12449 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
12450 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12451 if (!SWIG_IsOK(res1)) {
12452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12453 }
12454 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12455 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12456 if (!SWIG_IsOK(res2)) {
12457 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12458 }
12459 arg2 = reinterpret_cast< wxWindow * >(argp2);
12460 if (obj2) {
12461 ecode3 = SWIG_AsVal_int(obj2, &val3);
12462 if (!SWIG_IsOK(ecode3)) {
12463 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12464 }
12465 arg3 = static_cast< int >(val3);
12466 }
12467 if (obj3) {
12468 {
12469 arg4 = &temp4;
12470 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12471 }
12472 }
12473 if (obj4) {
12474 {
12475 arg5 = &temp5;
12476 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12477 }
12478 }
12479 if (obj5) {
12480 ecode6 = SWIG_AsVal_long(obj5, &val6);
12481 if (!SWIG_IsOK(ecode6)) {
12482 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12483 }
12484 arg6 = static_cast< long >(val6);
12485 }
12486 if (obj6) {
12487 {
12488 arg7 = wxString_in_helper(obj6);
12489 if (arg7 == NULL) SWIG_fail;
12490 temp7 = true;
12491 }
12492 }
12493 {
12494 PyThreadState* __tstate = wxPyBeginAllowThreads();
12495 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12496 wxPyEndAllowThreads(__tstate);
12497 if (PyErr_Occurred()) SWIG_fail;
12498 }
12499 {
12500 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12501 }
12502 {
12503 if (temp7)
12504 delete arg7;
12505 }
12506 return resultobj;
12507 fail:
12508 {
12509 if (temp7)
12510 delete arg7;
12511 }
12512 return NULL;
12513 }
12514
12515
12516 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12517 PyObject *resultobj = 0;
12518 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12519 wxLayoutAlignment result;
12520 void *argp1 = 0 ;
12521 int res1 = 0 ;
12522 PyObject *swig_obj[1] ;
12523
12524 if (!args) SWIG_fail;
12525 swig_obj[0] = args;
12526 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12527 if (!SWIG_IsOK(res1)) {
12528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12529 }
12530 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12531 {
12532 PyThreadState* __tstate = wxPyBeginAllowThreads();
12533 result = (wxLayoutAlignment)(arg1)->GetAlignment();
12534 wxPyEndAllowThreads(__tstate);
12535 if (PyErr_Occurred()) SWIG_fail;
12536 }
12537 resultobj = SWIG_From_int(static_cast< int >(result));
12538 return resultobj;
12539 fail:
12540 return NULL;
12541 }
12542
12543
12544 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12545 PyObject *resultobj = 0;
12546 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12547 wxLayoutOrientation result;
12548 void *argp1 = 0 ;
12549 int res1 = 0 ;
12550 PyObject *swig_obj[1] ;
12551
12552 if (!args) SWIG_fail;
12553 swig_obj[0] = args;
12554 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12555 if (!SWIG_IsOK(res1)) {
12556 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12557 }
12558 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12559 {
12560 PyThreadState* __tstate = wxPyBeginAllowThreads();
12561 result = (wxLayoutOrientation)(arg1)->GetOrientation();
12562 wxPyEndAllowThreads(__tstate);
12563 if (PyErr_Occurred()) SWIG_fail;
12564 }
12565 resultobj = SWIG_From_int(static_cast< int >(result));
12566 return resultobj;
12567 fail:
12568 return NULL;
12569 }
12570
12571
12572 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12573 PyObject *resultobj = 0;
12574 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12575 wxLayoutAlignment arg2 ;
12576 void *argp1 = 0 ;
12577 int res1 = 0 ;
12578 int val2 ;
12579 int ecode2 = 0 ;
12580 PyObject * obj0 = 0 ;
12581 PyObject * obj1 = 0 ;
12582 char * kwnames[] = {
12583 (char *) "self",(char *) "alignment", NULL
12584 };
12585
12586 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12587 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12588 if (!SWIG_IsOK(res1)) {
12589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12590 }
12591 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12592 ecode2 = SWIG_AsVal_int(obj1, &val2);
12593 if (!SWIG_IsOK(ecode2)) {
12594 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12595 }
12596 arg2 = static_cast< wxLayoutAlignment >(val2);
12597 {
12598 PyThreadState* __tstate = wxPyBeginAllowThreads();
12599 (arg1)->SetAlignment(arg2);
12600 wxPyEndAllowThreads(__tstate);
12601 if (PyErr_Occurred()) SWIG_fail;
12602 }
12603 resultobj = SWIG_Py_Void();
12604 return resultobj;
12605 fail:
12606 return NULL;
12607 }
12608
12609
12610 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12611 PyObject *resultobj = 0;
12612 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12613 wxSize *arg2 = 0 ;
12614 void *argp1 = 0 ;
12615 int res1 = 0 ;
12616 wxSize temp2 ;
12617 PyObject * obj0 = 0 ;
12618 PyObject * obj1 = 0 ;
12619 char * kwnames[] = {
12620 (char *) "self",(char *) "size", NULL
12621 };
12622
12623 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) SWIG_fail;
12624 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12625 if (!SWIG_IsOK(res1)) {
12626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12627 }
12628 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12629 {
12630 arg2 = &temp2;
12631 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12632 }
12633 {
12634 PyThreadState* __tstate = wxPyBeginAllowThreads();
12635 (arg1)->SetDefaultSize((wxSize const &)*arg2);
12636 wxPyEndAllowThreads(__tstate);
12637 if (PyErr_Occurred()) SWIG_fail;
12638 }
12639 resultobj = SWIG_Py_Void();
12640 return resultobj;
12641 fail:
12642 return NULL;
12643 }
12644
12645
12646 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12647 PyObject *resultobj = 0;
12648 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12649 wxLayoutOrientation arg2 ;
12650 void *argp1 = 0 ;
12651 int res1 = 0 ;
12652 int val2 ;
12653 int ecode2 = 0 ;
12654 PyObject * obj0 = 0 ;
12655 PyObject * obj1 = 0 ;
12656 char * kwnames[] = {
12657 (char *) "self",(char *) "orientation", NULL
12658 };
12659
12660 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12661 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12662 if (!SWIG_IsOK(res1)) {
12663 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12664 }
12665 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12666 ecode2 = SWIG_AsVal_int(obj1, &val2);
12667 if (!SWIG_IsOK(ecode2)) {
12668 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12669 }
12670 arg2 = static_cast< wxLayoutOrientation >(val2);
12671 {
12672 PyThreadState* __tstate = wxPyBeginAllowThreads();
12673 (arg1)->SetOrientation(arg2);
12674 wxPyEndAllowThreads(__tstate);
12675 if (PyErr_Occurred()) SWIG_fail;
12676 }
12677 resultobj = SWIG_Py_Void();
12678 return resultobj;
12679 fail:
12680 return NULL;
12681 }
12682
12683
12684 SWIGINTERN PyObject *SashLayoutWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12685 PyObject *obj;
12686 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12687 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow, SWIG_NewClientData(obj));
12688 return SWIG_Py_Void();
12689 }
12690
12691 SWIGINTERN PyObject *SashLayoutWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12692 return SWIG_Python_InitShadowInstance(args);
12693 }
12694
12695 SWIGINTERN PyObject *_wrap_new_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12696 PyObject *resultobj = 0;
12697 wxLayoutAlgorithm *result = 0 ;
12698
12699 if (!SWIG_Python_UnpackTuple(args,"new_LayoutAlgorithm",0,0,0)) SWIG_fail;
12700 {
12701 PyThreadState* __tstate = wxPyBeginAllowThreads();
12702 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
12703 wxPyEndAllowThreads(__tstate);
12704 if (PyErr_Occurred()) SWIG_fail;
12705 }
12706 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_NEW | 0 );
12707 return resultobj;
12708 fail:
12709 return NULL;
12710 }
12711
12712
12713 SWIGINTERN PyObject *_wrap_delete_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12714 PyObject *resultobj = 0;
12715 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12716 void *argp1 = 0 ;
12717 int res1 = 0 ;
12718 PyObject *swig_obj[1] ;
12719
12720 if (!args) SWIG_fail;
12721 swig_obj[0] = args;
12722 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_DISOWN | 0 );
12723 if (!SWIG_IsOK(res1)) {
12724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12725 }
12726 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12727 {
12728 PyThreadState* __tstate = wxPyBeginAllowThreads();
12729 delete arg1;
12730
12731 wxPyEndAllowThreads(__tstate);
12732 if (PyErr_Occurred()) SWIG_fail;
12733 }
12734 resultobj = SWIG_Py_Void();
12735 return resultobj;
12736 fail:
12737 return NULL;
12738 }
12739
12740
12741 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12742 PyObject *resultobj = 0;
12743 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12744 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
12745 wxRect *arg3 = (wxRect *) NULL ;
12746 bool result;
12747 void *argp1 = 0 ;
12748 int res1 = 0 ;
12749 void *argp2 = 0 ;
12750 int res2 = 0 ;
12751 void *argp3 = 0 ;
12752 int res3 = 0 ;
12753 PyObject * obj0 = 0 ;
12754 PyObject * obj1 = 0 ;
12755 PyObject * obj2 = 0 ;
12756 char * kwnames[] = {
12757 (char *) "self",(char *) "frame",(char *) "rect", NULL
12758 };
12759
12760 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12761 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12762 if (!SWIG_IsOK(res1)) {
12763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12764 }
12765 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12766 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
12767 if (!SWIG_IsOK(res2)) {
12768 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12769 }
12770 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
12771 if (obj2) {
12772 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRect, 0 | 0 );
12773 if (!SWIG_IsOK(res3)) {
12774 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12775 }
12776 arg3 = reinterpret_cast< wxRect * >(argp3);
12777 }
12778 {
12779 PyThreadState* __tstate = wxPyBeginAllowThreads();
12780 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
12781 wxPyEndAllowThreads(__tstate);
12782 if (PyErr_Occurred()) SWIG_fail;
12783 }
12784 {
12785 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12786 }
12787 return resultobj;
12788 fail:
12789 return NULL;
12790 }
12791
12792
12793 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12794 PyObject *resultobj = 0;
12795 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12796 wxFrame *arg2 = (wxFrame *) 0 ;
12797 wxWindow *arg3 = (wxWindow *) NULL ;
12798 bool result;
12799 void *argp1 = 0 ;
12800 int res1 = 0 ;
12801 void *argp2 = 0 ;
12802 int res2 = 0 ;
12803 void *argp3 = 0 ;
12804 int res3 = 0 ;
12805 PyObject * obj0 = 0 ;
12806 PyObject * obj1 = 0 ;
12807 PyObject * obj2 = 0 ;
12808 char * kwnames[] = {
12809 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
12810 };
12811
12812 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12813 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12814 if (!SWIG_IsOK(res1)) {
12815 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12816 }
12817 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12818 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
12819 if (!SWIG_IsOK(res2)) {
12820 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
12821 }
12822 arg2 = reinterpret_cast< wxFrame * >(argp2);
12823 if (obj2) {
12824 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
12825 if (!SWIG_IsOK(res3)) {
12826 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
12827 }
12828 arg3 = reinterpret_cast< wxWindow * >(argp3);
12829 }
12830 {
12831 PyThreadState* __tstate = wxPyBeginAllowThreads();
12832 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
12833 wxPyEndAllowThreads(__tstate);
12834 if (PyErr_Occurred()) SWIG_fail;
12835 }
12836 {
12837 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12838 }
12839 return resultobj;
12840 fail:
12841 return NULL;
12842 }
12843
12844
12845 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12846 PyObject *resultobj = 0;
12847 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12848 wxWindow *arg2 = (wxWindow *) 0 ;
12849 wxWindow *arg3 = (wxWindow *) NULL ;
12850 bool result;
12851 void *argp1 = 0 ;
12852 int res1 = 0 ;
12853 void *argp2 = 0 ;
12854 int res2 = 0 ;
12855 void *argp3 = 0 ;
12856 int res3 = 0 ;
12857 PyObject * obj0 = 0 ;
12858 PyObject * obj1 = 0 ;
12859 PyObject * obj2 = 0 ;
12860 char * kwnames[] = {
12861 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
12862 };
12863
12864 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12865 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12866 if (!SWIG_IsOK(res1)) {
12867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12868 }
12869 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12870 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12871 if (!SWIG_IsOK(res2)) {
12872 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
12873 }
12874 arg2 = reinterpret_cast< wxWindow * >(argp2);
12875 if (obj2) {
12876 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
12877 if (!SWIG_IsOK(res3)) {
12878 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
12879 }
12880 arg3 = reinterpret_cast< wxWindow * >(argp3);
12881 }
12882 {
12883 PyThreadState* __tstate = wxPyBeginAllowThreads();
12884 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
12885 wxPyEndAllowThreads(__tstate);
12886 if (PyErr_Occurred()) SWIG_fail;
12887 }
12888 {
12889 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12890 }
12891 return resultobj;
12892 fail:
12893 return NULL;
12894 }
12895
12896
12897 SWIGINTERN PyObject *LayoutAlgorithm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12898 PyObject *obj;
12899 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12900 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm, SWIG_NewClientData(obj));
12901 return SWIG_Py_Void();
12902 }
12903
12904 SWIGINTERN PyObject *LayoutAlgorithm_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12905 return SWIG_Python_InitShadowInstance(args);
12906 }
12907
12908 SWIGINTERN PyObject *_wrap_new_PopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12909 PyObject *resultobj = 0;
12910 wxWindow *arg1 = (wxWindow *) 0 ;
12911 int arg2 = (int) wxBORDER_NONE ;
12912 wxPopupWindow *result = 0 ;
12913 void *argp1 = 0 ;
12914 int res1 = 0 ;
12915 int val2 ;
12916 int ecode2 = 0 ;
12917 PyObject * obj0 = 0 ;
12918 PyObject * obj1 = 0 ;
12919 char * kwnames[] = {
12920 (char *) "parent",(char *) "flags", NULL
12921 };
12922
12923 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) SWIG_fail;
12924 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12925 if (!SWIG_IsOK(res1)) {
12926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12927 }
12928 arg1 = reinterpret_cast< wxWindow * >(argp1);
12929 if (obj1) {
12930 ecode2 = SWIG_AsVal_int(obj1, &val2);
12931 if (!SWIG_IsOK(ecode2)) {
12932 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
12933 }
12934 arg2 = static_cast< int >(val2);
12935 }
12936 {
12937 if (!wxPyCheckForApp()) SWIG_fail;
12938 PyThreadState* __tstate = wxPyBeginAllowThreads();
12939 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
12940 wxPyEndAllowThreads(__tstate);
12941 if (PyErr_Occurred()) SWIG_fail;
12942 }
12943 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_NEW | 0 );
12944 return resultobj;
12945 fail:
12946 return NULL;
12947 }
12948
12949
12950 SWIGINTERN PyObject *_wrap_new_PrePopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12951 PyObject *resultobj = 0;
12952 wxPopupWindow *result = 0 ;
12953
12954 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupWindow",0,0,0)) SWIG_fail;
12955 {
12956 if (!wxPyCheckForApp()) SWIG_fail;
12957 PyThreadState* __tstate = wxPyBeginAllowThreads();
12958 result = (wxPopupWindow *)new wxPopupWindow();
12959 wxPyEndAllowThreads(__tstate);
12960 if (PyErr_Occurred()) SWIG_fail;
12961 }
12962 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
12963 return resultobj;
12964 fail:
12965 return NULL;
12966 }
12967
12968
12969 SWIGINTERN PyObject *_wrap_PopupWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12970 PyObject *resultobj = 0;
12971 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
12972 wxWindow *arg2 = (wxWindow *) 0 ;
12973 int arg3 = (int) wxBORDER_NONE ;
12974 bool result;
12975 void *argp1 = 0 ;
12976 int res1 = 0 ;
12977 void *argp2 = 0 ;
12978 int res2 = 0 ;
12979 int val3 ;
12980 int ecode3 = 0 ;
12981 PyObject * obj0 = 0 ;
12982 PyObject * obj1 = 0 ;
12983 PyObject * obj2 = 0 ;
12984 char * kwnames[] = {
12985 (char *) "self",(char *) "parent",(char *) "flags", NULL
12986 };
12987
12988 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12989 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
12990 if (!SWIG_IsOK(res1)) {
12991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
12992 }
12993 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
12994 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12995 if (!SWIG_IsOK(res2)) {
12996 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12997 }
12998 arg2 = reinterpret_cast< wxWindow * >(argp2);
12999 if (obj2) {
13000 ecode3 = SWIG_AsVal_int(obj2, &val3);
13001 if (!SWIG_IsOK(ecode3)) {
13002 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13003 }
13004 arg3 = static_cast< int >(val3);
13005 }
13006 {
13007 PyThreadState* __tstate = wxPyBeginAllowThreads();
13008 result = (bool)(arg1)->Create(arg2,arg3);
13009 wxPyEndAllowThreads(__tstate);
13010 if (PyErr_Occurred()) SWIG_fail;
13011 }
13012 {
13013 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13014 }
13015 return resultobj;
13016 fail:
13017 return NULL;
13018 }
13019
13020
13021 SWIGINTERN PyObject *_wrap_PopupWindow_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13022 PyObject *resultobj = 0;
13023 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13024 wxPoint *arg2 = 0 ;
13025 wxSize *arg3 = 0 ;
13026 void *argp1 = 0 ;
13027 int res1 = 0 ;
13028 wxPoint temp2 ;
13029 wxSize temp3 ;
13030 PyObject * obj0 = 0 ;
13031 PyObject * obj1 = 0 ;
13032 PyObject * obj2 = 0 ;
13033 char * kwnames[] = {
13034 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13035 };
13036
13037 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13038 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13039 if (!SWIG_IsOK(res1)) {
13040 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13041 }
13042 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13043 {
13044 arg2 = &temp2;
13045 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13046 }
13047 {
13048 arg3 = &temp3;
13049 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13050 }
13051 {
13052 PyThreadState* __tstate = wxPyBeginAllowThreads();
13053 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
13054 wxPyEndAllowThreads(__tstate);
13055 if (PyErr_Occurred()) SWIG_fail;
13056 }
13057 resultobj = SWIG_Py_Void();
13058 return resultobj;
13059 fail:
13060 return NULL;
13061 }
13062
13063
13064 SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13065 PyObject *obj;
13066 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13067 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
13068 return SWIG_Py_Void();
13069 }
13070
13071 SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13072 return SWIG_Python_InitShadowInstance(args);
13073 }
13074
13075 SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13076 PyObject *resultobj = 0;
13077 wxWindow *arg1 = (wxWindow *) 0 ;
13078 int arg2 = (int) wxBORDER_NONE ;
13079 wxPyPopupTransientWindow *result = 0 ;
13080 void *argp1 = 0 ;
13081 int res1 = 0 ;
13082 int val2 ;
13083 int ecode2 = 0 ;
13084 PyObject * obj0 = 0 ;
13085 PyObject * obj1 = 0 ;
13086 char * kwnames[] = {
13087 (char *) "parent",(char *) "style", NULL
13088 };
13089
13090 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13091 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13092 if (!SWIG_IsOK(res1)) {
13093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13094 }
13095 arg1 = reinterpret_cast< wxWindow * >(argp1);
13096 if (obj1) {
13097 ecode2 = SWIG_AsVal_int(obj1, &val2);
13098 if (!SWIG_IsOK(ecode2)) {
13099 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13100 }
13101 arg2 = static_cast< int >(val2);
13102 }
13103 {
13104 if (!wxPyCheckForApp()) SWIG_fail;
13105 PyThreadState* __tstate = wxPyBeginAllowThreads();
13106 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13107 wxPyEndAllowThreads(__tstate);
13108 if (PyErr_Occurred()) SWIG_fail;
13109 }
13110 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13111 return resultobj;
13112 fail:
13113 return NULL;
13114 }
13115
13116
13117 SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13118 PyObject *resultobj = 0;
13119 wxPyPopupTransientWindow *result = 0 ;
13120
13121 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13122 {
13123 if (!wxPyCheckForApp()) SWIG_fail;
13124 PyThreadState* __tstate = wxPyBeginAllowThreads();
13125 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13126 wxPyEndAllowThreads(__tstate);
13127 if (PyErr_Occurred()) SWIG_fail;
13128 }
13129 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13130 return resultobj;
13131 fail:
13132 return NULL;
13133 }
13134
13135
13136 SWIGINTERN PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13137 PyObject *resultobj = 0;
13138 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13139 PyObject *arg2 = (PyObject *) 0 ;
13140 PyObject *arg3 = (PyObject *) 0 ;
13141 void *argp1 = 0 ;
13142 int res1 = 0 ;
13143 PyObject * obj0 = 0 ;
13144 PyObject * obj1 = 0 ;
13145 PyObject * obj2 = 0 ;
13146 char * kwnames[] = {
13147 (char *) "self",(char *) "self",(char *) "_class", NULL
13148 };
13149
13150 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13151 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13152 if (!SWIG_IsOK(res1)) {
13153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13154 }
13155 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13156 arg2 = obj1;
13157 arg3 = obj2;
13158 {
13159 PyThreadState* __tstate = wxPyBeginAllowThreads();
13160 (arg1)->_setCallbackInfo(arg2,arg3);
13161 wxPyEndAllowThreads(__tstate);
13162 if (PyErr_Occurred()) SWIG_fail;
13163 }
13164 resultobj = SWIG_Py_Void();
13165 return resultobj;
13166 fail:
13167 return NULL;
13168 }
13169
13170
13171 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Popup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13172 PyObject *resultobj = 0;
13173 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13174 wxWindow *arg2 = (wxWindow *) NULL ;
13175 void *argp1 = 0 ;
13176 int res1 = 0 ;
13177 void *argp2 = 0 ;
13178 int res2 = 0 ;
13179 PyObject * obj0 = 0 ;
13180 PyObject * obj1 = 0 ;
13181 char * kwnames[] = {
13182 (char *) "self",(char *) "focus", NULL
13183 };
13184
13185 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) SWIG_fail;
13186 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13187 if (!SWIG_IsOK(res1)) {
13188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13189 }
13190 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13191 if (obj1) {
13192 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13193 if (!SWIG_IsOK(res2)) {
13194 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13195 }
13196 arg2 = reinterpret_cast< wxWindow * >(argp2);
13197 }
13198 {
13199 PyThreadState* __tstate = wxPyBeginAllowThreads();
13200 (arg1)->Popup(arg2);
13201 wxPyEndAllowThreads(__tstate);
13202 if (PyErr_Occurred()) SWIG_fail;
13203 }
13204 resultobj = SWIG_Py_Void();
13205 return resultobj;
13206 fail:
13207 return NULL;
13208 }
13209
13210
13211 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13212 PyObject *resultobj = 0;
13213 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13214 void *argp1 = 0 ;
13215 int res1 = 0 ;
13216 PyObject *swig_obj[1] ;
13217
13218 if (!args) SWIG_fail;
13219 swig_obj[0] = args;
13220 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13221 if (!SWIG_IsOK(res1)) {
13222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13223 }
13224 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13225 {
13226 PyThreadState* __tstate = wxPyBeginAllowThreads();
13227 (arg1)->Dismiss();
13228 wxPyEndAllowThreads(__tstate);
13229 if (PyErr_Occurred()) SWIG_fail;
13230 }
13231 resultobj = SWIG_Py_Void();
13232 return resultobj;
13233 fail:
13234 return NULL;
13235 }
13236
13237
13238 SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13239 PyObject *obj;
13240 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13241 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13242 return SWIG_Py_Void();
13243 }
13244
13245 SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13246 return SWIG_Python_InitShadowInstance(args);
13247 }
13248
13249 SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13250 PyObject *resultobj = 0;
13251 wxWindow *arg1 = (wxWindow *) 0 ;
13252 wxString *arg2 = 0 ;
13253 int arg3 = (int) 100 ;
13254 wxRect *arg4 = (wxRect *) NULL ;
13255 wxTipWindow *result = 0 ;
13256 void *argp1 = 0 ;
13257 int res1 = 0 ;
13258 bool temp2 = false ;
13259 int val3 ;
13260 int ecode3 = 0 ;
13261 void *argp4 = 0 ;
13262 int res4 = 0 ;
13263 PyObject * obj0 = 0 ;
13264 PyObject * obj1 = 0 ;
13265 PyObject * obj2 = 0 ;
13266 PyObject * obj3 = 0 ;
13267 char * kwnames[] = {
13268 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13269 };
13270
13271 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13272 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13273 if (!SWIG_IsOK(res1)) {
13274 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13275 }
13276 arg1 = reinterpret_cast< wxWindow * >(argp1);
13277 {
13278 arg2 = wxString_in_helper(obj1);
13279 if (arg2 == NULL) SWIG_fail;
13280 temp2 = true;
13281 }
13282 if (obj2) {
13283 ecode3 = SWIG_AsVal_int(obj2, &val3);
13284 if (!SWIG_IsOK(ecode3)) {
13285 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13286 }
13287 arg3 = static_cast< int >(val3);
13288 }
13289 if (obj3) {
13290 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13291 if (!SWIG_IsOK(res4)) {
13292 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13293 }
13294 arg4 = reinterpret_cast< wxRect * >(argp4);
13295 }
13296 {
13297 if (!wxPyCheckForApp()) SWIG_fail;
13298 PyThreadState* __tstate = wxPyBeginAllowThreads();
13299 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13300 wxPyEndAllowThreads(__tstate);
13301 if (PyErr_Occurred()) SWIG_fail;
13302 }
13303 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13304 {
13305 if (temp2)
13306 delete arg2;
13307 }
13308 return resultobj;
13309 fail:
13310 {
13311 if (temp2)
13312 delete arg2;
13313 }
13314 return NULL;
13315 }
13316
13317
13318 SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13319 PyObject *resultobj = 0;
13320 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13321 wxRect *arg2 = 0 ;
13322 void *argp1 = 0 ;
13323 int res1 = 0 ;
13324 wxRect temp2 ;
13325 PyObject * obj0 = 0 ;
13326 PyObject * obj1 = 0 ;
13327 char * kwnames[] = {
13328 (char *) "self",(char *) "rectBound", NULL
13329 };
13330
13331 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13332 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13333 if (!SWIG_IsOK(res1)) {
13334 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13335 }
13336 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13337 {
13338 arg2 = &temp2;
13339 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13340 }
13341 {
13342 PyThreadState* __tstate = wxPyBeginAllowThreads();
13343 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13344 wxPyEndAllowThreads(__tstate);
13345 if (PyErr_Occurred()) SWIG_fail;
13346 }
13347 resultobj = SWIG_Py_Void();
13348 return resultobj;
13349 fail:
13350 return NULL;
13351 }
13352
13353
13354 SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13355 PyObject *resultobj = 0;
13356 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13357 void *argp1 = 0 ;
13358 int res1 = 0 ;
13359 PyObject *swig_obj[1] ;
13360
13361 if (!args) SWIG_fail;
13362 swig_obj[0] = args;
13363 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13364 if (!SWIG_IsOK(res1)) {
13365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13366 }
13367 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13368 {
13369 PyThreadState* __tstate = wxPyBeginAllowThreads();
13370 (arg1)->Close();
13371 wxPyEndAllowThreads(__tstate);
13372 if (PyErr_Occurred()) SWIG_fail;
13373 }
13374 resultobj = SWIG_Py_Void();
13375 return resultobj;
13376 fail:
13377 return NULL;
13378 }
13379
13380
13381 SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13382 PyObject *obj;
13383 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13384 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13385 return SWIG_Py_Void();
13386 }
13387
13388 SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13389 return SWIG_Python_InitShadowInstance(args);
13390 }
13391
13392 SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13393 PyObject *resultobj = 0;
13394 wxWindow *arg1 = (wxWindow *) 0 ;
13395 int arg2 = (int) wxID_ANY ;
13396 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13397 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13398 wxSize const &arg4_defvalue = wxDefaultSize ;
13399 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13400 long arg5 = (long) 0 ;
13401 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13402 wxString *arg6 = (wxString *) &arg6_defvalue ;
13403 wxPyVScrolledWindow *result = 0 ;
13404 void *argp1 = 0 ;
13405 int res1 = 0 ;
13406 int val2 ;
13407 int ecode2 = 0 ;
13408 wxPoint temp3 ;
13409 wxSize temp4 ;
13410 long val5 ;
13411 int ecode5 = 0 ;
13412 bool temp6 = false ;
13413 PyObject * obj0 = 0 ;
13414 PyObject * obj1 = 0 ;
13415 PyObject * obj2 = 0 ;
13416 PyObject * obj3 = 0 ;
13417 PyObject * obj4 = 0 ;
13418 PyObject * obj5 = 0 ;
13419 char * kwnames[] = {
13420 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13421 };
13422
13423 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
13424 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13425 if (!SWIG_IsOK(res1)) {
13426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13427 }
13428 arg1 = reinterpret_cast< wxWindow * >(argp1);
13429 if (obj1) {
13430 ecode2 = SWIG_AsVal_int(obj1, &val2);
13431 if (!SWIG_IsOK(ecode2)) {
13432 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13433 }
13434 arg2 = static_cast< int >(val2);
13435 }
13436 if (obj2) {
13437 {
13438 arg3 = &temp3;
13439 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13440 }
13441 }
13442 if (obj3) {
13443 {
13444 arg4 = &temp4;
13445 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13446 }
13447 }
13448 if (obj4) {
13449 ecode5 = SWIG_AsVal_long(obj4, &val5);
13450 if (!SWIG_IsOK(ecode5)) {
13451 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13452 }
13453 arg5 = static_cast< long >(val5);
13454 }
13455 if (obj5) {
13456 {
13457 arg6 = wxString_in_helper(obj5);
13458 if (arg6 == NULL) SWIG_fail;
13459 temp6 = true;
13460 }
13461 }
13462 {
13463 if (!wxPyCheckForApp()) SWIG_fail;
13464 PyThreadState* __tstate = wxPyBeginAllowThreads();
13465 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13466 wxPyEndAllowThreads(__tstate);
13467 if (PyErr_Occurred()) SWIG_fail;
13468 }
13469 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
13470 {
13471 if (temp6)
13472 delete arg6;
13473 }
13474 return resultobj;
13475 fail:
13476 {
13477 if (temp6)
13478 delete arg6;
13479 }
13480 return NULL;
13481 }
13482
13483
13484 SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13485 PyObject *resultobj = 0;
13486 wxPyVScrolledWindow *result = 0 ;
13487
13488 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
13489 {
13490 if (!wxPyCheckForApp()) SWIG_fail;
13491 PyThreadState* __tstate = wxPyBeginAllowThreads();
13492 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
13493 wxPyEndAllowThreads(__tstate);
13494 if (PyErr_Occurred()) SWIG_fail;
13495 }
13496 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
13497 return resultobj;
13498 fail:
13499 return NULL;
13500 }
13501
13502
13503 SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13504 PyObject *resultobj = 0;
13505 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13506 PyObject *arg2 = (PyObject *) 0 ;
13507 PyObject *arg3 = (PyObject *) 0 ;
13508 void *argp1 = 0 ;
13509 int res1 = 0 ;
13510 PyObject * obj0 = 0 ;
13511 PyObject * obj1 = 0 ;
13512 PyObject * obj2 = 0 ;
13513 char * kwnames[] = {
13514 (char *) "self",(char *) "self",(char *) "_class", NULL
13515 };
13516
13517 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13518 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13519 if (!SWIG_IsOK(res1)) {
13520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13521 }
13522 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13523 arg2 = obj1;
13524 arg3 = obj2;
13525 {
13526 PyThreadState* __tstate = wxPyBeginAllowThreads();
13527 (arg1)->_setCallbackInfo(arg2,arg3);
13528 wxPyEndAllowThreads(__tstate);
13529 if (PyErr_Occurred()) SWIG_fail;
13530 }
13531 resultobj = SWIG_Py_Void();
13532 return resultobj;
13533 fail:
13534 return NULL;
13535 }
13536
13537
13538 SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13539 PyObject *resultobj = 0;
13540 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13541 wxWindow *arg2 = (wxWindow *) 0 ;
13542 int arg3 = (int) wxID_ANY ;
13543 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13544 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13545 wxSize const &arg5_defvalue = wxDefaultSize ;
13546 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13547 long arg6 = (long) 0 ;
13548 wxString const &arg7_defvalue = wxPyPanelNameStr ;
13549 wxString *arg7 = (wxString *) &arg7_defvalue ;
13550 bool result;
13551 void *argp1 = 0 ;
13552 int res1 = 0 ;
13553 void *argp2 = 0 ;
13554 int res2 = 0 ;
13555 int val3 ;
13556 int ecode3 = 0 ;
13557 wxPoint temp4 ;
13558 wxSize temp5 ;
13559 long val6 ;
13560 int ecode6 = 0 ;
13561 bool temp7 = false ;
13562 PyObject * obj0 = 0 ;
13563 PyObject * obj1 = 0 ;
13564 PyObject * obj2 = 0 ;
13565 PyObject * obj3 = 0 ;
13566 PyObject * obj4 = 0 ;
13567 PyObject * obj5 = 0 ;
13568 PyObject * obj6 = 0 ;
13569 char * kwnames[] = {
13570 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13571 };
13572
13573 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
13574 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13575 if (!SWIG_IsOK(res1)) {
13576 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13577 }
13578 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13579 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13580 if (!SWIG_IsOK(res2)) {
13581 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13582 }
13583 arg2 = reinterpret_cast< wxWindow * >(argp2);
13584 if (obj2) {
13585 ecode3 = SWIG_AsVal_int(obj2, &val3);
13586 if (!SWIG_IsOK(ecode3)) {
13587 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13588 }
13589 arg3 = static_cast< int >(val3);
13590 }
13591 if (obj3) {
13592 {
13593 arg4 = &temp4;
13594 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13595 }
13596 }
13597 if (obj4) {
13598 {
13599 arg5 = &temp5;
13600 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13601 }
13602 }
13603 if (obj5) {
13604 ecode6 = SWIG_AsVal_long(obj5, &val6);
13605 if (!SWIG_IsOK(ecode6)) {
13606 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13607 }
13608 arg6 = static_cast< long >(val6);
13609 }
13610 if (obj6) {
13611 {
13612 arg7 = wxString_in_helper(obj6);
13613 if (arg7 == NULL) SWIG_fail;
13614 temp7 = true;
13615 }
13616 }
13617 {
13618 PyThreadState* __tstate = wxPyBeginAllowThreads();
13619 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13620 wxPyEndAllowThreads(__tstate);
13621 if (PyErr_Occurred()) SWIG_fail;
13622 }
13623 {
13624 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13625 }
13626 {
13627 if (temp7)
13628 delete arg7;
13629 }
13630 return resultobj;
13631 fail:
13632 {
13633 if (temp7)
13634 delete arg7;
13635 }
13636 return NULL;
13637 }
13638
13639
13640 SWIGINTERN PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13641 PyObject *resultobj = 0;
13642 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13643 size_t arg2 ;
13644 void *argp1 = 0 ;
13645 int res1 = 0 ;
13646 size_t val2 ;
13647 int ecode2 = 0 ;
13648 PyObject * obj0 = 0 ;
13649 PyObject * obj1 = 0 ;
13650 char * kwnames[] = {
13651 (char *) "self",(char *) "count", NULL
13652 };
13653
13654 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) SWIG_fail;
13655 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13656 if (!SWIG_IsOK(res1)) {
13657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13658 }
13659 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13660 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13661 if (!SWIG_IsOK(ecode2)) {
13662 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13663 }
13664 arg2 = static_cast< size_t >(val2);
13665 {
13666 PyThreadState* __tstate = wxPyBeginAllowThreads();
13667 (arg1)->SetLineCount(arg2);
13668 wxPyEndAllowThreads(__tstate);
13669 if (PyErr_Occurred()) SWIG_fail;
13670 }
13671 resultobj = SWIG_Py_Void();
13672 return resultobj;
13673 fail:
13674 return NULL;
13675 }
13676
13677
13678 SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13679 PyObject *resultobj = 0;
13680 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13681 size_t arg2 ;
13682 bool result;
13683 void *argp1 = 0 ;
13684 int res1 = 0 ;
13685 size_t val2 ;
13686 int ecode2 = 0 ;
13687 PyObject * obj0 = 0 ;
13688 PyObject * obj1 = 0 ;
13689 char * kwnames[] = {
13690 (char *) "self",(char *) "line", NULL
13691 };
13692
13693 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
13694 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13695 if (!SWIG_IsOK(res1)) {
13696 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13697 }
13698 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13699 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13700 if (!SWIG_IsOK(ecode2)) {
13701 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13702 }
13703 arg2 = static_cast< size_t >(val2);
13704 {
13705 PyThreadState* __tstate = wxPyBeginAllowThreads();
13706 result = (bool)(arg1)->ScrollToLine(arg2);
13707 wxPyEndAllowThreads(__tstate);
13708 if (PyErr_Occurred()) SWIG_fail;
13709 }
13710 {
13711 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13712 }
13713 return resultobj;
13714 fail:
13715 return NULL;
13716 }
13717
13718
13719 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13720 PyObject *resultobj = 0;
13721 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13722 size_t arg2 ;
13723 void *argp1 = 0 ;
13724 int res1 = 0 ;
13725 size_t val2 ;
13726 int ecode2 = 0 ;
13727 PyObject * obj0 = 0 ;
13728 PyObject * obj1 = 0 ;
13729 char * kwnames[] = {
13730 (char *) "self",(char *) "line", NULL
13731 };
13732
13733 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) SWIG_fail;
13734 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13735 if (!SWIG_IsOK(res1)) {
13736 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13737 }
13738 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13739 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13740 if (!SWIG_IsOK(ecode2)) {
13741 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13742 }
13743 arg2 = static_cast< size_t >(val2);
13744 {
13745 PyThreadState* __tstate = wxPyBeginAllowThreads();
13746 (arg1)->RefreshLine(arg2);
13747 wxPyEndAllowThreads(__tstate);
13748 if (PyErr_Occurred()) SWIG_fail;
13749 }
13750 resultobj = SWIG_Py_Void();
13751 return resultobj;
13752 fail:
13753 return NULL;
13754 }
13755
13756
13757 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13758 PyObject *resultobj = 0;
13759 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13760 size_t arg2 ;
13761 size_t arg3 ;
13762 void *argp1 = 0 ;
13763 int res1 = 0 ;
13764 size_t val2 ;
13765 int ecode2 = 0 ;
13766 size_t val3 ;
13767 int ecode3 = 0 ;
13768 PyObject * obj0 = 0 ;
13769 PyObject * obj1 = 0 ;
13770 PyObject * obj2 = 0 ;
13771 char * kwnames[] = {
13772 (char *) "self",(char *) "from",(char *) "to", NULL
13773 };
13774
13775 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13776 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13777 if (!SWIG_IsOK(res1)) {
13778 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13779 }
13780 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13781 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13782 if (!SWIG_IsOK(ecode2)) {
13783 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13784 }
13785 arg2 = static_cast< size_t >(val2);
13786 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
13787 if (!SWIG_IsOK(ecode3)) {
13788 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13789 }
13790 arg3 = static_cast< size_t >(val3);
13791 {
13792 PyThreadState* __tstate = wxPyBeginAllowThreads();
13793 (arg1)->RefreshLines(arg2,arg3);
13794 wxPyEndAllowThreads(__tstate);
13795 if (PyErr_Occurred()) SWIG_fail;
13796 }
13797 resultobj = SWIG_Py_Void();
13798 return resultobj;
13799 fail:
13800 return NULL;
13801 }
13802
13803
13804 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13805 PyObject *resultobj = 0;
13806 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13807 int arg2 ;
13808 int arg3 ;
13809 int result;
13810 void *argp1 = 0 ;
13811 int res1 = 0 ;
13812 int val2 ;
13813 int ecode2 = 0 ;
13814 int val3 ;
13815 int ecode3 = 0 ;
13816 PyObject * obj0 = 0 ;
13817 PyObject * obj1 = 0 ;
13818 PyObject * obj2 = 0 ;
13819 char * kwnames[] = {
13820 (char *) "self",(char *) "x",(char *) "y", NULL
13821 };
13822
13823 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13824 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13825 if (!SWIG_IsOK(res1)) {
13826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13827 }
13828 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13829 ecode2 = SWIG_AsVal_int(obj1, &val2);
13830 if (!SWIG_IsOK(ecode2)) {
13831 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13832 }
13833 arg2 = static_cast< int >(val2);
13834 ecode3 = SWIG_AsVal_int(obj2, &val3);
13835 if (!SWIG_IsOK(ecode3)) {
13836 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13837 }
13838 arg3 = static_cast< int >(val3);
13839 {
13840 PyThreadState* __tstate = wxPyBeginAllowThreads();
13841 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
13842 wxPyEndAllowThreads(__tstate);
13843 if (PyErr_Occurred()) SWIG_fail;
13844 }
13845 resultobj = SWIG_From_int(static_cast< int >(result));
13846 return resultobj;
13847 fail:
13848 return NULL;
13849 }
13850
13851
13852 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13853 PyObject *resultobj = 0;
13854 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13855 wxPoint *arg2 = 0 ;
13856 int result;
13857 void *argp1 = 0 ;
13858 int res1 = 0 ;
13859 wxPoint temp2 ;
13860 PyObject * obj0 = 0 ;
13861 PyObject * obj1 = 0 ;
13862 char * kwnames[] = {
13863 (char *) "self",(char *) "pt", NULL
13864 };
13865
13866 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
13867 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13868 if (!SWIG_IsOK(res1)) {
13869 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13870 }
13871 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13872 {
13873 arg2 = &temp2;
13874 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13875 }
13876 {
13877 PyThreadState* __tstate = wxPyBeginAllowThreads();
13878 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
13879 wxPyEndAllowThreads(__tstate);
13880 if (PyErr_Occurred()) SWIG_fail;
13881 }
13882 resultobj = SWIG_From_int(static_cast< int >(result));
13883 return resultobj;
13884 fail:
13885 return NULL;
13886 }
13887
13888
13889 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13890 PyObject *resultobj = 0;
13891 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13892 void *argp1 = 0 ;
13893 int res1 = 0 ;
13894 PyObject *swig_obj[1] ;
13895
13896 if (!args) SWIG_fail;
13897 swig_obj[0] = args;
13898 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13899 if (!SWIG_IsOK(res1)) {
13900 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13901 }
13902 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13903 {
13904 PyThreadState* __tstate = wxPyBeginAllowThreads();
13905 (arg1)->RefreshAll();
13906 wxPyEndAllowThreads(__tstate);
13907 if (PyErr_Occurred()) SWIG_fail;
13908 }
13909 resultobj = SWIG_Py_Void();
13910 return resultobj;
13911 fail:
13912 return NULL;
13913 }
13914
13915
13916 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13917 PyObject *resultobj = 0;
13918 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13919 size_t result;
13920 void *argp1 = 0 ;
13921 int res1 = 0 ;
13922 PyObject *swig_obj[1] ;
13923
13924 if (!args) SWIG_fail;
13925 swig_obj[0] = args;
13926 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13927 if (!SWIG_IsOK(res1)) {
13928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13929 }
13930 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13931 {
13932 PyThreadState* __tstate = wxPyBeginAllowThreads();
13933 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
13934 wxPyEndAllowThreads(__tstate);
13935 if (PyErr_Occurred()) SWIG_fail;
13936 }
13937 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13938 return resultobj;
13939 fail:
13940 return NULL;
13941 }
13942
13943
13944 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13945 PyObject *resultobj = 0;
13946 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13947 size_t result;
13948 void *argp1 = 0 ;
13949 int res1 = 0 ;
13950 PyObject *swig_obj[1] ;
13951
13952 if (!args) SWIG_fail;
13953 swig_obj[0] = args;
13954 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13955 if (!SWIG_IsOK(res1)) {
13956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13957 }
13958 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13959 {
13960 PyThreadState* __tstate = wxPyBeginAllowThreads();
13961 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
13962 wxPyEndAllowThreads(__tstate);
13963 if (PyErr_Occurred()) SWIG_fail;
13964 }
13965 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13966 return resultobj;
13967 fail:
13968 return NULL;
13969 }
13970
13971
13972 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13973 PyObject *resultobj = 0;
13974 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13975 size_t result;
13976 void *argp1 = 0 ;
13977 int res1 = 0 ;
13978 PyObject *swig_obj[1] ;
13979
13980 if (!args) SWIG_fail;
13981 swig_obj[0] = args;
13982 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13983 if (!SWIG_IsOK(res1)) {
13984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13985 }
13986 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13987 {
13988 PyThreadState* __tstate = wxPyBeginAllowThreads();
13989 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
13990 wxPyEndAllowThreads(__tstate);
13991 if (PyErr_Occurred()) SWIG_fail;
13992 }
13993 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13994 return resultobj;
13995 fail:
13996 return NULL;
13997 }
13998
13999
14000 SWIGINTERN PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14001 PyObject *resultobj = 0;
14002 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14003 size_t arg2 ;
14004 bool result;
14005 void *argp1 = 0 ;
14006 int res1 = 0 ;
14007 size_t val2 ;
14008 int ecode2 = 0 ;
14009 PyObject * obj0 = 0 ;
14010 PyObject * obj1 = 0 ;
14011 char * kwnames[] = {
14012 (char *) "self",(char *) "line", NULL
14013 };
14014
14015 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
14016 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14017 if (!SWIG_IsOK(res1)) {
14018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14019 }
14020 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14021 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14022 if (!SWIG_IsOK(ecode2)) {
14023 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14024 }
14025 arg2 = static_cast< size_t >(val2);
14026 {
14027 PyThreadState* __tstate = wxPyBeginAllowThreads();
14028 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
14029 wxPyEndAllowThreads(__tstate);
14030 if (PyErr_Occurred()) SWIG_fail;
14031 }
14032 {
14033 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14034 }
14035 return resultobj;
14036 fail:
14037 return NULL;
14038 }
14039
14040
14041 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14042 PyObject *resultobj = 0;
14043 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14044 size_t result;
14045 void *argp1 = 0 ;
14046 int res1 = 0 ;
14047 PyObject *swig_obj[1] ;
14048
14049 if (!args) SWIG_fail;
14050 swig_obj[0] = args;
14051 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14052 if (!SWIG_IsOK(res1)) {
14053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14054 }
14055 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14056 {
14057 PyThreadState* __tstate = wxPyBeginAllowThreads();
14058 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
14059 wxPyEndAllowThreads(__tstate);
14060 if (PyErr_Occurred()) SWIG_fail;
14061 }
14062 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14063 return resultobj;
14064 fail:
14065 return NULL;
14066 }
14067
14068
14069 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14070 PyObject *resultobj = 0;
14071 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14072 size_t result;
14073 void *argp1 = 0 ;
14074 int res1 = 0 ;
14075 PyObject *swig_obj[1] ;
14076
14077 if (!args) SWIG_fail;
14078 swig_obj[0] = args;
14079 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14080 if (!SWIG_IsOK(res1)) {
14081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14082 }
14083 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14084 {
14085 PyThreadState* __tstate = wxPyBeginAllowThreads();
14086 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
14087 wxPyEndAllowThreads(__tstate);
14088 if (PyErr_Occurred()) SWIG_fail;
14089 }
14090 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14091 return resultobj;
14092 fail:
14093 return NULL;
14094 }
14095
14096
14097 SWIGINTERN PyObject *_wrap_VScrolledWindow_FindFirstFromBottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14098 PyObject *resultobj = 0;
14099 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14100 size_t arg2 ;
14101 bool arg3 = (bool) false ;
14102 size_t result;
14103 void *argp1 = 0 ;
14104 int res1 = 0 ;
14105 size_t val2 ;
14106 int ecode2 = 0 ;
14107 bool val3 ;
14108 int ecode3 = 0 ;
14109 PyObject * obj0 = 0 ;
14110 PyObject * obj1 = 0 ;
14111 PyObject * obj2 = 0 ;
14112 char * kwnames[] = {
14113 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14114 };
14115
14116 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14117 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14118 if (!SWIG_IsOK(res1)) {
14119 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14120 }
14121 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14122 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14123 if (!SWIG_IsOK(ecode2)) {
14124 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14125 }
14126 arg2 = static_cast< size_t >(val2);
14127 if (obj2) {
14128 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14129 if (!SWIG_IsOK(ecode3)) {
14130 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14131 }
14132 arg3 = static_cast< bool >(val3);
14133 }
14134 {
14135 PyThreadState* __tstate = wxPyBeginAllowThreads();
14136 result = (size_t)(arg1)->FindFirstFromBottom(arg2,arg3);
14137 wxPyEndAllowThreads(__tstate);
14138 if (PyErr_Occurred()) SWIG_fail;
14139 }
14140 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14141 return resultobj;
14142 fail:
14143 return NULL;
14144 }
14145
14146
14147 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLinesHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14148 PyObject *resultobj = 0;
14149 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14150 size_t arg2 ;
14151 size_t arg3 ;
14152 int result;
14153 void *argp1 = 0 ;
14154 int res1 = 0 ;
14155 size_t val2 ;
14156 int ecode2 = 0 ;
14157 size_t val3 ;
14158 int ecode3 = 0 ;
14159 PyObject * obj0 = 0 ;
14160 PyObject * obj1 = 0 ;
14161 PyObject * obj2 = 0 ;
14162 char * kwnames[] = {
14163 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14164 };
14165
14166 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14167 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14168 if (!SWIG_IsOK(res1)) {
14169 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14170 }
14171 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14172 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14173 if (!SWIG_IsOK(ecode2)) {
14174 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14175 }
14176 arg2 = static_cast< size_t >(val2);
14177 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14178 if (!SWIG_IsOK(ecode3)) {
14179 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14180 }
14181 arg3 = static_cast< size_t >(val3);
14182 {
14183 PyThreadState* __tstate = wxPyBeginAllowThreads();
14184 result = (int)((wxPyVScrolledWindow const *)arg1)->GetLinesHeight(arg2,arg3);
14185 wxPyEndAllowThreads(__tstate);
14186 if (PyErr_Occurred()) SWIG_fail;
14187 }
14188 resultobj = SWIG_From_int(static_cast< int >(result));
14189 return resultobj;
14190 fail:
14191 return NULL;
14192 }
14193
14194
14195 SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14196 PyObject *obj;
14197 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14198 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
14199 return SWIG_Py_Void();
14200 }
14201
14202 SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14203 return SWIG_Python_InitShadowInstance(args);
14204 }
14205
14206 SWIGINTERN int VListBoxNameStr_set(PyObject *) {
14207 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
14208 return 1;
14209 }
14210
14211
14212 SWIGINTERN PyObject *VListBoxNameStr_get(void) {
14213 PyObject *pyobj = 0;
14214
14215 {
14216 #if wxUSE_UNICODE
14217 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14218 #else
14219 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14220 #endif
14221 }
14222 return pyobj;
14223 }
14224
14225
14226 SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14227 PyObject *resultobj = 0;
14228 wxWindow *arg1 = (wxWindow *) 0 ;
14229 int arg2 = (int) wxID_ANY ;
14230 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14231 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14232 wxSize const &arg4_defvalue = wxDefaultSize ;
14233 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14234 long arg5 = (long) 0 ;
14235 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
14236 wxString *arg6 = (wxString *) &arg6_defvalue ;
14237 wxPyVListBox *result = 0 ;
14238 void *argp1 = 0 ;
14239 int res1 = 0 ;
14240 int val2 ;
14241 int ecode2 = 0 ;
14242 wxPoint temp3 ;
14243 wxSize temp4 ;
14244 long val5 ;
14245 int ecode5 = 0 ;
14246 bool temp6 = false ;
14247 PyObject * obj0 = 0 ;
14248 PyObject * obj1 = 0 ;
14249 PyObject * obj2 = 0 ;
14250 PyObject * obj3 = 0 ;
14251 PyObject * obj4 = 0 ;
14252 PyObject * obj5 = 0 ;
14253 char * kwnames[] = {
14254 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14255 };
14256
14257 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14258 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14259 if (!SWIG_IsOK(res1)) {
14260 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14261 }
14262 arg1 = reinterpret_cast< wxWindow * >(argp1);
14263 if (obj1) {
14264 ecode2 = SWIG_AsVal_int(obj1, &val2);
14265 if (!SWIG_IsOK(ecode2)) {
14266 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14267 }
14268 arg2 = static_cast< int >(val2);
14269 }
14270 if (obj2) {
14271 {
14272 arg3 = &temp3;
14273 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14274 }
14275 }
14276 if (obj3) {
14277 {
14278 arg4 = &temp4;
14279 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14280 }
14281 }
14282 if (obj4) {
14283 ecode5 = SWIG_AsVal_long(obj4, &val5);
14284 if (!SWIG_IsOK(ecode5)) {
14285 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14286 }
14287 arg5 = static_cast< long >(val5);
14288 }
14289 if (obj5) {
14290 {
14291 arg6 = wxString_in_helper(obj5);
14292 if (arg6 == NULL) SWIG_fail;
14293 temp6 = true;
14294 }
14295 }
14296 {
14297 if (!wxPyCheckForApp()) SWIG_fail;
14298 PyThreadState* __tstate = wxPyBeginAllowThreads();
14299 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14300 wxPyEndAllowThreads(__tstate);
14301 if (PyErr_Occurred()) SWIG_fail;
14302 }
14303 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
14304 {
14305 if (temp6)
14306 delete arg6;
14307 }
14308 return resultobj;
14309 fail:
14310 {
14311 if (temp6)
14312 delete arg6;
14313 }
14314 return NULL;
14315 }
14316
14317
14318 SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14319 PyObject *resultobj = 0;
14320 wxPyVListBox *result = 0 ;
14321
14322 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
14323 {
14324 if (!wxPyCheckForApp()) SWIG_fail;
14325 PyThreadState* __tstate = wxPyBeginAllowThreads();
14326 result = (wxPyVListBox *)new wxPyVListBox();
14327 wxPyEndAllowThreads(__tstate);
14328 if (PyErr_Occurred()) SWIG_fail;
14329 }
14330 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
14331 return resultobj;
14332 fail:
14333 return NULL;
14334 }
14335
14336
14337 SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14338 PyObject *resultobj = 0;
14339 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14340 PyObject *arg2 = (PyObject *) 0 ;
14341 PyObject *arg3 = (PyObject *) 0 ;
14342 void *argp1 = 0 ;
14343 int res1 = 0 ;
14344 PyObject * obj0 = 0 ;
14345 PyObject * obj1 = 0 ;
14346 PyObject * obj2 = 0 ;
14347 char * kwnames[] = {
14348 (char *) "self",(char *) "self",(char *) "_class", NULL
14349 };
14350
14351 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14352 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14353 if (!SWIG_IsOK(res1)) {
14354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14355 }
14356 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14357 arg2 = obj1;
14358 arg3 = obj2;
14359 {
14360 PyThreadState* __tstate = wxPyBeginAllowThreads();
14361 (arg1)->_setCallbackInfo(arg2,arg3);
14362 wxPyEndAllowThreads(__tstate);
14363 if (PyErr_Occurred()) SWIG_fail;
14364 }
14365 resultobj = SWIG_Py_Void();
14366 return resultobj;
14367 fail:
14368 return NULL;
14369 }
14370
14371
14372 SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14373 PyObject *resultobj = 0;
14374 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14375 wxWindow *arg2 = (wxWindow *) 0 ;
14376 int arg3 = (int) wxID_ANY ;
14377 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14378 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14379 wxSize const &arg5_defvalue = wxDefaultSize ;
14380 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14381 long arg6 = (long) 0 ;
14382 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
14383 wxString *arg7 = (wxString *) &arg7_defvalue ;
14384 bool result;
14385 void *argp1 = 0 ;
14386 int res1 = 0 ;
14387 void *argp2 = 0 ;
14388 int res2 = 0 ;
14389 int val3 ;
14390 int ecode3 = 0 ;
14391 wxPoint temp4 ;
14392 wxSize temp5 ;
14393 long val6 ;
14394 int ecode6 = 0 ;
14395 bool temp7 = false ;
14396 PyObject * obj0 = 0 ;
14397 PyObject * obj1 = 0 ;
14398 PyObject * obj2 = 0 ;
14399 PyObject * obj3 = 0 ;
14400 PyObject * obj4 = 0 ;
14401 PyObject * obj5 = 0 ;
14402 PyObject * obj6 = 0 ;
14403 char * kwnames[] = {
14404 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14405 };
14406
14407 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14408 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14409 if (!SWIG_IsOK(res1)) {
14410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14411 }
14412 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14413 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14414 if (!SWIG_IsOK(res2)) {
14415 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14416 }
14417 arg2 = reinterpret_cast< wxWindow * >(argp2);
14418 if (obj2) {
14419 ecode3 = SWIG_AsVal_int(obj2, &val3);
14420 if (!SWIG_IsOK(ecode3)) {
14421 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14422 }
14423 arg3 = static_cast< int >(val3);
14424 }
14425 if (obj3) {
14426 {
14427 arg4 = &temp4;
14428 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14429 }
14430 }
14431 if (obj4) {
14432 {
14433 arg5 = &temp5;
14434 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14435 }
14436 }
14437 if (obj5) {
14438 ecode6 = SWIG_AsVal_long(obj5, &val6);
14439 if (!SWIG_IsOK(ecode6)) {
14440 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14441 }
14442 arg6 = static_cast< long >(val6);
14443 }
14444 if (obj6) {
14445 {
14446 arg7 = wxString_in_helper(obj6);
14447 if (arg7 == NULL) SWIG_fail;
14448 temp7 = true;
14449 }
14450 }
14451 {
14452 PyThreadState* __tstate = wxPyBeginAllowThreads();
14453 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14454 wxPyEndAllowThreads(__tstate);
14455 if (PyErr_Occurred()) SWIG_fail;
14456 }
14457 {
14458 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14459 }
14460 {
14461 if (temp7)
14462 delete arg7;
14463 }
14464 return resultobj;
14465 fail:
14466 {
14467 if (temp7)
14468 delete arg7;
14469 }
14470 return NULL;
14471 }
14472
14473
14474 SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14475 PyObject *resultobj = 0;
14476 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14477 size_t result;
14478 void *argp1 = 0 ;
14479 int res1 = 0 ;
14480 PyObject *swig_obj[1] ;
14481
14482 if (!args) SWIG_fail;
14483 swig_obj[0] = args;
14484 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14485 if (!SWIG_IsOK(res1)) {
14486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14487 }
14488 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14489 {
14490 PyThreadState* __tstate = wxPyBeginAllowThreads();
14491 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
14492 wxPyEndAllowThreads(__tstate);
14493 if (PyErr_Occurred()) SWIG_fail;
14494 }
14495 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14496 return resultobj;
14497 fail:
14498 return NULL;
14499 }
14500
14501
14502 SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14503 PyObject *resultobj = 0;
14504 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14505 bool result;
14506 void *argp1 = 0 ;
14507 int res1 = 0 ;
14508 PyObject *swig_obj[1] ;
14509
14510 if (!args) SWIG_fail;
14511 swig_obj[0] = args;
14512 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14513 if (!SWIG_IsOK(res1)) {
14514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14515 }
14516 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14517 {
14518 PyThreadState* __tstate = wxPyBeginAllowThreads();
14519 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
14520 wxPyEndAllowThreads(__tstate);
14521 if (PyErr_Occurred()) SWIG_fail;
14522 }
14523 {
14524 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14525 }
14526 return resultobj;
14527 fail:
14528 return NULL;
14529 }
14530
14531
14532 SWIGINTERN PyObject *_wrap_VListBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14533 PyObject *resultobj = 0;
14534 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14535 int result;
14536 void *argp1 = 0 ;
14537 int res1 = 0 ;
14538 PyObject *swig_obj[1] ;
14539
14540 if (!args) SWIG_fail;
14541 swig_obj[0] = args;
14542 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14543 if (!SWIG_IsOK(res1)) {
14544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14545 }
14546 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14547 {
14548 PyThreadState* __tstate = wxPyBeginAllowThreads();
14549 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
14550 wxPyEndAllowThreads(__tstate);
14551 if (PyErr_Occurred()) SWIG_fail;
14552 }
14553 resultobj = SWIG_From_int(static_cast< int >(result));
14554 return resultobj;
14555 fail:
14556 return NULL;
14557 }
14558
14559
14560 SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14561 PyObject *resultobj = 0;
14562 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14563 size_t arg2 ;
14564 bool result;
14565 void *argp1 = 0 ;
14566 int res1 = 0 ;
14567 size_t val2 ;
14568 int ecode2 = 0 ;
14569 PyObject * obj0 = 0 ;
14570 PyObject * obj1 = 0 ;
14571 char * kwnames[] = {
14572 (char *) "self",(char *) "item", NULL
14573 };
14574
14575 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
14576 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14577 if (!SWIG_IsOK(res1)) {
14578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14579 }
14580 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14581 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14582 if (!SWIG_IsOK(ecode2)) {
14583 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14584 }
14585 arg2 = static_cast< size_t >(val2);
14586 {
14587 PyThreadState* __tstate = wxPyBeginAllowThreads();
14588 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
14589 wxPyEndAllowThreads(__tstate);
14590 if (PyErr_Occurred()) SWIG_fail;
14591 }
14592 {
14593 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14594 }
14595 return resultobj;
14596 fail:
14597 return NULL;
14598 }
14599
14600
14601 SWIGINTERN PyObject *_wrap_VListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14602 PyObject *resultobj = 0;
14603 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14604 size_t arg2 ;
14605 bool result;
14606 void *argp1 = 0 ;
14607 int res1 = 0 ;
14608 size_t val2 ;
14609 int ecode2 = 0 ;
14610 PyObject * obj0 = 0 ;
14611 PyObject * obj1 = 0 ;
14612 char * kwnames[] = {
14613 (char *) "self",(char *) "item", NULL
14614 };
14615
14616 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14617 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14618 if (!SWIG_IsOK(res1)) {
14619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14620 }
14621 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14622 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14623 if (!SWIG_IsOK(ecode2)) {
14624 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14625 }
14626 arg2 = static_cast< size_t >(val2);
14627 {
14628 PyThreadState* __tstate = wxPyBeginAllowThreads();
14629 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
14630 wxPyEndAllowThreads(__tstate);
14631 if (PyErr_Occurred()) SWIG_fail;
14632 }
14633 {
14634 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14635 }
14636 return resultobj;
14637 fail:
14638 return NULL;
14639 }
14640
14641
14642 SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14643 PyObject *resultobj = 0;
14644 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14645 size_t result;
14646 void *argp1 = 0 ;
14647 int res1 = 0 ;
14648 PyObject *swig_obj[1] ;
14649
14650 if (!args) SWIG_fail;
14651 swig_obj[0] = args;
14652 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14653 if (!SWIG_IsOK(res1)) {
14654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14655 }
14656 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14657 {
14658 PyThreadState* __tstate = wxPyBeginAllowThreads();
14659 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
14660 wxPyEndAllowThreads(__tstate);
14661 if (PyErr_Occurred()) SWIG_fail;
14662 }
14663 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14664 return resultobj;
14665 fail:
14666 return NULL;
14667 }
14668
14669
14670 SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14671 PyObject *resultobj = 0;
14672 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14673 PyObject *result = 0 ;
14674 void *argp1 = 0 ;
14675 int res1 = 0 ;
14676 PyObject *swig_obj[1] ;
14677
14678 if (!args) SWIG_fail;
14679 swig_obj[0] = args;
14680 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14681 if (!SWIG_IsOK(res1)) {
14682 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14683 }
14684 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14685 {
14686 PyThreadState* __tstate = wxPyBeginAllowThreads();
14687 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
14688 wxPyEndAllowThreads(__tstate);
14689 if (PyErr_Occurred()) SWIG_fail;
14690 }
14691 resultobj = result;
14692 return resultobj;
14693 fail:
14694 return NULL;
14695 }
14696
14697
14698 SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14699 PyObject *resultobj = 0;
14700 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14701 unsigned long arg2 ;
14702 PyObject *result = 0 ;
14703 void *argp1 = 0 ;
14704 int res1 = 0 ;
14705 unsigned long val2 ;
14706 int ecode2 = 0 ;
14707 PyObject * obj0 = 0 ;
14708 PyObject * obj1 = 0 ;
14709 char * kwnames[] = {
14710 (char *) "self",(char *) "cookie", NULL
14711 };
14712
14713 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14714 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14715 if (!SWIG_IsOK(res1)) {
14716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14717 }
14718 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14719 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
14720 if (!SWIG_IsOK(ecode2)) {
14721 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14722 }
14723 arg2 = static_cast< unsigned long >(val2);
14724 {
14725 PyThreadState* __tstate = wxPyBeginAllowThreads();
14726 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
14727 wxPyEndAllowThreads(__tstate);
14728 if (PyErr_Occurred()) SWIG_fail;
14729 }
14730 resultobj = result;
14731 return resultobj;
14732 fail:
14733 return NULL;
14734 }
14735
14736
14737 SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14738 PyObject *resultobj = 0;
14739 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14740 wxPoint result;
14741 void *argp1 = 0 ;
14742 int res1 = 0 ;
14743 PyObject *swig_obj[1] ;
14744
14745 if (!args) SWIG_fail;
14746 swig_obj[0] = args;
14747 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14748 if (!SWIG_IsOK(res1)) {
14749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14750 }
14751 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14752 {
14753 PyThreadState* __tstate = wxPyBeginAllowThreads();
14754 result = ((wxPyVListBox const *)arg1)->GetMargins();
14755 wxPyEndAllowThreads(__tstate);
14756 if (PyErr_Occurred()) SWIG_fail;
14757 }
14758 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
14759 return resultobj;
14760 fail:
14761 return NULL;
14762 }
14763
14764
14765 SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14766 PyObject *resultobj = 0;
14767 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14768 wxColour *result = 0 ;
14769 void *argp1 = 0 ;
14770 int res1 = 0 ;
14771 PyObject *swig_obj[1] ;
14772
14773 if (!args) SWIG_fail;
14774 swig_obj[0] = args;
14775 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14776 if (!SWIG_IsOK(res1)) {
14777 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14778 }
14779 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14780 {
14781 PyThreadState* __tstate = wxPyBeginAllowThreads();
14782 {
14783 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
14784 result = (wxColour *) &_result_ref;
14785 }
14786 wxPyEndAllowThreads(__tstate);
14787 if (PyErr_Occurred()) SWIG_fail;
14788 }
14789 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
14790 return resultobj;
14791 fail:
14792 return NULL;
14793 }
14794
14795
14796 SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14797 PyObject *resultobj = 0;
14798 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14799 size_t arg2 ;
14800 void *argp1 = 0 ;
14801 int res1 = 0 ;
14802 size_t val2 ;
14803 int ecode2 = 0 ;
14804 PyObject * obj0 = 0 ;
14805 PyObject * obj1 = 0 ;
14806 char * kwnames[] = {
14807 (char *) "self",(char *) "count", NULL
14808 };
14809
14810 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
14811 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14812 if (!SWIG_IsOK(res1)) {
14813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14814 }
14815 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14816 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14817 if (!SWIG_IsOK(ecode2)) {
14818 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14819 }
14820 arg2 = static_cast< size_t >(val2);
14821 {
14822 PyThreadState* __tstate = wxPyBeginAllowThreads();
14823 (arg1)->SetItemCount(arg2);
14824 wxPyEndAllowThreads(__tstate);
14825 if (PyErr_Occurred()) SWIG_fail;
14826 }
14827 resultobj = SWIG_Py_Void();
14828 return resultobj;
14829 fail:
14830 return NULL;
14831 }
14832
14833
14834 SWIGINTERN PyObject *_wrap_VListBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14835 PyObject *resultobj = 0;
14836 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14837 void *argp1 = 0 ;
14838 int res1 = 0 ;
14839 PyObject *swig_obj[1] ;
14840
14841 if (!args) SWIG_fail;
14842 swig_obj[0] = args;
14843 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14844 if (!SWIG_IsOK(res1)) {
14845 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14846 }
14847 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14848 {
14849 PyThreadState* __tstate = wxPyBeginAllowThreads();
14850 (arg1)->Clear();
14851 wxPyEndAllowThreads(__tstate);
14852 if (PyErr_Occurred()) SWIG_fail;
14853 }
14854 resultobj = SWIG_Py_Void();
14855 return resultobj;
14856 fail:
14857 return NULL;
14858 }
14859
14860
14861 SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14862 PyObject *resultobj = 0;
14863 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14864 int arg2 ;
14865 void *argp1 = 0 ;
14866 int res1 = 0 ;
14867 int val2 ;
14868 int ecode2 = 0 ;
14869 PyObject * obj0 = 0 ;
14870 PyObject * obj1 = 0 ;
14871 char * kwnames[] = {
14872 (char *) "self",(char *) "selection", NULL
14873 };
14874
14875 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
14876 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14877 if (!SWIG_IsOK(res1)) {
14878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14879 }
14880 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14881 ecode2 = SWIG_AsVal_int(obj1, &val2);
14882 if (!SWIG_IsOK(ecode2)) {
14883 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
14884 }
14885 arg2 = static_cast< int >(val2);
14886 {
14887 PyThreadState* __tstate = wxPyBeginAllowThreads();
14888 (arg1)->SetSelection(arg2);
14889 wxPyEndAllowThreads(__tstate);
14890 if (PyErr_Occurred()) SWIG_fail;
14891 }
14892 resultobj = SWIG_Py_Void();
14893 return resultobj;
14894 fail:
14895 return NULL;
14896 }
14897
14898
14899 SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14900 PyObject *resultobj = 0;
14901 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14902 size_t arg2 ;
14903 bool arg3 = (bool) true ;
14904 bool result;
14905 void *argp1 = 0 ;
14906 int res1 = 0 ;
14907 size_t val2 ;
14908 int ecode2 = 0 ;
14909 bool val3 ;
14910 int ecode3 = 0 ;
14911 PyObject * obj0 = 0 ;
14912 PyObject * obj1 = 0 ;
14913 PyObject * obj2 = 0 ;
14914 char * kwnames[] = {
14915 (char *) "self",(char *) "item",(char *) "select", NULL
14916 };
14917
14918 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14919 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14920 if (!SWIG_IsOK(res1)) {
14921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14922 }
14923 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14924 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14925 if (!SWIG_IsOK(ecode2)) {
14926 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
14927 }
14928 arg2 = static_cast< size_t >(val2);
14929 if (obj2) {
14930 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14931 if (!SWIG_IsOK(ecode3)) {
14932 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
14933 }
14934 arg3 = static_cast< bool >(val3);
14935 }
14936 {
14937 PyThreadState* __tstate = wxPyBeginAllowThreads();
14938 result = (bool)(arg1)->Select(arg2,arg3);
14939 wxPyEndAllowThreads(__tstate);
14940 if (PyErr_Occurred()) SWIG_fail;
14941 }
14942 {
14943 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14944 }
14945 return resultobj;
14946 fail:
14947 return NULL;
14948 }
14949
14950
14951 SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14952 PyObject *resultobj = 0;
14953 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14954 size_t arg2 ;
14955 size_t arg3 ;
14956 bool result;
14957 void *argp1 = 0 ;
14958 int res1 = 0 ;
14959 size_t val2 ;
14960 int ecode2 = 0 ;
14961 size_t val3 ;
14962 int ecode3 = 0 ;
14963 PyObject * obj0 = 0 ;
14964 PyObject * obj1 = 0 ;
14965 PyObject * obj2 = 0 ;
14966 char * kwnames[] = {
14967 (char *) "self",(char *) "from",(char *) "to", NULL
14968 };
14969
14970 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14971 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14972 if (!SWIG_IsOK(res1)) {
14973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14974 }
14975 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14976 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14977 if (!SWIG_IsOK(ecode2)) {
14978 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
14979 }
14980 arg2 = static_cast< size_t >(val2);
14981 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14982 if (!SWIG_IsOK(ecode3)) {
14983 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
14984 }
14985 arg3 = static_cast< size_t >(val3);
14986 {
14987 PyThreadState* __tstate = wxPyBeginAllowThreads();
14988 result = (bool)(arg1)->SelectRange(arg2,arg3);
14989 wxPyEndAllowThreads(__tstate);
14990 if (PyErr_Occurred()) SWIG_fail;
14991 }
14992 {
14993 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14994 }
14995 return resultobj;
14996 fail:
14997 return NULL;
14998 }
14999
15000
15001 SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15002 PyObject *resultobj = 0;
15003 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15004 size_t arg2 ;
15005 void *argp1 = 0 ;
15006 int res1 = 0 ;
15007 size_t val2 ;
15008 int ecode2 = 0 ;
15009 PyObject * obj0 = 0 ;
15010 PyObject * obj1 = 0 ;
15011 char * kwnames[] = {
15012 (char *) "self",(char *) "item", NULL
15013 };
15014
15015 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
15016 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15017 if (!SWIG_IsOK(res1)) {
15018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15019 }
15020 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15021 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15022 if (!SWIG_IsOK(ecode2)) {
15023 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15024 }
15025 arg2 = static_cast< size_t >(val2);
15026 {
15027 PyThreadState* __tstate = wxPyBeginAllowThreads();
15028 (arg1)->Toggle(arg2);
15029 wxPyEndAllowThreads(__tstate);
15030 if (PyErr_Occurred()) SWIG_fail;
15031 }
15032 resultobj = SWIG_Py_Void();
15033 return resultobj;
15034 fail:
15035 return NULL;
15036 }
15037
15038
15039 SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15040 PyObject *resultobj = 0;
15041 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15042 bool result;
15043 void *argp1 = 0 ;
15044 int res1 = 0 ;
15045 PyObject *swig_obj[1] ;
15046
15047 if (!args) SWIG_fail;
15048 swig_obj[0] = args;
15049 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15050 if (!SWIG_IsOK(res1)) {
15051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15052 }
15053 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15054 {
15055 PyThreadState* __tstate = wxPyBeginAllowThreads();
15056 result = (bool)(arg1)->SelectAll();
15057 wxPyEndAllowThreads(__tstate);
15058 if (PyErr_Occurred()) SWIG_fail;
15059 }
15060 {
15061 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15062 }
15063 return resultobj;
15064 fail:
15065 return NULL;
15066 }
15067
15068
15069 SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15070 PyObject *resultobj = 0;
15071 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15072 bool result;
15073 void *argp1 = 0 ;
15074 int res1 = 0 ;
15075 PyObject *swig_obj[1] ;
15076
15077 if (!args) SWIG_fail;
15078 swig_obj[0] = args;
15079 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15080 if (!SWIG_IsOK(res1)) {
15081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15082 }
15083 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15084 {
15085 PyThreadState* __tstate = wxPyBeginAllowThreads();
15086 result = (bool)(arg1)->DeselectAll();
15087 wxPyEndAllowThreads(__tstate);
15088 if (PyErr_Occurred()) SWIG_fail;
15089 }
15090 {
15091 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15092 }
15093 return resultobj;
15094 fail:
15095 return NULL;
15096 }
15097
15098
15099 SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15100 PyObject *resultobj = 0;
15101 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15102 wxPoint *arg2 = 0 ;
15103 void *argp1 = 0 ;
15104 int res1 = 0 ;
15105 wxPoint temp2 ;
15106 PyObject * obj0 = 0 ;
15107 PyObject * obj1 = 0 ;
15108 char * kwnames[] = {
15109 (char *) "self",(char *) "pt", NULL
15110 };
15111
15112 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
15113 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15114 if (!SWIG_IsOK(res1)) {
15115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15116 }
15117 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15118 {
15119 arg2 = &temp2;
15120 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15121 }
15122 {
15123 PyThreadState* __tstate = wxPyBeginAllowThreads();
15124 (arg1)->SetMargins((wxPoint const &)*arg2);
15125 wxPyEndAllowThreads(__tstate);
15126 if (PyErr_Occurred()) SWIG_fail;
15127 }
15128 resultobj = SWIG_Py_Void();
15129 return resultobj;
15130 fail:
15131 return NULL;
15132 }
15133
15134
15135 SWIGINTERN PyObject *_wrap_VListBox_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15136 PyObject *resultobj = 0;
15137 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15138 int arg2 ;
15139 int arg3 ;
15140 void *argp1 = 0 ;
15141 int res1 = 0 ;
15142 int val2 ;
15143 int ecode2 = 0 ;
15144 int val3 ;
15145 int ecode3 = 0 ;
15146 PyObject * obj0 = 0 ;
15147 PyObject * obj1 = 0 ;
15148 PyObject * obj2 = 0 ;
15149 char * kwnames[] = {
15150 (char *) "self",(char *) "x",(char *) "y", NULL
15151 };
15152
15153 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15154 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15155 if (!SWIG_IsOK(res1)) {
15156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15157 }
15158 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15159 ecode2 = SWIG_AsVal_int(obj1, &val2);
15160 if (!SWIG_IsOK(ecode2)) {
15161 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15162 }
15163 arg2 = static_cast< int >(val2);
15164 ecode3 = SWIG_AsVal_int(obj2, &val3);
15165 if (!SWIG_IsOK(ecode3)) {
15166 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15167 }
15168 arg3 = static_cast< int >(val3);
15169 {
15170 PyThreadState* __tstate = wxPyBeginAllowThreads();
15171 (arg1)->SetMargins(arg2,arg3);
15172 wxPyEndAllowThreads(__tstate);
15173 if (PyErr_Occurred()) SWIG_fail;
15174 }
15175 resultobj = SWIG_Py_Void();
15176 return resultobj;
15177 fail:
15178 return NULL;
15179 }
15180
15181
15182 SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15183 PyObject *resultobj = 0;
15184 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15185 wxColour *arg2 = 0 ;
15186 void *argp1 = 0 ;
15187 int res1 = 0 ;
15188 wxColour temp2 ;
15189 PyObject * obj0 = 0 ;
15190 PyObject * obj1 = 0 ;
15191 char * kwnames[] = {
15192 (char *) "self",(char *) "col", NULL
15193 };
15194
15195 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
15196 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15197 if (!SWIG_IsOK(res1)) {
15198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15199 }
15200 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15201 {
15202 arg2 = &temp2;
15203 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15204 }
15205 {
15206 PyThreadState* __tstate = wxPyBeginAllowThreads();
15207 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
15208 wxPyEndAllowThreads(__tstate);
15209 if (PyErr_Occurred()) SWIG_fail;
15210 }
15211 resultobj = SWIG_Py_Void();
15212 return resultobj;
15213 fail:
15214 return NULL;
15215 }
15216
15217
15218 SWIGINTERN PyObject *_wrap_VListBox_OnDrawSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15219 PyObject *resultobj = 0;
15220 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15221 wxDC *arg2 = 0 ;
15222 wxRect *arg3 = 0 ;
15223 size_t arg4 ;
15224 void *argp1 = 0 ;
15225 int res1 = 0 ;
15226 void *argp2 = 0 ;
15227 int res2 = 0 ;
15228 wxRect temp3 ;
15229 size_t val4 ;
15230 int ecode4 = 0 ;
15231 PyObject * obj0 = 0 ;
15232 PyObject * obj1 = 0 ;
15233 PyObject * obj2 = 0 ;
15234 PyObject * obj3 = 0 ;
15235 char * kwnames[] = {
15236 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15237 };
15238
15239 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15240 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15241 if (!SWIG_IsOK(res1)) {
15242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15243 }
15244 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15245 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15246 if (!SWIG_IsOK(res2)) {
15247 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15248 }
15249 if (!argp2) {
15250 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15251 }
15252 arg2 = reinterpret_cast< wxDC * >(argp2);
15253 {
15254 arg3 = &temp3;
15255 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15256 }
15257 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15258 if (!SWIG_IsOK(ecode4)) {
15259 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15260 }
15261 arg4 = static_cast< size_t >(val4);
15262 {
15263 PyThreadState* __tstate = wxPyBeginAllowThreads();
15264 ((wxPyVListBox const *)arg1)->OnDrawSeparator(*arg2,*arg3,arg4);
15265 wxPyEndAllowThreads(__tstate);
15266 if (PyErr_Occurred()) SWIG_fail;
15267 }
15268 resultobj = SWIG_Py_Void();
15269 return resultobj;
15270 fail:
15271 return NULL;
15272 }
15273
15274
15275 SWIGINTERN PyObject *_wrap_VListBox_OnDrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15276 PyObject *resultobj = 0;
15277 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15278 wxDC *arg2 = 0 ;
15279 wxRect *arg3 = 0 ;
15280 size_t arg4 ;
15281 void *argp1 = 0 ;
15282 int res1 = 0 ;
15283 void *argp2 = 0 ;
15284 int res2 = 0 ;
15285 wxRect temp3 ;
15286 size_t val4 ;
15287 int ecode4 = 0 ;
15288 PyObject * obj0 = 0 ;
15289 PyObject * obj1 = 0 ;
15290 PyObject * obj2 = 0 ;
15291 PyObject * obj3 = 0 ;
15292 char * kwnames[] = {
15293 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15294 };
15295
15296 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15297 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15298 if (!SWIG_IsOK(res1)) {
15299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15300 }
15301 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15302 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15303 if (!SWIG_IsOK(res2)) {
15304 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15305 }
15306 if (!argp2) {
15307 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15308 }
15309 arg2 = reinterpret_cast< wxDC * >(argp2);
15310 {
15311 arg3 = &temp3;
15312 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15313 }
15314 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15315 if (!SWIG_IsOK(ecode4)) {
15316 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15317 }
15318 arg4 = static_cast< size_t >(val4);
15319 {
15320 PyThreadState* __tstate = wxPyBeginAllowThreads();
15321 ((wxPyVListBox const *)arg1)->OnDrawBackground(*arg2,(wxRect const &)*arg3,arg4);
15322 wxPyEndAllowThreads(__tstate);
15323 if (PyErr_Occurred()) SWIG_fail;
15324 }
15325 resultobj = SWIG_Py_Void();
15326 return resultobj;
15327 fail:
15328 return NULL;
15329 }
15330
15331
15332 SWIGINTERN PyObject *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15333 PyObject *obj;
15334 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15335 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
15336 return SWIG_Py_Void();
15337 }
15338
15339 SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15340 return SWIG_Python_InitShadowInstance(args);
15341 }
15342
15343 SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15344 PyObject *resultobj = 0;
15345 wxWindow *arg1 = (wxWindow *) 0 ;
15346 int arg2 = (int) wxID_ANY ;
15347 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15348 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15349 wxSize const &arg4_defvalue = wxDefaultSize ;
15350 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15351 long arg5 = (long) 0 ;
15352 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
15353 wxString *arg6 = (wxString *) &arg6_defvalue ;
15354 wxPyHtmlListBox *result = 0 ;
15355 void *argp1 = 0 ;
15356 int res1 = 0 ;
15357 int val2 ;
15358 int ecode2 = 0 ;
15359 wxPoint temp3 ;
15360 wxSize temp4 ;
15361 long val5 ;
15362 int ecode5 = 0 ;
15363 bool temp6 = false ;
15364 PyObject * obj0 = 0 ;
15365 PyObject * obj1 = 0 ;
15366 PyObject * obj2 = 0 ;
15367 PyObject * obj3 = 0 ;
15368 PyObject * obj4 = 0 ;
15369 PyObject * obj5 = 0 ;
15370 char * kwnames[] = {
15371 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15372 };
15373
15374 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15375 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15376 if (!SWIG_IsOK(res1)) {
15377 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15378 }
15379 arg1 = reinterpret_cast< wxWindow * >(argp1);
15380 if (obj1) {
15381 ecode2 = SWIG_AsVal_int(obj1, &val2);
15382 if (!SWIG_IsOK(ecode2)) {
15383 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15384 }
15385 arg2 = static_cast< int >(val2);
15386 }
15387 if (obj2) {
15388 {
15389 arg3 = &temp3;
15390 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15391 }
15392 }
15393 if (obj3) {
15394 {
15395 arg4 = &temp4;
15396 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15397 }
15398 }
15399 if (obj4) {
15400 ecode5 = SWIG_AsVal_long(obj4, &val5);
15401 if (!SWIG_IsOK(ecode5)) {
15402 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15403 }
15404 arg5 = static_cast< long >(val5);
15405 }
15406 if (obj5) {
15407 {
15408 arg6 = wxString_in_helper(obj5);
15409 if (arg6 == NULL) SWIG_fail;
15410 temp6 = true;
15411 }
15412 }
15413 {
15414 if (!wxPyCheckForApp()) SWIG_fail;
15415 PyThreadState* __tstate = wxPyBeginAllowThreads();
15416 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15417 wxPyEndAllowThreads(__tstate);
15418 if (PyErr_Occurred()) SWIG_fail;
15419 }
15420 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
15421 {
15422 if (temp6)
15423 delete arg6;
15424 }
15425 return resultobj;
15426 fail:
15427 {
15428 if (temp6)
15429 delete arg6;
15430 }
15431 return NULL;
15432 }
15433
15434
15435 SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15436 PyObject *resultobj = 0;
15437 wxPyHtmlListBox *result = 0 ;
15438
15439 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
15440 {
15441 if (!wxPyCheckForApp()) SWIG_fail;
15442 PyThreadState* __tstate = wxPyBeginAllowThreads();
15443 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
15444 wxPyEndAllowThreads(__tstate);
15445 if (PyErr_Occurred()) SWIG_fail;
15446 }
15447 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
15448 return resultobj;
15449 fail:
15450 return NULL;
15451 }
15452
15453
15454 SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15455 PyObject *resultobj = 0;
15456 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15457 PyObject *arg2 = (PyObject *) 0 ;
15458 PyObject *arg3 = (PyObject *) 0 ;
15459 void *argp1 = 0 ;
15460 int res1 = 0 ;
15461 PyObject * obj0 = 0 ;
15462 PyObject * obj1 = 0 ;
15463 PyObject * obj2 = 0 ;
15464 char * kwnames[] = {
15465 (char *) "self",(char *) "self",(char *) "_class", NULL
15466 };
15467
15468 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15469 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15470 if (!SWIG_IsOK(res1)) {
15471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15472 }
15473 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15474 arg2 = obj1;
15475 arg3 = obj2;
15476 {
15477 PyThreadState* __tstate = wxPyBeginAllowThreads();
15478 (arg1)->_setCallbackInfo(arg2,arg3);
15479 wxPyEndAllowThreads(__tstate);
15480 if (PyErr_Occurred()) SWIG_fail;
15481 }
15482 resultobj = SWIG_Py_Void();
15483 return resultobj;
15484 fail:
15485 return NULL;
15486 }
15487
15488
15489 SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15490 PyObject *resultobj = 0;
15491 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15492 wxWindow *arg2 = (wxWindow *) 0 ;
15493 int arg3 = (int) wxID_ANY ;
15494 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15495 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15496 wxSize const &arg5_defvalue = wxDefaultSize ;
15497 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15498 long arg6 = (long) 0 ;
15499 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
15500 wxString *arg7 = (wxString *) &arg7_defvalue ;
15501 bool result;
15502 void *argp1 = 0 ;
15503 int res1 = 0 ;
15504 void *argp2 = 0 ;
15505 int res2 = 0 ;
15506 int val3 ;
15507 int ecode3 = 0 ;
15508 wxPoint temp4 ;
15509 wxSize temp5 ;
15510 long val6 ;
15511 int ecode6 = 0 ;
15512 bool temp7 = false ;
15513 PyObject * obj0 = 0 ;
15514 PyObject * obj1 = 0 ;
15515 PyObject * obj2 = 0 ;
15516 PyObject * obj3 = 0 ;
15517 PyObject * obj4 = 0 ;
15518 PyObject * obj5 = 0 ;
15519 PyObject * obj6 = 0 ;
15520 char * kwnames[] = {
15521 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15522 };
15523
15524 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15525 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15526 if (!SWIG_IsOK(res1)) {
15527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15528 }
15529 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15530 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15531 if (!SWIG_IsOK(res2)) {
15532 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15533 }
15534 arg2 = reinterpret_cast< wxWindow * >(argp2);
15535 if (obj2) {
15536 ecode3 = SWIG_AsVal_int(obj2, &val3);
15537 if (!SWIG_IsOK(ecode3)) {
15538 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15539 }
15540 arg3 = static_cast< int >(val3);
15541 }
15542 if (obj3) {
15543 {
15544 arg4 = &temp4;
15545 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15546 }
15547 }
15548 if (obj4) {
15549 {
15550 arg5 = &temp5;
15551 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15552 }
15553 }
15554 if (obj5) {
15555 ecode6 = SWIG_AsVal_long(obj5, &val6);
15556 if (!SWIG_IsOK(ecode6)) {
15557 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15558 }
15559 arg6 = static_cast< long >(val6);
15560 }
15561 if (obj6) {
15562 {
15563 arg7 = wxString_in_helper(obj6);
15564 if (arg7 == NULL) SWIG_fail;
15565 temp7 = true;
15566 }
15567 }
15568 {
15569 PyThreadState* __tstate = wxPyBeginAllowThreads();
15570 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15571 wxPyEndAllowThreads(__tstate);
15572 if (PyErr_Occurred()) SWIG_fail;
15573 }
15574 {
15575 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15576 }
15577 {
15578 if (temp7)
15579 delete arg7;
15580 }
15581 return resultobj;
15582 fail:
15583 {
15584 if (temp7)
15585 delete arg7;
15586 }
15587 return NULL;
15588 }
15589
15590
15591 SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15592 PyObject *resultobj = 0;
15593 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15594 size_t arg2 ;
15595 void *argp1 = 0 ;
15596 int res1 = 0 ;
15597 size_t val2 ;
15598 int ecode2 = 0 ;
15599 PyObject * obj0 = 0 ;
15600 PyObject * obj1 = 0 ;
15601 char * kwnames[] = {
15602 (char *) "self",(char *) "count", NULL
15603 };
15604
15605 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15606 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15607 if (!SWIG_IsOK(res1)) {
15608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15609 }
15610 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15611 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15612 if (!SWIG_IsOK(ecode2)) {
15613 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15614 }
15615 arg2 = static_cast< size_t >(val2);
15616 {
15617 PyThreadState* __tstate = wxPyBeginAllowThreads();
15618 (arg1)->SetItemCount(arg2);
15619 wxPyEndAllowThreads(__tstate);
15620 if (PyErr_Occurred()) SWIG_fail;
15621 }
15622 resultobj = SWIG_Py_Void();
15623 return resultobj;
15624 fail:
15625 return NULL;
15626 }
15627
15628
15629 SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15630 PyObject *resultobj = 0;
15631 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15632 wxFileSystem *result = 0 ;
15633 void *argp1 = 0 ;
15634 int res1 = 0 ;
15635 PyObject *swig_obj[1] ;
15636
15637 if (!args) SWIG_fail;
15638 swig_obj[0] = args;
15639 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15640 if (!SWIG_IsOK(res1)) {
15641 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15642 }
15643 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15644 {
15645 PyThreadState* __tstate = wxPyBeginAllowThreads();
15646 {
15647 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
15648 result = (wxFileSystem *) &_result_ref;
15649 }
15650 wxPyEndAllowThreads(__tstate);
15651 if (PyErr_Occurred()) SWIG_fail;
15652 }
15653 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
15654 return resultobj;
15655 fail:
15656 return NULL;
15657 }
15658
15659
15660 SWIGINTERN PyObject *_wrap_HtmlListBox_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15661 PyObject *resultobj = 0;
15662 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15663 size_t arg2 ;
15664 wxHtmlLinkInfo *arg3 = 0 ;
15665 void *argp1 = 0 ;
15666 int res1 = 0 ;
15667 size_t val2 ;
15668 int ecode2 = 0 ;
15669 void *argp3 = 0 ;
15670 int res3 = 0 ;
15671 PyObject * obj0 = 0 ;
15672 PyObject * obj1 = 0 ;
15673 PyObject * obj2 = 0 ;
15674 char * kwnames[] = {
15675 (char *) "self",(char *) "n",(char *) "link", NULL
15676 };
15677
15678 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15679 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15680 if (!SWIG_IsOK(res1)) {
15681 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15682 }
15683 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15684 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15685 if (!SWIG_IsOK(ecode2)) {
15686 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15687 }
15688 arg2 = static_cast< size_t >(val2);
15689 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
15690 if (!SWIG_IsOK(res3)) {
15691 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15692 }
15693 if (!argp3) {
15694 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15695 }
15696 arg3 = reinterpret_cast< wxHtmlLinkInfo * >(argp3);
15697 {
15698 PyThreadState* __tstate = wxPyBeginAllowThreads();
15699 (arg1)->OnLinkClicked(arg2,(wxHtmlLinkInfo const &)*arg3);
15700 wxPyEndAllowThreads(__tstate);
15701 if (PyErr_Occurred()) SWIG_fail;
15702 }
15703 resultobj = SWIG_Py_Void();
15704 return resultobj;
15705 fail:
15706 return NULL;
15707 }
15708
15709
15710 SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15711 PyObject *obj;
15712 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15713 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
15714 return SWIG_Py_Void();
15715 }
15716
15717 SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15718 return SWIG_Python_InitShadowInstance(args);
15719 }
15720
15721 SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15722 PyObject *resultobj = 0;
15723 wxPyTaskBarIcon *result = 0 ;
15724
15725 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
15726 {
15727 if (!wxPyCheckForApp()) SWIG_fail;
15728 PyThreadState* __tstate = wxPyBeginAllowThreads();
15729 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
15730 wxPyEndAllowThreads(__tstate);
15731 if (PyErr_Occurred()) SWIG_fail;
15732 }
15733 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
15734 return resultobj;
15735 fail:
15736 return NULL;
15737 }
15738
15739
15740 SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15741 PyObject *resultobj = 0;
15742 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15743 void *argp1 = 0 ;
15744 int res1 = 0 ;
15745 PyObject *swig_obj[1] ;
15746
15747 if (!args) SWIG_fail;
15748 swig_obj[0] = args;
15749 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
15750 if (!SWIG_IsOK(res1)) {
15751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15752 }
15753 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15754 {
15755 PyThreadState* __tstate = wxPyBeginAllowThreads();
15756 delete arg1;
15757
15758 wxPyEndAllowThreads(__tstate);
15759 if (PyErr_Occurred()) SWIG_fail;
15760 }
15761 resultobj = SWIG_Py_Void();
15762 return resultobj;
15763 fail:
15764 return NULL;
15765 }
15766
15767
15768 SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15769 PyObject *resultobj = 0;
15770 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15771 PyObject *arg2 = (PyObject *) 0 ;
15772 PyObject *arg3 = (PyObject *) 0 ;
15773 int arg4 ;
15774 void *argp1 = 0 ;
15775 int res1 = 0 ;
15776 int val4 ;
15777 int ecode4 = 0 ;
15778 PyObject * obj0 = 0 ;
15779 PyObject * obj1 = 0 ;
15780 PyObject * obj2 = 0 ;
15781 PyObject * obj3 = 0 ;
15782 char * kwnames[] = {
15783 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15784 };
15785
15786 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15787 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15788 if (!SWIG_IsOK(res1)) {
15789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15790 }
15791 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15792 arg2 = obj1;
15793 arg3 = obj2;
15794 ecode4 = SWIG_AsVal_int(obj3, &val4);
15795 if (!SWIG_IsOK(ecode4)) {
15796 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15797 }
15798 arg4 = static_cast< int >(val4);
15799 {
15800 PyThreadState* __tstate = wxPyBeginAllowThreads();
15801 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
15802 wxPyEndAllowThreads(__tstate);
15803 if (PyErr_Occurred()) SWIG_fail;
15804 }
15805 resultobj = SWIG_Py_Void();
15806 return resultobj;
15807 fail:
15808 return NULL;
15809 }
15810
15811
15812 SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15813 PyObject *resultobj = 0;
15814 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15815 void *argp1 = 0 ;
15816 int res1 = 0 ;
15817 PyObject *swig_obj[1] ;
15818
15819 if (!args) SWIG_fail;
15820 swig_obj[0] = args;
15821 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15822 if (!SWIG_IsOK(res1)) {
15823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15824 }
15825 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15826 {
15827 PyThreadState* __tstate = wxPyBeginAllowThreads();
15828 wxPyTaskBarIcon_Destroy(arg1);
15829 wxPyEndAllowThreads(__tstate);
15830 if (PyErr_Occurred()) SWIG_fail;
15831 }
15832 resultobj = SWIG_Py_Void();
15833 return resultobj;
15834 fail:
15835 return NULL;
15836 }
15837
15838
15839 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15840 PyObject *resultobj = 0;
15841 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15842 bool result;
15843 void *argp1 = 0 ;
15844 int res1 = 0 ;
15845 PyObject *swig_obj[1] ;
15846
15847 if (!args) SWIG_fail;
15848 swig_obj[0] = args;
15849 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15850 if (!SWIG_IsOK(res1)) {
15851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15852 }
15853 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15854 {
15855 PyThreadState* __tstate = wxPyBeginAllowThreads();
15856 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
15857 wxPyEndAllowThreads(__tstate);
15858 if (PyErr_Occurred()) SWIG_fail;
15859 }
15860 {
15861 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15862 }
15863 return resultobj;
15864 fail:
15865 return NULL;
15866 }
15867
15868
15869 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15870 PyObject *resultobj = 0;
15871 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15872 bool result;
15873 void *argp1 = 0 ;
15874 int res1 = 0 ;
15875 PyObject *swig_obj[1] ;
15876
15877 if (!args) SWIG_fail;
15878 swig_obj[0] = args;
15879 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15880 if (!SWIG_IsOK(res1)) {
15881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15882 }
15883 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15884 {
15885 PyThreadState* __tstate = wxPyBeginAllowThreads();
15886 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
15887 wxPyEndAllowThreads(__tstate);
15888 if (PyErr_Occurred()) SWIG_fail;
15889 }
15890 {
15891 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15892 }
15893 return resultobj;
15894 fail:
15895 return NULL;
15896 }
15897
15898
15899 SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15900 PyObject *resultobj = 0;
15901 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15902 wxIcon *arg2 = 0 ;
15903 wxString const &arg3_defvalue = wxPyEmptyString ;
15904 wxString *arg3 = (wxString *) &arg3_defvalue ;
15905 bool result;
15906 void *argp1 = 0 ;
15907 int res1 = 0 ;
15908 void *argp2 = 0 ;
15909 int res2 = 0 ;
15910 bool temp3 = false ;
15911 PyObject * obj0 = 0 ;
15912 PyObject * obj1 = 0 ;
15913 PyObject * obj2 = 0 ;
15914 char * kwnames[] = {
15915 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
15916 };
15917
15918 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15919 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15920 if (!SWIG_IsOK(res1)) {
15921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15922 }
15923 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15924 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
15925 if (!SWIG_IsOK(res2)) {
15926 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15927 }
15928 if (!argp2) {
15929 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15930 }
15931 arg2 = reinterpret_cast< wxIcon * >(argp2);
15932 if (obj2) {
15933 {
15934 arg3 = wxString_in_helper(obj2);
15935 if (arg3 == NULL) SWIG_fail;
15936 temp3 = true;
15937 }
15938 }
15939 {
15940 PyThreadState* __tstate = wxPyBeginAllowThreads();
15941 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
15942 wxPyEndAllowThreads(__tstate);
15943 if (PyErr_Occurred()) SWIG_fail;
15944 }
15945 {
15946 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15947 }
15948 {
15949 if (temp3)
15950 delete arg3;
15951 }
15952 return resultobj;
15953 fail:
15954 {
15955 if (temp3)
15956 delete arg3;
15957 }
15958 return NULL;
15959 }
15960
15961
15962 SWIGINTERN PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15963 PyObject *resultobj = 0;
15964 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15965 bool result;
15966 void *argp1 = 0 ;
15967 int res1 = 0 ;
15968 PyObject *swig_obj[1] ;
15969
15970 if (!args) SWIG_fail;
15971 swig_obj[0] = args;
15972 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15973 if (!SWIG_IsOK(res1)) {
15974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15975 }
15976 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15977 {
15978 PyThreadState* __tstate = wxPyBeginAllowThreads();
15979 result = (bool)(arg1)->RemoveIcon();
15980 wxPyEndAllowThreads(__tstate);
15981 if (PyErr_Occurred()) SWIG_fail;
15982 }
15983 {
15984 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15985 }
15986 return resultobj;
15987 fail:
15988 return NULL;
15989 }
15990
15991
15992 SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15993 PyObject *resultobj = 0;
15994 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15995 wxMenu *arg2 = (wxMenu *) 0 ;
15996 bool result;
15997 void *argp1 = 0 ;
15998 int res1 = 0 ;
15999 void *argp2 = 0 ;
16000 int res2 = 0 ;
16001 PyObject * obj0 = 0 ;
16002 PyObject * obj1 = 0 ;
16003 char * kwnames[] = {
16004 (char *) "self",(char *) "menu", NULL
16005 };
16006
16007 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
16008 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16009 if (!SWIG_IsOK(res1)) {
16010 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16011 }
16012 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16013 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
16014 if (!SWIG_IsOK(res2)) {
16015 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16016 }
16017 arg2 = reinterpret_cast< wxMenu * >(argp2);
16018 {
16019 PyThreadState* __tstate = wxPyBeginAllowThreads();
16020 result = (bool)(arg1)->PopupMenu(arg2);
16021 wxPyEndAllowThreads(__tstate);
16022 if (PyErr_Occurred()) SWIG_fail;
16023 }
16024 {
16025 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16026 }
16027 return resultobj;
16028 fail:
16029 return NULL;
16030 }
16031
16032
16033 SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16034 PyObject *obj;
16035 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16036 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
16037 return SWIG_Py_Void();
16038 }
16039
16040 SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16041 return SWIG_Python_InitShadowInstance(args);
16042 }
16043
16044 SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16045 PyObject *resultobj = 0;
16046 wxEventType arg1 ;
16047 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
16048 wxTaskBarIconEvent *result = 0 ;
16049 int val1 ;
16050 int ecode1 = 0 ;
16051 void *argp2 = 0 ;
16052 int res2 = 0 ;
16053 PyObject * obj0 = 0 ;
16054 PyObject * obj1 = 0 ;
16055 char * kwnames[] = {
16056 (char *) "evtType",(char *) "tbIcon", NULL
16057 };
16058
16059 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
16060 ecode1 = SWIG_AsVal_int(obj0, &val1);
16061 if (!SWIG_IsOK(ecode1)) {
16062 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16063 }
16064 arg1 = static_cast< wxEventType >(val1);
16065 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
16066 if (!SWIG_IsOK(res2)) {
16067 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16068 }
16069 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
16070 {
16071 PyThreadState* __tstate = wxPyBeginAllowThreads();
16072 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
16073 wxPyEndAllowThreads(__tstate);
16074 if (PyErr_Occurred()) SWIG_fail;
16075 }
16076 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
16077 return resultobj;
16078 fail:
16079 return NULL;
16080 }
16081
16082
16083 SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16084 PyObject *obj;
16085 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16086 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
16087 return SWIG_Py_Void();
16088 }
16089
16090 SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16091 return SWIG_Python_InitShadowInstance(args);
16092 }
16093
16094 SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
16095 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
16096 return 1;
16097 }
16098
16099
16100 SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
16101 PyObject *pyobj = 0;
16102
16103 {
16104 #if wxUSE_UNICODE
16105 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16106 #else
16107 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16108 #endif
16109 }
16110 return pyobj;
16111 }
16112
16113
16114 SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
16115 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
16116 return 1;
16117 }
16118
16119
16120 SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
16121 PyObject *pyobj = 0;
16122
16123 {
16124 #if wxUSE_UNICODE
16125 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16126 #else
16127 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16128 #endif
16129 }
16130 return pyobj;
16131 }
16132
16133
16134 SWIGINTERN int DirDialogNameStr_set(PyObject *) {
16135 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
16136 return 1;
16137 }
16138
16139
16140 SWIGINTERN PyObject *DirDialogNameStr_get(void) {
16141 PyObject *pyobj = 0;
16142
16143 {
16144 #if wxUSE_UNICODE
16145 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16146 #else
16147 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16148 #endif
16149 }
16150 return pyobj;
16151 }
16152
16153
16154 SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
16155 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
16156 return 1;
16157 }
16158
16159
16160 SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
16161 PyObject *pyobj = 0;
16162
16163 {
16164 #if wxUSE_UNICODE
16165 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16166 #else
16167 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16168 #endif
16169 }
16170 return pyobj;
16171 }
16172
16173
16174 SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
16175 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
16176 return 1;
16177 }
16178
16179
16180 SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
16181 PyObject *pyobj = 0;
16182
16183 {
16184 #if wxUSE_UNICODE
16185 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16186 #else
16187 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16188 #endif
16189 }
16190 return pyobj;
16191 }
16192
16193
16194 SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
16195 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
16196 return 1;
16197 }
16198
16199
16200 SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
16201 PyObject *pyobj = 0;
16202
16203 {
16204 #if wxUSE_UNICODE
16205 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16206 #else
16207 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16208 #endif
16209 }
16210 return pyobj;
16211 }
16212
16213
16214 SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16215 PyObject *resultobj = 0;
16216 wxColourData *result = 0 ;
16217
16218 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
16219 {
16220 PyThreadState* __tstate = wxPyBeginAllowThreads();
16221 result = (wxColourData *)new wxColourData();
16222 wxPyEndAllowThreads(__tstate);
16223 if (PyErr_Occurred()) SWIG_fail;
16224 }
16225 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
16226 return resultobj;
16227 fail:
16228 return NULL;
16229 }
16230
16231
16232 SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16233 PyObject *resultobj = 0;
16234 wxColourData *arg1 = (wxColourData *) 0 ;
16235 void *argp1 = 0 ;
16236 int res1 = 0 ;
16237 PyObject *swig_obj[1] ;
16238
16239 if (!args) SWIG_fail;
16240 swig_obj[0] = args;
16241 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, SWIG_POINTER_DISOWN | 0 );
16242 if (!SWIG_IsOK(res1)) {
16243 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16244 }
16245 arg1 = reinterpret_cast< wxColourData * >(argp1);
16246 {
16247 PyThreadState* __tstate = wxPyBeginAllowThreads();
16248 delete arg1;
16249
16250 wxPyEndAllowThreads(__tstate);
16251 if (PyErr_Occurred()) SWIG_fail;
16252 }
16253 resultobj = SWIG_Py_Void();
16254 return resultobj;
16255 fail:
16256 return NULL;
16257 }
16258
16259
16260 SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16261 PyObject *resultobj = 0;
16262 wxColourData *arg1 = (wxColourData *) 0 ;
16263 bool result;
16264 void *argp1 = 0 ;
16265 int res1 = 0 ;
16266 PyObject *swig_obj[1] ;
16267
16268 if (!args) SWIG_fail;
16269 swig_obj[0] = args;
16270 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16271 if (!SWIG_IsOK(res1)) {
16272 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16273 }
16274 arg1 = reinterpret_cast< wxColourData * >(argp1);
16275 {
16276 PyThreadState* __tstate = wxPyBeginAllowThreads();
16277 result = (bool)(arg1)->GetChooseFull();
16278 wxPyEndAllowThreads(__tstate);
16279 if (PyErr_Occurred()) SWIG_fail;
16280 }
16281 {
16282 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16283 }
16284 return resultobj;
16285 fail:
16286 return NULL;
16287 }
16288
16289
16290 SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16291 PyObject *resultobj = 0;
16292 wxColourData *arg1 = (wxColourData *) 0 ;
16293 wxColour result;
16294 void *argp1 = 0 ;
16295 int res1 = 0 ;
16296 PyObject *swig_obj[1] ;
16297
16298 if (!args) SWIG_fail;
16299 swig_obj[0] = args;
16300 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16301 if (!SWIG_IsOK(res1)) {
16302 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16303 }
16304 arg1 = reinterpret_cast< wxColourData * >(argp1);
16305 {
16306 PyThreadState* __tstate = wxPyBeginAllowThreads();
16307 result = (arg1)->GetColour();
16308 wxPyEndAllowThreads(__tstate);
16309 if (PyErr_Occurred()) SWIG_fail;
16310 }
16311 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16312 return resultobj;
16313 fail:
16314 return NULL;
16315 }
16316
16317
16318 SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16319 PyObject *resultobj = 0;
16320 wxColourData *arg1 = (wxColourData *) 0 ;
16321 int arg2 ;
16322 wxColour result;
16323 void *argp1 = 0 ;
16324 int res1 = 0 ;
16325 int val2 ;
16326 int ecode2 = 0 ;
16327 PyObject * obj0 = 0 ;
16328 PyObject * obj1 = 0 ;
16329 char * kwnames[] = {
16330 (char *) "self",(char *) "i", NULL
16331 };
16332
16333 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
16334 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16335 if (!SWIG_IsOK(res1)) {
16336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16337 }
16338 arg1 = reinterpret_cast< wxColourData * >(argp1);
16339 ecode2 = SWIG_AsVal_int(obj1, &val2);
16340 if (!SWIG_IsOK(ecode2)) {
16341 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16342 }
16343 arg2 = static_cast< int >(val2);
16344 {
16345 PyThreadState* __tstate = wxPyBeginAllowThreads();
16346 result = (arg1)->GetCustomColour(arg2);
16347 wxPyEndAllowThreads(__tstate);
16348 if (PyErr_Occurred()) SWIG_fail;
16349 }
16350 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16351 return resultobj;
16352 fail:
16353 return NULL;
16354 }
16355
16356
16357 SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16358 PyObject *resultobj = 0;
16359 wxColourData *arg1 = (wxColourData *) 0 ;
16360 int arg2 ;
16361 void *argp1 = 0 ;
16362 int res1 = 0 ;
16363 int val2 ;
16364 int ecode2 = 0 ;
16365 PyObject * obj0 = 0 ;
16366 PyObject * obj1 = 0 ;
16367 char * kwnames[] = {
16368 (char *) "self",(char *) "flag", NULL
16369 };
16370
16371 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
16372 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16373 if (!SWIG_IsOK(res1)) {
16374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16375 }
16376 arg1 = reinterpret_cast< wxColourData * >(argp1);
16377 ecode2 = SWIG_AsVal_int(obj1, &val2);
16378 if (!SWIG_IsOK(ecode2)) {
16379 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16380 }
16381 arg2 = static_cast< int >(val2);
16382 {
16383 PyThreadState* __tstate = wxPyBeginAllowThreads();
16384 (arg1)->SetChooseFull(arg2);
16385 wxPyEndAllowThreads(__tstate);
16386 if (PyErr_Occurred()) SWIG_fail;
16387 }
16388 resultobj = SWIG_Py_Void();
16389 return resultobj;
16390 fail:
16391 return NULL;
16392 }
16393
16394
16395 SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16396 PyObject *resultobj = 0;
16397 wxColourData *arg1 = (wxColourData *) 0 ;
16398 wxColour *arg2 = 0 ;
16399 void *argp1 = 0 ;
16400 int res1 = 0 ;
16401 wxColour temp2 ;
16402 PyObject * obj0 = 0 ;
16403 PyObject * obj1 = 0 ;
16404 char * kwnames[] = {
16405 (char *) "self",(char *) "colour", NULL
16406 };
16407
16408 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
16409 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16410 if (!SWIG_IsOK(res1)) {
16411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16412 }
16413 arg1 = reinterpret_cast< wxColourData * >(argp1);
16414 {
16415 arg2 = &temp2;
16416 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16417 }
16418 {
16419 PyThreadState* __tstate = wxPyBeginAllowThreads();
16420 (arg1)->SetColour((wxColour const &)*arg2);
16421 wxPyEndAllowThreads(__tstate);
16422 if (PyErr_Occurred()) SWIG_fail;
16423 }
16424 resultobj = SWIG_Py_Void();
16425 return resultobj;
16426 fail:
16427 return NULL;
16428 }
16429
16430
16431 SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16432 PyObject *resultobj = 0;
16433 wxColourData *arg1 = (wxColourData *) 0 ;
16434 int arg2 ;
16435 wxColour *arg3 = 0 ;
16436 void *argp1 = 0 ;
16437 int res1 = 0 ;
16438 int val2 ;
16439 int ecode2 = 0 ;
16440 wxColour temp3 ;
16441 PyObject * obj0 = 0 ;
16442 PyObject * obj1 = 0 ;
16443 PyObject * obj2 = 0 ;
16444 char * kwnames[] = {
16445 (char *) "self",(char *) "i",(char *) "colour", NULL
16446 };
16447
16448 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16449 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16450 if (!SWIG_IsOK(res1)) {
16451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16452 }
16453 arg1 = reinterpret_cast< wxColourData * >(argp1);
16454 ecode2 = SWIG_AsVal_int(obj1, &val2);
16455 if (!SWIG_IsOK(ecode2)) {
16456 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16457 }
16458 arg2 = static_cast< int >(val2);
16459 {
16460 arg3 = &temp3;
16461 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16462 }
16463 {
16464 PyThreadState* __tstate = wxPyBeginAllowThreads();
16465 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
16466 wxPyEndAllowThreads(__tstate);
16467 if (PyErr_Occurred()) SWIG_fail;
16468 }
16469 resultobj = SWIG_Py_Void();
16470 return resultobj;
16471 fail:
16472 return NULL;
16473 }
16474
16475
16476 SWIGINTERN PyObject *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16477 PyObject *obj;
16478 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16479 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
16480 return SWIG_Py_Void();
16481 }
16482
16483 SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16484 return SWIG_Python_InitShadowInstance(args);
16485 }
16486
16487 SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16488 PyObject *resultobj = 0;
16489 wxWindow *arg1 = (wxWindow *) 0 ;
16490 wxColourData *arg2 = (wxColourData *) NULL ;
16491 wxColourDialog *result = 0 ;
16492 void *argp1 = 0 ;
16493 int res1 = 0 ;
16494 void *argp2 = 0 ;
16495 int res2 = 0 ;
16496 PyObject * obj0 = 0 ;
16497 PyObject * obj1 = 0 ;
16498 char * kwnames[] = {
16499 (char *) "parent",(char *) "data", NULL
16500 };
16501
16502 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
16503 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16504 if (!SWIG_IsOK(res1)) {
16505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16506 }
16507 arg1 = reinterpret_cast< wxWindow * >(argp1);
16508 if (obj1) {
16509 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
16510 if (!SWIG_IsOK(res2)) {
16511 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16512 }
16513 arg2 = reinterpret_cast< wxColourData * >(argp2);
16514 }
16515 {
16516 if (!wxPyCheckForApp()) SWIG_fail;
16517 PyThreadState* __tstate = wxPyBeginAllowThreads();
16518 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
16519 wxPyEndAllowThreads(__tstate);
16520 if (PyErr_Occurred()) SWIG_fail;
16521 }
16522 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
16523 return resultobj;
16524 fail:
16525 return NULL;
16526 }
16527
16528
16529 SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16530 PyObject *resultobj = 0;
16531 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
16532 wxColourData *result = 0 ;
16533 void *argp1 = 0 ;
16534 int res1 = 0 ;
16535 PyObject *swig_obj[1] ;
16536
16537 if (!args) SWIG_fail;
16538 swig_obj[0] = args;
16539 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourDialog, 0 | 0 );
16540 if (!SWIG_IsOK(res1)) {
16541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16542 }
16543 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
16544 {
16545 PyThreadState* __tstate = wxPyBeginAllowThreads();
16546 {
16547 wxColourData &_result_ref = (arg1)->GetColourData();
16548 result = (wxColourData *) &_result_ref;
16549 }
16550 wxPyEndAllowThreads(__tstate);
16551 if (PyErr_Occurred()) SWIG_fail;
16552 }
16553 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
16554 return resultobj;
16555 fail:
16556 return NULL;
16557 }
16558
16559
16560 SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16561 PyObject *obj;
16562 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16563 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
16564 return SWIG_Py_Void();
16565 }
16566
16567 SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16568 return SWIG_Python_InitShadowInstance(args);
16569 }
16570
16571 SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16572 PyObject *resultobj = 0;
16573 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
16574 wxColour const &arg2_defvalue = wxNullColour ;
16575 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
16576 wxString const &arg3_defvalue = wxPyEmptyString ;
16577 wxString *arg3 = (wxString *) &arg3_defvalue ;
16578 wxColour result;
16579 void *argp1 = 0 ;
16580 int res1 = 0 ;
16581 wxColour temp2 ;
16582 bool temp3 = false ;
16583 PyObject * obj0 = 0 ;
16584 PyObject * obj1 = 0 ;
16585 PyObject * obj2 = 0 ;
16586 char * kwnames[] = {
16587 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16588 };
16589
16590 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16591 if (obj0) {
16592 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16593 if (!SWIG_IsOK(res1)) {
16594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16595 }
16596 arg1 = reinterpret_cast< wxWindow * >(argp1);
16597 }
16598 if (obj1) {
16599 {
16600 arg2 = &temp2;
16601 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16602 }
16603 }
16604 if (obj2) {
16605 {
16606 arg3 = wxString_in_helper(obj2);
16607 if (arg3 == NULL) SWIG_fail;
16608 temp3 = true;
16609 }
16610 }
16611 {
16612 PyThreadState* __tstate = wxPyBeginAllowThreads();
16613 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
16614 wxPyEndAllowThreads(__tstate);
16615 if (PyErr_Occurred()) SWIG_fail;
16616 }
16617 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16618 {
16619 if (temp3)
16620 delete arg3;
16621 }
16622 return resultobj;
16623 fail:
16624 {
16625 if (temp3)
16626 delete arg3;
16627 }
16628 return NULL;
16629 }
16630
16631
16632 SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16633 PyObject *resultobj = 0;
16634 wxWindow *arg1 = (wxWindow *) 0 ;
16635 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
16636 wxString *arg2 = (wxString *) &arg2_defvalue ;
16637 wxString const &arg3_defvalue = wxPyEmptyString ;
16638 wxString *arg3 = (wxString *) &arg3_defvalue ;
16639 long arg4 = (long) 0 ;
16640 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16641 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16642 wxSize const &arg6_defvalue = wxDefaultSize ;
16643 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16644 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
16645 wxString *arg7 = (wxString *) &arg7_defvalue ;
16646 wxDirDialog *result = 0 ;
16647 void *argp1 = 0 ;
16648 int res1 = 0 ;
16649 bool temp2 = false ;
16650 bool temp3 = false ;
16651 long val4 ;
16652 int ecode4 = 0 ;
16653 wxPoint temp5 ;
16654 wxSize temp6 ;
16655 bool temp7 = false ;
16656 PyObject * obj0 = 0 ;
16657 PyObject * obj1 = 0 ;
16658 PyObject * obj2 = 0 ;
16659 PyObject * obj3 = 0 ;
16660 PyObject * obj4 = 0 ;
16661 PyObject * obj5 = 0 ;
16662 PyObject * obj6 = 0 ;
16663 char * kwnames[] = {
16664 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16665 };
16666
16667 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16668 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16669 if (!SWIG_IsOK(res1)) {
16670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16671 }
16672 arg1 = reinterpret_cast< wxWindow * >(argp1);
16673 if (obj1) {
16674 {
16675 arg2 = wxString_in_helper(obj1);
16676 if (arg2 == NULL) SWIG_fail;
16677 temp2 = true;
16678 }
16679 }
16680 if (obj2) {
16681 {
16682 arg3 = wxString_in_helper(obj2);
16683 if (arg3 == NULL) SWIG_fail;
16684 temp3 = true;
16685 }
16686 }
16687 if (obj3) {
16688 ecode4 = SWIG_AsVal_long(obj3, &val4);
16689 if (!SWIG_IsOK(ecode4)) {
16690 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16691 }
16692 arg4 = static_cast< long >(val4);
16693 }
16694 if (obj4) {
16695 {
16696 arg5 = &temp5;
16697 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16698 }
16699 }
16700 if (obj5) {
16701 {
16702 arg6 = &temp6;
16703 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16704 }
16705 }
16706 if (obj6) {
16707 {
16708 arg7 = wxString_in_helper(obj6);
16709 if (arg7 == NULL) SWIG_fail;
16710 temp7 = true;
16711 }
16712 }
16713 {
16714 if (!wxPyCheckForApp()) SWIG_fail;
16715 PyThreadState* __tstate = wxPyBeginAllowThreads();
16716 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
16717 wxPyEndAllowThreads(__tstate);
16718 if (PyErr_Occurred()) SWIG_fail;
16719 }
16720 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
16721 {
16722 if (temp2)
16723 delete arg2;
16724 }
16725 {
16726 if (temp3)
16727 delete arg3;
16728 }
16729 {
16730 if (temp7)
16731 delete arg7;
16732 }
16733 return resultobj;
16734 fail:
16735 {
16736 if (temp2)
16737 delete arg2;
16738 }
16739 {
16740 if (temp3)
16741 delete arg3;
16742 }
16743 {
16744 if (temp7)
16745 delete arg7;
16746 }
16747 return NULL;
16748 }
16749
16750
16751 SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16752 PyObject *resultobj = 0;
16753 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16754 wxString result;
16755 void *argp1 = 0 ;
16756 int res1 = 0 ;
16757 PyObject *swig_obj[1] ;
16758
16759 if (!args) SWIG_fail;
16760 swig_obj[0] = args;
16761 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16762 if (!SWIG_IsOK(res1)) {
16763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16764 }
16765 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16766 {
16767 PyThreadState* __tstate = wxPyBeginAllowThreads();
16768 result = (arg1)->GetPath();
16769 wxPyEndAllowThreads(__tstate);
16770 if (PyErr_Occurred()) SWIG_fail;
16771 }
16772 {
16773 #if wxUSE_UNICODE
16774 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16775 #else
16776 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16777 #endif
16778 }
16779 return resultobj;
16780 fail:
16781 return NULL;
16782 }
16783
16784
16785 SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16786 PyObject *resultobj = 0;
16787 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16788 wxString result;
16789 void *argp1 = 0 ;
16790 int res1 = 0 ;
16791 PyObject *swig_obj[1] ;
16792
16793 if (!args) SWIG_fail;
16794 swig_obj[0] = args;
16795 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16796 if (!SWIG_IsOK(res1)) {
16797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16798 }
16799 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16800 {
16801 PyThreadState* __tstate = wxPyBeginAllowThreads();
16802 result = (arg1)->GetMessage();
16803 wxPyEndAllowThreads(__tstate);
16804 if (PyErr_Occurred()) SWIG_fail;
16805 }
16806 {
16807 #if wxUSE_UNICODE
16808 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16809 #else
16810 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16811 #endif
16812 }
16813 return resultobj;
16814 fail:
16815 return NULL;
16816 }
16817
16818
16819 SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16820 PyObject *resultobj = 0;
16821 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16822 wxString *arg2 = 0 ;
16823 void *argp1 = 0 ;
16824 int res1 = 0 ;
16825 bool temp2 = false ;
16826 PyObject * obj0 = 0 ;
16827 PyObject * obj1 = 0 ;
16828 char * kwnames[] = {
16829 (char *) "self",(char *) "message", NULL
16830 };
16831
16832 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
16833 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16834 if (!SWIG_IsOK(res1)) {
16835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16836 }
16837 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16838 {
16839 arg2 = wxString_in_helper(obj1);
16840 if (arg2 == NULL) SWIG_fail;
16841 temp2 = true;
16842 }
16843 {
16844 PyThreadState* __tstate = wxPyBeginAllowThreads();
16845 (arg1)->SetMessage((wxString const &)*arg2);
16846 wxPyEndAllowThreads(__tstate);
16847 if (PyErr_Occurred()) SWIG_fail;
16848 }
16849 resultobj = SWIG_Py_Void();
16850 {
16851 if (temp2)
16852 delete arg2;
16853 }
16854 return resultobj;
16855 fail:
16856 {
16857 if (temp2)
16858 delete arg2;
16859 }
16860 return NULL;
16861 }
16862
16863
16864 SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16865 PyObject *resultobj = 0;
16866 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16867 wxString *arg2 = 0 ;
16868 void *argp1 = 0 ;
16869 int res1 = 0 ;
16870 bool temp2 = false ;
16871 PyObject * obj0 = 0 ;
16872 PyObject * obj1 = 0 ;
16873 char * kwnames[] = {
16874 (char *) "self",(char *) "path", NULL
16875 };
16876
16877 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
16878 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16879 if (!SWIG_IsOK(res1)) {
16880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16881 }
16882 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16883 {
16884 arg2 = wxString_in_helper(obj1);
16885 if (arg2 == NULL) SWIG_fail;
16886 temp2 = true;
16887 }
16888 {
16889 PyThreadState* __tstate = wxPyBeginAllowThreads();
16890 (arg1)->SetPath((wxString const &)*arg2);
16891 wxPyEndAllowThreads(__tstate);
16892 if (PyErr_Occurred()) SWIG_fail;
16893 }
16894 resultobj = SWIG_Py_Void();
16895 {
16896 if (temp2)
16897 delete arg2;
16898 }
16899 return resultobj;
16900 fail:
16901 {
16902 if (temp2)
16903 delete arg2;
16904 }
16905 return NULL;
16906 }
16907
16908
16909 SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16910 PyObject *obj;
16911 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16912 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
16913 return SWIG_Py_Void();
16914 }
16915
16916 SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16917 return SWIG_Python_InitShadowInstance(args);
16918 }
16919
16920 SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16921 PyObject *resultobj = 0;
16922 wxWindow *arg1 = (wxWindow *) 0 ;
16923 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
16924 wxString *arg2 = (wxString *) &arg2_defvalue ;
16925 wxString const &arg3_defvalue = wxPyEmptyString ;
16926 wxString *arg3 = (wxString *) &arg3_defvalue ;
16927 wxString const &arg4_defvalue = wxPyEmptyString ;
16928 wxString *arg4 = (wxString *) &arg4_defvalue ;
16929 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
16930 wxString *arg5 = (wxString *) &arg5_defvalue ;
16931 long arg6 = (long) 0 ;
16932 wxPoint const &arg7_defvalue = wxDefaultPosition ;
16933 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
16934 wxFileDialog *result = 0 ;
16935 void *argp1 = 0 ;
16936 int res1 = 0 ;
16937 bool temp2 = false ;
16938 bool temp3 = false ;
16939 bool temp4 = false ;
16940 bool temp5 = false ;
16941 long val6 ;
16942 int ecode6 = 0 ;
16943 wxPoint temp7 ;
16944 PyObject * obj0 = 0 ;
16945 PyObject * obj1 = 0 ;
16946 PyObject * obj2 = 0 ;
16947 PyObject * obj3 = 0 ;
16948 PyObject * obj4 = 0 ;
16949 PyObject * obj5 = 0 ;
16950 PyObject * obj6 = 0 ;
16951 char * kwnames[] = {
16952 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
16953 };
16954
16955 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16956 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16957 if (!SWIG_IsOK(res1)) {
16958 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16959 }
16960 arg1 = reinterpret_cast< wxWindow * >(argp1);
16961 if (obj1) {
16962 {
16963 arg2 = wxString_in_helper(obj1);
16964 if (arg2 == NULL) SWIG_fail;
16965 temp2 = true;
16966 }
16967 }
16968 if (obj2) {
16969 {
16970 arg3 = wxString_in_helper(obj2);
16971 if (arg3 == NULL) SWIG_fail;
16972 temp3 = true;
16973 }
16974 }
16975 if (obj3) {
16976 {
16977 arg4 = wxString_in_helper(obj3);
16978 if (arg4 == NULL) SWIG_fail;
16979 temp4 = true;
16980 }
16981 }
16982 if (obj4) {
16983 {
16984 arg5 = wxString_in_helper(obj4);
16985 if (arg5 == NULL) SWIG_fail;
16986 temp5 = true;
16987 }
16988 }
16989 if (obj5) {
16990 ecode6 = SWIG_AsVal_long(obj5, &val6);
16991 if (!SWIG_IsOK(ecode6)) {
16992 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
16993 }
16994 arg6 = static_cast< long >(val6);
16995 }
16996 if (obj6) {
16997 {
16998 arg7 = &temp7;
16999 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
17000 }
17001 }
17002 {
17003 if (!wxPyCheckForApp()) SWIG_fail;
17004 PyThreadState* __tstate = wxPyBeginAllowThreads();
17005 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
17006 wxPyEndAllowThreads(__tstate);
17007 if (PyErr_Occurred()) SWIG_fail;
17008 }
17009 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
17010 {
17011 if (temp2)
17012 delete arg2;
17013 }
17014 {
17015 if (temp3)
17016 delete arg3;
17017 }
17018 {
17019 if (temp4)
17020 delete arg4;
17021 }
17022 {
17023 if (temp5)
17024 delete arg5;
17025 }
17026 return resultobj;
17027 fail:
17028 {
17029 if (temp2)
17030 delete arg2;
17031 }
17032 {
17033 if (temp3)
17034 delete arg3;
17035 }
17036 {
17037 if (temp4)
17038 delete arg4;
17039 }
17040 {
17041 if (temp5)
17042 delete arg5;
17043 }
17044 return NULL;
17045 }
17046
17047
17048 SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17049 PyObject *resultobj = 0;
17050 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17051 wxString *arg2 = 0 ;
17052 void *argp1 = 0 ;
17053 int res1 = 0 ;
17054 bool temp2 = false ;
17055 PyObject * obj0 = 0 ;
17056 PyObject * obj1 = 0 ;
17057 char * kwnames[] = {
17058 (char *) "self",(char *) "message", NULL
17059 };
17060
17061 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17062 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17063 if (!SWIG_IsOK(res1)) {
17064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17065 }
17066 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17067 {
17068 arg2 = wxString_in_helper(obj1);
17069 if (arg2 == NULL) SWIG_fail;
17070 temp2 = true;
17071 }
17072 {
17073 PyThreadState* __tstate = wxPyBeginAllowThreads();
17074 (arg1)->SetMessage((wxString const &)*arg2);
17075 wxPyEndAllowThreads(__tstate);
17076 if (PyErr_Occurred()) SWIG_fail;
17077 }
17078 resultobj = SWIG_Py_Void();
17079 {
17080 if (temp2)
17081 delete arg2;
17082 }
17083 return resultobj;
17084 fail:
17085 {
17086 if (temp2)
17087 delete arg2;
17088 }
17089 return NULL;
17090 }
17091
17092
17093 SWIGINTERN PyObject *_wrap_FileDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17094 PyObject *resultobj = 0;
17095 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17096 wxString *arg2 = 0 ;
17097 void *argp1 = 0 ;
17098 int res1 = 0 ;
17099 bool temp2 = false ;
17100 PyObject * obj0 = 0 ;
17101 PyObject * obj1 = 0 ;
17102 char * kwnames[] = {
17103 (char *) "self",(char *) "path", NULL
17104 };
17105
17106 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17107 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17108 if (!SWIG_IsOK(res1)) {
17109 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17110 }
17111 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17112 {
17113 arg2 = wxString_in_helper(obj1);
17114 if (arg2 == NULL) SWIG_fail;
17115 temp2 = true;
17116 }
17117 {
17118 PyThreadState* __tstate = wxPyBeginAllowThreads();
17119 (arg1)->SetPath((wxString const &)*arg2);
17120 wxPyEndAllowThreads(__tstate);
17121 if (PyErr_Occurred()) SWIG_fail;
17122 }
17123 resultobj = SWIG_Py_Void();
17124 {
17125 if (temp2)
17126 delete arg2;
17127 }
17128 return resultobj;
17129 fail:
17130 {
17131 if (temp2)
17132 delete arg2;
17133 }
17134 return NULL;
17135 }
17136
17137
17138 SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17139 PyObject *resultobj = 0;
17140 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17141 wxString *arg2 = 0 ;
17142 void *argp1 = 0 ;
17143 int res1 = 0 ;
17144 bool temp2 = false ;
17145 PyObject * obj0 = 0 ;
17146 PyObject * obj1 = 0 ;
17147 char * kwnames[] = {
17148 (char *) "self",(char *) "dir", NULL
17149 };
17150
17151 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
17152 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17153 if (!SWIG_IsOK(res1)) {
17154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17155 }
17156 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17157 {
17158 arg2 = wxString_in_helper(obj1);
17159 if (arg2 == NULL) SWIG_fail;
17160 temp2 = true;
17161 }
17162 {
17163 PyThreadState* __tstate = wxPyBeginAllowThreads();
17164 (arg1)->SetDirectory((wxString const &)*arg2);
17165 wxPyEndAllowThreads(__tstate);
17166 if (PyErr_Occurred()) SWIG_fail;
17167 }
17168 resultobj = SWIG_Py_Void();
17169 {
17170 if (temp2)
17171 delete arg2;
17172 }
17173 return resultobj;
17174 fail:
17175 {
17176 if (temp2)
17177 delete arg2;
17178 }
17179 return NULL;
17180 }
17181
17182
17183 SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17184 PyObject *resultobj = 0;
17185 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17186 wxString *arg2 = 0 ;
17187 void *argp1 = 0 ;
17188 int res1 = 0 ;
17189 bool temp2 = false ;
17190 PyObject * obj0 = 0 ;
17191 PyObject * obj1 = 0 ;
17192 char * kwnames[] = {
17193 (char *) "self",(char *) "name", NULL
17194 };
17195
17196 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
17197 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17198 if (!SWIG_IsOK(res1)) {
17199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17200 }
17201 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17202 {
17203 arg2 = wxString_in_helper(obj1);
17204 if (arg2 == NULL) SWIG_fail;
17205 temp2 = true;
17206 }
17207 {
17208 PyThreadState* __tstate = wxPyBeginAllowThreads();
17209 (arg1)->SetFilename((wxString const &)*arg2);
17210 wxPyEndAllowThreads(__tstate);
17211 if (PyErr_Occurred()) SWIG_fail;
17212 }
17213 resultobj = SWIG_Py_Void();
17214 {
17215 if (temp2)
17216 delete arg2;
17217 }
17218 return resultobj;
17219 fail:
17220 {
17221 if (temp2)
17222 delete arg2;
17223 }
17224 return NULL;
17225 }
17226
17227
17228 SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17229 PyObject *resultobj = 0;
17230 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17231 wxString *arg2 = 0 ;
17232 void *argp1 = 0 ;
17233 int res1 = 0 ;
17234 bool temp2 = false ;
17235 PyObject * obj0 = 0 ;
17236 PyObject * obj1 = 0 ;
17237 char * kwnames[] = {
17238 (char *) "self",(char *) "wildCard", NULL
17239 };
17240
17241 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
17242 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17243 if (!SWIG_IsOK(res1)) {
17244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17245 }
17246 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17247 {
17248 arg2 = wxString_in_helper(obj1);
17249 if (arg2 == NULL) SWIG_fail;
17250 temp2 = true;
17251 }
17252 {
17253 PyThreadState* __tstate = wxPyBeginAllowThreads();
17254 (arg1)->SetWildcard((wxString const &)*arg2);
17255 wxPyEndAllowThreads(__tstate);
17256 if (PyErr_Occurred()) SWIG_fail;
17257 }
17258 resultobj = SWIG_Py_Void();
17259 {
17260 if (temp2)
17261 delete arg2;
17262 }
17263 return resultobj;
17264 fail:
17265 {
17266 if (temp2)
17267 delete arg2;
17268 }
17269 return NULL;
17270 }
17271
17272
17273 SWIGINTERN PyObject *_wrap_FileDialog_SetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17274 PyObject *resultobj = 0;
17275 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17276 long arg2 ;
17277 void *argp1 = 0 ;
17278 int res1 = 0 ;
17279 long val2 ;
17280 int ecode2 = 0 ;
17281 PyObject * obj0 = 0 ;
17282 PyObject * obj1 = 0 ;
17283 char * kwnames[] = {
17284 (char *) "self",(char *) "style", NULL
17285 };
17286
17287 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) SWIG_fail;
17288 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17289 if (!SWIG_IsOK(res1)) {
17290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetStyle" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17291 }
17292 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17293 ecode2 = SWIG_AsVal_long(obj1, &val2);
17294 if (!SWIG_IsOK(ecode2)) {
17295 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetStyle" "', expected argument " "2"" of type '" "long""'");
17296 }
17297 arg2 = static_cast< long >(val2);
17298 {
17299 PyThreadState* __tstate = wxPyBeginAllowThreads();
17300 (arg1)->SetStyle(arg2);
17301 wxPyEndAllowThreads(__tstate);
17302 if (PyErr_Occurred()) SWIG_fail;
17303 }
17304 resultobj = SWIG_Py_Void();
17305 return resultobj;
17306 fail:
17307 return NULL;
17308 }
17309
17310
17311 SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17312 PyObject *resultobj = 0;
17313 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17314 int arg2 ;
17315 void *argp1 = 0 ;
17316 int res1 = 0 ;
17317 int val2 ;
17318 int ecode2 = 0 ;
17319 PyObject * obj0 = 0 ;
17320 PyObject * obj1 = 0 ;
17321 char * kwnames[] = {
17322 (char *) "self",(char *) "filterIndex", NULL
17323 };
17324
17325 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
17326 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17327 if (!SWIG_IsOK(res1)) {
17328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17329 }
17330 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17331 ecode2 = SWIG_AsVal_int(obj1, &val2);
17332 if (!SWIG_IsOK(ecode2)) {
17333 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17334 }
17335 arg2 = static_cast< int >(val2);
17336 {
17337 PyThreadState* __tstate = wxPyBeginAllowThreads();
17338 (arg1)->SetFilterIndex(arg2);
17339 wxPyEndAllowThreads(__tstate);
17340 if (PyErr_Occurred()) SWIG_fail;
17341 }
17342 resultobj = SWIG_Py_Void();
17343 return resultobj;
17344 fail:
17345 return NULL;
17346 }
17347
17348
17349 SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17350 PyObject *resultobj = 0;
17351 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17352 wxString result;
17353 void *argp1 = 0 ;
17354 int res1 = 0 ;
17355 PyObject *swig_obj[1] ;
17356
17357 if (!args) SWIG_fail;
17358 swig_obj[0] = args;
17359 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17360 if (!SWIG_IsOK(res1)) {
17361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17362 }
17363 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17364 {
17365 PyThreadState* __tstate = wxPyBeginAllowThreads();
17366 result = ((wxFileDialog const *)arg1)->GetMessage();
17367 wxPyEndAllowThreads(__tstate);
17368 if (PyErr_Occurred()) SWIG_fail;
17369 }
17370 {
17371 #if wxUSE_UNICODE
17372 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17373 #else
17374 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17375 #endif
17376 }
17377 return resultobj;
17378 fail:
17379 return NULL;
17380 }
17381
17382
17383 SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17384 PyObject *resultobj = 0;
17385 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17386 wxString result;
17387 void *argp1 = 0 ;
17388 int res1 = 0 ;
17389 PyObject *swig_obj[1] ;
17390
17391 if (!args) SWIG_fail;
17392 swig_obj[0] = args;
17393 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17394 if (!SWIG_IsOK(res1)) {
17395 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17396 }
17397 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17398 {
17399 PyThreadState* __tstate = wxPyBeginAllowThreads();
17400 result = ((wxFileDialog const *)arg1)->GetPath();
17401 wxPyEndAllowThreads(__tstate);
17402 if (PyErr_Occurred()) SWIG_fail;
17403 }
17404 {
17405 #if wxUSE_UNICODE
17406 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17407 #else
17408 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17409 #endif
17410 }
17411 return resultobj;
17412 fail:
17413 return NULL;
17414 }
17415
17416
17417 SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17418 PyObject *resultobj = 0;
17419 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17420 wxString result;
17421 void *argp1 = 0 ;
17422 int res1 = 0 ;
17423 PyObject *swig_obj[1] ;
17424
17425 if (!args) SWIG_fail;
17426 swig_obj[0] = args;
17427 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17428 if (!SWIG_IsOK(res1)) {
17429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17430 }
17431 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17432 {
17433 PyThreadState* __tstate = wxPyBeginAllowThreads();
17434 result = ((wxFileDialog const *)arg1)->GetDirectory();
17435 wxPyEndAllowThreads(__tstate);
17436 if (PyErr_Occurred()) SWIG_fail;
17437 }
17438 {
17439 #if wxUSE_UNICODE
17440 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17441 #else
17442 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17443 #endif
17444 }
17445 return resultobj;
17446 fail:
17447 return NULL;
17448 }
17449
17450
17451 SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17452 PyObject *resultobj = 0;
17453 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17454 wxString result;
17455 void *argp1 = 0 ;
17456 int res1 = 0 ;
17457 PyObject *swig_obj[1] ;
17458
17459 if (!args) SWIG_fail;
17460 swig_obj[0] = args;
17461 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17462 if (!SWIG_IsOK(res1)) {
17463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17464 }
17465 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17466 {
17467 PyThreadState* __tstate = wxPyBeginAllowThreads();
17468 result = ((wxFileDialog const *)arg1)->GetFilename();
17469 wxPyEndAllowThreads(__tstate);
17470 if (PyErr_Occurred()) SWIG_fail;
17471 }
17472 {
17473 #if wxUSE_UNICODE
17474 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17475 #else
17476 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17477 #endif
17478 }
17479 return resultobj;
17480 fail:
17481 return NULL;
17482 }
17483
17484
17485 SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17486 PyObject *resultobj = 0;
17487 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17488 wxString result;
17489 void *argp1 = 0 ;
17490 int res1 = 0 ;
17491 PyObject *swig_obj[1] ;
17492
17493 if (!args) SWIG_fail;
17494 swig_obj[0] = args;
17495 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17496 if (!SWIG_IsOK(res1)) {
17497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17498 }
17499 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17500 {
17501 PyThreadState* __tstate = wxPyBeginAllowThreads();
17502 result = ((wxFileDialog const *)arg1)->GetWildcard();
17503 wxPyEndAllowThreads(__tstate);
17504 if (PyErr_Occurred()) SWIG_fail;
17505 }
17506 {
17507 #if wxUSE_UNICODE
17508 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17509 #else
17510 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17511 #endif
17512 }
17513 return resultobj;
17514 fail:
17515 return NULL;
17516 }
17517
17518
17519 SWIGINTERN PyObject *_wrap_FileDialog_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17520 PyObject *resultobj = 0;
17521 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17522 long result;
17523 void *argp1 = 0 ;
17524 int res1 = 0 ;
17525 PyObject *swig_obj[1] ;
17526
17527 if (!args) SWIG_fail;
17528 swig_obj[0] = args;
17529 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17530 if (!SWIG_IsOK(res1)) {
17531 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetStyle" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17532 }
17533 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17534 {
17535 PyThreadState* __tstate = wxPyBeginAllowThreads();
17536 result = (long)((wxFileDialog const *)arg1)->GetStyle();
17537 wxPyEndAllowThreads(__tstate);
17538 if (PyErr_Occurred()) SWIG_fail;
17539 }
17540 resultobj = SWIG_From_long(static_cast< long >(result));
17541 return resultobj;
17542 fail:
17543 return NULL;
17544 }
17545
17546
17547 SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17548 PyObject *resultobj = 0;
17549 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17550 int result;
17551 void *argp1 = 0 ;
17552 int res1 = 0 ;
17553 PyObject *swig_obj[1] ;
17554
17555 if (!args) SWIG_fail;
17556 swig_obj[0] = args;
17557 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17558 if (!SWIG_IsOK(res1)) {
17559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17560 }
17561 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17562 {
17563 PyThreadState* __tstate = wxPyBeginAllowThreads();
17564 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
17565 wxPyEndAllowThreads(__tstate);
17566 if (PyErr_Occurred()) SWIG_fail;
17567 }
17568 resultobj = SWIG_From_int(static_cast< int >(result));
17569 return resultobj;
17570 fail:
17571 return NULL;
17572 }
17573
17574
17575 SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17576 PyObject *resultobj = 0;
17577 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17578 PyObject *result = 0 ;
17579 void *argp1 = 0 ;
17580 int res1 = 0 ;
17581 PyObject *swig_obj[1] ;
17582
17583 if (!args) SWIG_fail;
17584 swig_obj[0] = args;
17585 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17586 if (!SWIG_IsOK(res1)) {
17587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17588 }
17589 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17590 {
17591 PyThreadState* __tstate = wxPyBeginAllowThreads();
17592 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
17593 wxPyEndAllowThreads(__tstate);
17594 if (PyErr_Occurred()) SWIG_fail;
17595 }
17596 resultobj = result;
17597 return resultobj;
17598 fail:
17599 return NULL;
17600 }
17601
17602
17603 SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17604 PyObject *resultobj = 0;
17605 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17606 PyObject *result = 0 ;
17607 void *argp1 = 0 ;
17608 int res1 = 0 ;
17609 PyObject *swig_obj[1] ;
17610
17611 if (!args) SWIG_fail;
17612 swig_obj[0] = args;
17613 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17614 if (!SWIG_IsOK(res1)) {
17615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17616 }
17617 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17618 {
17619 PyThreadState* __tstate = wxPyBeginAllowThreads();
17620 result = (PyObject *)wxFileDialog_GetPaths(arg1);
17621 wxPyEndAllowThreads(__tstate);
17622 if (PyErr_Occurred()) SWIG_fail;
17623 }
17624 resultobj = result;
17625 return resultobj;
17626 fail:
17627 return NULL;
17628 }
17629
17630
17631 SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17632 PyObject *obj;
17633 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17634 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
17635 return SWIG_Py_Void();
17636 }
17637
17638 SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17639 return SWIG_Python_InitShadowInstance(args);
17640 }
17641
17642 SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17643 PyObject *resultobj = 0;
17644 wxWindow *arg1 = (wxWindow *) 0 ;
17645 wxString *arg2 = 0 ;
17646 wxString *arg3 = 0 ;
17647 int arg4 = (int) 0 ;
17648 wxString *arg5 = (wxString *) NULL ;
17649 long arg6 = (long) wxCHOICEDLG_STYLE ;
17650 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17651 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17652 wxMultiChoiceDialog *result = 0 ;
17653 void *argp1 = 0 ;
17654 int res1 = 0 ;
17655 bool temp2 = false ;
17656 bool temp3 = false ;
17657 long val6 ;
17658 int ecode6 = 0 ;
17659 wxPoint temp7 ;
17660 PyObject * obj0 = 0 ;
17661 PyObject * obj1 = 0 ;
17662 PyObject * obj2 = 0 ;
17663 PyObject * obj3 = 0 ;
17664 PyObject * obj4 = 0 ;
17665 PyObject * obj5 = 0 ;
17666 char * kwnames[] = {
17667 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17668 };
17669
17670 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17671 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17672 if (!SWIG_IsOK(res1)) {
17673 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17674 }
17675 arg1 = reinterpret_cast< wxWindow * >(argp1);
17676 {
17677 arg2 = wxString_in_helper(obj1);
17678 if (arg2 == NULL) SWIG_fail;
17679 temp2 = true;
17680 }
17681 {
17682 arg3 = wxString_in_helper(obj2);
17683 if (arg3 == NULL) SWIG_fail;
17684 temp3 = true;
17685 }
17686 if (obj3) {
17687 {
17688 arg4 = PyList_Size(obj3);
17689 arg5 = wxString_LIST_helper(obj3);
17690 if (arg5 == NULL) SWIG_fail;
17691 }
17692 }
17693 if (obj4) {
17694 ecode6 = SWIG_AsVal_long(obj4, &val6);
17695 if (!SWIG_IsOK(ecode6)) {
17696 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17697 }
17698 arg6 = static_cast< long >(val6);
17699 }
17700 if (obj5) {
17701 {
17702 arg7 = &temp7;
17703 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
17704 }
17705 }
17706 {
17707 if (!wxPyCheckForApp()) SWIG_fail;
17708 PyThreadState* __tstate = wxPyBeginAllowThreads();
17709 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17710 wxPyEndAllowThreads(__tstate);
17711 if (PyErr_Occurred()) SWIG_fail;
17712 }
17713 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
17714 {
17715 if (temp2)
17716 delete arg2;
17717 }
17718 {
17719 if (temp3)
17720 delete arg3;
17721 }
17722 {
17723 if (arg5) delete [] arg5;
17724 }
17725 return resultobj;
17726 fail:
17727 {
17728 if (temp2)
17729 delete arg2;
17730 }
17731 {
17732 if (temp3)
17733 delete arg3;
17734 }
17735 {
17736 if (arg5) delete [] arg5;
17737 }
17738 return NULL;
17739 }
17740
17741
17742 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17743 PyObject *resultobj = 0;
17744 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17745 wxArrayInt *arg2 = 0 ;
17746 void *argp1 = 0 ;
17747 int res1 = 0 ;
17748 bool temp2 = false ;
17749 PyObject * obj0 = 0 ;
17750 PyObject * obj1 = 0 ;
17751 char * kwnames[] = {
17752 (char *) "self",(char *) "selections", NULL
17753 };
17754
17755 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
17756 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17757 if (!SWIG_IsOK(res1)) {
17758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17759 }
17760 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17761 {
17762 if (! PySequence_Check(obj1)) {
17763 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
17764 SWIG_fail;
17765 }
17766 arg2 = new wxArrayInt;
17767 temp2 = true;
17768 int i, len=PySequence_Length(obj1);
17769 for (i=0; i<len; i++) {
17770 PyObject* item = PySequence_GetItem(obj1, i);
17771 PyObject* number = PyNumber_Int(item);
17772 arg2->Add(PyInt_AS_LONG(number));
17773 Py_DECREF(item);
17774 Py_DECREF(number);
17775 }
17776 }
17777 {
17778 PyThreadState* __tstate = wxPyBeginAllowThreads();
17779 (arg1)->SetSelections((wxArrayInt const &)*arg2);
17780 wxPyEndAllowThreads(__tstate);
17781 if (PyErr_Occurred()) SWIG_fail;
17782 }
17783 resultobj = SWIG_Py_Void();
17784 {
17785 if (temp2) delete arg2;
17786 }
17787 return resultobj;
17788 fail:
17789 {
17790 if (temp2) delete arg2;
17791 }
17792 return NULL;
17793 }
17794
17795
17796 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17797 PyObject *resultobj = 0;
17798 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17799 PyObject *result = 0 ;
17800 void *argp1 = 0 ;
17801 int res1 = 0 ;
17802 PyObject *swig_obj[1] ;
17803
17804 if (!args) SWIG_fail;
17805 swig_obj[0] = args;
17806 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17807 if (!SWIG_IsOK(res1)) {
17808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17809 }
17810 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17811 {
17812 PyThreadState* __tstate = wxPyBeginAllowThreads();
17813 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
17814 wxPyEndAllowThreads(__tstate);
17815 if (PyErr_Occurred()) SWIG_fail;
17816 }
17817 resultobj = result;
17818 return resultobj;
17819 fail:
17820 return NULL;
17821 }
17822
17823
17824 SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17825 PyObject *obj;
17826 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17827 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
17828 return SWIG_Py_Void();
17829 }
17830
17831 SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17832 return SWIG_Python_InitShadowInstance(args);
17833 }
17834
17835 SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17836 PyObject *resultobj = 0;
17837 wxWindow *arg1 = (wxWindow *) 0 ;
17838 wxString *arg2 = 0 ;
17839 wxString *arg3 = 0 ;
17840 int arg4 ;
17841 wxString *arg5 = (wxString *) 0 ;
17842 long arg6 = (long) wxCHOICEDLG_STYLE ;
17843 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17844 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17845 wxSingleChoiceDialog *result = 0 ;
17846 void *argp1 = 0 ;
17847 int res1 = 0 ;
17848 bool temp2 = false ;
17849 bool temp3 = false ;
17850 long val6 ;
17851 int ecode6 = 0 ;
17852 wxPoint temp7 ;
17853 PyObject * obj0 = 0 ;
17854 PyObject * obj1 = 0 ;
17855 PyObject * obj2 = 0 ;
17856 PyObject * obj3 = 0 ;
17857 PyObject * obj4 = 0 ;
17858 PyObject * obj5 = 0 ;
17859 char * kwnames[] = {
17860 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17861 };
17862
17863 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17864 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17865 if (!SWIG_IsOK(res1)) {
17866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17867 }
17868 arg1 = reinterpret_cast< wxWindow * >(argp1);
17869 {
17870 arg2 = wxString_in_helper(obj1);
17871 if (arg2 == NULL) SWIG_fail;
17872 temp2 = true;
17873 }
17874 {
17875 arg3 = wxString_in_helper(obj2);
17876 if (arg3 == NULL) SWIG_fail;
17877 temp3 = true;
17878 }
17879 {
17880 arg4 = PyList_Size(obj3);
17881 arg5 = wxString_LIST_helper(obj3);
17882 if (arg5 == NULL) SWIG_fail;
17883 }
17884 if (obj4) {
17885 ecode6 = SWIG_AsVal_long(obj4, &val6);
17886 if (!SWIG_IsOK(ecode6)) {
17887 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17888 }
17889 arg6 = static_cast< long >(val6);
17890 }
17891 if (obj5) {
17892 {
17893 arg7 = &temp7;
17894 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
17895 }
17896 }
17897 {
17898 if (!wxPyCheckForApp()) SWIG_fail;
17899 PyThreadState* __tstate = wxPyBeginAllowThreads();
17900 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17901 wxPyEndAllowThreads(__tstate);
17902 if (PyErr_Occurred()) SWIG_fail;
17903 }
17904 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
17905 {
17906 if (temp2)
17907 delete arg2;
17908 }
17909 {
17910 if (temp3)
17911 delete arg3;
17912 }
17913 {
17914 if (arg5) delete [] arg5;
17915 }
17916 return resultobj;
17917 fail:
17918 {
17919 if (temp2)
17920 delete arg2;
17921 }
17922 {
17923 if (temp3)
17924 delete arg3;
17925 }
17926 {
17927 if (arg5) delete [] arg5;
17928 }
17929 return NULL;
17930 }
17931
17932
17933 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17934 PyObject *resultobj = 0;
17935 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17936 int result;
17937 void *argp1 = 0 ;
17938 int res1 = 0 ;
17939 PyObject *swig_obj[1] ;
17940
17941 if (!args) SWIG_fail;
17942 swig_obj[0] = args;
17943 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17944 if (!SWIG_IsOK(res1)) {
17945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17946 }
17947 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17948 {
17949 PyThreadState* __tstate = wxPyBeginAllowThreads();
17950 result = (int)(arg1)->GetSelection();
17951 wxPyEndAllowThreads(__tstate);
17952 if (PyErr_Occurred()) SWIG_fail;
17953 }
17954 resultobj = SWIG_From_int(static_cast< int >(result));
17955 return resultobj;
17956 fail:
17957 return NULL;
17958 }
17959
17960
17961 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17962 PyObject *resultobj = 0;
17963 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17964 wxString result;
17965 void *argp1 = 0 ;
17966 int res1 = 0 ;
17967 PyObject *swig_obj[1] ;
17968
17969 if (!args) SWIG_fail;
17970 swig_obj[0] = args;
17971 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17972 if (!SWIG_IsOK(res1)) {
17973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17974 }
17975 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17976 {
17977 PyThreadState* __tstate = wxPyBeginAllowThreads();
17978 result = (arg1)->GetStringSelection();
17979 wxPyEndAllowThreads(__tstate);
17980 if (PyErr_Occurred()) SWIG_fail;
17981 }
17982 {
17983 #if wxUSE_UNICODE
17984 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17985 #else
17986 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17987 #endif
17988 }
17989 return resultobj;
17990 fail:
17991 return NULL;
17992 }
17993
17994
17995 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17996 PyObject *resultobj = 0;
17997 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17998 int arg2 ;
17999 void *argp1 = 0 ;
18000 int res1 = 0 ;
18001 int val2 ;
18002 int ecode2 = 0 ;
18003 PyObject * obj0 = 0 ;
18004 PyObject * obj1 = 0 ;
18005 char * kwnames[] = {
18006 (char *) "self",(char *) "sel", NULL
18007 };
18008
18009 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
18010 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18011 if (!SWIG_IsOK(res1)) {
18012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18013 }
18014 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18015 ecode2 = SWIG_AsVal_int(obj1, &val2);
18016 if (!SWIG_IsOK(ecode2)) {
18017 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18018 }
18019 arg2 = static_cast< int >(val2);
18020 {
18021 PyThreadState* __tstate = wxPyBeginAllowThreads();
18022 (arg1)->SetSelection(arg2);
18023 wxPyEndAllowThreads(__tstate);
18024 if (PyErr_Occurred()) SWIG_fail;
18025 }
18026 resultobj = SWIG_Py_Void();
18027 return resultobj;
18028 fail:
18029 return NULL;
18030 }
18031
18032
18033 SWIGINTERN PyObject *SingleChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18034 PyObject *obj;
18035 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18036 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog, SWIG_NewClientData(obj));
18037 return SWIG_Py_Void();
18038 }
18039
18040 SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18041 return SWIG_Python_InitShadowInstance(args);
18042 }
18043
18044 SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18045 PyObject *resultobj = 0;
18046 wxWindow *arg1 = (wxWindow *) 0 ;
18047 wxString *arg2 = 0 ;
18048 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
18049 wxString *arg3 = (wxString *) &arg3_defvalue ;
18050 wxString const &arg4_defvalue = wxPyEmptyString ;
18051 wxString *arg4 = (wxString *) &arg4_defvalue ;
18052 long arg5 = (long) wxTextEntryDialogStyle ;
18053 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18054 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18055 wxTextEntryDialog *result = 0 ;
18056 void *argp1 = 0 ;
18057 int res1 = 0 ;
18058 bool temp2 = false ;
18059 bool temp3 = false ;
18060 bool temp4 = false ;
18061 long val5 ;
18062 int ecode5 = 0 ;
18063 wxPoint temp6 ;
18064 PyObject * obj0 = 0 ;
18065 PyObject * obj1 = 0 ;
18066 PyObject * obj2 = 0 ;
18067 PyObject * obj3 = 0 ;
18068 PyObject * obj4 = 0 ;
18069 PyObject * obj5 = 0 ;
18070 char * kwnames[] = {
18071 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18072 };
18073
18074 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18075 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18076 if (!SWIG_IsOK(res1)) {
18077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18078 }
18079 arg1 = reinterpret_cast< wxWindow * >(argp1);
18080 {
18081 arg2 = wxString_in_helper(obj1);
18082 if (arg2 == NULL) SWIG_fail;
18083 temp2 = true;
18084 }
18085 if (obj2) {
18086 {
18087 arg3 = wxString_in_helper(obj2);
18088 if (arg3 == NULL) SWIG_fail;
18089 temp3 = true;
18090 }
18091 }
18092 if (obj3) {
18093 {
18094 arg4 = wxString_in_helper(obj3);
18095 if (arg4 == NULL) SWIG_fail;
18096 temp4 = true;
18097 }
18098 }
18099 if (obj4) {
18100 ecode5 = SWIG_AsVal_long(obj4, &val5);
18101 if (!SWIG_IsOK(ecode5)) {
18102 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18103 }
18104 arg5 = static_cast< long >(val5);
18105 }
18106 if (obj5) {
18107 {
18108 arg6 = &temp6;
18109 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18110 }
18111 }
18112 {
18113 if (!wxPyCheckForApp()) SWIG_fail;
18114 PyThreadState* __tstate = wxPyBeginAllowThreads();
18115 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18116 wxPyEndAllowThreads(__tstate);
18117 if (PyErr_Occurred()) SWIG_fail;
18118 }
18119 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
18120 {
18121 if (temp2)
18122 delete arg2;
18123 }
18124 {
18125 if (temp3)
18126 delete arg3;
18127 }
18128 {
18129 if (temp4)
18130 delete arg4;
18131 }
18132 return resultobj;
18133 fail:
18134 {
18135 if (temp2)
18136 delete arg2;
18137 }
18138 {
18139 if (temp3)
18140 delete arg3;
18141 }
18142 {
18143 if (temp4)
18144 delete arg4;
18145 }
18146 return NULL;
18147 }
18148
18149
18150 SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18151 PyObject *resultobj = 0;
18152 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18153 wxString result;
18154 void *argp1 = 0 ;
18155 int res1 = 0 ;
18156 PyObject *swig_obj[1] ;
18157
18158 if (!args) SWIG_fail;
18159 swig_obj[0] = args;
18160 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18161 if (!SWIG_IsOK(res1)) {
18162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18163 }
18164 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18165 {
18166 PyThreadState* __tstate = wxPyBeginAllowThreads();
18167 result = (arg1)->GetValue();
18168 wxPyEndAllowThreads(__tstate);
18169 if (PyErr_Occurred()) SWIG_fail;
18170 }
18171 {
18172 #if wxUSE_UNICODE
18173 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18174 #else
18175 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18176 #endif
18177 }
18178 return resultobj;
18179 fail:
18180 return NULL;
18181 }
18182
18183
18184 SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18185 PyObject *resultobj = 0;
18186 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18187 wxString *arg2 = 0 ;
18188 void *argp1 = 0 ;
18189 int res1 = 0 ;
18190 bool temp2 = false ;
18191 PyObject * obj0 = 0 ;
18192 PyObject * obj1 = 0 ;
18193 char * kwnames[] = {
18194 (char *) "self",(char *) "value", NULL
18195 };
18196
18197 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18198 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18199 if (!SWIG_IsOK(res1)) {
18200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18201 }
18202 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18203 {
18204 arg2 = wxString_in_helper(obj1);
18205 if (arg2 == NULL) SWIG_fail;
18206 temp2 = true;
18207 }
18208 {
18209 PyThreadState* __tstate = wxPyBeginAllowThreads();
18210 (arg1)->SetValue((wxString const &)*arg2);
18211 wxPyEndAllowThreads(__tstate);
18212 if (PyErr_Occurred()) SWIG_fail;
18213 }
18214 resultobj = SWIG_Py_Void();
18215 {
18216 if (temp2)
18217 delete arg2;
18218 }
18219 return resultobj;
18220 fail:
18221 {
18222 if (temp2)
18223 delete arg2;
18224 }
18225 return NULL;
18226 }
18227
18228
18229 SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18230 PyObject *obj;
18231 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18232 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
18233 return SWIG_Py_Void();
18234 }
18235
18236 SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18237 return SWIG_Python_InitShadowInstance(args);
18238 }
18239
18240 SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
18241 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
18242 return 1;
18243 }
18244
18245
18246 SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
18247 PyObject *pyobj = 0;
18248
18249 {
18250 #if wxUSE_UNICODE
18251 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18252 #else
18253 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18254 #endif
18255 }
18256 return pyobj;
18257 }
18258
18259
18260 SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18261 PyObject *resultobj = 0;
18262 wxWindow *arg1 = (wxWindow *) 0 ;
18263 wxString *arg2 = 0 ;
18264 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
18265 wxString *arg3 = (wxString *) &arg3_defvalue ;
18266 wxString const &arg4_defvalue = wxPyEmptyString ;
18267 wxString *arg4 = (wxString *) &arg4_defvalue ;
18268 long arg5 = (long) wxTextEntryDialogStyle ;
18269 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18270 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18271 wxPasswordEntryDialog *result = 0 ;
18272 void *argp1 = 0 ;
18273 int res1 = 0 ;
18274 bool temp2 = false ;
18275 bool temp3 = false ;
18276 bool temp4 = false ;
18277 long val5 ;
18278 int ecode5 = 0 ;
18279 wxPoint temp6 ;
18280 PyObject * obj0 = 0 ;
18281 PyObject * obj1 = 0 ;
18282 PyObject * obj2 = 0 ;
18283 PyObject * obj3 = 0 ;
18284 PyObject * obj4 = 0 ;
18285 PyObject * obj5 = 0 ;
18286 char * kwnames[] = {
18287 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18288 };
18289
18290 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18291 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18292 if (!SWIG_IsOK(res1)) {
18293 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18294 }
18295 arg1 = reinterpret_cast< wxWindow * >(argp1);
18296 {
18297 arg2 = wxString_in_helper(obj1);
18298 if (arg2 == NULL) SWIG_fail;
18299 temp2 = true;
18300 }
18301 if (obj2) {
18302 {
18303 arg3 = wxString_in_helper(obj2);
18304 if (arg3 == NULL) SWIG_fail;
18305 temp3 = true;
18306 }
18307 }
18308 if (obj3) {
18309 {
18310 arg4 = wxString_in_helper(obj3);
18311 if (arg4 == NULL) SWIG_fail;
18312 temp4 = true;
18313 }
18314 }
18315 if (obj4) {
18316 ecode5 = SWIG_AsVal_long(obj4, &val5);
18317 if (!SWIG_IsOK(ecode5)) {
18318 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18319 }
18320 arg5 = static_cast< long >(val5);
18321 }
18322 if (obj5) {
18323 {
18324 arg6 = &temp6;
18325 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18326 }
18327 }
18328 {
18329 PyThreadState* __tstate = wxPyBeginAllowThreads();
18330 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18331 wxPyEndAllowThreads(__tstate);
18332 if (PyErr_Occurred()) SWIG_fail;
18333 }
18334 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
18335 {
18336 if (temp2)
18337 delete arg2;
18338 }
18339 {
18340 if (temp3)
18341 delete arg3;
18342 }
18343 {
18344 if (temp4)
18345 delete arg4;
18346 }
18347 return resultobj;
18348 fail:
18349 {
18350 if (temp2)
18351 delete arg2;
18352 }
18353 {
18354 if (temp3)
18355 delete arg3;
18356 }
18357 {
18358 if (temp4)
18359 delete arg4;
18360 }
18361 return NULL;
18362 }
18363
18364
18365 SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18366 PyObject *obj;
18367 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18368 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
18369 return SWIG_Py_Void();
18370 }
18371
18372 SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18373 return SWIG_Python_InitShadowInstance(args);
18374 }
18375
18376 SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18377 PyObject *resultobj = 0;
18378 wxFontData *result = 0 ;
18379
18380 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
18381 {
18382 PyThreadState* __tstate = wxPyBeginAllowThreads();
18383 result = (wxFontData *)new wxFontData();
18384 wxPyEndAllowThreads(__tstate);
18385 if (PyErr_Occurred()) SWIG_fail;
18386 }
18387 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
18388 return resultobj;
18389 fail:
18390 return NULL;
18391 }
18392
18393
18394 SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18395 PyObject *resultobj = 0;
18396 wxFontData *arg1 = (wxFontData *) 0 ;
18397 void *argp1 = 0 ;
18398 int res1 = 0 ;
18399 PyObject *swig_obj[1] ;
18400
18401 if (!args) SWIG_fail;
18402 swig_obj[0] = args;
18403 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
18404 if (!SWIG_IsOK(res1)) {
18405 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18406 }
18407 arg1 = reinterpret_cast< wxFontData * >(argp1);
18408 {
18409 PyThreadState* __tstate = wxPyBeginAllowThreads();
18410 delete arg1;
18411
18412 wxPyEndAllowThreads(__tstate);
18413 if (PyErr_Occurred()) SWIG_fail;
18414 }
18415 resultobj = SWIG_Py_Void();
18416 return resultobj;
18417 fail:
18418 return NULL;
18419 }
18420
18421
18422 SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18423 PyObject *resultobj = 0;
18424 wxFontData *arg1 = (wxFontData *) 0 ;
18425 bool arg2 ;
18426 void *argp1 = 0 ;
18427 int res1 = 0 ;
18428 bool val2 ;
18429 int ecode2 = 0 ;
18430 PyObject * obj0 = 0 ;
18431 PyObject * obj1 = 0 ;
18432 char * kwnames[] = {
18433 (char *) "self",(char *) "enable", NULL
18434 };
18435
18436 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
18437 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18438 if (!SWIG_IsOK(res1)) {
18439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18440 }
18441 arg1 = reinterpret_cast< wxFontData * >(argp1);
18442 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18443 if (!SWIG_IsOK(ecode2)) {
18444 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18445 }
18446 arg2 = static_cast< bool >(val2);
18447 {
18448 PyThreadState* __tstate = wxPyBeginAllowThreads();
18449 (arg1)->EnableEffects(arg2);
18450 wxPyEndAllowThreads(__tstate);
18451 if (PyErr_Occurred()) SWIG_fail;
18452 }
18453 resultobj = SWIG_Py_Void();
18454 return resultobj;
18455 fail:
18456 return NULL;
18457 }
18458
18459
18460 SWIGINTERN PyObject *_wrap_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18461 PyObject *resultobj = 0;
18462 wxFontData *arg1 = (wxFontData *) 0 ;
18463 bool result;
18464 void *argp1 = 0 ;
18465 int res1 = 0 ;
18466 PyObject *swig_obj[1] ;
18467
18468 if (!args) SWIG_fail;
18469 swig_obj[0] = args;
18470 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18471 if (!SWIG_IsOK(res1)) {
18472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18473 }
18474 arg1 = reinterpret_cast< wxFontData * >(argp1);
18475 {
18476 PyThreadState* __tstate = wxPyBeginAllowThreads();
18477 result = (bool)(arg1)->GetAllowSymbols();
18478 wxPyEndAllowThreads(__tstate);
18479 if (PyErr_Occurred()) SWIG_fail;
18480 }
18481 {
18482 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18483 }
18484 return resultobj;
18485 fail:
18486 return NULL;
18487 }
18488
18489
18490 SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18491 PyObject *resultobj = 0;
18492 wxFontData *arg1 = (wxFontData *) 0 ;
18493 wxColour result;
18494 void *argp1 = 0 ;
18495 int res1 = 0 ;
18496 PyObject *swig_obj[1] ;
18497
18498 if (!args) SWIG_fail;
18499 swig_obj[0] = args;
18500 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18501 if (!SWIG_IsOK(res1)) {
18502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18503 }
18504 arg1 = reinterpret_cast< wxFontData * >(argp1);
18505 {
18506 PyThreadState* __tstate = wxPyBeginAllowThreads();
18507 result = (arg1)->GetColour();
18508 wxPyEndAllowThreads(__tstate);
18509 if (PyErr_Occurred()) SWIG_fail;
18510 }
18511 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
18512 return resultobj;
18513 fail:
18514 return NULL;
18515 }
18516
18517
18518 SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18519 PyObject *resultobj = 0;
18520 wxFontData *arg1 = (wxFontData *) 0 ;
18521 wxFont result;
18522 void *argp1 = 0 ;
18523 int res1 = 0 ;
18524 PyObject *swig_obj[1] ;
18525
18526 if (!args) SWIG_fail;
18527 swig_obj[0] = args;
18528 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18529 if (!SWIG_IsOK(res1)) {
18530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18531 }
18532 arg1 = reinterpret_cast< wxFontData * >(argp1);
18533 {
18534 PyThreadState* __tstate = wxPyBeginAllowThreads();
18535 result = (arg1)->GetChosenFont();
18536 wxPyEndAllowThreads(__tstate);
18537 if (PyErr_Occurred()) SWIG_fail;
18538 }
18539 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18540 return resultobj;
18541 fail:
18542 return NULL;
18543 }
18544
18545
18546 SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18547 PyObject *resultobj = 0;
18548 wxFontData *arg1 = (wxFontData *) 0 ;
18549 bool result;
18550 void *argp1 = 0 ;
18551 int res1 = 0 ;
18552 PyObject *swig_obj[1] ;
18553
18554 if (!args) SWIG_fail;
18555 swig_obj[0] = args;
18556 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18557 if (!SWIG_IsOK(res1)) {
18558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18559 }
18560 arg1 = reinterpret_cast< wxFontData * >(argp1);
18561 {
18562 PyThreadState* __tstate = wxPyBeginAllowThreads();
18563 result = (bool)(arg1)->GetEnableEffects();
18564 wxPyEndAllowThreads(__tstate);
18565 if (PyErr_Occurred()) SWIG_fail;
18566 }
18567 {
18568 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18569 }
18570 return resultobj;
18571 fail:
18572 return NULL;
18573 }
18574
18575
18576 SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18577 PyObject *resultobj = 0;
18578 wxFontData *arg1 = (wxFontData *) 0 ;
18579 wxFont result;
18580 void *argp1 = 0 ;
18581 int res1 = 0 ;
18582 PyObject *swig_obj[1] ;
18583
18584 if (!args) SWIG_fail;
18585 swig_obj[0] = args;
18586 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18587 if (!SWIG_IsOK(res1)) {
18588 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18589 }
18590 arg1 = reinterpret_cast< wxFontData * >(argp1);
18591 {
18592 PyThreadState* __tstate = wxPyBeginAllowThreads();
18593 result = (arg1)->GetInitialFont();
18594 wxPyEndAllowThreads(__tstate);
18595 if (PyErr_Occurred()) SWIG_fail;
18596 }
18597 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18598 return resultobj;
18599 fail:
18600 return NULL;
18601 }
18602
18603
18604 SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18605 PyObject *resultobj = 0;
18606 wxFontData *arg1 = (wxFontData *) 0 ;
18607 bool result;
18608 void *argp1 = 0 ;
18609 int res1 = 0 ;
18610 PyObject *swig_obj[1] ;
18611
18612 if (!args) SWIG_fail;
18613 swig_obj[0] = args;
18614 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18615 if (!SWIG_IsOK(res1)) {
18616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18617 }
18618 arg1 = reinterpret_cast< wxFontData * >(argp1);
18619 {
18620 PyThreadState* __tstate = wxPyBeginAllowThreads();
18621 result = (bool)(arg1)->GetShowHelp();
18622 wxPyEndAllowThreads(__tstate);
18623 if (PyErr_Occurred()) SWIG_fail;
18624 }
18625 {
18626 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18627 }
18628 return resultobj;
18629 fail:
18630 return NULL;
18631 }
18632
18633
18634 SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18635 PyObject *resultobj = 0;
18636 wxFontData *arg1 = (wxFontData *) 0 ;
18637 bool arg2 ;
18638 void *argp1 = 0 ;
18639 int res1 = 0 ;
18640 bool val2 ;
18641 int ecode2 = 0 ;
18642 PyObject * obj0 = 0 ;
18643 PyObject * obj1 = 0 ;
18644 char * kwnames[] = {
18645 (char *) "self",(char *) "allowSymbols", NULL
18646 };
18647
18648 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) SWIG_fail;
18649 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18650 if (!SWIG_IsOK(res1)) {
18651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18652 }
18653 arg1 = reinterpret_cast< wxFontData * >(argp1);
18654 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18655 if (!SWIG_IsOK(ecode2)) {
18656 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18657 }
18658 arg2 = static_cast< bool >(val2);
18659 {
18660 PyThreadState* __tstate = wxPyBeginAllowThreads();
18661 (arg1)->SetAllowSymbols(arg2);
18662 wxPyEndAllowThreads(__tstate);
18663 if (PyErr_Occurred()) SWIG_fail;
18664 }
18665 resultobj = SWIG_Py_Void();
18666 return resultobj;
18667 fail:
18668 return NULL;
18669 }
18670
18671
18672 SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18673 PyObject *resultobj = 0;
18674 wxFontData *arg1 = (wxFontData *) 0 ;
18675 wxFont *arg2 = 0 ;
18676 void *argp1 = 0 ;
18677 int res1 = 0 ;
18678 void *argp2 = 0 ;
18679 int res2 = 0 ;
18680 PyObject * obj0 = 0 ;
18681 PyObject * obj1 = 0 ;
18682 char * kwnames[] = {
18683 (char *) "self",(char *) "font", NULL
18684 };
18685
18686 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
18687 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18688 if (!SWIG_IsOK(res1)) {
18689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18690 }
18691 arg1 = reinterpret_cast< wxFontData * >(argp1);
18692 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18693 if (!SWIG_IsOK(res2)) {
18694 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18695 }
18696 if (!argp2) {
18697 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18698 }
18699 arg2 = reinterpret_cast< wxFont * >(argp2);
18700 {
18701 PyThreadState* __tstate = wxPyBeginAllowThreads();
18702 (arg1)->SetChosenFont((wxFont const &)*arg2);
18703 wxPyEndAllowThreads(__tstate);
18704 if (PyErr_Occurred()) SWIG_fail;
18705 }
18706 resultobj = SWIG_Py_Void();
18707 return resultobj;
18708 fail:
18709 return NULL;
18710 }
18711
18712
18713 SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18714 PyObject *resultobj = 0;
18715 wxFontData *arg1 = (wxFontData *) 0 ;
18716 wxColour *arg2 = 0 ;
18717 void *argp1 = 0 ;
18718 int res1 = 0 ;
18719 wxColour temp2 ;
18720 PyObject * obj0 = 0 ;
18721 PyObject * obj1 = 0 ;
18722 char * kwnames[] = {
18723 (char *) "self",(char *) "colour", NULL
18724 };
18725
18726 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
18727 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18728 if (!SWIG_IsOK(res1)) {
18729 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18730 }
18731 arg1 = reinterpret_cast< wxFontData * >(argp1);
18732 {
18733 arg2 = &temp2;
18734 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18735 }
18736 {
18737 PyThreadState* __tstate = wxPyBeginAllowThreads();
18738 (arg1)->SetColour((wxColour const &)*arg2);
18739 wxPyEndAllowThreads(__tstate);
18740 if (PyErr_Occurred()) SWIG_fail;
18741 }
18742 resultobj = SWIG_Py_Void();
18743 return resultobj;
18744 fail:
18745 return NULL;
18746 }
18747
18748
18749 SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18750 PyObject *resultobj = 0;
18751 wxFontData *arg1 = (wxFontData *) 0 ;
18752 wxFont *arg2 = 0 ;
18753 void *argp1 = 0 ;
18754 int res1 = 0 ;
18755 void *argp2 = 0 ;
18756 int res2 = 0 ;
18757 PyObject * obj0 = 0 ;
18758 PyObject * obj1 = 0 ;
18759 char * kwnames[] = {
18760 (char *) "self",(char *) "font", NULL
18761 };
18762
18763 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
18764 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18765 if (!SWIG_IsOK(res1)) {
18766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18767 }
18768 arg1 = reinterpret_cast< wxFontData * >(argp1);
18769 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18770 if (!SWIG_IsOK(res2)) {
18771 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18772 }
18773 if (!argp2) {
18774 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18775 }
18776 arg2 = reinterpret_cast< wxFont * >(argp2);
18777 {
18778 PyThreadState* __tstate = wxPyBeginAllowThreads();
18779 (arg1)->SetInitialFont((wxFont const &)*arg2);
18780 wxPyEndAllowThreads(__tstate);
18781 if (PyErr_Occurred()) SWIG_fail;
18782 }
18783 resultobj = SWIG_Py_Void();
18784 return resultobj;
18785 fail:
18786 return NULL;
18787 }
18788
18789
18790 SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18791 PyObject *resultobj = 0;
18792 wxFontData *arg1 = (wxFontData *) 0 ;
18793 int arg2 ;
18794 int arg3 ;
18795 void *argp1 = 0 ;
18796 int res1 = 0 ;
18797 int val2 ;
18798 int ecode2 = 0 ;
18799 int val3 ;
18800 int ecode3 = 0 ;
18801 PyObject * obj0 = 0 ;
18802 PyObject * obj1 = 0 ;
18803 PyObject * obj2 = 0 ;
18804 char * kwnames[] = {
18805 (char *) "self",(char *) "min",(char *) "max", NULL
18806 };
18807
18808 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18809 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18810 if (!SWIG_IsOK(res1)) {
18811 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
18812 }
18813 arg1 = reinterpret_cast< wxFontData * >(argp1);
18814 ecode2 = SWIG_AsVal_int(obj1, &val2);
18815 if (!SWIG_IsOK(ecode2)) {
18816 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
18817 }
18818 arg2 = static_cast< int >(val2);
18819 ecode3 = SWIG_AsVal_int(obj2, &val3);
18820 if (!SWIG_IsOK(ecode3)) {
18821 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
18822 }
18823 arg3 = static_cast< int >(val3);
18824 {
18825 PyThreadState* __tstate = wxPyBeginAllowThreads();
18826 (arg1)->SetRange(arg2,arg3);
18827 wxPyEndAllowThreads(__tstate);
18828 if (PyErr_Occurred()) SWIG_fail;
18829 }
18830 resultobj = SWIG_Py_Void();
18831 return resultobj;
18832 fail:
18833 return NULL;
18834 }
18835
18836
18837 SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18838 PyObject *resultobj = 0;
18839 wxFontData *arg1 = (wxFontData *) 0 ;
18840 bool arg2 ;
18841 void *argp1 = 0 ;
18842 int res1 = 0 ;
18843 bool val2 ;
18844 int ecode2 = 0 ;
18845 PyObject * obj0 = 0 ;
18846 PyObject * obj1 = 0 ;
18847 char * kwnames[] = {
18848 (char *) "self",(char *) "showHelp", NULL
18849 };
18850
18851 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
18852 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18853 if (!SWIG_IsOK(res1)) {
18854 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18855 }
18856 arg1 = reinterpret_cast< wxFontData * >(argp1);
18857 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18858 if (!SWIG_IsOK(ecode2)) {
18859 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
18860 }
18861 arg2 = static_cast< bool >(val2);
18862 {
18863 PyThreadState* __tstate = wxPyBeginAllowThreads();
18864 (arg1)->SetShowHelp(arg2);
18865 wxPyEndAllowThreads(__tstate);
18866 if (PyErr_Occurred()) SWIG_fail;
18867 }
18868 resultobj = SWIG_Py_Void();
18869 return resultobj;
18870 fail:
18871 return NULL;
18872 }
18873
18874
18875 SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18876 PyObject *obj;
18877 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18878 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
18879 return SWIG_Py_Void();
18880 }
18881
18882 SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18883 return SWIG_Python_InitShadowInstance(args);
18884 }
18885
18886 SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18887 PyObject *resultobj = 0;
18888 wxWindow *arg1 = (wxWindow *) 0 ;
18889 wxFontData *arg2 = 0 ;
18890 wxFontDialog *result = 0 ;
18891 void *argp1 = 0 ;
18892 int res1 = 0 ;
18893 void *argp2 = 0 ;
18894 int res2 = 0 ;
18895 PyObject * obj0 = 0 ;
18896 PyObject * obj1 = 0 ;
18897 char * kwnames[] = {
18898 (char *) "parent",(char *) "data", NULL
18899 };
18900
18901 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
18902 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18903 if (!SWIG_IsOK(res1)) {
18904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18905 }
18906 arg1 = reinterpret_cast< wxWindow * >(argp1);
18907 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
18908 if (!SWIG_IsOK(res2)) {
18909 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18910 }
18911 if (!argp2) {
18912 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18913 }
18914 arg2 = reinterpret_cast< wxFontData * >(argp2);
18915 {
18916 if (!wxPyCheckForApp()) SWIG_fail;
18917 PyThreadState* __tstate = wxPyBeginAllowThreads();
18918 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
18919 wxPyEndAllowThreads(__tstate);
18920 if (PyErr_Occurred()) SWIG_fail;
18921 }
18922 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
18923 return resultobj;
18924 fail:
18925 return NULL;
18926 }
18927
18928
18929 SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18930 PyObject *resultobj = 0;
18931 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
18932 wxFontData *result = 0 ;
18933 void *argp1 = 0 ;
18934 int res1 = 0 ;
18935 PyObject *swig_obj[1] ;
18936
18937 if (!args) SWIG_fail;
18938 swig_obj[0] = args;
18939 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontDialog, 0 | 0 );
18940 if (!SWIG_IsOK(res1)) {
18941 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
18942 }
18943 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
18944 {
18945 PyThreadState* __tstate = wxPyBeginAllowThreads();
18946 {
18947 wxFontData &_result_ref = (arg1)->GetFontData();
18948 result = (wxFontData *) &_result_ref;
18949 }
18950 wxPyEndAllowThreads(__tstate);
18951 if (PyErr_Occurred()) SWIG_fail;
18952 }
18953 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
18954 return resultobj;
18955 fail:
18956 return NULL;
18957 }
18958
18959
18960 SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18961 PyObject *obj;
18962 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18963 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
18964 return SWIG_Py_Void();
18965 }
18966
18967 SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18968 return SWIG_Python_InitShadowInstance(args);
18969 }
18970
18971 SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18972 PyObject *resultobj = 0;
18973 wxWindow *arg1 = (wxWindow *) NULL ;
18974 wxFont const &arg2_defvalue = wxNullFont ;
18975 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
18976 wxString const &arg3_defvalue = wxPyEmptyString ;
18977 wxString *arg3 = (wxString *) &arg3_defvalue ;
18978 wxFont result;
18979 void *argp1 = 0 ;
18980 int res1 = 0 ;
18981 void *argp2 = 0 ;
18982 int res2 = 0 ;
18983 bool temp3 = false ;
18984 PyObject * obj0 = 0 ;
18985 PyObject * obj1 = 0 ;
18986 PyObject * obj2 = 0 ;
18987 char * kwnames[] = {
18988 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
18989 };
18990
18991 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18992 if (obj0) {
18993 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18994 if (!SWIG_IsOK(res1)) {
18995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
18996 }
18997 arg1 = reinterpret_cast< wxWindow * >(argp1);
18998 }
18999 if (obj1) {
19000 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19001 if (!SWIG_IsOK(res2)) {
19002 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19003 }
19004 if (!argp2) {
19005 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19006 }
19007 arg2 = reinterpret_cast< wxFont * >(argp2);
19008 }
19009 if (obj2) {
19010 {
19011 arg3 = wxString_in_helper(obj2);
19012 if (arg3 == NULL) SWIG_fail;
19013 temp3 = true;
19014 }
19015 }
19016 {
19017 PyThreadState* __tstate = wxPyBeginAllowThreads();
19018 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
19019 wxPyEndAllowThreads(__tstate);
19020 if (PyErr_Occurred()) SWIG_fail;
19021 }
19022 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19023 {
19024 if (temp3)
19025 delete arg3;
19026 }
19027 return resultobj;
19028 fail:
19029 {
19030 if (temp3)
19031 delete arg3;
19032 }
19033 return NULL;
19034 }
19035
19036
19037 SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19038 PyObject *resultobj = 0;
19039 wxWindow *arg1 = (wxWindow *) 0 ;
19040 wxString *arg2 = 0 ;
19041 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
19042 wxString *arg3 = (wxString *) &arg3_defvalue ;
19043 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
19044 wxPoint const &arg5_defvalue = wxDefaultPosition ;
19045 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
19046 wxMessageDialog *result = 0 ;
19047 void *argp1 = 0 ;
19048 int res1 = 0 ;
19049 bool temp2 = false ;
19050 bool temp3 = false ;
19051 long val4 ;
19052 int ecode4 = 0 ;
19053 wxPoint temp5 ;
19054 PyObject * obj0 = 0 ;
19055 PyObject * obj1 = 0 ;
19056 PyObject * obj2 = 0 ;
19057 PyObject * obj3 = 0 ;
19058 PyObject * obj4 = 0 ;
19059 char * kwnames[] = {
19060 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19061 };
19062
19063 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19064 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19065 if (!SWIG_IsOK(res1)) {
19066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19067 }
19068 arg1 = reinterpret_cast< wxWindow * >(argp1);
19069 {
19070 arg2 = wxString_in_helper(obj1);
19071 if (arg2 == NULL) SWIG_fail;
19072 temp2 = true;
19073 }
19074 if (obj2) {
19075 {
19076 arg3 = wxString_in_helper(obj2);
19077 if (arg3 == NULL) SWIG_fail;
19078 temp3 = true;
19079 }
19080 }
19081 if (obj3) {
19082 ecode4 = SWIG_AsVal_long(obj3, &val4);
19083 if (!SWIG_IsOK(ecode4)) {
19084 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19085 }
19086 arg4 = static_cast< long >(val4);
19087 }
19088 if (obj4) {
19089 {
19090 arg5 = &temp5;
19091 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
19092 }
19093 }
19094 {
19095 if (!wxPyCheckForApp()) SWIG_fail;
19096 PyThreadState* __tstate = wxPyBeginAllowThreads();
19097 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
19098 wxPyEndAllowThreads(__tstate);
19099 if (PyErr_Occurred()) SWIG_fail;
19100 }
19101 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
19102 {
19103 if (temp2)
19104 delete arg2;
19105 }
19106 {
19107 if (temp3)
19108 delete arg3;
19109 }
19110 return resultobj;
19111 fail:
19112 {
19113 if (temp2)
19114 delete arg2;
19115 }
19116 {
19117 if (temp3)
19118 delete arg3;
19119 }
19120 return NULL;
19121 }
19122
19123
19124 SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19125 PyObject *obj;
19126 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19127 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
19128 return SWIG_Py_Void();
19129 }
19130
19131 SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19132 return SWIG_Python_InitShadowInstance(args);
19133 }
19134
19135 SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19136 PyObject *resultobj = 0;
19137 wxString *arg1 = 0 ;
19138 wxString *arg2 = 0 ;
19139 int arg3 = (int) 100 ;
19140 wxWindow *arg4 = (wxWindow *) NULL ;
19141 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
19142 wxProgressDialog *result = 0 ;
19143 bool temp1 = false ;
19144 bool temp2 = false ;
19145 int val3 ;
19146 int ecode3 = 0 ;
19147 void *argp4 = 0 ;
19148 int res4 = 0 ;
19149 int val5 ;
19150 int ecode5 = 0 ;
19151 PyObject * obj0 = 0 ;
19152 PyObject * obj1 = 0 ;
19153 PyObject * obj2 = 0 ;
19154 PyObject * obj3 = 0 ;
19155 PyObject * obj4 = 0 ;
19156 char * kwnames[] = {
19157 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19158 };
19159
19160 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19161 {
19162 arg1 = wxString_in_helper(obj0);
19163 if (arg1 == NULL) SWIG_fail;
19164 temp1 = true;
19165 }
19166 {
19167 arg2 = wxString_in_helper(obj1);
19168 if (arg2 == NULL) SWIG_fail;
19169 temp2 = true;
19170 }
19171 if (obj2) {
19172 ecode3 = SWIG_AsVal_int(obj2, &val3);
19173 if (!SWIG_IsOK(ecode3)) {
19174 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19175 }
19176 arg3 = static_cast< int >(val3);
19177 }
19178 if (obj3) {
19179 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
19180 if (!SWIG_IsOK(res4)) {
19181 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19182 }
19183 arg4 = reinterpret_cast< wxWindow * >(argp4);
19184 }
19185 if (obj4) {
19186 ecode5 = SWIG_AsVal_int(obj4, &val5);
19187 if (!SWIG_IsOK(ecode5)) {
19188 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19189 }
19190 arg5 = static_cast< int >(val5);
19191 }
19192 {
19193 if (!wxPyCheckForApp()) SWIG_fail;
19194 PyThreadState* __tstate = wxPyBeginAllowThreads();
19195 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
19196 wxPyEndAllowThreads(__tstate);
19197 if (PyErr_Occurred()) SWIG_fail;
19198 }
19199 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
19200 {
19201 if (temp1)
19202 delete arg1;
19203 }
19204 {
19205 if (temp2)
19206 delete arg2;
19207 }
19208 return resultobj;
19209 fail:
19210 {
19211 if (temp1)
19212 delete arg1;
19213 }
19214 {
19215 if (temp2)
19216 delete arg2;
19217 }
19218 return NULL;
19219 }
19220
19221
19222 SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19223 PyObject *resultobj = 0;
19224 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19225 int arg2 ;
19226 wxString const &arg3_defvalue = wxPyEmptyString ;
19227 wxString *arg3 = (wxString *) &arg3_defvalue ;
19228 bool *arg4 = (bool *) 0 ;
19229 bool result;
19230 void *argp1 = 0 ;
19231 int res1 = 0 ;
19232 int val2 ;
19233 int ecode2 = 0 ;
19234 bool temp3 = false ;
19235 bool temp4 ;
19236 int res4 = SWIG_TMPOBJ ;
19237 PyObject * obj0 = 0 ;
19238 PyObject * obj1 = 0 ;
19239 PyObject * obj2 = 0 ;
19240 char * kwnames[] = {
19241 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19242 };
19243
19244 arg4 = &temp4;
19245 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19246 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19247 if (!SWIG_IsOK(res1)) {
19248 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19249 }
19250 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19251 ecode2 = SWIG_AsVal_int(obj1, &val2);
19252 if (!SWIG_IsOK(ecode2)) {
19253 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19254 }
19255 arg2 = static_cast< int >(val2);
19256 if (obj2) {
19257 {
19258 arg3 = wxString_in_helper(obj2);
19259 if (arg3 == NULL) SWIG_fail;
19260 temp3 = true;
19261 }
19262 }
19263 {
19264 PyThreadState* __tstate = wxPyBeginAllowThreads();
19265 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3,arg4);
19266 wxPyEndAllowThreads(__tstate);
19267 if (PyErr_Occurred()) SWIG_fail;
19268 }
19269 {
19270 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19271 }
19272 if (SWIG_IsTmpObj(res4)) {
19273 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
19274 } else {
19275 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19276 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
19277 }
19278 {
19279 if (temp3)
19280 delete arg3;
19281 }
19282 return resultobj;
19283 fail:
19284 {
19285 if (temp3)
19286 delete arg3;
19287 }
19288 return NULL;
19289 }
19290
19291
19292 SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19293 PyObject *resultobj = 0;
19294 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19295 void *argp1 = 0 ;
19296 int res1 = 0 ;
19297 PyObject *swig_obj[1] ;
19298
19299 if (!args) SWIG_fail;
19300 swig_obj[0] = args;
19301 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19302 if (!SWIG_IsOK(res1)) {
19303 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19304 }
19305 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19306 {
19307 PyThreadState* __tstate = wxPyBeginAllowThreads();
19308 (arg1)->Resume();
19309 wxPyEndAllowThreads(__tstate);
19310 if (PyErr_Occurred()) SWIG_fail;
19311 }
19312 resultobj = SWIG_Py_Void();
19313 return resultobj;
19314 fail:
19315 return NULL;
19316 }
19317
19318
19319 SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19320 PyObject *obj;
19321 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19322 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
19323 return SWIG_Py_Void();
19324 }
19325
19326 SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19327 return SWIG_Python_InitShadowInstance(args);
19328 }
19329
19330 SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19331 PyObject *resultobj = 0;
19332 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19333 int arg2 = (int) 0 ;
19334 wxFindDialogEvent *result = 0 ;
19335 int val1 ;
19336 int ecode1 = 0 ;
19337 int val2 ;
19338 int ecode2 = 0 ;
19339 PyObject * obj0 = 0 ;
19340 PyObject * obj1 = 0 ;
19341 char * kwnames[] = {
19342 (char *) "commandType",(char *) "id", NULL
19343 };
19344
19345 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
19346 if (obj0) {
19347 ecode1 = SWIG_AsVal_int(obj0, &val1);
19348 if (!SWIG_IsOK(ecode1)) {
19349 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19350 }
19351 arg1 = static_cast< wxEventType >(val1);
19352 }
19353 if (obj1) {
19354 ecode2 = SWIG_AsVal_int(obj1, &val2);
19355 if (!SWIG_IsOK(ecode2)) {
19356 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19357 }
19358 arg2 = static_cast< int >(val2);
19359 }
19360 {
19361 PyThreadState* __tstate = wxPyBeginAllowThreads();
19362 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
19363 wxPyEndAllowThreads(__tstate);
19364 if (PyErr_Occurred()) SWIG_fail;
19365 }
19366 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
19367 return resultobj;
19368 fail:
19369 return NULL;
19370 }
19371
19372
19373 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19374 PyObject *resultobj = 0;
19375 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19376 int result;
19377 void *argp1 = 0 ;
19378 int res1 = 0 ;
19379 PyObject *swig_obj[1] ;
19380
19381 if (!args) SWIG_fail;
19382 swig_obj[0] = args;
19383 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19384 if (!SWIG_IsOK(res1)) {
19385 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19386 }
19387 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19388 {
19389 PyThreadState* __tstate = wxPyBeginAllowThreads();
19390 result = (int)(arg1)->GetFlags();
19391 wxPyEndAllowThreads(__tstate);
19392 if (PyErr_Occurred()) SWIG_fail;
19393 }
19394 resultobj = SWIG_From_int(static_cast< int >(result));
19395 return resultobj;
19396 fail:
19397 return NULL;
19398 }
19399
19400
19401 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19402 PyObject *resultobj = 0;
19403 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19404 wxString *result = 0 ;
19405 void *argp1 = 0 ;
19406 int res1 = 0 ;
19407 PyObject *swig_obj[1] ;
19408
19409 if (!args) SWIG_fail;
19410 swig_obj[0] = args;
19411 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19412 if (!SWIG_IsOK(res1)) {
19413 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19414 }
19415 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19416 {
19417 PyThreadState* __tstate = wxPyBeginAllowThreads();
19418 {
19419 wxString const &_result_ref = (arg1)->GetFindString();
19420 result = (wxString *) &_result_ref;
19421 }
19422 wxPyEndAllowThreads(__tstate);
19423 if (PyErr_Occurred()) SWIG_fail;
19424 }
19425 {
19426 #if wxUSE_UNICODE
19427 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19428 #else
19429 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19430 #endif
19431 }
19432 return resultobj;
19433 fail:
19434 return NULL;
19435 }
19436
19437
19438 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19439 PyObject *resultobj = 0;
19440 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19441 wxString *result = 0 ;
19442 void *argp1 = 0 ;
19443 int res1 = 0 ;
19444 PyObject *swig_obj[1] ;
19445
19446 if (!args) SWIG_fail;
19447 swig_obj[0] = args;
19448 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19449 if (!SWIG_IsOK(res1)) {
19450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19451 }
19452 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19453 {
19454 PyThreadState* __tstate = wxPyBeginAllowThreads();
19455 {
19456 wxString const &_result_ref = (arg1)->GetReplaceString();
19457 result = (wxString *) &_result_ref;
19458 }
19459 wxPyEndAllowThreads(__tstate);
19460 if (PyErr_Occurred()) SWIG_fail;
19461 }
19462 {
19463 #if wxUSE_UNICODE
19464 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19465 #else
19466 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19467 #endif
19468 }
19469 return resultobj;
19470 fail:
19471 return NULL;
19472 }
19473
19474
19475 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19476 PyObject *resultobj = 0;
19477 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19478 wxFindReplaceDialog *result = 0 ;
19479 void *argp1 = 0 ;
19480 int res1 = 0 ;
19481 PyObject *swig_obj[1] ;
19482
19483 if (!args) SWIG_fail;
19484 swig_obj[0] = args;
19485 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19486 if (!SWIG_IsOK(res1)) {
19487 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19488 }
19489 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19490 {
19491 PyThreadState* __tstate = wxPyBeginAllowThreads();
19492 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
19493 wxPyEndAllowThreads(__tstate);
19494 if (PyErr_Occurred()) SWIG_fail;
19495 }
19496 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19497 return resultobj;
19498 fail:
19499 return NULL;
19500 }
19501
19502
19503 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19504 PyObject *resultobj = 0;
19505 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19506 int arg2 ;
19507 void *argp1 = 0 ;
19508 int res1 = 0 ;
19509 int val2 ;
19510 int ecode2 = 0 ;
19511 PyObject * obj0 = 0 ;
19512 PyObject * obj1 = 0 ;
19513 char * kwnames[] = {
19514 (char *) "self",(char *) "flags", NULL
19515 };
19516
19517 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19518 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19519 if (!SWIG_IsOK(res1)) {
19520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19521 }
19522 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19523 ecode2 = SWIG_AsVal_int(obj1, &val2);
19524 if (!SWIG_IsOK(ecode2)) {
19525 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19526 }
19527 arg2 = static_cast< int >(val2);
19528 {
19529 PyThreadState* __tstate = wxPyBeginAllowThreads();
19530 (arg1)->SetFlags(arg2);
19531 wxPyEndAllowThreads(__tstate);
19532 if (PyErr_Occurred()) SWIG_fail;
19533 }
19534 resultobj = SWIG_Py_Void();
19535 return resultobj;
19536 fail:
19537 return NULL;
19538 }
19539
19540
19541 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19542 PyObject *resultobj = 0;
19543 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19544 wxString *arg2 = 0 ;
19545 void *argp1 = 0 ;
19546 int res1 = 0 ;
19547 bool temp2 = false ;
19548 PyObject * obj0 = 0 ;
19549 PyObject * obj1 = 0 ;
19550 char * kwnames[] = {
19551 (char *) "self",(char *) "str", NULL
19552 };
19553
19554 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19555 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19556 if (!SWIG_IsOK(res1)) {
19557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19558 }
19559 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19560 {
19561 arg2 = wxString_in_helper(obj1);
19562 if (arg2 == NULL) SWIG_fail;
19563 temp2 = true;
19564 }
19565 {
19566 PyThreadState* __tstate = wxPyBeginAllowThreads();
19567 (arg1)->SetFindString((wxString const &)*arg2);
19568 wxPyEndAllowThreads(__tstate);
19569 if (PyErr_Occurred()) SWIG_fail;
19570 }
19571 resultobj = SWIG_Py_Void();
19572 {
19573 if (temp2)
19574 delete arg2;
19575 }
19576 return resultobj;
19577 fail:
19578 {
19579 if (temp2)
19580 delete arg2;
19581 }
19582 return NULL;
19583 }
19584
19585
19586 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19587 PyObject *resultobj = 0;
19588 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19589 wxString *arg2 = 0 ;
19590 void *argp1 = 0 ;
19591 int res1 = 0 ;
19592 bool temp2 = false ;
19593 PyObject * obj0 = 0 ;
19594 PyObject * obj1 = 0 ;
19595 char * kwnames[] = {
19596 (char *) "self",(char *) "str", NULL
19597 };
19598
19599 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
19600 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19601 if (!SWIG_IsOK(res1)) {
19602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19603 }
19604 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19605 {
19606 arg2 = wxString_in_helper(obj1);
19607 if (arg2 == NULL) SWIG_fail;
19608 temp2 = true;
19609 }
19610 {
19611 PyThreadState* __tstate = wxPyBeginAllowThreads();
19612 (arg1)->SetReplaceString((wxString const &)*arg2);
19613 wxPyEndAllowThreads(__tstate);
19614 if (PyErr_Occurred()) SWIG_fail;
19615 }
19616 resultobj = SWIG_Py_Void();
19617 {
19618 if (temp2)
19619 delete arg2;
19620 }
19621 return resultobj;
19622 fail:
19623 {
19624 if (temp2)
19625 delete arg2;
19626 }
19627 return NULL;
19628 }
19629
19630
19631 SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19632 PyObject *obj;
19633 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19634 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
19635 return SWIG_Py_Void();
19636 }
19637
19638 SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19639 return SWIG_Python_InitShadowInstance(args);
19640 }
19641
19642 SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19643 PyObject *resultobj = 0;
19644 int arg1 = (int) 0 ;
19645 wxFindReplaceData *result = 0 ;
19646 int val1 ;
19647 int ecode1 = 0 ;
19648 PyObject * obj0 = 0 ;
19649 char * kwnames[] = {
19650 (char *) "flags", NULL
19651 };
19652
19653 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
19654 if (obj0) {
19655 ecode1 = SWIG_AsVal_int(obj0, &val1);
19656 if (!SWIG_IsOK(ecode1)) {
19657 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
19658 }
19659 arg1 = static_cast< int >(val1);
19660 }
19661 {
19662 PyThreadState* __tstate = wxPyBeginAllowThreads();
19663 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
19664 wxPyEndAllowThreads(__tstate);
19665 if (PyErr_Occurred()) SWIG_fail;
19666 }
19667 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
19668 return resultobj;
19669 fail:
19670 return NULL;
19671 }
19672
19673
19674 SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19675 PyObject *resultobj = 0;
19676 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19677 void *argp1 = 0 ;
19678 int res1 = 0 ;
19679 PyObject *swig_obj[1] ;
19680
19681 if (!args) SWIG_fail;
19682 swig_obj[0] = args;
19683 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
19684 if (!SWIG_IsOK(res1)) {
19685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19686 }
19687 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19688 {
19689 PyThreadState* __tstate = wxPyBeginAllowThreads();
19690 delete arg1;
19691
19692 wxPyEndAllowThreads(__tstate);
19693 if (PyErr_Occurred()) SWIG_fail;
19694 }
19695 resultobj = SWIG_Py_Void();
19696 return resultobj;
19697 fail:
19698 return NULL;
19699 }
19700
19701
19702 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19703 PyObject *resultobj = 0;
19704 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19705 wxString *result = 0 ;
19706 void *argp1 = 0 ;
19707 int res1 = 0 ;
19708 PyObject *swig_obj[1] ;
19709
19710 if (!args) SWIG_fail;
19711 swig_obj[0] = args;
19712 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19713 if (!SWIG_IsOK(res1)) {
19714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19715 }
19716 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19717 {
19718 PyThreadState* __tstate = wxPyBeginAllowThreads();
19719 {
19720 wxString const &_result_ref = (arg1)->GetFindString();
19721 result = (wxString *) &_result_ref;
19722 }
19723 wxPyEndAllowThreads(__tstate);
19724 if (PyErr_Occurred()) SWIG_fail;
19725 }
19726 {
19727 #if wxUSE_UNICODE
19728 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19729 #else
19730 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19731 #endif
19732 }
19733 return resultobj;
19734 fail:
19735 return NULL;
19736 }
19737
19738
19739 SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19740 PyObject *resultobj = 0;
19741 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19742 wxString *result = 0 ;
19743 void *argp1 = 0 ;
19744 int res1 = 0 ;
19745 PyObject *swig_obj[1] ;
19746
19747 if (!args) SWIG_fail;
19748 swig_obj[0] = args;
19749 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19750 if (!SWIG_IsOK(res1)) {
19751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19752 }
19753 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19754 {
19755 PyThreadState* __tstate = wxPyBeginAllowThreads();
19756 {
19757 wxString const &_result_ref = (arg1)->GetReplaceString();
19758 result = (wxString *) &_result_ref;
19759 }
19760 wxPyEndAllowThreads(__tstate);
19761 if (PyErr_Occurred()) SWIG_fail;
19762 }
19763 {
19764 #if wxUSE_UNICODE
19765 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19766 #else
19767 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19768 #endif
19769 }
19770 return resultobj;
19771 fail:
19772 return NULL;
19773 }
19774
19775
19776 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19777 PyObject *resultobj = 0;
19778 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19779 int result;
19780 void *argp1 = 0 ;
19781 int res1 = 0 ;
19782 PyObject *swig_obj[1] ;
19783
19784 if (!args) SWIG_fail;
19785 swig_obj[0] = args;
19786 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19787 if (!SWIG_IsOK(res1)) {
19788 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19789 }
19790 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19791 {
19792 PyThreadState* __tstate = wxPyBeginAllowThreads();
19793 result = (int)(arg1)->GetFlags();
19794 wxPyEndAllowThreads(__tstate);
19795 if (PyErr_Occurred()) SWIG_fail;
19796 }
19797 resultobj = SWIG_From_int(static_cast< int >(result));
19798 return resultobj;
19799 fail:
19800 return NULL;
19801 }
19802
19803
19804 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19805 PyObject *resultobj = 0;
19806 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19807 int arg2 ;
19808 void *argp1 = 0 ;
19809 int res1 = 0 ;
19810 int val2 ;
19811 int ecode2 = 0 ;
19812 PyObject * obj0 = 0 ;
19813 PyObject * obj1 = 0 ;
19814 char * kwnames[] = {
19815 (char *) "self",(char *) "flags", NULL
19816 };
19817
19818 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19819 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19820 if (!SWIG_IsOK(res1)) {
19821 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19822 }
19823 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19824 ecode2 = SWIG_AsVal_int(obj1, &val2);
19825 if (!SWIG_IsOK(ecode2)) {
19826 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
19827 }
19828 arg2 = static_cast< int >(val2);
19829 {
19830 PyThreadState* __tstate = wxPyBeginAllowThreads();
19831 (arg1)->SetFlags(arg2);
19832 wxPyEndAllowThreads(__tstate);
19833 if (PyErr_Occurred()) SWIG_fail;
19834 }
19835 resultobj = SWIG_Py_Void();
19836 return resultobj;
19837 fail:
19838 return NULL;
19839 }
19840
19841
19842 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19843 PyObject *resultobj = 0;
19844 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19845 wxString *arg2 = 0 ;
19846 void *argp1 = 0 ;
19847 int res1 = 0 ;
19848 bool temp2 = false ;
19849 PyObject * obj0 = 0 ;
19850 PyObject * obj1 = 0 ;
19851 char * kwnames[] = {
19852 (char *) "self",(char *) "str", NULL
19853 };
19854
19855 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19856 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19857 if (!SWIG_IsOK(res1)) {
19858 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19859 }
19860 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19861 {
19862 arg2 = wxString_in_helper(obj1);
19863 if (arg2 == NULL) SWIG_fail;
19864 temp2 = true;
19865 }
19866 {
19867 PyThreadState* __tstate = wxPyBeginAllowThreads();
19868 (arg1)->SetFindString((wxString const &)*arg2);
19869 wxPyEndAllowThreads(__tstate);
19870 if (PyErr_Occurred()) SWIG_fail;
19871 }
19872 resultobj = SWIG_Py_Void();
19873 {
19874 if (temp2)
19875 delete arg2;
19876 }
19877 return resultobj;
19878 fail:
19879 {
19880 if (temp2)
19881 delete arg2;
19882 }
19883 return NULL;
19884 }
19885
19886
19887 SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19888 PyObject *resultobj = 0;
19889 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19890 wxString *arg2 = 0 ;
19891 void *argp1 = 0 ;
19892 int res1 = 0 ;
19893 bool temp2 = false ;
19894 PyObject * obj0 = 0 ;
19895 PyObject * obj1 = 0 ;
19896 char * kwnames[] = {
19897 (char *) "self",(char *) "str", NULL
19898 };
19899
19900 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
19901 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19902 if (!SWIG_IsOK(res1)) {
19903 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19904 }
19905 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19906 {
19907 arg2 = wxString_in_helper(obj1);
19908 if (arg2 == NULL) SWIG_fail;
19909 temp2 = true;
19910 }
19911 {
19912 PyThreadState* __tstate = wxPyBeginAllowThreads();
19913 (arg1)->SetReplaceString((wxString const &)*arg2);
19914 wxPyEndAllowThreads(__tstate);
19915 if (PyErr_Occurred()) SWIG_fail;
19916 }
19917 resultobj = SWIG_Py_Void();
19918 {
19919 if (temp2)
19920 delete arg2;
19921 }
19922 return resultobj;
19923 fail:
19924 {
19925 if (temp2)
19926 delete arg2;
19927 }
19928 return NULL;
19929 }
19930
19931
19932 SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19933 PyObject *obj;
19934 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19935 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
19936 return SWIG_Py_Void();
19937 }
19938
19939 SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19940 return SWIG_Python_InitShadowInstance(args);
19941 }
19942
19943 SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19944 PyObject *resultobj = 0;
19945 wxWindow *arg1 = (wxWindow *) 0 ;
19946 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
19947 wxString *arg3 = 0 ;
19948 int arg4 = (int) 0 ;
19949 wxFindReplaceDialog *result = 0 ;
19950 void *argp1 = 0 ;
19951 int res1 = 0 ;
19952 void *argp2 = 0 ;
19953 int res2 = 0 ;
19954 bool temp3 = false ;
19955 int val4 ;
19956 int ecode4 = 0 ;
19957 PyObject * obj0 = 0 ;
19958 PyObject * obj1 = 0 ;
19959 PyObject * obj2 = 0 ;
19960 PyObject * obj3 = 0 ;
19961 char * kwnames[] = {
19962 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
19963 };
19964
19965 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
19966 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19967 if (!SWIG_IsOK(res1)) {
19968 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19969 }
19970 arg1 = reinterpret_cast< wxWindow * >(argp1);
19971 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19972 if (!SWIG_IsOK(res2)) {
19973 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
19974 }
19975 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
19976 {
19977 arg3 = wxString_in_helper(obj2);
19978 if (arg3 == NULL) SWIG_fail;
19979 temp3 = true;
19980 }
19981 if (obj3) {
19982 ecode4 = SWIG_AsVal_int(obj3, &val4);
19983 if (!SWIG_IsOK(ecode4)) {
19984 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
19985 }
19986 arg4 = static_cast< int >(val4);
19987 }
19988 {
19989 if (!wxPyCheckForApp()) SWIG_fail;
19990 PyThreadState* __tstate = wxPyBeginAllowThreads();
19991 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
19992 wxPyEndAllowThreads(__tstate);
19993 if (PyErr_Occurred()) SWIG_fail;
19994 }
19995 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
19996 {
19997 if (temp3)
19998 delete arg3;
19999 }
20000 return resultobj;
20001 fail:
20002 {
20003 if (temp3)
20004 delete arg3;
20005 }
20006 return NULL;
20007 }
20008
20009
20010 SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20011 PyObject *resultobj = 0;
20012 wxFindReplaceDialog *result = 0 ;
20013
20014 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
20015 {
20016 if (!wxPyCheckForApp()) SWIG_fail;
20017 PyThreadState* __tstate = wxPyBeginAllowThreads();
20018 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
20019 wxPyEndAllowThreads(__tstate);
20020 if (PyErr_Occurred()) SWIG_fail;
20021 }
20022 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
20023 return resultobj;
20024 fail:
20025 return NULL;
20026 }
20027
20028
20029 SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20030 PyObject *resultobj = 0;
20031 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20032 wxWindow *arg2 = (wxWindow *) 0 ;
20033 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
20034 wxString *arg4 = 0 ;
20035 int arg5 = (int) 0 ;
20036 bool result;
20037 void *argp1 = 0 ;
20038 int res1 = 0 ;
20039 void *argp2 = 0 ;
20040 int res2 = 0 ;
20041 void *argp3 = 0 ;
20042 int res3 = 0 ;
20043 bool temp4 = false ;
20044 int val5 ;
20045 int ecode5 = 0 ;
20046 PyObject * obj0 = 0 ;
20047 PyObject * obj1 = 0 ;
20048 PyObject * obj2 = 0 ;
20049 PyObject * obj3 = 0 ;
20050 PyObject * obj4 = 0 ;
20051 char * kwnames[] = {
20052 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20053 };
20054
20055 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
20056 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20057 if (!SWIG_IsOK(res1)) {
20058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20059 }
20060 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20061 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20062 if (!SWIG_IsOK(res2)) {
20063 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20064 }
20065 arg2 = reinterpret_cast< wxWindow * >(argp2);
20066 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20067 if (!SWIG_IsOK(res3)) {
20068 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20069 }
20070 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
20071 {
20072 arg4 = wxString_in_helper(obj3);
20073 if (arg4 == NULL) SWIG_fail;
20074 temp4 = true;
20075 }
20076 if (obj4) {
20077 ecode5 = SWIG_AsVal_int(obj4, &val5);
20078 if (!SWIG_IsOK(ecode5)) {
20079 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20080 }
20081 arg5 = static_cast< int >(val5);
20082 }
20083 {
20084 PyThreadState* __tstate = wxPyBeginAllowThreads();
20085 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
20086 wxPyEndAllowThreads(__tstate);
20087 if (PyErr_Occurred()) SWIG_fail;
20088 }
20089 {
20090 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20091 }
20092 {
20093 if (temp4)
20094 delete arg4;
20095 }
20096 return resultobj;
20097 fail:
20098 {
20099 if (temp4)
20100 delete arg4;
20101 }
20102 return NULL;
20103 }
20104
20105
20106 SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20107 PyObject *resultobj = 0;
20108 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20109 wxFindReplaceData *result = 0 ;
20110 void *argp1 = 0 ;
20111 int res1 = 0 ;
20112 PyObject *swig_obj[1] ;
20113
20114 if (!args) SWIG_fail;
20115 swig_obj[0] = args;
20116 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20117 if (!SWIG_IsOK(res1)) {
20118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20119 }
20120 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20121 {
20122 PyThreadState* __tstate = wxPyBeginAllowThreads();
20123 result = (wxFindReplaceData *)(arg1)->GetData();
20124 wxPyEndAllowThreads(__tstate);
20125 if (PyErr_Occurred()) SWIG_fail;
20126 }
20127 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20128 return resultobj;
20129 fail:
20130 return NULL;
20131 }
20132
20133
20134 SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20135 PyObject *resultobj = 0;
20136 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20137 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20138 void *argp1 = 0 ;
20139 int res1 = 0 ;
20140 void *argp2 = 0 ;
20141 int res2 = 0 ;
20142 PyObject * obj0 = 0 ;
20143 PyObject * obj1 = 0 ;
20144 char * kwnames[] = {
20145 (char *) "self",(char *) "data", NULL
20146 };
20147
20148 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
20149 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20150 if (!SWIG_IsOK(res1)) {
20151 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20152 }
20153 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20154 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20155 if (!SWIG_IsOK(res2)) {
20156 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20157 }
20158 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20159 {
20160 PyThreadState* __tstate = wxPyBeginAllowThreads();
20161 (arg1)->SetData(arg2);
20162 wxPyEndAllowThreads(__tstate);
20163 if (PyErr_Occurred()) SWIG_fail;
20164 }
20165 resultobj = SWIG_Py_Void();
20166 return resultobj;
20167 fail:
20168 return NULL;
20169 }
20170
20171
20172 SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20173 PyObject *obj;
20174 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20175 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
20176 return SWIG_Py_Void();
20177 }
20178
20179 SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20180 return SWIG_Python_InitShadowInstance(args);
20181 }
20182
20183 SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20184 PyObject *resultobj = 0;
20185 wxWindow *arg1 = (wxWindow *) 0 ;
20186 int arg2 = (int) (int)-1 ;
20187 wxString const &arg3_defvalue = wxPyEmptyString ;
20188 wxString *arg3 = (wxString *) &arg3_defvalue ;
20189 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20190 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20191 wxSize const &arg5_defvalue = wxDefaultSize ;
20192 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20193 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20194 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20195 wxString *arg7 = (wxString *) &arg7_defvalue ;
20196 wxMDIParentFrame *result = 0 ;
20197 void *argp1 = 0 ;
20198 int res1 = 0 ;
20199 int val2 ;
20200 int ecode2 = 0 ;
20201 bool temp3 = false ;
20202 wxPoint temp4 ;
20203 wxSize temp5 ;
20204 long val6 ;
20205 int ecode6 = 0 ;
20206 bool temp7 = false ;
20207 PyObject * obj0 = 0 ;
20208 PyObject * obj1 = 0 ;
20209 PyObject * obj2 = 0 ;
20210 PyObject * obj3 = 0 ;
20211 PyObject * obj4 = 0 ;
20212 PyObject * obj5 = 0 ;
20213 PyObject * obj6 = 0 ;
20214 char * kwnames[] = {
20215 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20216 };
20217
20218 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20219 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20220 if (!SWIG_IsOK(res1)) {
20221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20222 }
20223 arg1 = reinterpret_cast< wxWindow * >(argp1);
20224 if (obj1) {
20225 ecode2 = SWIG_AsVal_int(obj1, &val2);
20226 if (!SWIG_IsOK(ecode2)) {
20227 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20228 }
20229 arg2 = static_cast< int >(val2);
20230 }
20231 if (obj2) {
20232 {
20233 arg3 = wxString_in_helper(obj2);
20234 if (arg3 == NULL) SWIG_fail;
20235 temp3 = true;
20236 }
20237 }
20238 if (obj3) {
20239 {
20240 arg4 = &temp4;
20241 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20242 }
20243 }
20244 if (obj4) {
20245 {
20246 arg5 = &temp5;
20247 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20248 }
20249 }
20250 if (obj5) {
20251 ecode6 = SWIG_AsVal_long(obj5, &val6);
20252 if (!SWIG_IsOK(ecode6)) {
20253 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20254 }
20255 arg6 = static_cast< long >(val6);
20256 }
20257 if (obj6) {
20258 {
20259 arg7 = wxString_in_helper(obj6);
20260 if (arg7 == NULL) SWIG_fail;
20261 temp7 = true;
20262 }
20263 }
20264 {
20265 if (!wxPyCheckForApp()) SWIG_fail;
20266 PyThreadState* __tstate = wxPyBeginAllowThreads();
20267 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20268 wxPyEndAllowThreads(__tstate);
20269 if (PyErr_Occurred()) SWIG_fail;
20270 }
20271 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
20272 {
20273 if (temp3)
20274 delete arg3;
20275 }
20276 {
20277 if (temp7)
20278 delete arg7;
20279 }
20280 return resultobj;
20281 fail:
20282 {
20283 if (temp3)
20284 delete arg3;
20285 }
20286 {
20287 if (temp7)
20288 delete arg7;
20289 }
20290 return NULL;
20291 }
20292
20293
20294 SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20295 PyObject *resultobj = 0;
20296 wxMDIParentFrame *result = 0 ;
20297
20298 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
20299 {
20300 if (!wxPyCheckForApp()) SWIG_fail;
20301 PyThreadState* __tstate = wxPyBeginAllowThreads();
20302 result = (wxMDIParentFrame *)new wxMDIParentFrame();
20303 wxPyEndAllowThreads(__tstate);
20304 if (PyErr_Occurred()) SWIG_fail;
20305 }
20306 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
20307 return resultobj;
20308 fail:
20309 return NULL;
20310 }
20311
20312
20313 SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20314 PyObject *resultobj = 0;
20315 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20316 wxWindow *arg2 = (wxWindow *) 0 ;
20317 int arg3 = (int) (int)-1 ;
20318 wxString const &arg4_defvalue = wxPyEmptyString ;
20319 wxString *arg4 = (wxString *) &arg4_defvalue ;
20320 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20321 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20322 wxSize const &arg6_defvalue = wxDefaultSize ;
20323 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20324 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20325 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20326 wxString *arg8 = (wxString *) &arg8_defvalue ;
20327 bool result;
20328 void *argp1 = 0 ;
20329 int res1 = 0 ;
20330 void *argp2 = 0 ;
20331 int res2 = 0 ;
20332 int val3 ;
20333 int ecode3 = 0 ;
20334 bool temp4 = false ;
20335 wxPoint temp5 ;
20336 wxSize temp6 ;
20337 long val7 ;
20338 int ecode7 = 0 ;
20339 bool temp8 = false ;
20340 PyObject * obj0 = 0 ;
20341 PyObject * obj1 = 0 ;
20342 PyObject * obj2 = 0 ;
20343 PyObject * obj3 = 0 ;
20344 PyObject * obj4 = 0 ;
20345 PyObject * obj5 = 0 ;
20346 PyObject * obj6 = 0 ;
20347 PyObject * obj7 = 0 ;
20348 char * kwnames[] = {
20349 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20350 };
20351
20352 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20353 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20354 if (!SWIG_IsOK(res1)) {
20355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20356 }
20357 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20358 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20359 if (!SWIG_IsOK(res2)) {
20360 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20361 }
20362 arg2 = reinterpret_cast< wxWindow * >(argp2);
20363 if (obj2) {
20364 ecode3 = SWIG_AsVal_int(obj2, &val3);
20365 if (!SWIG_IsOK(ecode3)) {
20366 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20367 }
20368 arg3 = static_cast< int >(val3);
20369 }
20370 if (obj3) {
20371 {
20372 arg4 = wxString_in_helper(obj3);
20373 if (arg4 == NULL) SWIG_fail;
20374 temp4 = true;
20375 }
20376 }
20377 if (obj4) {
20378 {
20379 arg5 = &temp5;
20380 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
20381 }
20382 }
20383 if (obj5) {
20384 {
20385 arg6 = &temp6;
20386 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
20387 }
20388 }
20389 if (obj6) {
20390 ecode7 = SWIG_AsVal_long(obj6, &val7);
20391 if (!SWIG_IsOK(ecode7)) {
20392 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20393 }
20394 arg7 = static_cast< long >(val7);
20395 }
20396 if (obj7) {
20397 {
20398 arg8 = wxString_in_helper(obj7);
20399 if (arg8 == NULL) SWIG_fail;
20400 temp8 = true;
20401 }
20402 }
20403 {
20404 PyThreadState* __tstate = wxPyBeginAllowThreads();
20405 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20406 wxPyEndAllowThreads(__tstate);
20407 if (PyErr_Occurred()) SWIG_fail;
20408 }
20409 {
20410 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20411 }
20412 {
20413 if (temp4)
20414 delete arg4;
20415 }
20416 {
20417 if (temp8)
20418 delete arg8;
20419 }
20420 return resultobj;
20421 fail:
20422 {
20423 if (temp4)
20424 delete arg4;
20425 }
20426 {
20427 if (temp8)
20428 delete arg8;
20429 }
20430 return NULL;
20431 }
20432
20433
20434 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20435 PyObject *resultobj = 0;
20436 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20437 void *argp1 = 0 ;
20438 int res1 = 0 ;
20439 PyObject *swig_obj[1] ;
20440
20441 if (!args) SWIG_fail;
20442 swig_obj[0] = args;
20443 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20444 if (!SWIG_IsOK(res1)) {
20445 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20446 }
20447 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20448 {
20449 PyThreadState* __tstate = wxPyBeginAllowThreads();
20450 (arg1)->ActivateNext();
20451 wxPyEndAllowThreads(__tstate);
20452 if (PyErr_Occurred()) SWIG_fail;
20453 }
20454 resultobj = SWIG_Py_Void();
20455 return resultobj;
20456 fail:
20457 return NULL;
20458 }
20459
20460
20461 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20462 PyObject *resultobj = 0;
20463 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20464 void *argp1 = 0 ;
20465 int res1 = 0 ;
20466 PyObject *swig_obj[1] ;
20467
20468 if (!args) SWIG_fail;
20469 swig_obj[0] = args;
20470 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20471 if (!SWIG_IsOK(res1)) {
20472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20473 }
20474 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20475 {
20476 PyThreadState* __tstate = wxPyBeginAllowThreads();
20477 (arg1)->ActivatePrevious();
20478 wxPyEndAllowThreads(__tstate);
20479 if (PyErr_Occurred()) SWIG_fail;
20480 }
20481 resultobj = SWIG_Py_Void();
20482 return resultobj;
20483 fail:
20484 return NULL;
20485 }
20486
20487
20488 SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20489 PyObject *resultobj = 0;
20490 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20491 void *argp1 = 0 ;
20492 int res1 = 0 ;
20493 PyObject *swig_obj[1] ;
20494
20495 if (!args) SWIG_fail;
20496 swig_obj[0] = args;
20497 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20498 if (!SWIG_IsOK(res1)) {
20499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20500 }
20501 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20502 {
20503 PyThreadState* __tstate = wxPyBeginAllowThreads();
20504 (arg1)->ArrangeIcons();
20505 wxPyEndAllowThreads(__tstate);
20506 if (PyErr_Occurred()) SWIG_fail;
20507 }
20508 resultobj = SWIG_Py_Void();
20509 return resultobj;
20510 fail:
20511 return NULL;
20512 }
20513
20514
20515 SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20516 PyObject *resultobj = 0;
20517 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20518 void *argp1 = 0 ;
20519 int res1 = 0 ;
20520 PyObject *swig_obj[1] ;
20521
20522 if (!args) SWIG_fail;
20523 swig_obj[0] = args;
20524 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20525 if (!SWIG_IsOK(res1)) {
20526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20527 }
20528 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20529 {
20530 PyThreadState* __tstate = wxPyBeginAllowThreads();
20531 (arg1)->Cascade();
20532 wxPyEndAllowThreads(__tstate);
20533 if (PyErr_Occurred()) SWIG_fail;
20534 }
20535 resultobj = SWIG_Py_Void();
20536 return resultobj;
20537 fail:
20538 return NULL;
20539 }
20540
20541
20542 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20543 PyObject *resultobj = 0;
20544 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20545 wxMDIChildFrame *result = 0 ;
20546 void *argp1 = 0 ;
20547 int res1 = 0 ;
20548 PyObject *swig_obj[1] ;
20549
20550 if (!args) SWIG_fail;
20551 swig_obj[0] = args;
20552 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20553 if (!SWIG_IsOK(res1)) {
20554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20555 }
20556 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20557 {
20558 PyThreadState* __tstate = wxPyBeginAllowThreads();
20559 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
20560 wxPyEndAllowThreads(__tstate);
20561 if (PyErr_Occurred()) SWIG_fail;
20562 }
20563 {
20564 resultobj = wxPyMake_wxObject(result, (bool)0);
20565 }
20566 return resultobj;
20567 fail:
20568 return NULL;
20569 }
20570
20571
20572 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20573 PyObject *resultobj = 0;
20574 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20575 wxMDIClientWindow *result = 0 ;
20576 void *argp1 = 0 ;
20577 int res1 = 0 ;
20578 PyObject *swig_obj[1] ;
20579
20580 if (!args) SWIG_fail;
20581 swig_obj[0] = args;
20582 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20583 if (!SWIG_IsOK(res1)) {
20584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20585 }
20586 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20587 {
20588 PyThreadState* __tstate = wxPyBeginAllowThreads();
20589 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
20590 wxPyEndAllowThreads(__tstate);
20591 if (PyErr_Occurred()) SWIG_fail;
20592 }
20593 {
20594 resultobj = wxPyMake_wxObject(result, (bool)0);
20595 }
20596 return resultobj;
20597 fail:
20598 return NULL;
20599 }
20600
20601
20602 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20603 PyObject *resultobj = 0;
20604 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20605 wxWindow *result = 0 ;
20606 void *argp1 = 0 ;
20607 int res1 = 0 ;
20608 PyObject *swig_obj[1] ;
20609
20610 if (!args) SWIG_fail;
20611 swig_obj[0] = args;
20612 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20613 if (!SWIG_IsOK(res1)) {
20614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20615 }
20616 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20617 {
20618 PyThreadState* __tstate = wxPyBeginAllowThreads();
20619 result = (wxWindow *)(arg1)->GetToolBar();
20620 wxPyEndAllowThreads(__tstate);
20621 if (PyErr_Occurred()) SWIG_fail;
20622 }
20623 {
20624 resultobj = wxPyMake_wxObject(result, 0);
20625 }
20626 return resultobj;
20627 fail:
20628 return NULL;
20629 }
20630
20631
20632 SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20633 PyObject *resultobj = 0;
20634 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20635 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
20636 void *argp1 = 0 ;
20637 int res1 = 0 ;
20638 int val2 ;
20639 int ecode2 = 0 ;
20640 PyObject * obj0 = 0 ;
20641 PyObject * obj1 = 0 ;
20642 char * kwnames[] = {
20643 (char *) "self",(char *) "orient", NULL
20644 };
20645
20646 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
20647 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20648 if (!SWIG_IsOK(res1)) {
20649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20650 }
20651 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20652 if (obj1) {
20653 ecode2 = SWIG_AsVal_int(obj1, &val2);
20654 if (!SWIG_IsOK(ecode2)) {
20655 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20656 }
20657 arg2 = static_cast< wxOrientation >(val2);
20658 }
20659 {
20660 PyThreadState* __tstate = wxPyBeginAllowThreads();
20661 (arg1)->Tile(arg2);
20662 wxPyEndAllowThreads(__tstate);
20663 if (PyErr_Occurred()) SWIG_fail;
20664 }
20665 resultobj = SWIG_Py_Void();
20666 return resultobj;
20667 fail:
20668 return NULL;
20669 }
20670
20671
20672 SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20673 PyObject *obj;
20674 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20675 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
20676 return SWIG_Py_Void();
20677 }
20678
20679 SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20680 return SWIG_Python_InitShadowInstance(args);
20681 }
20682
20683 SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20684 PyObject *resultobj = 0;
20685 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20686 int arg2 = (int) (int)-1 ;
20687 wxString const &arg3_defvalue = wxPyEmptyString ;
20688 wxString *arg3 = (wxString *) &arg3_defvalue ;
20689 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20690 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20691 wxSize const &arg5_defvalue = wxDefaultSize ;
20692 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20693 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
20694 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20695 wxString *arg7 = (wxString *) &arg7_defvalue ;
20696 wxMDIChildFrame *result = 0 ;
20697 void *argp1 = 0 ;
20698 int res1 = 0 ;
20699 int val2 ;
20700 int ecode2 = 0 ;
20701 bool temp3 = false ;
20702 wxPoint temp4 ;
20703 wxSize temp5 ;
20704 long val6 ;
20705 int ecode6 = 0 ;
20706 bool temp7 = false ;
20707 PyObject * obj0 = 0 ;
20708 PyObject * obj1 = 0 ;
20709 PyObject * obj2 = 0 ;
20710 PyObject * obj3 = 0 ;
20711 PyObject * obj4 = 0 ;
20712 PyObject * obj5 = 0 ;
20713 PyObject * obj6 = 0 ;
20714 char * kwnames[] = {
20715 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20716 };
20717
20718 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20719 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20720 if (!SWIG_IsOK(res1)) {
20721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20722 }
20723 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20724 if (obj1) {
20725 ecode2 = SWIG_AsVal_int(obj1, &val2);
20726 if (!SWIG_IsOK(ecode2)) {
20727 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
20728 }
20729 arg2 = static_cast< int >(val2);
20730 }
20731 if (obj2) {
20732 {
20733 arg3 = wxString_in_helper(obj2);
20734 if (arg3 == NULL) SWIG_fail;
20735 temp3 = true;
20736 }
20737 }
20738 if (obj3) {
20739 {
20740 arg4 = &temp4;
20741 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20742 }
20743 }
20744 if (obj4) {
20745 {
20746 arg5 = &temp5;
20747 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20748 }
20749 }
20750 if (obj5) {
20751 ecode6 = SWIG_AsVal_long(obj5, &val6);
20752 if (!SWIG_IsOK(ecode6)) {
20753 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
20754 }
20755 arg6 = static_cast< long >(val6);
20756 }
20757 if (obj6) {
20758 {
20759 arg7 = wxString_in_helper(obj6);
20760 if (arg7 == NULL) SWIG_fail;
20761 temp7 = true;
20762 }
20763 }
20764 {
20765 if (!wxPyCheckForApp()) SWIG_fail;
20766 PyThreadState* __tstate = wxPyBeginAllowThreads();
20767 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20768 wxPyEndAllowThreads(__tstate);
20769 if (PyErr_Occurred()) SWIG_fail;
20770 }
20771 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
20772 {
20773 if (temp3)
20774 delete arg3;
20775 }
20776 {
20777 if (temp7)
20778 delete arg7;
20779 }
20780 return resultobj;
20781 fail:
20782 {
20783 if (temp3)
20784 delete arg3;
20785 }
20786 {
20787 if (temp7)
20788 delete arg7;
20789 }
20790 return NULL;
20791 }
20792
20793
20794 SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20795 PyObject *resultobj = 0;
20796 wxMDIChildFrame *result = 0 ;
20797
20798 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
20799 {
20800 if (!wxPyCheckForApp()) SWIG_fail;
20801 PyThreadState* __tstate = wxPyBeginAllowThreads();
20802 result = (wxMDIChildFrame *)new wxMDIChildFrame();
20803 wxPyEndAllowThreads(__tstate);
20804 if (PyErr_Occurred()) SWIG_fail;
20805 }
20806 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
20807 return resultobj;
20808 fail:
20809 return NULL;
20810 }
20811
20812
20813 SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20814 PyObject *resultobj = 0;
20815 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
20816 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
20817 int arg3 = (int) (int)-1 ;
20818 wxString const &arg4_defvalue = wxPyEmptyString ;
20819 wxString *arg4 = (wxString *) &arg4_defvalue ;
20820 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20821 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20822 wxSize const &arg6_defvalue = wxDefaultSize ;
20823 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20824 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
20825 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20826 wxString *arg8 = (wxString *) &arg8_defvalue ;
20827 bool result;
20828 void *argp1 = 0 ;
20829 int res1 = 0 ;
20830 void *argp2 = 0 ;
20831 int res2 = 0 ;
20832 int val3 ;
20833 int ecode3 = 0 ;
20834 bool temp4 = false ;
20835 wxPoint temp5 ;
20836 wxSize temp6 ;
20837 long val7 ;
20838 int ecode7 = 0 ;
20839 bool temp8 = false ;
20840 PyObject * obj0 = 0 ;
20841 PyObject * obj1 = 0 ;
20842 PyObject * obj2 = 0 ;
20843 PyObject * obj3 = 0 ;
20844 PyObject * obj4 = 0 ;
20845 PyObject * obj5 = 0 ;
20846 PyObject * obj6 = 0 ;
20847 PyObject * obj7 = 0 ;
20848 char * kwnames[] = {
20849 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20850 };
20851
20852 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20853 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
20854 if (!SWIG_IsOK(res1)) {
20855 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20856 }
20857 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
20858 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20859 if (!SWIG_IsOK(res2)) {
20860 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
20861 }
20862 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
20863 if (obj2) {
20864 ecode3 = SWIG_AsVal_int(obj2, &val3);
20865 if (!SWIG_IsOK(ecode3)) {
20866 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
20867 }
20868 arg3 = static_cast< int >(val3);
20869 }
20870 if (obj3) {
20871 {
20872 arg4 = wxString_in_helper(obj3);
20873 if (arg4 == NULL) SWIG_fail;
20874 temp4 = true;
20875 }
20876 }
20877 if (obj4) {
20878 {
20879 arg5 = &temp5;
20880 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
20881 }
20882 }
20883 if (obj5) {
20884 {
20885 arg6 = &temp6;
20886 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
20887 }
20888 }
20889 if (obj6) {
20890 ecode7 = SWIG_AsVal_long(obj6, &val7);
20891 if (!SWIG_IsOK(ecode7)) {
20892 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
20893 }
20894 arg7 = static_cast< long >(val7);
20895 }
20896 if (obj7) {
20897 {
20898 arg8 = wxString_in_helper(obj7);
20899 if (arg8 == NULL) SWIG_fail;
20900 temp8 = true;
20901 }
20902 }
20903 {
20904 PyThreadState* __tstate = wxPyBeginAllowThreads();
20905 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20906 wxPyEndAllowThreads(__tstate);
20907 if (PyErr_Occurred()) SWIG_fail;
20908 }
20909 {
20910 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20911 }
20912 {
20913 if (temp4)
20914 delete arg4;
20915 }
20916 {
20917 if (temp8)
20918 delete arg8;
20919 }
20920 return resultobj;
20921 fail:
20922 {
20923 if (temp4)
20924 delete arg4;
20925 }
20926 {
20927 if (temp8)
20928 delete arg8;
20929 }
20930 return NULL;
20931 }
20932
20933
20934 SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20935 PyObject *resultobj = 0;
20936 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
20937 void *argp1 = 0 ;
20938 int res1 = 0 ;
20939 PyObject *swig_obj[1] ;
20940
20941 if (!args) SWIG_fail;
20942 swig_obj[0] = args;
20943 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
20944 if (!SWIG_IsOK(res1)) {
20945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20946 }
20947 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
20948 {
20949 PyThreadState* __tstate = wxPyBeginAllowThreads();
20950 (arg1)->Activate();
20951 wxPyEndAllowThreads(__tstate);
20952 if (PyErr_Occurred()) SWIG_fail;
20953 }
20954 resultobj = SWIG_Py_Void();
20955 return resultobj;
20956 fail:
20957 return NULL;
20958 }
20959
20960
20961 SWIGINTERN PyObject *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20962 PyObject *obj;
20963 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20964 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
20965 return SWIG_Py_Void();
20966 }
20967
20968 SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20969 return SWIG_Python_InitShadowInstance(args);
20970 }
20971
20972 SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20973 PyObject *resultobj = 0;
20974 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20975 long arg2 = (long) 0 ;
20976 wxMDIClientWindow *result = 0 ;
20977 void *argp1 = 0 ;
20978 int res1 = 0 ;
20979 long val2 ;
20980 int ecode2 = 0 ;
20981 PyObject * obj0 = 0 ;
20982 PyObject * obj1 = 0 ;
20983 char * kwnames[] = {
20984 (char *) "parent",(char *) "style", NULL
20985 };
20986
20987 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
20988 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20989 if (!SWIG_IsOK(res1)) {
20990 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20991 }
20992 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20993 if (obj1) {
20994 ecode2 = SWIG_AsVal_long(obj1, &val2);
20995 if (!SWIG_IsOK(ecode2)) {
20996 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
20997 }
20998 arg2 = static_cast< long >(val2);
20999 }
21000 {
21001 if (!wxPyCheckForApp()) SWIG_fail;
21002 PyThreadState* __tstate = wxPyBeginAllowThreads();
21003 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
21004 wxPyEndAllowThreads(__tstate);
21005 if (PyErr_Occurred()) SWIG_fail;
21006 }
21007 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
21008 return resultobj;
21009 fail:
21010 return NULL;
21011 }
21012
21013
21014 SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21015 PyObject *resultobj = 0;
21016 wxMDIClientWindow *result = 0 ;
21017
21018 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
21019 {
21020 if (!wxPyCheckForApp()) SWIG_fail;
21021 PyThreadState* __tstate = wxPyBeginAllowThreads();
21022 result = (wxMDIClientWindow *)new wxMDIClientWindow();
21023 wxPyEndAllowThreads(__tstate);
21024 if (PyErr_Occurred()) SWIG_fail;
21025 }
21026 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
21027 return resultobj;
21028 fail:
21029 return NULL;
21030 }
21031
21032
21033 SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21034 PyObject *resultobj = 0;
21035 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
21036 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21037 long arg3 = (long) 0 ;
21038 bool result;
21039 void *argp1 = 0 ;
21040 int res1 = 0 ;
21041 void *argp2 = 0 ;
21042 int res2 = 0 ;
21043 long val3 ;
21044 int ecode3 = 0 ;
21045 PyObject * obj0 = 0 ;
21046 PyObject * obj1 = 0 ;
21047 PyObject * obj2 = 0 ;
21048 char * kwnames[] = {
21049 (char *) "self",(char *) "parent",(char *) "style", NULL
21050 };
21051
21052 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21053 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
21054 if (!SWIG_IsOK(res1)) {
21055 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21056 }
21057 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
21058 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21059 if (!SWIG_IsOK(res2)) {
21060 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21061 }
21062 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21063 if (obj2) {
21064 ecode3 = SWIG_AsVal_long(obj2, &val3);
21065 if (!SWIG_IsOK(ecode3)) {
21066 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21067 }
21068 arg3 = static_cast< long >(val3);
21069 }
21070 {
21071 PyThreadState* __tstate = wxPyBeginAllowThreads();
21072 result = (bool)(arg1)->Create(arg2,arg3);
21073 wxPyEndAllowThreads(__tstate);
21074 if (PyErr_Occurred()) SWIG_fail;
21075 }
21076 {
21077 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21078 }
21079 return resultobj;
21080 fail:
21081 return NULL;
21082 }
21083
21084
21085 SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21086 PyObject *obj;
21087 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21088 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
21089 return SWIG_Py_Void();
21090 }
21091
21092 SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21093 return SWIG_Python_InitShadowInstance(args);
21094 }
21095
21096 SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21097 PyObject *resultobj = 0;
21098 wxWindow *arg1 = (wxWindow *) 0 ;
21099 int arg2 = (int) (int)-1 ;
21100 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21101 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21102 wxSize const &arg4_defvalue = wxDefaultSize ;
21103 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21104 long arg5 = (long) 0 ;
21105 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21106 wxString *arg6 = (wxString *) &arg6_defvalue ;
21107 wxPyWindow *result = 0 ;
21108 void *argp1 = 0 ;
21109 int res1 = 0 ;
21110 int val2 ;
21111 int ecode2 = 0 ;
21112 wxPoint temp3 ;
21113 wxSize temp4 ;
21114 long val5 ;
21115 int ecode5 = 0 ;
21116 bool temp6 = false ;
21117 PyObject * obj0 = 0 ;
21118 PyObject * obj1 = 0 ;
21119 PyObject * obj2 = 0 ;
21120 PyObject * obj3 = 0 ;
21121 PyObject * obj4 = 0 ;
21122 PyObject * obj5 = 0 ;
21123 char * kwnames[] = {
21124 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21125 };
21126
21127 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21128 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21129 if (!SWIG_IsOK(res1)) {
21130 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21131 }
21132 arg1 = reinterpret_cast< wxWindow * >(argp1);
21133 if (obj1) {
21134 ecode2 = SWIG_AsVal_int(obj1, &val2);
21135 if (!SWIG_IsOK(ecode2)) {
21136 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21137 }
21138 arg2 = static_cast< int >(val2);
21139 }
21140 if (obj2) {
21141 {
21142 arg3 = &temp3;
21143 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21144 }
21145 }
21146 if (obj3) {
21147 {
21148 arg4 = &temp4;
21149 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21150 }
21151 }
21152 if (obj4) {
21153 ecode5 = SWIG_AsVal_long(obj4, &val5);
21154 if (!SWIG_IsOK(ecode5)) {
21155 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21156 }
21157 arg5 = static_cast< long >(val5);
21158 }
21159 if (obj5) {
21160 {
21161 arg6 = wxString_in_helper(obj5);
21162 if (arg6 == NULL) SWIG_fail;
21163 temp6 = true;
21164 }
21165 }
21166 {
21167 if (!wxPyCheckForApp()) SWIG_fail;
21168 PyThreadState* __tstate = wxPyBeginAllowThreads();
21169 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21170 wxPyEndAllowThreads(__tstate);
21171 if (PyErr_Occurred()) SWIG_fail;
21172 }
21173 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
21174 {
21175 if (temp6)
21176 delete arg6;
21177 }
21178 return resultobj;
21179 fail:
21180 {
21181 if (temp6)
21182 delete arg6;
21183 }
21184 return NULL;
21185 }
21186
21187
21188 SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21189 PyObject *resultobj = 0;
21190 wxPyWindow *result = 0 ;
21191
21192 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
21193 {
21194 if (!wxPyCheckForApp()) SWIG_fail;
21195 PyThreadState* __tstate = wxPyBeginAllowThreads();
21196 result = (wxPyWindow *)new wxPyWindow();
21197 wxPyEndAllowThreads(__tstate);
21198 if (PyErr_Occurred()) SWIG_fail;
21199 }
21200 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
21201 return resultobj;
21202 fail:
21203 return NULL;
21204 }
21205
21206
21207 SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21208 PyObject *resultobj = 0;
21209 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21210 PyObject *arg2 = (PyObject *) 0 ;
21211 PyObject *arg3 = (PyObject *) 0 ;
21212 void *argp1 = 0 ;
21213 int res1 = 0 ;
21214 PyObject * obj0 = 0 ;
21215 PyObject * obj1 = 0 ;
21216 PyObject * obj2 = 0 ;
21217 char * kwnames[] = {
21218 (char *) "self",(char *) "self",(char *) "_class", NULL
21219 };
21220
21221 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21222 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21223 if (!SWIG_IsOK(res1)) {
21224 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21225 }
21226 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21227 arg2 = obj1;
21228 arg3 = obj2;
21229 {
21230 PyThreadState* __tstate = wxPyBeginAllowThreads();
21231 (arg1)->_setCallbackInfo(arg2,arg3);
21232 wxPyEndAllowThreads(__tstate);
21233 if (PyErr_Occurred()) SWIG_fail;
21234 }
21235 resultobj = SWIG_Py_Void();
21236 return resultobj;
21237 fail:
21238 return NULL;
21239 }
21240
21241
21242 SWIGINTERN PyObject *_wrap_PyWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21243 PyObject *resultobj = 0;
21244 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21245 wxSize *arg2 = 0 ;
21246 void *argp1 = 0 ;
21247 int res1 = 0 ;
21248 wxSize temp2 ;
21249 PyObject * obj0 = 0 ;
21250 PyObject * obj1 = 0 ;
21251 char * kwnames[] = {
21252 (char *) "self",(char *) "size", NULL
21253 };
21254
21255 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
21256 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21257 if (!SWIG_IsOK(res1)) {
21258 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21259 }
21260 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21261 {
21262 arg2 = &temp2;
21263 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21264 }
21265 {
21266 PyThreadState* __tstate = wxPyBeginAllowThreads();
21267 (arg1)->SetBestSize((wxSize const &)*arg2);
21268 wxPyEndAllowThreads(__tstate);
21269 if (PyErr_Occurred()) SWIG_fail;
21270 }
21271 resultobj = SWIG_Py_Void();
21272 return resultobj;
21273 fail:
21274 return NULL;
21275 }
21276
21277
21278 SWIGINTERN PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21279 PyObject *resultobj = 0;
21280 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21281 wxDC *arg2 = (wxDC *) 0 ;
21282 bool result;
21283 void *argp1 = 0 ;
21284 int res1 = 0 ;
21285 void *argp2 = 0 ;
21286 int res2 = 0 ;
21287 PyObject * obj0 = 0 ;
21288 PyObject * obj1 = 0 ;
21289 char * kwnames[] = {
21290 (char *) "self",(char *) "dc", NULL
21291 };
21292
21293 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21294 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21295 if (!SWIG_IsOK(res1)) {
21296 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21297 }
21298 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21299 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21300 if (!SWIG_IsOK(res2)) {
21301 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21302 }
21303 arg2 = reinterpret_cast< wxDC * >(argp2);
21304 {
21305 PyThreadState* __tstate = wxPyBeginAllowThreads();
21306 result = (bool)(arg1)->DoEraseBackground(arg2);
21307 wxPyEndAllowThreads(__tstate);
21308 if (PyErr_Occurred()) SWIG_fail;
21309 }
21310 {
21311 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21312 }
21313 return resultobj;
21314 fail:
21315 return NULL;
21316 }
21317
21318
21319 SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21320 PyObject *resultobj = 0;
21321 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21322 int arg2 ;
21323 int arg3 ;
21324 int arg4 ;
21325 int arg5 ;
21326 void *argp1 = 0 ;
21327 int res1 = 0 ;
21328 int val2 ;
21329 int ecode2 = 0 ;
21330 int val3 ;
21331 int ecode3 = 0 ;
21332 int val4 ;
21333 int ecode4 = 0 ;
21334 int val5 ;
21335 int ecode5 = 0 ;
21336 PyObject * obj0 = 0 ;
21337 PyObject * obj1 = 0 ;
21338 PyObject * obj2 = 0 ;
21339 PyObject * obj3 = 0 ;
21340 PyObject * obj4 = 0 ;
21341 char * kwnames[] = {
21342 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21343 };
21344
21345 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21346 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21347 if (!SWIG_IsOK(res1)) {
21348 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21349 }
21350 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21351 ecode2 = SWIG_AsVal_int(obj1, &val2);
21352 if (!SWIG_IsOK(ecode2)) {
21353 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21354 }
21355 arg2 = static_cast< int >(val2);
21356 ecode3 = SWIG_AsVal_int(obj2, &val3);
21357 if (!SWIG_IsOK(ecode3)) {
21358 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21359 }
21360 arg3 = static_cast< int >(val3);
21361 ecode4 = SWIG_AsVal_int(obj3, &val4);
21362 if (!SWIG_IsOK(ecode4)) {
21363 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21364 }
21365 arg4 = static_cast< int >(val4);
21366 ecode5 = SWIG_AsVal_int(obj4, &val5);
21367 if (!SWIG_IsOK(ecode5)) {
21368 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21369 }
21370 arg5 = static_cast< int >(val5);
21371 {
21372 PyThreadState* __tstate = wxPyBeginAllowThreads();
21373 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
21374 wxPyEndAllowThreads(__tstate);
21375 if (PyErr_Occurred()) SWIG_fail;
21376 }
21377 resultobj = SWIG_Py_Void();
21378 return resultobj;
21379 fail:
21380 return NULL;
21381 }
21382
21383
21384 SWIGINTERN PyObject *_wrap_PyWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21385 PyObject *resultobj = 0;
21386 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21387 int arg2 ;
21388 int arg3 ;
21389 int arg4 ;
21390 int arg5 ;
21391 int arg6 = (int) wxSIZE_AUTO ;
21392 void *argp1 = 0 ;
21393 int res1 = 0 ;
21394 int val2 ;
21395 int ecode2 = 0 ;
21396 int val3 ;
21397 int ecode3 = 0 ;
21398 int val4 ;
21399 int ecode4 = 0 ;
21400 int val5 ;
21401 int ecode5 = 0 ;
21402 int val6 ;
21403 int ecode6 = 0 ;
21404 PyObject * obj0 = 0 ;
21405 PyObject * obj1 = 0 ;
21406 PyObject * obj2 = 0 ;
21407 PyObject * obj3 = 0 ;
21408 PyObject * obj4 = 0 ;
21409 PyObject * obj5 = 0 ;
21410 char * kwnames[] = {
21411 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21412 };
21413
21414 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21415 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21416 if (!SWIG_IsOK(res1)) {
21417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21418 }
21419 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21420 ecode2 = SWIG_AsVal_int(obj1, &val2);
21421 if (!SWIG_IsOK(ecode2)) {
21422 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21423 }
21424 arg2 = static_cast< int >(val2);
21425 ecode3 = SWIG_AsVal_int(obj2, &val3);
21426 if (!SWIG_IsOK(ecode3)) {
21427 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21428 }
21429 arg3 = static_cast< int >(val3);
21430 ecode4 = SWIG_AsVal_int(obj3, &val4);
21431 if (!SWIG_IsOK(ecode4)) {
21432 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21433 }
21434 arg4 = static_cast< int >(val4);
21435 ecode5 = SWIG_AsVal_int(obj4, &val5);
21436 if (!SWIG_IsOK(ecode5)) {
21437 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21438 }
21439 arg5 = static_cast< int >(val5);
21440 if (obj5) {
21441 ecode6 = SWIG_AsVal_int(obj5, &val6);
21442 if (!SWIG_IsOK(ecode6)) {
21443 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21444 }
21445 arg6 = static_cast< int >(val6);
21446 }
21447 {
21448 PyThreadState* __tstate = wxPyBeginAllowThreads();
21449 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
21450 wxPyEndAllowThreads(__tstate);
21451 if (PyErr_Occurred()) SWIG_fail;
21452 }
21453 resultobj = SWIG_Py_Void();
21454 return resultobj;
21455 fail:
21456 return NULL;
21457 }
21458
21459
21460 SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21461 PyObject *resultobj = 0;
21462 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21463 int arg2 ;
21464 int arg3 ;
21465 void *argp1 = 0 ;
21466 int res1 = 0 ;
21467 int val2 ;
21468 int ecode2 = 0 ;
21469 int val3 ;
21470 int ecode3 = 0 ;
21471 PyObject * obj0 = 0 ;
21472 PyObject * obj1 = 0 ;
21473 PyObject * obj2 = 0 ;
21474 char * kwnames[] = {
21475 (char *) "self",(char *) "width",(char *) "height", NULL
21476 };
21477
21478 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21479 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21480 if (!SWIG_IsOK(res1)) {
21481 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21482 }
21483 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21484 ecode2 = SWIG_AsVal_int(obj1, &val2);
21485 if (!SWIG_IsOK(ecode2)) {
21486 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21487 }
21488 arg2 = static_cast< int >(val2);
21489 ecode3 = SWIG_AsVal_int(obj2, &val3);
21490 if (!SWIG_IsOK(ecode3)) {
21491 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21492 }
21493 arg3 = static_cast< int >(val3);
21494 {
21495 PyThreadState* __tstate = wxPyBeginAllowThreads();
21496 (arg1)->DoSetClientSize(arg2,arg3);
21497 wxPyEndAllowThreads(__tstate);
21498 if (PyErr_Occurred()) SWIG_fail;
21499 }
21500 resultobj = SWIG_Py_Void();
21501 return resultobj;
21502 fail:
21503 return NULL;
21504 }
21505
21506
21507 SWIGINTERN PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21508 PyObject *resultobj = 0;
21509 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21510 int arg2 ;
21511 int arg3 ;
21512 void *argp1 = 0 ;
21513 int res1 = 0 ;
21514 int val2 ;
21515 int ecode2 = 0 ;
21516 int val3 ;
21517 int ecode3 = 0 ;
21518 PyObject * obj0 = 0 ;
21519 PyObject * obj1 = 0 ;
21520 PyObject * obj2 = 0 ;
21521 char * kwnames[] = {
21522 (char *) "self",(char *) "x",(char *) "y", NULL
21523 };
21524
21525 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21526 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21527 if (!SWIG_IsOK(res1)) {
21528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21529 }
21530 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21531 ecode2 = SWIG_AsVal_int(obj1, &val2);
21532 if (!SWIG_IsOK(ecode2)) {
21533 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21534 }
21535 arg2 = static_cast< int >(val2);
21536 ecode3 = SWIG_AsVal_int(obj2, &val3);
21537 if (!SWIG_IsOK(ecode3)) {
21538 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21539 }
21540 arg3 = static_cast< int >(val3);
21541 {
21542 PyThreadState* __tstate = wxPyBeginAllowThreads();
21543 (arg1)->DoSetVirtualSize(arg2,arg3);
21544 wxPyEndAllowThreads(__tstate);
21545 if (PyErr_Occurred()) SWIG_fail;
21546 }
21547 resultobj = SWIG_Py_Void();
21548 return resultobj;
21549 fail:
21550 return NULL;
21551 }
21552
21553
21554 SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21555 PyObject *resultobj = 0;
21556 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21557 int *arg2 = (int *) 0 ;
21558 int *arg3 = (int *) 0 ;
21559 void *argp1 = 0 ;
21560 int res1 = 0 ;
21561 int temp2 ;
21562 int res2 = SWIG_TMPOBJ ;
21563 int temp3 ;
21564 int res3 = SWIG_TMPOBJ ;
21565 PyObject *swig_obj[1] ;
21566
21567 arg2 = &temp2;
21568 arg3 = &temp3;
21569 if (!args) SWIG_fail;
21570 swig_obj[0] = args;
21571 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21572 if (!SWIG_IsOK(res1)) {
21573 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21574 }
21575 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21576 {
21577 PyThreadState* __tstate = wxPyBeginAllowThreads();
21578 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
21579 wxPyEndAllowThreads(__tstate);
21580 if (PyErr_Occurred()) SWIG_fail;
21581 }
21582 resultobj = SWIG_Py_Void();
21583 if (SWIG_IsTmpObj(res2)) {
21584 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21585 } else {
21586 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21587 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21588 }
21589 if (SWIG_IsTmpObj(res3)) {
21590 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21591 } else {
21592 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21593 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21594 }
21595 return resultobj;
21596 fail:
21597 return NULL;
21598 }
21599
21600
21601 SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21602 PyObject *resultobj = 0;
21603 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21604 int *arg2 = (int *) 0 ;
21605 int *arg3 = (int *) 0 ;
21606 void *argp1 = 0 ;
21607 int res1 = 0 ;
21608 int temp2 ;
21609 int res2 = SWIG_TMPOBJ ;
21610 int temp3 ;
21611 int res3 = SWIG_TMPOBJ ;
21612 PyObject *swig_obj[1] ;
21613
21614 arg2 = &temp2;
21615 arg3 = &temp3;
21616 if (!args) SWIG_fail;
21617 swig_obj[0] = args;
21618 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21619 if (!SWIG_IsOK(res1)) {
21620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21621 }
21622 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21623 {
21624 PyThreadState* __tstate = wxPyBeginAllowThreads();
21625 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
21626 wxPyEndAllowThreads(__tstate);
21627 if (PyErr_Occurred()) SWIG_fail;
21628 }
21629 resultobj = SWIG_Py_Void();
21630 if (SWIG_IsTmpObj(res2)) {
21631 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21632 } else {
21633 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21634 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21635 }
21636 if (SWIG_IsTmpObj(res3)) {
21637 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21638 } else {
21639 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21640 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21641 }
21642 return resultobj;
21643 fail:
21644 return NULL;
21645 }
21646
21647
21648 SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21649 PyObject *resultobj = 0;
21650 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21651 int *arg2 = (int *) 0 ;
21652 int *arg3 = (int *) 0 ;
21653 void *argp1 = 0 ;
21654 int res1 = 0 ;
21655 int temp2 ;
21656 int res2 = SWIG_TMPOBJ ;
21657 int temp3 ;
21658 int res3 = SWIG_TMPOBJ ;
21659 PyObject *swig_obj[1] ;
21660
21661 arg2 = &temp2;
21662 arg3 = &temp3;
21663 if (!args) SWIG_fail;
21664 swig_obj[0] = args;
21665 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21666 if (!SWIG_IsOK(res1)) {
21667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21668 }
21669 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21670 {
21671 PyThreadState* __tstate = wxPyBeginAllowThreads();
21672 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
21673 wxPyEndAllowThreads(__tstate);
21674 if (PyErr_Occurred()) SWIG_fail;
21675 }
21676 resultobj = SWIG_Py_Void();
21677 if (SWIG_IsTmpObj(res2)) {
21678 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21679 } else {
21680 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21681 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21682 }
21683 if (SWIG_IsTmpObj(res3)) {
21684 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21685 } else {
21686 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21687 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21688 }
21689 return resultobj;
21690 fail:
21691 return NULL;
21692 }
21693
21694
21695 SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21696 PyObject *resultobj = 0;
21697 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21698 wxSize result;
21699 void *argp1 = 0 ;
21700 int res1 = 0 ;
21701 PyObject *swig_obj[1] ;
21702
21703 if (!args) SWIG_fail;
21704 swig_obj[0] = args;
21705 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21706 if (!SWIG_IsOK(res1)) {
21707 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21708 }
21709 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21710 {
21711 PyThreadState* __tstate = wxPyBeginAllowThreads();
21712 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
21713 wxPyEndAllowThreads(__tstate);
21714 if (PyErr_Occurred()) SWIG_fail;
21715 }
21716 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
21717 return resultobj;
21718 fail:
21719 return NULL;
21720 }
21721
21722
21723 SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21724 PyObject *resultobj = 0;
21725 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21726 wxSize result;
21727 void *argp1 = 0 ;
21728 int res1 = 0 ;
21729 PyObject *swig_obj[1] ;
21730
21731 if (!args) SWIG_fail;
21732 swig_obj[0] = args;
21733 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21734 if (!SWIG_IsOK(res1)) {
21735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21736 }
21737 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21738 {
21739 PyThreadState* __tstate = wxPyBeginAllowThreads();
21740 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
21741 wxPyEndAllowThreads(__tstate);
21742 if (PyErr_Occurred()) SWIG_fail;
21743 }
21744 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
21745 return resultobj;
21746 fail:
21747 return NULL;
21748 }
21749
21750
21751 SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21752 PyObject *resultobj = 0;
21753 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21754 SwigValueWrapper<wxVisualAttributes > result;
21755 void *argp1 = 0 ;
21756 int res1 = 0 ;
21757 PyObject *swig_obj[1] ;
21758
21759 if (!args) SWIG_fail;
21760 swig_obj[0] = args;
21761 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21762 if (!SWIG_IsOK(res1)) {
21763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21764 }
21765 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21766 {
21767 PyThreadState* __tstate = wxPyBeginAllowThreads();
21768 result = (arg1)->GetDefaultAttributes();
21769 wxPyEndAllowThreads(__tstate);
21770 if (PyErr_Occurred()) SWIG_fail;
21771 }
21772 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
21773 return resultobj;
21774 fail:
21775 return NULL;
21776 }
21777
21778
21779 SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21780 PyObject *resultobj = 0;
21781 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21782 void *argp1 = 0 ;
21783 int res1 = 0 ;
21784 PyObject *swig_obj[1] ;
21785
21786 if (!args) SWIG_fail;
21787 swig_obj[0] = args;
21788 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21789 if (!SWIG_IsOK(res1)) {
21790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21791 }
21792 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21793 {
21794 PyThreadState* __tstate = wxPyBeginAllowThreads();
21795 (arg1)->OnInternalIdle();
21796 wxPyEndAllowThreads(__tstate);
21797 if (PyErr_Occurred()) SWIG_fail;
21798 }
21799 resultobj = SWIG_Py_Void();
21800 return resultobj;
21801 fail:
21802 return NULL;
21803 }
21804
21805
21806 SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21807 PyObject *obj;
21808 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21809 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
21810 return SWIG_Py_Void();
21811 }
21812
21813 SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21814 return SWIG_Python_InitShadowInstance(args);
21815 }
21816
21817 SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21818 PyObject *resultobj = 0;
21819 wxWindow *arg1 = (wxWindow *) 0 ;
21820 int arg2 = (int) (int)-1 ;
21821 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21822 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21823 wxSize const &arg4_defvalue = wxDefaultSize ;
21824 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21825 long arg5 = (long) 0 ;
21826 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21827 wxString *arg6 = (wxString *) &arg6_defvalue ;
21828 wxPyPanel *result = 0 ;
21829 void *argp1 = 0 ;
21830 int res1 = 0 ;
21831 int val2 ;
21832 int ecode2 = 0 ;
21833 wxPoint temp3 ;
21834 wxSize temp4 ;
21835 long val5 ;
21836 int ecode5 = 0 ;
21837 bool temp6 = false ;
21838 PyObject * obj0 = 0 ;
21839 PyObject * obj1 = 0 ;
21840 PyObject * obj2 = 0 ;
21841 PyObject * obj3 = 0 ;
21842 PyObject * obj4 = 0 ;
21843 PyObject * obj5 = 0 ;
21844 char * kwnames[] = {
21845 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21846 };
21847
21848 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21849 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21850 if (!SWIG_IsOK(res1)) {
21851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
21852 }
21853 arg1 = reinterpret_cast< wxWindow * >(argp1);
21854 if (obj1) {
21855 ecode2 = SWIG_AsVal_int(obj1, &val2);
21856 if (!SWIG_IsOK(ecode2)) {
21857 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
21858 }
21859 arg2 = static_cast< int >(val2);
21860 }
21861 if (obj2) {
21862 {
21863 arg3 = &temp3;
21864 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21865 }
21866 }
21867 if (obj3) {
21868 {
21869 arg4 = &temp4;
21870 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21871 }
21872 }
21873 if (obj4) {
21874 ecode5 = SWIG_AsVal_long(obj4, &val5);
21875 if (!SWIG_IsOK(ecode5)) {
21876 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
21877 }
21878 arg5 = static_cast< long >(val5);
21879 }
21880 if (obj5) {
21881 {
21882 arg6 = wxString_in_helper(obj5);
21883 if (arg6 == NULL) SWIG_fail;
21884 temp6 = true;
21885 }
21886 }
21887 {
21888 if (!wxPyCheckForApp()) SWIG_fail;
21889 PyThreadState* __tstate = wxPyBeginAllowThreads();
21890 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21891 wxPyEndAllowThreads(__tstate);
21892 if (PyErr_Occurred()) SWIG_fail;
21893 }
21894 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
21895 {
21896 if (temp6)
21897 delete arg6;
21898 }
21899 return resultobj;
21900 fail:
21901 {
21902 if (temp6)
21903 delete arg6;
21904 }
21905 return NULL;
21906 }
21907
21908
21909 SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21910 PyObject *resultobj = 0;
21911 wxPyPanel *result = 0 ;
21912
21913 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
21914 {
21915 if (!wxPyCheckForApp()) SWIG_fail;
21916 PyThreadState* __tstate = wxPyBeginAllowThreads();
21917 result = (wxPyPanel *)new wxPyPanel();
21918 wxPyEndAllowThreads(__tstate);
21919 if (PyErr_Occurred()) SWIG_fail;
21920 }
21921 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
21922 return resultobj;
21923 fail:
21924 return NULL;
21925 }
21926
21927
21928 SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21929 PyObject *resultobj = 0;
21930 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
21931 PyObject *arg2 = (PyObject *) 0 ;
21932 PyObject *arg3 = (PyObject *) 0 ;
21933 void *argp1 = 0 ;
21934 int res1 = 0 ;
21935 PyObject * obj0 = 0 ;
21936 PyObject * obj1 = 0 ;
21937 PyObject * obj2 = 0 ;
21938 char * kwnames[] = {
21939 (char *) "self",(char *) "self",(char *) "_class", NULL
21940 };
21941
21942 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21943 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
21944 if (!SWIG_IsOK(res1)) {
21945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21946 }
21947 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
21948 arg2 = obj1;
21949 arg3 = obj2;
21950 {
21951 PyThreadState* __tstate = wxPyBeginAllowThreads();
21952 (arg1)->_setCallbackInfo(arg2,arg3);
21953 wxPyEndAllowThreads(__tstate);
21954 if (PyErr_Occurred()) SWIG_fail;
21955 }
21956 resultobj = SWIG_Py_Void();
21957 return resultobj;
21958 fail:
21959 return NULL;
21960 }
21961
21962
21963 SWIGINTERN PyObject *_wrap_PyPanel_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21964 PyObject *resultobj = 0;
21965 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
21966 wxSize *arg2 = 0 ;
21967 void *argp1 = 0 ;
21968 int res1 = 0 ;
21969 wxSize temp2 ;
21970 PyObject * obj0 = 0 ;
21971 PyObject * obj1 = 0 ;
21972 char * kwnames[] = {
21973 (char *) "self",(char *) "size", NULL
21974 };
21975
21976 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
21977 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
21978 if (!SWIG_IsOK(res1)) {
21979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21980 }
21981 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
21982 {
21983 arg2 = &temp2;
21984 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21985 }
21986 {
21987 PyThreadState* __tstate = wxPyBeginAllowThreads();
21988 (arg1)->SetBestSize((wxSize const &)*arg2);
21989 wxPyEndAllowThreads(__tstate);
21990 if (PyErr_Occurred()) SWIG_fail;
21991 }
21992 resultobj = SWIG_Py_Void();
21993 return resultobj;
21994 fail:
21995 return NULL;
21996 }
21997
21998
21999 SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22000 PyObject *resultobj = 0;
22001 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22002 wxDC *arg2 = (wxDC *) 0 ;
22003 bool result;
22004 void *argp1 = 0 ;
22005 int res1 = 0 ;
22006 void *argp2 = 0 ;
22007 int res2 = 0 ;
22008 PyObject * obj0 = 0 ;
22009 PyObject * obj1 = 0 ;
22010 char * kwnames[] = {
22011 (char *) "self",(char *) "dc", NULL
22012 };
22013
22014 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22015 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22016 if (!SWIG_IsOK(res1)) {
22017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22018 }
22019 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22020 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22021 if (!SWIG_IsOK(res2)) {
22022 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22023 }
22024 arg2 = reinterpret_cast< wxDC * >(argp2);
22025 {
22026 PyThreadState* __tstate = wxPyBeginAllowThreads();
22027 result = (bool)(arg1)->DoEraseBackground(arg2);
22028 wxPyEndAllowThreads(__tstate);
22029 if (PyErr_Occurred()) SWIG_fail;
22030 }
22031 {
22032 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22033 }
22034 return resultobj;
22035 fail:
22036 return NULL;
22037 }
22038
22039
22040 SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22041 PyObject *resultobj = 0;
22042 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22043 int arg2 ;
22044 int arg3 ;
22045 int arg4 ;
22046 int arg5 ;
22047 void *argp1 = 0 ;
22048 int res1 = 0 ;
22049 int val2 ;
22050 int ecode2 = 0 ;
22051 int val3 ;
22052 int ecode3 = 0 ;
22053 int val4 ;
22054 int ecode4 = 0 ;
22055 int val5 ;
22056 int ecode5 = 0 ;
22057 PyObject * obj0 = 0 ;
22058 PyObject * obj1 = 0 ;
22059 PyObject * obj2 = 0 ;
22060 PyObject * obj3 = 0 ;
22061 PyObject * obj4 = 0 ;
22062 char * kwnames[] = {
22063 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22064 };
22065
22066 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22067 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22068 if (!SWIG_IsOK(res1)) {
22069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22070 }
22071 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22072 ecode2 = SWIG_AsVal_int(obj1, &val2);
22073 if (!SWIG_IsOK(ecode2)) {
22074 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22075 }
22076 arg2 = static_cast< int >(val2);
22077 ecode3 = SWIG_AsVal_int(obj2, &val3);
22078 if (!SWIG_IsOK(ecode3)) {
22079 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22080 }
22081 arg3 = static_cast< int >(val3);
22082 ecode4 = SWIG_AsVal_int(obj3, &val4);
22083 if (!SWIG_IsOK(ecode4)) {
22084 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22085 }
22086 arg4 = static_cast< int >(val4);
22087 ecode5 = SWIG_AsVal_int(obj4, &val5);
22088 if (!SWIG_IsOK(ecode5)) {
22089 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22090 }
22091 arg5 = static_cast< int >(val5);
22092 {
22093 PyThreadState* __tstate = wxPyBeginAllowThreads();
22094 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22095 wxPyEndAllowThreads(__tstate);
22096 if (PyErr_Occurred()) SWIG_fail;
22097 }
22098 resultobj = SWIG_Py_Void();
22099 return resultobj;
22100 fail:
22101 return NULL;
22102 }
22103
22104
22105 SWIGINTERN PyObject *_wrap_PyPanel_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22106 PyObject *resultobj = 0;
22107 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22108 int arg2 ;
22109 int arg3 ;
22110 int arg4 ;
22111 int arg5 ;
22112 int arg6 = (int) wxSIZE_AUTO ;
22113 void *argp1 = 0 ;
22114 int res1 = 0 ;
22115 int val2 ;
22116 int ecode2 = 0 ;
22117 int val3 ;
22118 int ecode3 = 0 ;
22119 int val4 ;
22120 int ecode4 = 0 ;
22121 int val5 ;
22122 int ecode5 = 0 ;
22123 int val6 ;
22124 int ecode6 = 0 ;
22125 PyObject * obj0 = 0 ;
22126 PyObject * obj1 = 0 ;
22127 PyObject * obj2 = 0 ;
22128 PyObject * obj3 = 0 ;
22129 PyObject * obj4 = 0 ;
22130 PyObject * obj5 = 0 ;
22131 char * kwnames[] = {
22132 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22133 };
22134
22135 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22136 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22137 if (!SWIG_IsOK(res1)) {
22138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22139 }
22140 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22141 ecode2 = SWIG_AsVal_int(obj1, &val2);
22142 if (!SWIG_IsOK(ecode2)) {
22143 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22144 }
22145 arg2 = static_cast< int >(val2);
22146 ecode3 = SWIG_AsVal_int(obj2, &val3);
22147 if (!SWIG_IsOK(ecode3)) {
22148 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22149 }
22150 arg3 = static_cast< int >(val3);
22151 ecode4 = SWIG_AsVal_int(obj3, &val4);
22152 if (!SWIG_IsOK(ecode4)) {
22153 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22154 }
22155 arg4 = static_cast< int >(val4);
22156 ecode5 = SWIG_AsVal_int(obj4, &val5);
22157 if (!SWIG_IsOK(ecode5)) {
22158 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22159 }
22160 arg5 = static_cast< int >(val5);
22161 if (obj5) {
22162 ecode6 = SWIG_AsVal_int(obj5, &val6);
22163 if (!SWIG_IsOK(ecode6)) {
22164 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22165 }
22166 arg6 = static_cast< int >(val6);
22167 }
22168 {
22169 PyThreadState* __tstate = wxPyBeginAllowThreads();
22170 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22171 wxPyEndAllowThreads(__tstate);
22172 if (PyErr_Occurred()) SWIG_fail;
22173 }
22174 resultobj = SWIG_Py_Void();
22175 return resultobj;
22176 fail:
22177 return NULL;
22178 }
22179
22180
22181 SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22182 PyObject *resultobj = 0;
22183 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22184 int arg2 ;
22185 int arg3 ;
22186 void *argp1 = 0 ;
22187 int res1 = 0 ;
22188 int val2 ;
22189 int ecode2 = 0 ;
22190 int val3 ;
22191 int ecode3 = 0 ;
22192 PyObject * obj0 = 0 ;
22193 PyObject * obj1 = 0 ;
22194 PyObject * obj2 = 0 ;
22195 char * kwnames[] = {
22196 (char *) "self",(char *) "width",(char *) "height", NULL
22197 };
22198
22199 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22200 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22201 if (!SWIG_IsOK(res1)) {
22202 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22203 }
22204 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22205 ecode2 = SWIG_AsVal_int(obj1, &val2);
22206 if (!SWIG_IsOK(ecode2)) {
22207 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22208 }
22209 arg2 = static_cast< int >(val2);
22210 ecode3 = SWIG_AsVal_int(obj2, &val3);
22211 if (!SWIG_IsOK(ecode3)) {
22212 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22213 }
22214 arg3 = static_cast< int >(val3);
22215 {
22216 PyThreadState* __tstate = wxPyBeginAllowThreads();
22217 (arg1)->DoSetClientSize(arg2,arg3);
22218 wxPyEndAllowThreads(__tstate);
22219 if (PyErr_Occurred()) SWIG_fail;
22220 }
22221 resultobj = SWIG_Py_Void();
22222 return resultobj;
22223 fail:
22224 return NULL;
22225 }
22226
22227
22228 SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22229 PyObject *resultobj = 0;
22230 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22231 int arg2 ;
22232 int arg3 ;
22233 void *argp1 = 0 ;
22234 int res1 = 0 ;
22235 int val2 ;
22236 int ecode2 = 0 ;
22237 int val3 ;
22238 int ecode3 = 0 ;
22239 PyObject * obj0 = 0 ;
22240 PyObject * obj1 = 0 ;
22241 PyObject * obj2 = 0 ;
22242 char * kwnames[] = {
22243 (char *) "self",(char *) "x",(char *) "y", NULL
22244 };
22245
22246 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22247 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22248 if (!SWIG_IsOK(res1)) {
22249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22250 }
22251 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22252 ecode2 = SWIG_AsVal_int(obj1, &val2);
22253 if (!SWIG_IsOK(ecode2)) {
22254 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22255 }
22256 arg2 = static_cast< int >(val2);
22257 ecode3 = SWIG_AsVal_int(obj2, &val3);
22258 if (!SWIG_IsOK(ecode3)) {
22259 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22260 }
22261 arg3 = static_cast< int >(val3);
22262 {
22263 PyThreadState* __tstate = wxPyBeginAllowThreads();
22264 (arg1)->DoSetVirtualSize(arg2,arg3);
22265 wxPyEndAllowThreads(__tstate);
22266 if (PyErr_Occurred()) SWIG_fail;
22267 }
22268 resultobj = SWIG_Py_Void();
22269 return resultobj;
22270 fail:
22271 return NULL;
22272 }
22273
22274
22275 SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22276 PyObject *resultobj = 0;
22277 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22278 int *arg2 = (int *) 0 ;
22279 int *arg3 = (int *) 0 ;
22280 void *argp1 = 0 ;
22281 int res1 = 0 ;
22282 int temp2 ;
22283 int res2 = SWIG_TMPOBJ ;
22284 int temp3 ;
22285 int res3 = SWIG_TMPOBJ ;
22286 PyObject *swig_obj[1] ;
22287
22288 arg2 = &temp2;
22289 arg3 = &temp3;
22290 if (!args) SWIG_fail;
22291 swig_obj[0] = args;
22292 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22293 if (!SWIG_IsOK(res1)) {
22294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22295 }
22296 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22297 {
22298 PyThreadState* __tstate = wxPyBeginAllowThreads();
22299 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
22300 wxPyEndAllowThreads(__tstate);
22301 if (PyErr_Occurred()) SWIG_fail;
22302 }
22303 resultobj = SWIG_Py_Void();
22304 if (SWIG_IsTmpObj(res2)) {
22305 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22306 } else {
22307 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22308 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22309 }
22310 if (SWIG_IsTmpObj(res3)) {
22311 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22312 } else {
22313 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22314 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22315 }
22316 return resultobj;
22317 fail:
22318 return NULL;
22319 }
22320
22321
22322 SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22323 PyObject *resultobj = 0;
22324 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22325 int *arg2 = (int *) 0 ;
22326 int *arg3 = (int *) 0 ;
22327 void *argp1 = 0 ;
22328 int res1 = 0 ;
22329 int temp2 ;
22330 int res2 = SWIG_TMPOBJ ;
22331 int temp3 ;
22332 int res3 = SWIG_TMPOBJ ;
22333 PyObject *swig_obj[1] ;
22334
22335 arg2 = &temp2;
22336 arg3 = &temp3;
22337 if (!args) SWIG_fail;
22338 swig_obj[0] = args;
22339 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22340 if (!SWIG_IsOK(res1)) {
22341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22342 }
22343 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22344 {
22345 PyThreadState* __tstate = wxPyBeginAllowThreads();
22346 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
22347 wxPyEndAllowThreads(__tstate);
22348 if (PyErr_Occurred()) SWIG_fail;
22349 }
22350 resultobj = SWIG_Py_Void();
22351 if (SWIG_IsTmpObj(res2)) {
22352 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22353 } else {
22354 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22355 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22356 }
22357 if (SWIG_IsTmpObj(res3)) {
22358 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22359 } else {
22360 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22361 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22362 }
22363 return resultobj;
22364 fail:
22365 return NULL;
22366 }
22367
22368
22369 SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22370 PyObject *resultobj = 0;
22371 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22372 int *arg2 = (int *) 0 ;
22373 int *arg3 = (int *) 0 ;
22374 void *argp1 = 0 ;
22375 int res1 = 0 ;
22376 int temp2 ;
22377 int res2 = SWIG_TMPOBJ ;
22378 int temp3 ;
22379 int res3 = SWIG_TMPOBJ ;
22380 PyObject *swig_obj[1] ;
22381
22382 arg2 = &temp2;
22383 arg3 = &temp3;
22384 if (!args) SWIG_fail;
22385 swig_obj[0] = args;
22386 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22387 if (!SWIG_IsOK(res1)) {
22388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22389 }
22390 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22391 {
22392 PyThreadState* __tstate = wxPyBeginAllowThreads();
22393 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
22394 wxPyEndAllowThreads(__tstate);
22395 if (PyErr_Occurred()) SWIG_fail;
22396 }
22397 resultobj = SWIG_Py_Void();
22398 if (SWIG_IsTmpObj(res2)) {
22399 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22400 } else {
22401 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22402 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22403 }
22404 if (SWIG_IsTmpObj(res3)) {
22405 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22406 } else {
22407 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22408 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22409 }
22410 return resultobj;
22411 fail:
22412 return NULL;
22413 }
22414
22415
22416 SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22417 PyObject *resultobj = 0;
22418 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22419 wxSize result;
22420 void *argp1 = 0 ;
22421 int res1 = 0 ;
22422 PyObject *swig_obj[1] ;
22423
22424 if (!args) SWIG_fail;
22425 swig_obj[0] = args;
22426 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22427 if (!SWIG_IsOK(res1)) {
22428 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22429 }
22430 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22431 {
22432 PyThreadState* __tstate = wxPyBeginAllowThreads();
22433 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
22434 wxPyEndAllowThreads(__tstate);
22435 if (PyErr_Occurred()) SWIG_fail;
22436 }
22437 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22438 return resultobj;
22439 fail:
22440 return NULL;
22441 }
22442
22443
22444 SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22445 PyObject *resultobj = 0;
22446 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22447 wxSize result;
22448 void *argp1 = 0 ;
22449 int res1 = 0 ;
22450 PyObject *swig_obj[1] ;
22451
22452 if (!args) SWIG_fail;
22453 swig_obj[0] = args;
22454 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22455 if (!SWIG_IsOK(res1)) {
22456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22457 }
22458 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22459 {
22460 PyThreadState* __tstate = wxPyBeginAllowThreads();
22461 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
22462 wxPyEndAllowThreads(__tstate);
22463 if (PyErr_Occurred()) SWIG_fail;
22464 }
22465 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22466 return resultobj;
22467 fail:
22468 return NULL;
22469 }
22470
22471
22472 SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22473 PyObject *resultobj = 0;
22474 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22475 SwigValueWrapper<wxVisualAttributes > result;
22476 void *argp1 = 0 ;
22477 int res1 = 0 ;
22478 PyObject *swig_obj[1] ;
22479
22480 if (!args) SWIG_fail;
22481 swig_obj[0] = args;
22482 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22483 if (!SWIG_IsOK(res1)) {
22484 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22485 }
22486 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22487 {
22488 PyThreadState* __tstate = wxPyBeginAllowThreads();
22489 result = (arg1)->GetDefaultAttributes();
22490 wxPyEndAllowThreads(__tstate);
22491 if (PyErr_Occurred()) SWIG_fail;
22492 }
22493 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22494 return resultobj;
22495 fail:
22496 return NULL;
22497 }
22498
22499
22500 SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22501 PyObject *resultobj = 0;
22502 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22503 void *argp1 = 0 ;
22504 int res1 = 0 ;
22505 PyObject *swig_obj[1] ;
22506
22507 if (!args) SWIG_fail;
22508 swig_obj[0] = args;
22509 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22510 if (!SWIG_IsOK(res1)) {
22511 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22512 }
22513 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22514 {
22515 PyThreadState* __tstate = wxPyBeginAllowThreads();
22516 (arg1)->OnInternalIdle();
22517 wxPyEndAllowThreads(__tstate);
22518 if (PyErr_Occurred()) SWIG_fail;
22519 }
22520 resultobj = SWIG_Py_Void();
22521 return resultobj;
22522 fail:
22523 return NULL;
22524 }
22525
22526
22527 SWIGINTERN PyObject *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22528 PyObject *obj;
22529 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22530 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
22531 return SWIG_Py_Void();
22532 }
22533
22534 SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22535 return SWIG_Python_InitShadowInstance(args);
22536 }
22537
22538 SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22539 PyObject *resultobj = 0;
22540 wxWindow *arg1 = (wxWindow *) 0 ;
22541 int arg2 = (int) (int)-1 ;
22542 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22543 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22544 wxSize const &arg4_defvalue = wxDefaultSize ;
22545 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22546 long arg5 = (long) 0 ;
22547 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22548 wxString *arg6 = (wxString *) &arg6_defvalue ;
22549 wxPyScrolledWindow *result = 0 ;
22550 void *argp1 = 0 ;
22551 int res1 = 0 ;
22552 int val2 ;
22553 int ecode2 = 0 ;
22554 wxPoint temp3 ;
22555 wxSize temp4 ;
22556 long val5 ;
22557 int ecode5 = 0 ;
22558 bool temp6 = false ;
22559 PyObject * obj0 = 0 ;
22560 PyObject * obj1 = 0 ;
22561 PyObject * obj2 = 0 ;
22562 PyObject * obj3 = 0 ;
22563 PyObject * obj4 = 0 ;
22564 PyObject * obj5 = 0 ;
22565 char * kwnames[] = {
22566 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22567 };
22568
22569 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22570 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22571 if (!SWIG_IsOK(res1)) {
22572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22573 }
22574 arg1 = reinterpret_cast< wxWindow * >(argp1);
22575 if (obj1) {
22576 ecode2 = SWIG_AsVal_int(obj1, &val2);
22577 if (!SWIG_IsOK(ecode2)) {
22578 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22579 }
22580 arg2 = static_cast< int >(val2);
22581 }
22582 if (obj2) {
22583 {
22584 arg3 = &temp3;
22585 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22586 }
22587 }
22588 if (obj3) {
22589 {
22590 arg4 = &temp4;
22591 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22592 }
22593 }
22594 if (obj4) {
22595 ecode5 = SWIG_AsVal_long(obj4, &val5);
22596 if (!SWIG_IsOK(ecode5)) {
22597 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22598 }
22599 arg5 = static_cast< long >(val5);
22600 }
22601 if (obj5) {
22602 {
22603 arg6 = wxString_in_helper(obj5);
22604 if (arg6 == NULL) SWIG_fail;
22605 temp6 = true;
22606 }
22607 }
22608 {
22609 if (!wxPyCheckForApp()) SWIG_fail;
22610 PyThreadState* __tstate = wxPyBeginAllowThreads();
22611 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22612 wxPyEndAllowThreads(__tstate);
22613 if (PyErr_Occurred()) SWIG_fail;
22614 }
22615 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
22616 {
22617 if (temp6)
22618 delete arg6;
22619 }
22620 return resultobj;
22621 fail:
22622 {
22623 if (temp6)
22624 delete arg6;
22625 }
22626 return NULL;
22627 }
22628
22629
22630 SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22631 PyObject *resultobj = 0;
22632 wxPyScrolledWindow *result = 0 ;
22633
22634 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
22635 {
22636 if (!wxPyCheckForApp()) SWIG_fail;
22637 PyThreadState* __tstate = wxPyBeginAllowThreads();
22638 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
22639 wxPyEndAllowThreads(__tstate);
22640 if (PyErr_Occurred()) SWIG_fail;
22641 }
22642 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
22643 return resultobj;
22644 fail:
22645 return NULL;
22646 }
22647
22648
22649 SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22650 PyObject *resultobj = 0;
22651 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22652 PyObject *arg2 = (PyObject *) 0 ;
22653 PyObject *arg3 = (PyObject *) 0 ;
22654 void *argp1 = 0 ;
22655 int res1 = 0 ;
22656 PyObject * obj0 = 0 ;
22657 PyObject * obj1 = 0 ;
22658 PyObject * obj2 = 0 ;
22659 char * kwnames[] = {
22660 (char *) "self",(char *) "self",(char *) "_class", NULL
22661 };
22662
22663 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22664 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22665 if (!SWIG_IsOK(res1)) {
22666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22667 }
22668 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22669 arg2 = obj1;
22670 arg3 = obj2;
22671 {
22672 PyThreadState* __tstate = wxPyBeginAllowThreads();
22673 (arg1)->_setCallbackInfo(arg2,arg3);
22674 wxPyEndAllowThreads(__tstate);
22675 if (PyErr_Occurred()) SWIG_fail;
22676 }
22677 resultobj = SWIG_Py_Void();
22678 return resultobj;
22679 fail:
22680 return NULL;
22681 }
22682
22683
22684 SWIGINTERN PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22685 PyObject *resultobj = 0;
22686 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22687 wxSize *arg2 = 0 ;
22688 void *argp1 = 0 ;
22689 int res1 = 0 ;
22690 wxSize temp2 ;
22691 PyObject * obj0 = 0 ;
22692 PyObject * obj1 = 0 ;
22693 char * kwnames[] = {
22694 (char *) "self",(char *) "size", NULL
22695 };
22696
22697 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
22698 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22699 if (!SWIG_IsOK(res1)) {
22700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22701 }
22702 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22703 {
22704 arg2 = &temp2;
22705 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22706 }
22707 {
22708 PyThreadState* __tstate = wxPyBeginAllowThreads();
22709 (arg1)->SetBestSize((wxSize const &)*arg2);
22710 wxPyEndAllowThreads(__tstate);
22711 if (PyErr_Occurred()) SWIG_fail;
22712 }
22713 resultobj = SWIG_Py_Void();
22714 return resultobj;
22715 fail:
22716 return NULL;
22717 }
22718
22719
22720 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22721 PyObject *resultobj = 0;
22722 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22723 wxDC *arg2 = (wxDC *) 0 ;
22724 bool result;
22725 void *argp1 = 0 ;
22726 int res1 = 0 ;
22727 void *argp2 = 0 ;
22728 int res2 = 0 ;
22729 PyObject * obj0 = 0 ;
22730 PyObject * obj1 = 0 ;
22731 char * kwnames[] = {
22732 (char *) "self",(char *) "dc", NULL
22733 };
22734
22735 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22736 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22737 if (!SWIG_IsOK(res1)) {
22738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22739 }
22740 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22741 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22742 if (!SWIG_IsOK(res2)) {
22743 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22744 }
22745 arg2 = reinterpret_cast< wxDC * >(argp2);
22746 {
22747 PyThreadState* __tstate = wxPyBeginAllowThreads();
22748 result = (bool)(arg1)->DoEraseBackground(arg2);
22749 wxPyEndAllowThreads(__tstate);
22750 if (PyErr_Occurred()) SWIG_fail;
22751 }
22752 {
22753 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22754 }
22755 return resultobj;
22756 fail:
22757 return NULL;
22758 }
22759
22760
22761 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22762 PyObject *resultobj = 0;
22763 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22764 int arg2 ;
22765 int arg3 ;
22766 int arg4 ;
22767 int arg5 ;
22768 void *argp1 = 0 ;
22769 int res1 = 0 ;
22770 int val2 ;
22771 int ecode2 = 0 ;
22772 int val3 ;
22773 int ecode3 = 0 ;
22774 int val4 ;
22775 int ecode4 = 0 ;
22776 int val5 ;
22777 int ecode5 = 0 ;
22778 PyObject * obj0 = 0 ;
22779 PyObject * obj1 = 0 ;
22780 PyObject * obj2 = 0 ;
22781 PyObject * obj3 = 0 ;
22782 PyObject * obj4 = 0 ;
22783 char * kwnames[] = {
22784 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22785 };
22786
22787 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22788 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22789 if (!SWIG_IsOK(res1)) {
22790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22791 }
22792 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22793 ecode2 = SWIG_AsVal_int(obj1, &val2);
22794 if (!SWIG_IsOK(ecode2)) {
22795 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22796 }
22797 arg2 = static_cast< int >(val2);
22798 ecode3 = SWIG_AsVal_int(obj2, &val3);
22799 if (!SWIG_IsOK(ecode3)) {
22800 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22801 }
22802 arg3 = static_cast< int >(val3);
22803 ecode4 = SWIG_AsVal_int(obj3, &val4);
22804 if (!SWIG_IsOK(ecode4)) {
22805 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22806 }
22807 arg4 = static_cast< int >(val4);
22808 ecode5 = SWIG_AsVal_int(obj4, &val5);
22809 if (!SWIG_IsOK(ecode5)) {
22810 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22811 }
22812 arg5 = static_cast< int >(val5);
22813 {
22814 PyThreadState* __tstate = wxPyBeginAllowThreads();
22815 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22816 wxPyEndAllowThreads(__tstate);
22817 if (PyErr_Occurred()) SWIG_fail;
22818 }
22819 resultobj = SWIG_Py_Void();
22820 return resultobj;
22821 fail:
22822 return NULL;
22823 }
22824
22825
22826 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22827 PyObject *resultobj = 0;
22828 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22829 int arg2 ;
22830 int arg3 ;
22831 int arg4 ;
22832 int arg5 ;
22833 int arg6 = (int) wxSIZE_AUTO ;
22834 void *argp1 = 0 ;
22835 int res1 = 0 ;
22836 int val2 ;
22837 int ecode2 = 0 ;
22838 int val3 ;
22839 int ecode3 = 0 ;
22840 int val4 ;
22841 int ecode4 = 0 ;
22842 int val5 ;
22843 int ecode5 = 0 ;
22844 int val6 ;
22845 int ecode6 = 0 ;
22846 PyObject * obj0 = 0 ;
22847 PyObject * obj1 = 0 ;
22848 PyObject * obj2 = 0 ;
22849 PyObject * obj3 = 0 ;
22850 PyObject * obj4 = 0 ;
22851 PyObject * obj5 = 0 ;
22852 char * kwnames[] = {
22853 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22854 };
22855
22856 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22857 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22858 if (!SWIG_IsOK(res1)) {
22859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22860 }
22861 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22862 ecode2 = SWIG_AsVal_int(obj1, &val2);
22863 if (!SWIG_IsOK(ecode2)) {
22864 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22865 }
22866 arg2 = static_cast< int >(val2);
22867 ecode3 = SWIG_AsVal_int(obj2, &val3);
22868 if (!SWIG_IsOK(ecode3)) {
22869 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22870 }
22871 arg3 = static_cast< int >(val3);
22872 ecode4 = SWIG_AsVal_int(obj3, &val4);
22873 if (!SWIG_IsOK(ecode4)) {
22874 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22875 }
22876 arg4 = static_cast< int >(val4);
22877 ecode5 = SWIG_AsVal_int(obj4, &val5);
22878 if (!SWIG_IsOK(ecode5)) {
22879 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22880 }
22881 arg5 = static_cast< int >(val5);
22882 if (obj5) {
22883 ecode6 = SWIG_AsVal_int(obj5, &val6);
22884 if (!SWIG_IsOK(ecode6)) {
22885 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22886 }
22887 arg6 = static_cast< int >(val6);
22888 }
22889 {
22890 PyThreadState* __tstate = wxPyBeginAllowThreads();
22891 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22892 wxPyEndAllowThreads(__tstate);
22893 if (PyErr_Occurred()) SWIG_fail;
22894 }
22895 resultobj = SWIG_Py_Void();
22896 return resultobj;
22897 fail:
22898 return NULL;
22899 }
22900
22901
22902 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22903 PyObject *resultobj = 0;
22904 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22905 int arg2 ;
22906 int arg3 ;
22907 void *argp1 = 0 ;
22908 int res1 = 0 ;
22909 int val2 ;
22910 int ecode2 = 0 ;
22911 int val3 ;
22912 int ecode3 = 0 ;
22913 PyObject * obj0 = 0 ;
22914 PyObject * obj1 = 0 ;
22915 PyObject * obj2 = 0 ;
22916 char * kwnames[] = {
22917 (char *) "self",(char *) "width",(char *) "height", NULL
22918 };
22919
22920 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22921 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22922 if (!SWIG_IsOK(res1)) {
22923 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22924 }
22925 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22926 ecode2 = SWIG_AsVal_int(obj1, &val2);
22927 if (!SWIG_IsOK(ecode2)) {
22928 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22929 }
22930 arg2 = static_cast< int >(val2);
22931 ecode3 = SWIG_AsVal_int(obj2, &val3);
22932 if (!SWIG_IsOK(ecode3)) {
22933 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22934 }
22935 arg3 = static_cast< int >(val3);
22936 {
22937 PyThreadState* __tstate = wxPyBeginAllowThreads();
22938 (arg1)->DoSetClientSize(arg2,arg3);
22939 wxPyEndAllowThreads(__tstate);
22940 if (PyErr_Occurred()) SWIG_fail;
22941 }
22942 resultobj = SWIG_Py_Void();
22943 return resultobj;
22944 fail:
22945 return NULL;
22946 }
22947
22948
22949 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22950 PyObject *resultobj = 0;
22951 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22952 int arg2 ;
22953 int arg3 ;
22954 void *argp1 = 0 ;
22955 int res1 = 0 ;
22956 int val2 ;
22957 int ecode2 = 0 ;
22958 int val3 ;
22959 int ecode3 = 0 ;
22960 PyObject * obj0 = 0 ;
22961 PyObject * obj1 = 0 ;
22962 PyObject * obj2 = 0 ;
22963 char * kwnames[] = {
22964 (char *) "self",(char *) "x",(char *) "y", NULL
22965 };
22966
22967 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22968 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22969 if (!SWIG_IsOK(res1)) {
22970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22971 }
22972 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22973 ecode2 = SWIG_AsVal_int(obj1, &val2);
22974 if (!SWIG_IsOK(ecode2)) {
22975 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22976 }
22977 arg2 = static_cast< int >(val2);
22978 ecode3 = SWIG_AsVal_int(obj2, &val3);
22979 if (!SWIG_IsOK(ecode3)) {
22980 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22981 }
22982 arg3 = static_cast< int >(val3);
22983 {
22984 PyThreadState* __tstate = wxPyBeginAllowThreads();
22985 (arg1)->DoSetVirtualSize(arg2,arg3);
22986 wxPyEndAllowThreads(__tstate);
22987 if (PyErr_Occurred()) SWIG_fail;
22988 }
22989 resultobj = SWIG_Py_Void();
22990 return resultobj;
22991 fail:
22992 return NULL;
22993 }
22994
22995
22996 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22997 PyObject *resultobj = 0;
22998 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22999 int *arg2 = (int *) 0 ;
23000 int *arg3 = (int *) 0 ;
23001 void *argp1 = 0 ;
23002 int res1 = 0 ;
23003 int temp2 ;
23004 int res2 = SWIG_TMPOBJ ;
23005 int temp3 ;
23006 int res3 = SWIG_TMPOBJ ;
23007 PyObject *swig_obj[1] ;
23008
23009 arg2 = &temp2;
23010 arg3 = &temp3;
23011 if (!args) SWIG_fail;
23012 swig_obj[0] = args;
23013 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23014 if (!SWIG_IsOK(res1)) {
23015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23016 }
23017 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23018 {
23019 PyThreadState* __tstate = wxPyBeginAllowThreads();
23020 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
23021 wxPyEndAllowThreads(__tstate);
23022 if (PyErr_Occurred()) SWIG_fail;
23023 }
23024 resultobj = SWIG_Py_Void();
23025 if (SWIG_IsTmpObj(res2)) {
23026 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23027 } else {
23028 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23029 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23030 }
23031 if (SWIG_IsTmpObj(res3)) {
23032 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23033 } else {
23034 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23035 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23036 }
23037 return resultobj;
23038 fail:
23039 return NULL;
23040 }
23041
23042
23043 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23044 PyObject *resultobj = 0;
23045 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23046 int *arg2 = (int *) 0 ;
23047 int *arg3 = (int *) 0 ;
23048 void *argp1 = 0 ;
23049 int res1 = 0 ;
23050 int temp2 ;
23051 int res2 = SWIG_TMPOBJ ;
23052 int temp3 ;
23053 int res3 = SWIG_TMPOBJ ;
23054 PyObject *swig_obj[1] ;
23055
23056 arg2 = &temp2;
23057 arg3 = &temp3;
23058 if (!args) SWIG_fail;
23059 swig_obj[0] = args;
23060 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23061 if (!SWIG_IsOK(res1)) {
23062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23063 }
23064 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23065 {
23066 PyThreadState* __tstate = wxPyBeginAllowThreads();
23067 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
23068 wxPyEndAllowThreads(__tstate);
23069 if (PyErr_Occurred()) SWIG_fail;
23070 }
23071 resultobj = SWIG_Py_Void();
23072 if (SWIG_IsTmpObj(res2)) {
23073 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23074 } else {
23075 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23076 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23077 }
23078 if (SWIG_IsTmpObj(res3)) {
23079 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23080 } else {
23081 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23082 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23083 }
23084 return resultobj;
23085 fail:
23086 return NULL;
23087 }
23088
23089
23090 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23091 PyObject *resultobj = 0;
23092 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23093 int *arg2 = (int *) 0 ;
23094 int *arg3 = (int *) 0 ;
23095 void *argp1 = 0 ;
23096 int res1 = 0 ;
23097 int temp2 ;
23098 int res2 = SWIG_TMPOBJ ;
23099 int temp3 ;
23100 int res3 = SWIG_TMPOBJ ;
23101 PyObject *swig_obj[1] ;
23102
23103 arg2 = &temp2;
23104 arg3 = &temp3;
23105 if (!args) SWIG_fail;
23106 swig_obj[0] = args;
23107 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23108 if (!SWIG_IsOK(res1)) {
23109 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23110 }
23111 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23112 {
23113 PyThreadState* __tstate = wxPyBeginAllowThreads();
23114 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
23115 wxPyEndAllowThreads(__tstate);
23116 if (PyErr_Occurred()) SWIG_fail;
23117 }
23118 resultobj = SWIG_Py_Void();
23119 if (SWIG_IsTmpObj(res2)) {
23120 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23121 } else {
23122 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23123 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23124 }
23125 if (SWIG_IsTmpObj(res3)) {
23126 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23127 } else {
23128 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23129 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23130 }
23131 return resultobj;
23132 fail:
23133 return NULL;
23134 }
23135
23136
23137 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23138 PyObject *resultobj = 0;
23139 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23140 wxSize result;
23141 void *argp1 = 0 ;
23142 int res1 = 0 ;
23143 PyObject *swig_obj[1] ;
23144
23145 if (!args) SWIG_fail;
23146 swig_obj[0] = args;
23147 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23148 if (!SWIG_IsOK(res1)) {
23149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23150 }
23151 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23152 {
23153 PyThreadState* __tstate = wxPyBeginAllowThreads();
23154 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
23155 wxPyEndAllowThreads(__tstate);
23156 if (PyErr_Occurred()) SWIG_fail;
23157 }
23158 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23159 return resultobj;
23160 fail:
23161 return NULL;
23162 }
23163
23164
23165 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23166 PyObject *resultobj = 0;
23167 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23168 wxSize result;
23169 void *argp1 = 0 ;
23170 int res1 = 0 ;
23171 PyObject *swig_obj[1] ;
23172
23173 if (!args) SWIG_fail;
23174 swig_obj[0] = args;
23175 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23176 if (!SWIG_IsOK(res1)) {
23177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23178 }
23179 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23180 {
23181 PyThreadState* __tstate = wxPyBeginAllowThreads();
23182 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
23183 wxPyEndAllowThreads(__tstate);
23184 if (PyErr_Occurred()) SWIG_fail;
23185 }
23186 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23187 return resultobj;
23188 fail:
23189 return NULL;
23190 }
23191
23192
23193 SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23194 PyObject *resultobj = 0;
23195 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23196 SwigValueWrapper<wxVisualAttributes > result;
23197 void *argp1 = 0 ;
23198 int res1 = 0 ;
23199 PyObject *swig_obj[1] ;
23200
23201 if (!args) SWIG_fail;
23202 swig_obj[0] = args;
23203 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23204 if (!SWIG_IsOK(res1)) {
23205 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23206 }
23207 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23208 {
23209 PyThreadState* __tstate = wxPyBeginAllowThreads();
23210 result = (arg1)->GetDefaultAttributes();
23211 wxPyEndAllowThreads(__tstate);
23212 if (PyErr_Occurred()) SWIG_fail;
23213 }
23214 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
23215 return resultobj;
23216 fail:
23217 return NULL;
23218 }
23219
23220
23221 SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23222 PyObject *resultobj = 0;
23223 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23224 void *argp1 = 0 ;
23225 int res1 = 0 ;
23226 PyObject *swig_obj[1] ;
23227
23228 if (!args) SWIG_fail;
23229 swig_obj[0] = args;
23230 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23231 if (!SWIG_IsOK(res1)) {
23232 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23233 }
23234 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23235 {
23236 PyThreadState* __tstate = wxPyBeginAllowThreads();
23237 (arg1)->OnInternalIdle();
23238 wxPyEndAllowThreads(__tstate);
23239 if (PyErr_Occurred()) SWIG_fail;
23240 }
23241 resultobj = SWIG_Py_Void();
23242 return resultobj;
23243 fail:
23244 return NULL;
23245 }
23246
23247
23248 SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23249 PyObject *obj;
23250 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23251 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
23252 return SWIG_Py_Void();
23253 }
23254
23255 SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23256 return SWIG_Python_InitShadowInstance(args);
23257 }
23258
23259 SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
23260 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
23261 return 1;
23262 }
23263
23264
23265 SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
23266 PyObject *pyobj = 0;
23267
23268 {
23269 #if wxUSE_UNICODE
23270 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23271 #else
23272 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23273 #endif
23274 }
23275 return pyobj;
23276 }
23277
23278
23279 SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
23280 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
23281 return 1;
23282 }
23283
23284
23285 SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
23286 PyObject *pyobj = 0;
23287
23288 {
23289 #if wxUSE_UNICODE
23290 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23291 #else
23292 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23293 #endif
23294 }
23295 return pyobj;
23296 }
23297
23298
23299 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
23300 PyObject *resultobj = 0;
23301 wxPrintData *result = 0 ;
23302
23303 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
23304 {
23305 PyThreadState* __tstate = wxPyBeginAllowThreads();
23306 result = (wxPrintData *)new wxPrintData();
23307 wxPyEndAllowThreads(__tstate);
23308 if (PyErr_Occurred()) SWIG_fail;
23309 }
23310 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23311 return resultobj;
23312 fail:
23313 return NULL;
23314 }
23315
23316
23317 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
23318 PyObject *resultobj = 0;
23319 wxPrintData *arg1 = 0 ;
23320 wxPrintData *result = 0 ;
23321 void *argp1 = 0 ;
23322 int res1 = 0 ;
23323
23324 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
23325 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
23326 if (!SWIG_IsOK(res1)) {
23327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23328 }
23329 if (!argp1) {
23330 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23331 }
23332 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23333 {
23334 PyThreadState* __tstate = wxPyBeginAllowThreads();
23335 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
23336 wxPyEndAllowThreads(__tstate);
23337 if (PyErr_Occurred()) SWIG_fail;
23338 }
23339 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23340 return resultobj;
23341 fail:
23342 return NULL;
23343 }
23344
23345
23346 SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
23347 int argc;
23348 PyObject *argv[2];
23349
23350 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
23351 --argc;
23352 if (argc == 0) {
23353 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
23354 }
23355 if (argc == 1) {
23356 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
23357 }
23358
23359 fail:
23360 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
23361 return NULL;
23362 }
23363
23364
23365 SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23366 PyObject *resultobj = 0;
23367 wxPrintData *arg1 = (wxPrintData *) 0 ;
23368 void *argp1 = 0 ;
23369 int res1 = 0 ;
23370 PyObject *swig_obj[1] ;
23371
23372 if (!args) SWIG_fail;
23373 swig_obj[0] = args;
23374 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
23375 if (!SWIG_IsOK(res1)) {
23376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23377 }
23378 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23379 {
23380 PyThreadState* __tstate = wxPyBeginAllowThreads();
23381 delete arg1;
23382
23383 wxPyEndAllowThreads(__tstate);
23384 if (PyErr_Occurred()) SWIG_fail;
23385 }
23386 resultobj = SWIG_Py_Void();
23387 return resultobj;
23388 fail:
23389 return NULL;
23390 }
23391
23392
23393 SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23394 PyObject *resultobj = 0;
23395 wxPrintData *arg1 = (wxPrintData *) 0 ;
23396 int result;
23397 void *argp1 = 0 ;
23398 int res1 = 0 ;
23399 PyObject *swig_obj[1] ;
23400
23401 if (!args) SWIG_fail;
23402 swig_obj[0] = args;
23403 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23404 if (!SWIG_IsOK(res1)) {
23405 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23406 }
23407 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23408 {
23409 PyThreadState* __tstate = wxPyBeginAllowThreads();
23410 result = (int)(arg1)->GetNoCopies();
23411 wxPyEndAllowThreads(__tstate);
23412 if (PyErr_Occurred()) SWIG_fail;
23413 }
23414 resultobj = SWIG_From_int(static_cast< int >(result));
23415 return resultobj;
23416 fail:
23417 return NULL;
23418 }
23419
23420
23421 SWIGINTERN PyObject *_wrap_PrintData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23422 PyObject *resultobj = 0;
23423 wxPrintData *arg1 = (wxPrintData *) 0 ;
23424 bool result;
23425 void *argp1 = 0 ;
23426 int res1 = 0 ;
23427 PyObject *swig_obj[1] ;
23428
23429 if (!args) SWIG_fail;
23430 swig_obj[0] = args;
23431 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23432 if (!SWIG_IsOK(res1)) {
23433 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23434 }
23435 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23436 {
23437 PyThreadState* __tstate = wxPyBeginAllowThreads();
23438 result = (bool)(arg1)->GetCollate();
23439 wxPyEndAllowThreads(__tstate);
23440 if (PyErr_Occurred()) SWIG_fail;
23441 }
23442 {
23443 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23444 }
23445 return resultobj;
23446 fail:
23447 return NULL;
23448 }
23449
23450
23451 SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23452 PyObject *resultobj = 0;
23453 wxPrintData *arg1 = (wxPrintData *) 0 ;
23454 int result;
23455 void *argp1 = 0 ;
23456 int res1 = 0 ;
23457 PyObject *swig_obj[1] ;
23458
23459 if (!args) SWIG_fail;
23460 swig_obj[0] = args;
23461 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23462 if (!SWIG_IsOK(res1)) {
23463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23464 }
23465 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23466 {
23467 PyThreadState* __tstate = wxPyBeginAllowThreads();
23468 result = (int)(arg1)->GetOrientation();
23469 wxPyEndAllowThreads(__tstate);
23470 if (PyErr_Occurred()) SWIG_fail;
23471 }
23472 resultobj = SWIG_From_int(static_cast< int >(result));
23473 return resultobj;
23474 fail:
23475 return NULL;
23476 }
23477
23478
23479 SWIGINTERN PyObject *_wrap_PrintData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23480 PyObject *resultobj = 0;
23481 wxPrintData *arg1 = (wxPrintData *) 0 ;
23482 bool result;
23483 void *argp1 = 0 ;
23484 int res1 = 0 ;
23485 PyObject *swig_obj[1] ;
23486
23487 if (!args) SWIG_fail;
23488 swig_obj[0] = args;
23489 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23490 if (!SWIG_IsOK(res1)) {
23491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23492 }
23493 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23494 {
23495 PyThreadState* __tstate = wxPyBeginAllowThreads();
23496 result = (bool)(arg1)->Ok();
23497 wxPyEndAllowThreads(__tstate);
23498 if (PyErr_Occurred()) SWIG_fail;
23499 }
23500 {
23501 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23502 }
23503 return resultobj;
23504 fail:
23505 return NULL;
23506 }
23507
23508
23509 SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23510 PyObject *resultobj = 0;
23511 wxPrintData *arg1 = (wxPrintData *) 0 ;
23512 wxString *result = 0 ;
23513 void *argp1 = 0 ;
23514 int res1 = 0 ;
23515 PyObject *swig_obj[1] ;
23516
23517 if (!args) SWIG_fail;
23518 swig_obj[0] = args;
23519 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23520 if (!SWIG_IsOK(res1)) {
23521 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23522 }
23523 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23524 {
23525 PyThreadState* __tstate = wxPyBeginAllowThreads();
23526 {
23527 wxString const &_result_ref = (arg1)->GetPrinterName();
23528 result = (wxString *) &_result_ref;
23529 }
23530 wxPyEndAllowThreads(__tstate);
23531 if (PyErr_Occurred()) SWIG_fail;
23532 }
23533 {
23534 #if wxUSE_UNICODE
23535 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23536 #else
23537 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23538 #endif
23539 }
23540 return resultobj;
23541 fail:
23542 return NULL;
23543 }
23544
23545
23546 SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23547 PyObject *resultobj = 0;
23548 wxPrintData *arg1 = (wxPrintData *) 0 ;
23549 bool result;
23550 void *argp1 = 0 ;
23551 int res1 = 0 ;
23552 PyObject *swig_obj[1] ;
23553
23554 if (!args) SWIG_fail;
23555 swig_obj[0] = args;
23556 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23557 if (!SWIG_IsOK(res1)) {
23558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23559 }
23560 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23561 {
23562 PyThreadState* __tstate = wxPyBeginAllowThreads();
23563 result = (bool)(arg1)->GetColour();
23564 wxPyEndAllowThreads(__tstate);
23565 if (PyErr_Occurred()) SWIG_fail;
23566 }
23567 {
23568 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23569 }
23570 return resultobj;
23571 fail:
23572 return NULL;
23573 }
23574
23575
23576 SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23577 PyObject *resultobj = 0;
23578 wxPrintData *arg1 = (wxPrintData *) 0 ;
23579 wxDuplexMode result;
23580 void *argp1 = 0 ;
23581 int res1 = 0 ;
23582 PyObject *swig_obj[1] ;
23583
23584 if (!args) SWIG_fail;
23585 swig_obj[0] = args;
23586 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23587 if (!SWIG_IsOK(res1)) {
23588 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23589 }
23590 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23591 {
23592 PyThreadState* __tstate = wxPyBeginAllowThreads();
23593 result = (wxDuplexMode)(arg1)->GetDuplex();
23594 wxPyEndAllowThreads(__tstate);
23595 if (PyErr_Occurred()) SWIG_fail;
23596 }
23597 resultobj = SWIG_From_int(static_cast< int >(result));
23598 return resultobj;
23599 fail:
23600 return NULL;
23601 }
23602
23603
23604 SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23605 PyObject *resultobj = 0;
23606 wxPrintData *arg1 = (wxPrintData *) 0 ;
23607 wxPaperSize result;
23608 void *argp1 = 0 ;
23609 int res1 = 0 ;
23610 PyObject *swig_obj[1] ;
23611
23612 if (!args) SWIG_fail;
23613 swig_obj[0] = args;
23614 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23615 if (!SWIG_IsOK(res1)) {
23616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23617 }
23618 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23619 {
23620 PyThreadState* __tstate = wxPyBeginAllowThreads();
23621 result = (wxPaperSize)(arg1)->GetPaperId();
23622 wxPyEndAllowThreads(__tstate);
23623 if (PyErr_Occurred()) SWIG_fail;
23624 }
23625 resultobj = SWIG_From_int(static_cast< int >(result));
23626 return resultobj;
23627 fail:
23628 return NULL;
23629 }
23630
23631
23632 SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23633 PyObject *resultobj = 0;
23634 wxPrintData *arg1 = (wxPrintData *) 0 ;
23635 wxSize *result = 0 ;
23636 void *argp1 = 0 ;
23637 int res1 = 0 ;
23638 PyObject *swig_obj[1] ;
23639
23640 if (!args) SWIG_fail;
23641 swig_obj[0] = args;
23642 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23643 if (!SWIG_IsOK(res1)) {
23644 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23645 }
23646 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23647 {
23648 PyThreadState* __tstate = wxPyBeginAllowThreads();
23649 {
23650 wxSize const &_result_ref = (arg1)->GetPaperSize();
23651 result = (wxSize *) &_result_ref;
23652 }
23653 wxPyEndAllowThreads(__tstate);
23654 if (PyErr_Occurred()) SWIG_fail;
23655 }
23656 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
23657 return resultobj;
23658 fail:
23659 return NULL;
23660 }
23661
23662
23663 SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23664 PyObject *resultobj = 0;
23665 wxPrintData *arg1 = (wxPrintData *) 0 ;
23666 int result;
23667 void *argp1 = 0 ;
23668 int res1 = 0 ;
23669 PyObject *swig_obj[1] ;
23670
23671 if (!args) SWIG_fail;
23672 swig_obj[0] = args;
23673 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23674 if (!SWIG_IsOK(res1)) {
23675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23676 }
23677 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23678 {
23679 PyThreadState* __tstate = wxPyBeginAllowThreads();
23680 result = (int)(arg1)->GetQuality();
23681 wxPyEndAllowThreads(__tstate);
23682 if (PyErr_Occurred()) SWIG_fail;
23683 }
23684 resultobj = SWIG_From_int(static_cast< int >(result));
23685 return resultobj;
23686 fail:
23687 return NULL;
23688 }
23689
23690
23691 SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23692 PyObject *resultobj = 0;
23693 wxPrintData *arg1 = (wxPrintData *) 0 ;
23694 wxPrintBin result;
23695 void *argp1 = 0 ;
23696 int res1 = 0 ;
23697 PyObject *swig_obj[1] ;
23698
23699 if (!args) SWIG_fail;
23700 swig_obj[0] = args;
23701 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23702 if (!SWIG_IsOK(res1)) {
23703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23704 }
23705 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23706 {
23707 PyThreadState* __tstate = wxPyBeginAllowThreads();
23708 result = (wxPrintBin)(arg1)->GetBin();
23709 wxPyEndAllowThreads(__tstate);
23710 if (PyErr_Occurred()) SWIG_fail;
23711 }
23712 resultobj = SWIG_From_int(static_cast< int >(result));
23713 return resultobj;
23714 fail:
23715 return NULL;
23716 }
23717
23718
23719 SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23720 PyObject *resultobj = 0;
23721 wxPrintData *arg1 = (wxPrintData *) 0 ;
23722 wxPrintMode result;
23723 void *argp1 = 0 ;
23724 int res1 = 0 ;
23725 PyObject *swig_obj[1] ;
23726
23727 if (!args) SWIG_fail;
23728 swig_obj[0] = args;
23729 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23730 if (!SWIG_IsOK(res1)) {
23731 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23732 }
23733 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23734 {
23735 PyThreadState* __tstate = wxPyBeginAllowThreads();
23736 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
23737 wxPyEndAllowThreads(__tstate);
23738 if (PyErr_Occurred()) SWIG_fail;
23739 }
23740 resultobj = SWIG_From_int(static_cast< int >(result));
23741 return resultobj;
23742 fail:
23743 return NULL;
23744 }
23745
23746
23747 SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23748 PyObject *resultobj = 0;
23749 wxPrintData *arg1 = (wxPrintData *) 0 ;
23750 int arg2 ;
23751 void *argp1 = 0 ;
23752 int res1 = 0 ;
23753 int val2 ;
23754 int ecode2 = 0 ;
23755 PyObject * obj0 = 0 ;
23756 PyObject * obj1 = 0 ;
23757 char * kwnames[] = {
23758 (char *) "self",(char *) "v", NULL
23759 };
23760
23761 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
23762 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23763 if (!SWIG_IsOK(res1)) {
23764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23765 }
23766 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23767 ecode2 = SWIG_AsVal_int(obj1, &val2);
23768 if (!SWIG_IsOK(ecode2)) {
23769 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
23770 }
23771 arg2 = static_cast< int >(val2);
23772 {
23773 PyThreadState* __tstate = wxPyBeginAllowThreads();
23774 (arg1)->SetNoCopies(arg2);
23775 wxPyEndAllowThreads(__tstate);
23776 if (PyErr_Occurred()) SWIG_fail;
23777 }
23778 resultobj = SWIG_Py_Void();
23779 return resultobj;
23780 fail:
23781 return NULL;
23782 }
23783
23784
23785 SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23786 PyObject *resultobj = 0;
23787 wxPrintData *arg1 = (wxPrintData *) 0 ;
23788 bool arg2 ;
23789 void *argp1 = 0 ;
23790 int res1 = 0 ;
23791 bool val2 ;
23792 int ecode2 = 0 ;
23793 PyObject * obj0 = 0 ;
23794 PyObject * obj1 = 0 ;
23795 char * kwnames[] = {
23796 (char *) "self",(char *) "flag", NULL
23797 };
23798
23799 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
23800 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23801 if (!SWIG_IsOK(res1)) {
23802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23803 }
23804 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23805 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23806 if (!SWIG_IsOK(ecode2)) {
23807 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
23808 }
23809 arg2 = static_cast< bool >(val2);
23810 {
23811 PyThreadState* __tstate = wxPyBeginAllowThreads();
23812 (arg1)->SetCollate(arg2);
23813 wxPyEndAllowThreads(__tstate);
23814 if (PyErr_Occurred()) SWIG_fail;
23815 }
23816 resultobj = SWIG_Py_Void();
23817 return resultobj;
23818 fail:
23819 return NULL;
23820 }
23821
23822
23823 SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23824 PyObject *resultobj = 0;
23825 wxPrintData *arg1 = (wxPrintData *) 0 ;
23826 int arg2 ;
23827 void *argp1 = 0 ;
23828 int res1 = 0 ;
23829 int val2 ;
23830 int ecode2 = 0 ;
23831 PyObject * obj0 = 0 ;
23832 PyObject * obj1 = 0 ;
23833 char * kwnames[] = {
23834 (char *) "self",(char *) "orient", NULL
23835 };
23836
23837 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
23838 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23839 if (!SWIG_IsOK(res1)) {
23840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23841 }
23842 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23843 ecode2 = SWIG_AsVal_int(obj1, &val2);
23844 if (!SWIG_IsOK(ecode2)) {
23845 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
23846 }
23847 arg2 = static_cast< int >(val2);
23848 {
23849 PyThreadState* __tstate = wxPyBeginAllowThreads();
23850 (arg1)->SetOrientation(arg2);
23851 wxPyEndAllowThreads(__tstate);
23852 if (PyErr_Occurred()) SWIG_fail;
23853 }
23854 resultobj = SWIG_Py_Void();
23855 return resultobj;
23856 fail:
23857 return NULL;
23858 }
23859
23860
23861 SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23862 PyObject *resultobj = 0;
23863 wxPrintData *arg1 = (wxPrintData *) 0 ;
23864 wxString *arg2 = 0 ;
23865 void *argp1 = 0 ;
23866 int res1 = 0 ;
23867 bool temp2 = false ;
23868 PyObject * obj0 = 0 ;
23869 PyObject * obj1 = 0 ;
23870 char * kwnames[] = {
23871 (char *) "self",(char *) "name", NULL
23872 };
23873
23874 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) SWIG_fail;
23875 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23876 if (!SWIG_IsOK(res1)) {
23877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23878 }
23879 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23880 {
23881 arg2 = wxString_in_helper(obj1);
23882 if (arg2 == NULL) SWIG_fail;
23883 temp2 = true;
23884 }
23885 {
23886 PyThreadState* __tstate = wxPyBeginAllowThreads();
23887 (arg1)->SetPrinterName((wxString const &)*arg2);
23888 wxPyEndAllowThreads(__tstate);
23889 if (PyErr_Occurred()) SWIG_fail;
23890 }
23891 resultobj = SWIG_Py_Void();
23892 {
23893 if (temp2)
23894 delete arg2;
23895 }
23896 return resultobj;
23897 fail:
23898 {
23899 if (temp2)
23900 delete arg2;
23901 }
23902 return NULL;
23903 }
23904
23905
23906 SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23907 PyObject *resultobj = 0;
23908 wxPrintData *arg1 = (wxPrintData *) 0 ;
23909 bool arg2 ;
23910 void *argp1 = 0 ;
23911 int res1 = 0 ;
23912 bool val2 ;
23913 int ecode2 = 0 ;
23914 PyObject * obj0 = 0 ;
23915 PyObject * obj1 = 0 ;
23916 char * kwnames[] = {
23917 (char *) "self",(char *) "colour", NULL
23918 };
23919
23920 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
23921 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23922 if (!SWIG_IsOK(res1)) {
23923 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23924 }
23925 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23926 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23927 if (!SWIG_IsOK(ecode2)) {
23928 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
23929 }
23930 arg2 = static_cast< bool >(val2);
23931 {
23932 PyThreadState* __tstate = wxPyBeginAllowThreads();
23933 (arg1)->SetColour(arg2);
23934 wxPyEndAllowThreads(__tstate);
23935 if (PyErr_Occurred()) SWIG_fail;
23936 }
23937 resultobj = SWIG_Py_Void();
23938 return resultobj;
23939 fail:
23940 return NULL;
23941 }
23942
23943
23944 SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23945 PyObject *resultobj = 0;
23946 wxPrintData *arg1 = (wxPrintData *) 0 ;
23947 wxDuplexMode arg2 ;
23948 void *argp1 = 0 ;
23949 int res1 = 0 ;
23950 int val2 ;
23951 int ecode2 = 0 ;
23952 PyObject * obj0 = 0 ;
23953 PyObject * obj1 = 0 ;
23954 char * kwnames[] = {
23955 (char *) "self",(char *) "duplex", NULL
23956 };
23957
23958 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) SWIG_fail;
23959 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23960 if (!SWIG_IsOK(res1)) {
23961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23962 }
23963 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23964 ecode2 = SWIG_AsVal_int(obj1, &val2);
23965 if (!SWIG_IsOK(ecode2)) {
23966 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
23967 }
23968 arg2 = static_cast< wxDuplexMode >(val2);
23969 {
23970 PyThreadState* __tstate = wxPyBeginAllowThreads();
23971 (arg1)->SetDuplex(arg2);
23972 wxPyEndAllowThreads(__tstate);
23973 if (PyErr_Occurred()) SWIG_fail;
23974 }
23975 resultobj = SWIG_Py_Void();
23976 return resultobj;
23977 fail:
23978 return NULL;
23979 }
23980
23981
23982 SWIGINTERN PyObject *_wrap_PrintData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23983 PyObject *resultobj = 0;
23984 wxPrintData *arg1 = (wxPrintData *) 0 ;
23985 wxPaperSize arg2 ;
23986 void *argp1 = 0 ;
23987 int res1 = 0 ;
23988 int val2 ;
23989 int ecode2 = 0 ;
23990 PyObject * obj0 = 0 ;
23991 PyObject * obj1 = 0 ;
23992 char * kwnames[] = {
23993 (char *) "self",(char *) "sizeId", NULL
23994 };
23995
23996 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
23997 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23998 if (!SWIG_IsOK(res1)) {
23999 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24000 }
24001 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24002 ecode2 = SWIG_AsVal_int(obj1, &val2);
24003 if (!SWIG_IsOK(ecode2)) {
24004 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24005 }
24006 arg2 = static_cast< wxPaperSize >(val2);
24007 {
24008 PyThreadState* __tstate = wxPyBeginAllowThreads();
24009 (arg1)->SetPaperId(arg2);
24010 wxPyEndAllowThreads(__tstate);
24011 if (PyErr_Occurred()) SWIG_fail;
24012 }
24013 resultobj = SWIG_Py_Void();
24014 return resultobj;
24015 fail:
24016 return NULL;
24017 }
24018
24019
24020 SWIGINTERN PyObject *_wrap_PrintData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24021 PyObject *resultobj = 0;
24022 wxPrintData *arg1 = (wxPrintData *) 0 ;
24023 wxSize *arg2 = 0 ;
24024 void *argp1 = 0 ;
24025 int res1 = 0 ;
24026 wxSize temp2 ;
24027 PyObject * obj0 = 0 ;
24028 PyObject * obj1 = 0 ;
24029 char * kwnames[] = {
24030 (char *) "self",(char *) "sz", NULL
24031 };
24032
24033 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
24034 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24035 if (!SWIG_IsOK(res1)) {
24036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24037 }
24038 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24039 {
24040 arg2 = &temp2;
24041 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24042 }
24043 {
24044 PyThreadState* __tstate = wxPyBeginAllowThreads();
24045 (arg1)->SetPaperSize((wxSize const &)*arg2);
24046 wxPyEndAllowThreads(__tstate);
24047 if (PyErr_Occurred()) SWIG_fail;
24048 }
24049 resultobj = SWIG_Py_Void();
24050 return resultobj;
24051 fail:
24052 return NULL;
24053 }
24054
24055
24056 SWIGINTERN PyObject *_wrap_PrintData_SetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24057 PyObject *resultobj = 0;
24058 wxPrintData *arg1 = (wxPrintData *) 0 ;
24059 int arg2 ;
24060 void *argp1 = 0 ;
24061 int res1 = 0 ;
24062 int val2 ;
24063 int ecode2 = 0 ;
24064 PyObject * obj0 = 0 ;
24065 PyObject * obj1 = 0 ;
24066 char * kwnames[] = {
24067 (char *) "self",(char *) "quality", NULL
24068 };
24069
24070 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) SWIG_fail;
24071 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24072 if (!SWIG_IsOK(res1)) {
24073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24074 }
24075 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24076 ecode2 = SWIG_AsVal_int(obj1, &val2);
24077 if (!SWIG_IsOK(ecode2)) {
24078 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24079 }
24080 arg2 = static_cast< int >(val2);
24081 {
24082 PyThreadState* __tstate = wxPyBeginAllowThreads();
24083 (arg1)->SetQuality(arg2);
24084 wxPyEndAllowThreads(__tstate);
24085 if (PyErr_Occurred()) SWIG_fail;
24086 }
24087 resultobj = SWIG_Py_Void();
24088 return resultobj;
24089 fail:
24090 return NULL;
24091 }
24092
24093
24094 SWIGINTERN PyObject *_wrap_PrintData_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24095 PyObject *resultobj = 0;
24096 wxPrintData *arg1 = (wxPrintData *) 0 ;
24097 wxPrintBin arg2 ;
24098 void *argp1 = 0 ;
24099 int res1 = 0 ;
24100 int val2 ;
24101 int ecode2 = 0 ;
24102 PyObject * obj0 = 0 ;
24103 PyObject * obj1 = 0 ;
24104 char * kwnames[] = {
24105 (char *) "self",(char *) "bin", NULL
24106 };
24107
24108 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) SWIG_fail;
24109 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24110 if (!SWIG_IsOK(res1)) {
24111 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24112 }
24113 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24114 ecode2 = SWIG_AsVal_int(obj1, &val2);
24115 if (!SWIG_IsOK(ecode2)) {
24116 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24117 }
24118 arg2 = static_cast< wxPrintBin >(val2);
24119 {
24120 PyThreadState* __tstate = wxPyBeginAllowThreads();
24121 (arg1)->SetBin(arg2);
24122 wxPyEndAllowThreads(__tstate);
24123 if (PyErr_Occurred()) SWIG_fail;
24124 }
24125 resultobj = SWIG_Py_Void();
24126 return resultobj;
24127 fail:
24128 return NULL;
24129 }
24130
24131
24132 SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24133 PyObject *resultobj = 0;
24134 wxPrintData *arg1 = (wxPrintData *) 0 ;
24135 wxPrintMode arg2 ;
24136 void *argp1 = 0 ;
24137 int res1 = 0 ;
24138 int val2 ;
24139 int ecode2 = 0 ;
24140 PyObject * obj0 = 0 ;
24141 PyObject * obj1 = 0 ;
24142 char * kwnames[] = {
24143 (char *) "self",(char *) "printMode", NULL
24144 };
24145
24146 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
24147 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24148 if (!SWIG_IsOK(res1)) {
24149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24150 }
24151 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24152 ecode2 = SWIG_AsVal_int(obj1, &val2);
24153 if (!SWIG_IsOK(ecode2)) {
24154 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24155 }
24156 arg2 = static_cast< wxPrintMode >(val2);
24157 {
24158 PyThreadState* __tstate = wxPyBeginAllowThreads();
24159 (arg1)->SetPrintMode(arg2);
24160 wxPyEndAllowThreads(__tstate);
24161 if (PyErr_Occurred()) SWIG_fail;
24162 }
24163 resultobj = SWIG_Py_Void();
24164 return resultobj;
24165 fail:
24166 return NULL;
24167 }
24168
24169
24170 SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24171 PyObject *resultobj = 0;
24172 wxPrintData *arg1 = (wxPrintData *) 0 ;
24173 wxString result;
24174 void *argp1 = 0 ;
24175 int res1 = 0 ;
24176 PyObject *swig_obj[1] ;
24177
24178 if (!args) SWIG_fail;
24179 swig_obj[0] = args;
24180 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24181 if (!SWIG_IsOK(res1)) {
24182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24183 }
24184 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24185 {
24186 PyThreadState* __tstate = wxPyBeginAllowThreads();
24187 result = ((wxPrintData const *)arg1)->GetFilename();
24188 wxPyEndAllowThreads(__tstate);
24189 if (PyErr_Occurred()) SWIG_fail;
24190 }
24191 {
24192 #if wxUSE_UNICODE
24193 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24194 #else
24195 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24196 #endif
24197 }
24198 return resultobj;
24199 fail:
24200 return NULL;
24201 }
24202
24203
24204 SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24205 PyObject *resultobj = 0;
24206 wxPrintData *arg1 = (wxPrintData *) 0 ;
24207 wxString *arg2 = 0 ;
24208 void *argp1 = 0 ;
24209 int res1 = 0 ;
24210 bool temp2 = false ;
24211 PyObject * obj0 = 0 ;
24212 PyObject * obj1 = 0 ;
24213 char * kwnames[] = {
24214 (char *) "self",(char *) "filename", NULL
24215 };
24216
24217 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
24218 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24219 if (!SWIG_IsOK(res1)) {
24220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24221 }
24222 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24223 {
24224 arg2 = wxString_in_helper(obj1);
24225 if (arg2 == NULL) SWIG_fail;
24226 temp2 = true;
24227 }
24228 {
24229 PyThreadState* __tstate = wxPyBeginAllowThreads();
24230 (arg1)->SetFilename((wxString const &)*arg2);
24231 wxPyEndAllowThreads(__tstate);
24232 if (PyErr_Occurred()) SWIG_fail;
24233 }
24234 resultobj = SWIG_Py_Void();
24235 {
24236 if (temp2)
24237 delete arg2;
24238 }
24239 return resultobj;
24240 fail:
24241 {
24242 if (temp2)
24243 delete arg2;
24244 }
24245 return NULL;
24246 }
24247
24248
24249 SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24250 PyObject *resultobj = 0;
24251 wxPrintData *arg1 = (wxPrintData *) 0 ;
24252 PyObject *result = 0 ;
24253 void *argp1 = 0 ;
24254 int res1 = 0 ;
24255 PyObject *swig_obj[1] ;
24256
24257 if (!args) SWIG_fail;
24258 swig_obj[0] = args;
24259 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24260 if (!SWIG_IsOK(res1)) {
24261 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24262 }
24263 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24264 {
24265 PyThreadState* __tstate = wxPyBeginAllowThreads();
24266 result = (PyObject *)wxPrintData_GetPrivData(arg1);
24267 wxPyEndAllowThreads(__tstate);
24268 if (PyErr_Occurred()) SWIG_fail;
24269 }
24270 resultobj = result;
24271 return resultobj;
24272 fail:
24273 return NULL;
24274 }
24275
24276
24277 SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24278 PyObject *resultobj = 0;
24279 wxPrintData *arg1 = (wxPrintData *) 0 ;
24280 PyObject *arg2 = (PyObject *) 0 ;
24281 void *argp1 = 0 ;
24282 int res1 = 0 ;
24283 PyObject * obj0 = 0 ;
24284 PyObject * obj1 = 0 ;
24285 char * kwnames[] = {
24286 (char *) "self",(char *) "data", NULL
24287 };
24288
24289 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
24290 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24291 if (!SWIG_IsOK(res1)) {
24292 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24293 }
24294 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24295 arg2 = obj1;
24296 {
24297 PyThreadState* __tstate = wxPyBeginAllowThreads();
24298 wxPrintData_SetPrivData(arg1,arg2);
24299 wxPyEndAllowThreads(__tstate);
24300 if (PyErr_Occurred()) SWIG_fail;
24301 }
24302 resultobj = SWIG_Py_Void();
24303 return resultobj;
24304 fail:
24305 return NULL;
24306 }
24307
24308
24309 SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24310 PyObject *obj;
24311 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
24312 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
24313 return SWIG_Py_Void();
24314 }
24315
24316 SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24317 return SWIG_Python_InitShadowInstance(args);
24318 }
24319
24320 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
24321 PyObject *resultobj = 0;
24322 wxPageSetupDialogData *result = 0 ;
24323
24324 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
24325 {
24326 PyThreadState* __tstate = wxPyBeginAllowThreads();
24327 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
24328 wxPyEndAllowThreads(__tstate);
24329 if (PyErr_Occurred()) SWIG_fail;
24330 }
24331 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24332 return resultobj;
24333 fail:
24334 return NULL;
24335 }
24336
24337
24338 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24339 PyObject *resultobj = 0;
24340 wxPageSetupDialogData *arg1 = 0 ;
24341 wxPageSetupDialogData *result = 0 ;
24342 void *argp1 = 0 ;
24343 int res1 = 0 ;
24344
24345 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24346 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
24347 if (!SWIG_IsOK(res1)) {
24348 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24349 }
24350 if (!argp1) {
24351 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24352 }
24353 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24354 {
24355 PyThreadState* __tstate = wxPyBeginAllowThreads();
24356 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
24357 wxPyEndAllowThreads(__tstate);
24358 if (PyErr_Occurred()) SWIG_fail;
24359 }
24360 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24361 return resultobj;
24362 fail:
24363 return NULL;
24364 }
24365
24366
24367 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24368 PyObject *resultobj = 0;
24369 wxPrintData *arg1 = 0 ;
24370 wxPageSetupDialogData *result = 0 ;
24371 void *argp1 = 0 ;
24372 int res1 = 0 ;
24373
24374 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24375 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
24376 if (!SWIG_IsOK(res1)) {
24377 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24378 }
24379 if (!argp1) {
24380 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24381 }
24382 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24383 {
24384 PyThreadState* __tstate = wxPyBeginAllowThreads();
24385 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
24386 wxPyEndAllowThreads(__tstate);
24387 if (PyErr_Occurred()) SWIG_fail;
24388 }
24389 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24390 return resultobj;
24391 fail:
24392 return NULL;
24393 }
24394
24395
24396 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
24397 int argc;
24398 PyObject *argv[2];
24399
24400 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
24401 --argc;
24402 if (argc == 0) {
24403 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
24404 }
24405 if (argc == 1) {
24406 int _v = 0;
24407 {
24408 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
24409 _v = SWIG_CheckState(res);
24410 }
24411 if (!_v) goto check_2;
24412 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
24413 }
24414 check_2:
24415
24416 if (argc == 1) {
24417 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
24418 }
24419
24420 fail:
24421 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
24422 return NULL;
24423 }
24424
24425
24426 SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24427 PyObject *resultobj = 0;
24428 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24429 void *argp1 = 0 ;
24430 int res1 = 0 ;
24431 PyObject *swig_obj[1] ;
24432
24433 if (!args) SWIG_fail;
24434 swig_obj[0] = args;
24435 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
24436 if (!SWIG_IsOK(res1)) {
24437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24438 }
24439 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24440 {
24441 PyThreadState* __tstate = wxPyBeginAllowThreads();
24442 delete arg1;
24443
24444 wxPyEndAllowThreads(__tstate);
24445 if (PyErr_Occurred()) SWIG_fail;
24446 }
24447 resultobj = SWIG_Py_Void();
24448 return resultobj;
24449 fail:
24450 return NULL;
24451 }
24452
24453
24454 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24455 PyObject *resultobj = 0;
24456 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24457 bool arg2 ;
24458 void *argp1 = 0 ;
24459 int res1 = 0 ;
24460 bool val2 ;
24461 int ecode2 = 0 ;
24462 PyObject * obj0 = 0 ;
24463 PyObject * obj1 = 0 ;
24464 char * kwnames[] = {
24465 (char *) "self",(char *) "flag", NULL
24466 };
24467
24468 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
24469 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24470 if (!SWIG_IsOK(res1)) {
24471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24472 }
24473 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24474 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24475 if (!SWIG_IsOK(ecode2)) {
24476 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24477 }
24478 arg2 = static_cast< bool >(val2);
24479 {
24480 PyThreadState* __tstate = wxPyBeginAllowThreads();
24481 (arg1)->EnableHelp(arg2);
24482 wxPyEndAllowThreads(__tstate);
24483 if (PyErr_Occurred()) SWIG_fail;
24484 }
24485 resultobj = SWIG_Py_Void();
24486 return resultobj;
24487 fail:
24488 return NULL;
24489 }
24490
24491
24492 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24493 PyObject *resultobj = 0;
24494 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24495 bool arg2 ;
24496 void *argp1 = 0 ;
24497 int res1 = 0 ;
24498 bool val2 ;
24499 int ecode2 = 0 ;
24500 PyObject * obj0 = 0 ;
24501 PyObject * obj1 = 0 ;
24502 char * kwnames[] = {
24503 (char *) "self",(char *) "flag", NULL
24504 };
24505
24506 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
24507 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24508 if (!SWIG_IsOK(res1)) {
24509 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24510 }
24511 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24512 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24513 if (!SWIG_IsOK(ecode2)) {
24514 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24515 }
24516 arg2 = static_cast< bool >(val2);
24517 {
24518 PyThreadState* __tstate = wxPyBeginAllowThreads();
24519 (arg1)->EnableMargins(arg2);
24520 wxPyEndAllowThreads(__tstate);
24521 if (PyErr_Occurred()) SWIG_fail;
24522 }
24523 resultobj = SWIG_Py_Void();
24524 return resultobj;
24525 fail:
24526 return NULL;
24527 }
24528
24529
24530 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24531 PyObject *resultobj = 0;
24532 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24533 bool arg2 ;
24534 void *argp1 = 0 ;
24535 int res1 = 0 ;
24536 bool val2 ;
24537 int ecode2 = 0 ;
24538 PyObject * obj0 = 0 ;
24539 PyObject * obj1 = 0 ;
24540 char * kwnames[] = {
24541 (char *) "self",(char *) "flag", NULL
24542 };
24543
24544 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24545 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24546 if (!SWIG_IsOK(res1)) {
24547 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24548 }
24549 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24550 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24551 if (!SWIG_IsOK(ecode2)) {
24552 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24553 }
24554 arg2 = static_cast< bool >(val2);
24555 {
24556 PyThreadState* __tstate = wxPyBeginAllowThreads();
24557 (arg1)->EnableOrientation(arg2);
24558 wxPyEndAllowThreads(__tstate);
24559 if (PyErr_Occurred()) SWIG_fail;
24560 }
24561 resultobj = SWIG_Py_Void();
24562 return resultobj;
24563 fail:
24564 return NULL;
24565 }
24566
24567
24568 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24569 PyObject *resultobj = 0;
24570 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24571 bool arg2 ;
24572 void *argp1 = 0 ;
24573 int res1 = 0 ;
24574 bool val2 ;
24575 int ecode2 = 0 ;
24576 PyObject * obj0 = 0 ;
24577 PyObject * obj1 = 0 ;
24578 char * kwnames[] = {
24579 (char *) "self",(char *) "flag", NULL
24580 };
24581
24582 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
24583 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24584 if (!SWIG_IsOK(res1)) {
24585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24586 }
24587 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24588 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24589 if (!SWIG_IsOK(ecode2)) {
24590 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24591 }
24592 arg2 = static_cast< bool >(val2);
24593 {
24594 PyThreadState* __tstate = wxPyBeginAllowThreads();
24595 (arg1)->EnablePaper(arg2);
24596 wxPyEndAllowThreads(__tstate);
24597 if (PyErr_Occurred()) SWIG_fail;
24598 }
24599 resultobj = SWIG_Py_Void();
24600 return resultobj;
24601 fail:
24602 return NULL;
24603 }
24604
24605
24606 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24607 PyObject *resultobj = 0;
24608 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24609 bool arg2 ;
24610 void *argp1 = 0 ;
24611 int res1 = 0 ;
24612 bool val2 ;
24613 int ecode2 = 0 ;
24614 PyObject * obj0 = 0 ;
24615 PyObject * obj1 = 0 ;
24616 char * kwnames[] = {
24617 (char *) "self",(char *) "flag", NULL
24618 };
24619
24620 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
24621 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24622 if (!SWIG_IsOK(res1)) {
24623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24624 }
24625 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24626 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24627 if (!SWIG_IsOK(ecode2)) {
24628 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24629 }
24630 arg2 = static_cast< bool >(val2);
24631 {
24632 PyThreadState* __tstate = wxPyBeginAllowThreads();
24633 (arg1)->EnablePrinter(arg2);
24634 wxPyEndAllowThreads(__tstate);
24635 if (PyErr_Occurred()) SWIG_fail;
24636 }
24637 resultobj = SWIG_Py_Void();
24638 return resultobj;
24639 fail:
24640 return NULL;
24641 }
24642
24643
24644 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24645 PyObject *resultobj = 0;
24646 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24647 bool result;
24648 void *argp1 = 0 ;
24649 int res1 = 0 ;
24650 PyObject *swig_obj[1] ;
24651
24652 if (!args) SWIG_fail;
24653 swig_obj[0] = args;
24654 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24655 if (!SWIG_IsOK(res1)) {
24656 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24657 }
24658 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24659 {
24660 PyThreadState* __tstate = wxPyBeginAllowThreads();
24661 result = (bool)(arg1)->GetDefaultMinMargins();
24662 wxPyEndAllowThreads(__tstate);
24663 if (PyErr_Occurred()) SWIG_fail;
24664 }
24665 {
24666 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24667 }
24668 return resultobj;
24669 fail:
24670 return NULL;
24671 }
24672
24673
24674 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24675 PyObject *resultobj = 0;
24676 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24677 bool result;
24678 void *argp1 = 0 ;
24679 int res1 = 0 ;
24680 PyObject *swig_obj[1] ;
24681
24682 if (!args) SWIG_fail;
24683 swig_obj[0] = args;
24684 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24685 if (!SWIG_IsOK(res1)) {
24686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24687 }
24688 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24689 {
24690 PyThreadState* __tstate = wxPyBeginAllowThreads();
24691 result = (bool)(arg1)->GetEnableMargins();
24692 wxPyEndAllowThreads(__tstate);
24693 if (PyErr_Occurred()) SWIG_fail;
24694 }
24695 {
24696 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24697 }
24698 return resultobj;
24699 fail:
24700 return NULL;
24701 }
24702
24703
24704 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24705 PyObject *resultobj = 0;
24706 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24707 bool result;
24708 void *argp1 = 0 ;
24709 int res1 = 0 ;
24710 PyObject *swig_obj[1] ;
24711
24712 if (!args) SWIG_fail;
24713 swig_obj[0] = args;
24714 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24715 if (!SWIG_IsOK(res1)) {
24716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24717 }
24718 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24719 {
24720 PyThreadState* __tstate = wxPyBeginAllowThreads();
24721 result = (bool)(arg1)->GetEnableOrientation();
24722 wxPyEndAllowThreads(__tstate);
24723 if (PyErr_Occurred()) SWIG_fail;
24724 }
24725 {
24726 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24727 }
24728 return resultobj;
24729 fail:
24730 return NULL;
24731 }
24732
24733
24734 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24735 PyObject *resultobj = 0;
24736 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24737 bool result;
24738 void *argp1 = 0 ;
24739 int res1 = 0 ;
24740 PyObject *swig_obj[1] ;
24741
24742 if (!args) SWIG_fail;
24743 swig_obj[0] = args;
24744 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24745 if (!SWIG_IsOK(res1)) {
24746 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24747 }
24748 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24749 {
24750 PyThreadState* __tstate = wxPyBeginAllowThreads();
24751 result = (bool)(arg1)->GetEnablePaper();
24752 wxPyEndAllowThreads(__tstate);
24753 if (PyErr_Occurred()) SWIG_fail;
24754 }
24755 {
24756 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24757 }
24758 return resultobj;
24759 fail:
24760 return NULL;
24761 }
24762
24763
24764 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24765 PyObject *resultobj = 0;
24766 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24767 bool result;
24768 void *argp1 = 0 ;
24769 int res1 = 0 ;
24770 PyObject *swig_obj[1] ;
24771
24772 if (!args) SWIG_fail;
24773 swig_obj[0] = args;
24774 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24775 if (!SWIG_IsOK(res1)) {
24776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24777 }
24778 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24779 {
24780 PyThreadState* __tstate = wxPyBeginAllowThreads();
24781 result = (bool)(arg1)->GetEnablePrinter();
24782 wxPyEndAllowThreads(__tstate);
24783 if (PyErr_Occurred()) SWIG_fail;
24784 }
24785 {
24786 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24787 }
24788 return resultobj;
24789 fail:
24790 return NULL;
24791 }
24792
24793
24794 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24795 PyObject *resultobj = 0;
24796 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24797 bool result;
24798 void *argp1 = 0 ;
24799 int res1 = 0 ;
24800 PyObject *swig_obj[1] ;
24801
24802 if (!args) SWIG_fail;
24803 swig_obj[0] = args;
24804 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24805 if (!SWIG_IsOK(res1)) {
24806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24807 }
24808 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24809 {
24810 PyThreadState* __tstate = wxPyBeginAllowThreads();
24811 result = (bool)(arg1)->GetEnableHelp();
24812 wxPyEndAllowThreads(__tstate);
24813 if (PyErr_Occurred()) SWIG_fail;
24814 }
24815 {
24816 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24817 }
24818 return resultobj;
24819 fail:
24820 return NULL;
24821 }
24822
24823
24824 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24825 PyObject *resultobj = 0;
24826 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24827 bool result;
24828 void *argp1 = 0 ;
24829 int res1 = 0 ;
24830 PyObject *swig_obj[1] ;
24831
24832 if (!args) SWIG_fail;
24833 swig_obj[0] = args;
24834 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24835 if (!SWIG_IsOK(res1)) {
24836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24837 }
24838 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24839 {
24840 PyThreadState* __tstate = wxPyBeginAllowThreads();
24841 result = (bool)(arg1)->GetDefaultInfo();
24842 wxPyEndAllowThreads(__tstate);
24843 if (PyErr_Occurred()) SWIG_fail;
24844 }
24845 {
24846 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24847 }
24848 return resultobj;
24849 fail:
24850 return NULL;
24851 }
24852
24853
24854 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24855 PyObject *resultobj = 0;
24856 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24857 wxPoint result;
24858 void *argp1 = 0 ;
24859 int res1 = 0 ;
24860 PyObject *swig_obj[1] ;
24861
24862 if (!args) SWIG_fail;
24863 swig_obj[0] = args;
24864 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24865 if (!SWIG_IsOK(res1)) {
24866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24867 }
24868 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24869 {
24870 PyThreadState* __tstate = wxPyBeginAllowThreads();
24871 result = (arg1)->GetMarginTopLeft();
24872 wxPyEndAllowThreads(__tstate);
24873 if (PyErr_Occurred()) SWIG_fail;
24874 }
24875 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
24876 return resultobj;
24877 fail:
24878 return NULL;
24879 }
24880
24881
24882 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24883 PyObject *resultobj = 0;
24884 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24885 wxPoint result;
24886 void *argp1 = 0 ;
24887 int res1 = 0 ;
24888 PyObject *swig_obj[1] ;
24889
24890 if (!args) SWIG_fail;
24891 swig_obj[0] = args;
24892 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24893 if (!SWIG_IsOK(res1)) {
24894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24895 }
24896 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24897 {
24898 PyThreadState* __tstate = wxPyBeginAllowThreads();
24899 result = (arg1)->GetMarginBottomRight();
24900 wxPyEndAllowThreads(__tstate);
24901 if (PyErr_Occurred()) SWIG_fail;
24902 }
24903 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
24904 return resultobj;
24905 fail:
24906 return NULL;
24907 }
24908
24909
24910 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24911 PyObject *resultobj = 0;
24912 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24913 wxPoint result;
24914 void *argp1 = 0 ;
24915 int res1 = 0 ;
24916 PyObject *swig_obj[1] ;
24917
24918 if (!args) SWIG_fail;
24919 swig_obj[0] = args;
24920 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24921 if (!SWIG_IsOK(res1)) {
24922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24923 }
24924 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24925 {
24926 PyThreadState* __tstate = wxPyBeginAllowThreads();
24927 result = (arg1)->GetMinMarginTopLeft();
24928 wxPyEndAllowThreads(__tstate);
24929 if (PyErr_Occurred()) SWIG_fail;
24930 }
24931 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
24932 return resultobj;
24933 fail:
24934 return NULL;
24935 }
24936
24937
24938 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24939 PyObject *resultobj = 0;
24940 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24941 wxPoint result;
24942 void *argp1 = 0 ;
24943 int res1 = 0 ;
24944 PyObject *swig_obj[1] ;
24945
24946 if (!args) SWIG_fail;
24947 swig_obj[0] = args;
24948 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24949 if (!SWIG_IsOK(res1)) {
24950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24951 }
24952 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24953 {
24954 PyThreadState* __tstate = wxPyBeginAllowThreads();
24955 result = (arg1)->GetMinMarginBottomRight();
24956 wxPyEndAllowThreads(__tstate);
24957 if (PyErr_Occurred()) SWIG_fail;
24958 }
24959 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
24960 return resultobj;
24961 fail:
24962 return NULL;
24963 }
24964
24965
24966 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24967 PyObject *resultobj = 0;
24968 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24969 wxPaperSize result;
24970 void *argp1 = 0 ;
24971 int res1 = 0 ;
24972 PyObject *swig_obj[1] ;
24973
24974 if (!args) SWIG_fail;
24975 swig_obj[0] = args;
24976 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24977 if (!SWIG_IsOK(res1)) {
24978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24979 }
24980 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24981 {
24982 PyThreadState* __tstate = wxPyBeginAllowThreads();
24983 result = (wxPaperSize)(arg1)->GetPaperId();
24984 wxPyEndAllowThreads(__tstate);
24985 if (PyErr_Occurred()) SWIG_fail;
24986 }
24987 resultobj = SWIG_From_int(static_cast< int >(result));
24988 return resultobj;
24989 fail:
24990 return NULL;
24991 }
24992
24993
24994 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24995 PyObject *resultobj = 0;
24996 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24997 wxSize result;
24998 void *argp1 = 0 ;
24999 int res1 = 0 ;
25000 PyObject *swig_obj[1] ;
25001
25002 if (!args) SWIG_fail;
25003 swig_obj[0] = args;
25004 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25005 if (!SWIG_IsOK(res1)) {
25006 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25007 }
25008 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25009 {
25010 PyThreadState* __tstate = wxPyBeginAllowThreads();
25011 result = (arg1)->GetPaperSize();
25012 wxPyEndAllowThreads(__tstate);
25013 if (PyErr_Occurred()) SWIG_fail;
25014 }
25015 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25016 return resultobj;
25017 fail:
25018 return NULL;
25019 }
25020
25021
25022 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25023 PyObject *resultobj = 0;
25024 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25025 wxPrintData *result = 0 ;
25026 void *argp1 = 0 ;
25027 int res1 = 0 ;
25028 PyObject *swig_obj[1] ;
25029
25030 if (!args) SWIG_fail;
25031 swig_obj[0] = args;
25032 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25033 if (!SWIG_IsOK(res1)) {
25034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25035 }
25036 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25037 {
25038 PyThreadState* __tstate = wxPyBeginAllowThreads();
25039 {
25040 wxPrintData &_result_ref = (arg1)->GetPrintData();
25041 result = (wxPrintData *) &_result_ref;
25042 }
25043 wxPyEndAllowThreads(__tstate);
25044 if (PyErr_Occurred()) SWIG_fail;
25045 }
25046 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
25047 return resultobj;
25048 fail:
25049 return NULL;
25050 }
25051
25052
25053 SWIGINTERN PyObject *_wrap_PageSetupDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25054 PyObject *resultobj = 0;
25055 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25056 bool result;
25057 void *argp1 = 0 ;
25058 int res1 = 0 ;
25059 PyObject *swig_obj[1] ;
25060
25061 if (!args) SWIG_fail;
25062 swig_obj[0] = args;
25063 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25064 if (!SWIG_IsOK(res1)) {
25065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25066 }
25067 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25068 {
25069 PyThreadState* __tstate = wxPyBeginAllowThreads();
25070 result = (bool)(arg1)->Ok();
25071 wxPyEndAllowThreads(__tstate);
25072 if (PyErr_Occurred()) SWIG_fail;
25073 }
25074 {
25075 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25076 }
25077 return resultobj;
25078 fail:
25079 return NULL;
25080 }
25081
25082
25083 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25084 PyObject *resultobj = 0;
25085 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25086 bool arg2 ;
25087 void *argp1 = 0 ;
25088 int res1 = 0 ;
25089 bool val2 ;
25090 int ecode2 = 0 ;
25091 PyObject * obj0 = 0 ;
25092 PyObject * obj1 = 0 ;
25093 char * kwnames[] = {
25094 (char *) "self",(char *) "flag", NULL
25095 };
25096
25097 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
25098 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25099 if (!SWIG_IsOK(res1)) {
25100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25101 }
25102 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25103 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25104 if (!SWIG_IsOK(ecode2)) {
25105 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25106 }
25107 arg2 = static_cast< bool >(val2);
25108 {
25109 PyThreadState* __tstate = wxPyBeginAllowThreads();
25110 (arg1)->SetDefaultInfo(arg2);
25111 wxPyEndAllowThreads(__tstate);
25112 if (PyErr_Occurred()) SWIG_fail;
25113 }
25114 resultobj = SWIG_Py_Void();
25115 return resultobj;
25116 fail:
25117 return NULL;
25118 }
25119
25120
25121 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25122 PyObject *resultobj = 0;
25123 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25124 bool arg2 ;
25125 void *argp1 = 0 ;
25126 int res1 = 0 ;
25127 bool val2 ;
25128 int ecode2 = 0 ;
25129 PyObject * obj0 = 0 ;
25130 PyObject * obj1 = 0 ;
25131 char * kwnames[] = {
25132 (char *) "self",(char *) "flag", NULL
25133 };
25134
25135 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25136 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25137 if (!SWIG_IsOK(res1)) {
25138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25139 }
25140 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25141 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25142 if (!SWIG_IsOK(ecode2)) {
25143 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25144 }
25145 arg2 = static_cast< bool >(val2);
25146 {
25147 PyThreadState* __tstate = wxPyBeginAllowThreads();
25148 (arg1)->SetDefaultMinMargins(arg2);
25149 wxPyEndAllowThreads(__tstate);
25150 if (PyErr_Occurred()) SWIG_fail;
25151 }
25152 resultobj = SWIG_Py_Void();
25153 return resultobj;
25154 fail:
25155 return NULL;
25156 }
25157
25158
25159 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25160 PyObject *resultobj = 0;
25161 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25162 wxPoint *arg2 = 0 ;
25163 void *argp1 = 0 ;
25164 int res1 = 0 ;
25165 wxPoint temp2 ;
25166 PyObject * obj0 = 0 ;
25167 PyObject * obj1 = 0 ;
25168 char * kwnames[] = {
25169 (char *) "self",(char *) "pt", NULL
25170 };
25171
25172 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25173 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25174 if (!SWIG_IsOK(res1)) {
25175 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25176 }
25177 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25178 {
25179 arg2 = &temp2;
25180 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25181 }
25182 {
25183 PyThreadState* __tstate = wxPyBeginAllowThreads();
25184 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
25185 wxPyEndAllowThreads(__tstate);
25186 if (PyErr_Occurred()) SWIG_fail;
25187 }
25188 resultobj = SWIG_Py_Void();
25189 return resultobj;
25190 fail:
25191 return NULL;
25192 }
25193
25194
25195 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25196 PyObject *resultobj = 0;
25197 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25198 wxPoint *arg2 = 0 ;
25199 void *argp1 = 0 ;
25200 int res1 = 0 ;
25201 wxPoint temp2 ;
25202 PyObject * obj0 = 0 ;
25203 PyObject * obj1 = 0 ;
25204 char * kwnames[] = {
25205 (char *) "self",(char *) "pt", NULL
25206 };
25207
25208 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25209 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25210 if (!SWIG_IsOK(res1)) {
25211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25212 }
25213 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25214 {
25215 arg2 = &temp2;
25216 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25217 }
25218 {
25219 PyThreadState* __tstate = wxPyBeginAllowThreads();
25220 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
25221 wxPyEndAllowThreads(__tstate);
25222 if (PyErr_Occurred()) SWIG_fail;
25223 }
25224 resultobj = SWIG_Py_Void();
25225 return resultobj;
25226 fail:
25227 return NULL;
25228 }
25229
25230
25231 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25232 PyObject *resultobj = 0;
25233 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25234 wxPoint *arg2 = 0 ;
25235 void *argp1 = 0 ;
25236 int res1 = 0 ;
25237 wxPoint temp2 ;
25238 PyObject * obj0 = 0 ;
25239 PyObject * obj1 = 0 ;
25240 char * kwnames[] = {
25241 (char *) "self",(char *) "pt", NULL
25242 };
25243
25244 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25245 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25246 if (!SWIG_IsOK(res1)) {
25247 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25248 }
25249 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25250 {
25251 arg2 = &temp2;
25252 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25253 }
25254 {
25255 PyThreadState* __tstate = wxPyBeginAllowThreads();
25256 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
25257 wxPyEndAllowThreads(__tstate);
25258 if (PyErr_Occurred()) SWIG_fail;
25259 }
25260 resultobj = SWIG_Py_Void();
25261 return resultobj;
25262 fail:
25263 return NULL;
25264 }
25265
25266
25267 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25268 PyObject *resultobj = 0;
25269 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25270 wxPoint *arg2 = 0 ;
25271 void *argp1 = 0 ;
25272 int res1 = 0 ;
25273 wxPoint temp2 ;
25274 PyObject * obj0 = 0 ;
25275 PyObject * obj1 = 0 ;
25276 char * kwnames[] = {
25277 (char *) "self",(char *) "pt", NULL
25278 };
25279
25280 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25281 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25282 if (!SWIG_IsOK(res1)) {
25283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25284 }
25285 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25286 {
25287 arg2 = &temp2;
25288 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25289 }
25290 {
25291 PyThreadState* __tstate = wxPyBeginAllowThreads();
25292 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
25293 wxPyEndAllowThreads(__tstate);
25294 if (PyErr_Occurred()) SWIG_fail;
25295 }
25296 resultobj = SWIG_Py_Void();
25297 return resultobj;
25298 fail:
25299 return NULL;
25300 }
25301
25302
25303 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25304 PyObject *resultobj = 0;
25305 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25306 wxPaperSize arg2 ;
25307 void *argp1 = 0 ;
25308 int res1 = 0 ;
25309 int val2 ;
25310 int ecode2 = 0 ;
25311 PyObject * obj0 = 0 ;
25312 PyObject * obj1 = 0 ;
25313 char * kwnames[] = {
25314 (char *) "self",(char *) "id", NULL
25315 };
25316
25317 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
25318 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25319 if (!SWIG_IsOK(res1)) {
25320 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25321 }
25322 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25323 ecode2 = SWIG_AsVal_int(obj1, &val2);
25324 if (!SWIG_IsOK(ecode2)) {
25325 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25326 }
25327 arg2 = static_cast< wxPaperSize >(val2);
25328 {
25329 PyThreadState* __tstate = wxPyBeginAllowThreads();
25330 (arg1)->SetPaperId(arg2);
25331 wxPyEndAllowThreads(__tstate);
25332 if (PyErr_Occurred()) SWIG_fail;
25333 }
25334 resultobj = SWIG_Py_Void();
25335 return resultobj;
25336 fail:
25337 return NULL;
25338 }
25339
25340
25341 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25342 PyObject *resultobj = 0;
25343 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25344 wxSize *arg2 = 0 ;
25345 void *argp1 = 0 ;
25346 int res1 = 0 ;
25347 wxSize temp2 ;
25348 PyObject * obj0 = 0 ;
25349 PyObject * obj1 = 0 ;
25350 char * kwnames[] = {
25351 (char *) "self",(char *) "size", NULL
25352 };
25353
25354 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
25355 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25356 if (!SWIG_IsOK(res1)) {
25357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25358 }
25359 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25360 {
25361 arg2 = &temp2;
25362 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25363 }
25364 {
25365 PyThreadState* __tstate = wxPyBeginAllowThreads();
25366 (arg1)->SetPaperSize((wxSize const &)*arg2);
25367 wxPyEndAllowThreads(__tstate);
25368 if (PyErr_Occurred()) SWIG_fail;
25369 }
25370 resultobj = SWIG_Py_Void();
25371 return resultobj;
25372 fail:
25373 return NULL;
25374 }
25375
25376
25377 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25378 PyObject *resultobj = 0;
25379 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25380 wxPrintData *arg2 = 0 ;
25381 void *argp1 = 0 ;
25382 int res1 = 0 ;
25383 void *argp2 = 0 ;
25384 int res2 = 0 ;
25385 PyObject * obj0 = 0 ;
25386 PyObject * obj1 = 0 ;
25387 char * kwnames[] = {
25388 (char *) "self",(char *) "printData", NULL
25389 };
25390
25391 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
25392 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25393 if (!SWIG_IsOK(res1)) {
25394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25395 }
25396 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25397 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
25398 if (!SWIG_IsOK(res2)) {
25399 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25400 }
25401 if (!argp2) {
25402 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25403 }
25404 arg2 = reinterpret_cast< wxPrintData * >(argp2);
25405 {
25406 PyThreadState* __tstate = wxPyBeginAllowThreads();
25407 (arg1)->SetPrintData((wxPrintData const &)*arg2);
25408 wxPyEndAllowThreads(__tstate);
25409 if (PyErr_Occurred()) SWIG_fail;
25410 }
25411 resultobj = SWIG_Py_Void();
25412 return resultobj;
25413 fail:
25414 return NULL;
25415 }
25416
25417
25418 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25419 PyObject *resultobj = 0;
25420 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25421 void *argp1 = 0 ;
25422 int res1 = 0 ;
25423 PyObject *swig_obj[1] ;
25424
25425 if (!args) SWIG_fail;
25426 swig_obj[0] = args;
25427 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25428 if (!SWIG_IsOK(res1)) {
25429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25430 }
25431 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25432 {
25433 PyThreadState* __tstate = wxPyBeginAllowThreads();
25434 (arg1)->CalculateIdFromPaperSize();
25435 wxPyEndAllowThreads(__tstate);
25436 if (PyErr_Occurred()) SWIG_fail;
25437 }
25438 resultobj = SWIG_Py_Void();
25439 return resultobj;
25440 fail:
25441 return NULL;
25442 }
25443
25444
25445 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25446 PyObject *resultobj = 0;
25447 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25448 void *argp1 = 0 ;
25449 int res1 = 0 ;
25450 PyObject *swig_obj[1] ;
25451
25452 if (!args) SWIG_fail;
25453 swig_obj[0] = args;
25454 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25455 if (!SWIG_IsOK(res1)) {
25456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25457 }
25458 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25459 {
25460 PyThreadState* __tstate = wxPyBeginAllowThreads();
25461 (arg1)->CalculatePaperSizeFromId();
25462 wxPyEndAllowThreads(__tstate);
25463 if (PyErr_Occurred()) SWIG_fail;
25464 }
25465 resultobj = SWIG_Py_Void();
25466 return resultobj;
25467 fail:
25468 return NULL;
25469 }
25470
25471
25472 SWIGINTERN PyObject *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25473 PyObject *obj;
25474 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25475 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
25476 return SWIG_Py_Void();
25477 }
25478
25479 SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25480 return SWIG_Python_InitShadowInstance(args);
25481 }
25482
25483 SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25484 PyObject *resultobj = 0;
25485 wxWindow *arg1 = (wxWindow *) 0 ;
25486 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
25487 wxPageSetupDialog *result = 0 ;
25488 void *argp1 = 0 ;
25489 int res1 = 0 ;
25490 void *argp2 = 0 ;
25491 int res2 = 0 ;
25492 PyObject * obj0 = 0 ;
25493 PyObject * obj1 = 0 ;
25494 char * kwnames[] = {
25495 (char *) "parent",(char *) "data", NULL
25496 };
25497
25498 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
25499 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25500 if (!SWIG_IsOK(res1)) {
25501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25502 }
25503 arg1 = reinterpret_cast< wxWindow * >(argp1);
25504 if (obj1) {
25505 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25506 if (!SWIG_IsOK(res2)) {
25507 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25508 }
25509 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
25510 }
25511 {
25512 if (!wxPyCheckForApp()) SWIG_fail;
25513 PyThreadState* __tstate = wxPyBeginAllowThreads();
25514 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
25515 wxPyEndAllowThreads(__tstate);
25516 if (PyErr_Occurred()) SWIG_fail;
25517 }
25518 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
25519 return resultobj;
25520 fail:
25521 return NULL;
25522 }
25523
25524
25525 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25526 PyObject *resultobj = 0;
25527 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25528 wxPageSetupDialogData *result = 0 ;
25529 void *argp1 = 0 ;
25530 int res1 = 0 ;
25531 PyObject *swig_obj[1] ;
25532
25533 if (!args) SWIG_fail;
25534 swig_obj[0] = args;
25535 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25536 if (!SWIG_IsOK(res1)) {
25537 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25538 }
25539 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25540 {
25541 PyThreadState* __tstate = wxPyBeginAllowThreads();
25542 {
25543 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
25544 result = (wxPageSetupDialogData *) &_result_ref;
25545 }
25546 wxPyEndAllowThreads(__tstate);
25547 if (PyErr_Occurred()) SWIG_fail;
25548 }
25549 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25550 return resultobj;
25551 fail:
25552 return NULL;
25553 }
25554
25555
25556 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25557 PyObject *resultobj = 0;
25558 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25559 wxPageSetupDialogData *result = 0 ;
25560 void *argp1 = 0 ;
25561 int res1 = 0 ;
25562 PyObject *swig_obj[1] ;
25563
25564 if (!args) SWIG_fail;
25565 swig_obj[0] = args;
25566 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25567 if (!SWIG_IsOK(res1)) {
25568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25569 }
25570 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25571 {
25572 PyThreadState* __tstate = wxPyBeginAllowThreads();
25573 {
25574 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
25575 result = (wxPageSetupDialogData *) &_result_ref;
25576 }
25577 wxPyEndAllowThreads(__tstate);
25578 if (PyErr_Occurred()) SWIG_fail;
25579 }
25580 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25581 return resultobj;
25582 fail:
25583 return NULL;
25584 }
25585
25586
25587 SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25588 PyObject *resultobj = 0;
25589 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25590 int result;
25591 void *argp1 = 0 ;
25592 int res1 = 0 ;
25593 PyObject *swig_obj[1] ;
25594
25595 if (!args) SWIG_fail;
25596 swig_obj[0] = args;
25597 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25598 if (!SWIG_IsOK(res1)) {
25599 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25600 }
25601 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25602 {
25603 PyThreadState* __tstate = wxPyBeginAllowThreads();
25604 result = (int)(arg1)->ShowModal();
25605 wxPyEndAllowThreads(__tstate);
25606 if (PyErr_Occurred()) SWIG_fail;
25607 }
25608 resultobj = SWIG_From_int(static_cast< int >(result));
25609 return resultobj;
25610 fail:
25611 return NULL;
25612 }
25613
25614
25615 SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25616 PyObject *obj;
25617 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25618 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
25619 return SWIG_Py_Void();
25620 }
25621
25622 SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25623 return SWIG_Python_InitShadowInstance(args);
25624 }
25625
25626 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
25627 PyObject *resultobj = 0;
25628 wxPrintDialogData *result = 0 ;
25629
25630 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
25631 {
25632 PyThreadState* __tstate = wxPyBeginAllowThreads();
25633 result = (wxPrintDialogData *)new wxPrintDialogData();
25634 wxPyEndAllowThreads(__tstate);
25635 if (PyErr_Occurred()) SWIG_fail;
25636 }
25637 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25638 return resultobj;
25639 fail:
25640 return NULL;
25641 }
25642
25643
25644 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25645 PyObject *resultobj = 0;
25646 wxPrintData *arg1 = 0 ;
25647 wxPrintDialogData *result = 0 ;
25648 void *argp1 = 0 ;
25649 int res1 = 0 ;
25650
25651 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25652 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
25653 if (!SWIG_IsOK(res1)) {
25654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25655 }
25656 if (!argp1) {
25657 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25658 }
25659 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25660 {
25661 PyThreadState* __tstate = wxPyBeginAllowThreads();
25662 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
25663 wxPyEndAllowThreads(__tstate);
25664 if (PyErr_Occurred()) SWIG_fail;
25665 }
25666 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25667 return resultobj;
25668 fail:
25669 return NULL;
25670 }
25671
25672
25673 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25674 PyObject *resultobj = 0;
25675 wxPrintDialogData *arg1 = 0 ;
25676 wxPrintDialogData *result = 0 ;
25677 void *argp1 = 0 ;
25678 int res1 = 0 ;
25679
25680 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25681 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
25682 if (!SWIG_IsOK(res1)) {
25683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25684 }
25685 if (!argp1) {
25686 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25687 }
25688 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25689 {
25690 PyThreadState* __tstate = wxPyBeginAllowThreads();
25691 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
25692 wxPyEndAllowThreads(__tstate);
25693 if (PyErr_Occurred()) SWIG_fail;
25694 }
25695 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25696 return resultobj;
25697 fail:
25698 return NULL;
25699 }
25700
25701
25702 SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
25703 int argc;
25704 PyObject *argv[2];
25705
25706 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
25707 --argc;
25708 if (argc == 0) {
25709 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
25710 }
25711 if (argc == 1) {
25712 int _v = 0;
25713 {
25714 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
25715 _v = SWIG_CheckState(res);
25716 }
25717 if (!_v) goto check_2;
25718 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
25719 }
25720 check_2:
25721
25722 if (argc == 1) {
25723 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
25724 }
25725
25726 fail:
25727 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
25728 return NULL;
25729 }
25730
25731
25732 SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25733 PyObject *resultobj = 0;
25734 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25735 void *argp1 = 0 ;
25736 int res1 = 0 ;
25737 PyObject *swig_obj[1] ;
25738
25739 if (!args) SWIG_fail;
25740 swig_obj[0] = args;
25741 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
25742 if (!SWIG_IsOK(res1)) {
25743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25744 }
25745 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25746 {
25747 PyThreadState* __tstate = wxPyBeginAllowThreads();
25748 delete arg1;
25749
25750 wxPyEndAllowThreads(__tstate);
25751 if (PyErr_Occurred()) SWIG_fail;
25752 }
25753 resultobj = SWIG_Py_Void();
25754 return resultobj;
25755 fail:
25756 return NULL;
25757 }
25758
25759
25760 SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25761 PyObject *resultobj = 0;
25762 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25763 int result;
25764 void *argp1 = 0 ;
25765 int res1 = 0 ;
25766 PyObject *swig_obj[1] ;
25767
25768 if (!args) SWIG_fail;
25769 swig_obj[0] = args;
25770 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25771 if (!SWIG_IsOK(res1)) {
25772 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25773 }
25774 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25775 {
25776 PyThreadState* __tstate = wxPyBeginAllowThreads();
25777 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
25778 wxPyEndAllowThreads(__tstate);
25779 if (PyErr_Occurred()) SWIG_fail;
25780 }
25781 resultobj = SWIG_From_int(static_cast< int >(result));
25782 return resultobj;
25783 fail:
25784 return NULL;
25785 }
25786
25787
25788 SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25789 PyObject *resultobj = 0;
25790 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25791 int result;
25792 void *argp1 = 0 ;
25793 int res1 = 0 ;
25794 PyObject *swig_obj[1] ;
25795
25796 if (!args) SWIG_fail;
25797 swig_obj[0] = args;
25798 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25799 if (!SWIG_IsOK(res1)) {
25800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25801 }
25802 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25803 {
25804 PyThreadState* __tstate = wxPyBeginAllowThreads();
25805 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
25806 wxPyEndAllowThreads(__tstate);
25807 if (PyErr_Occurred()) SWIG_fail;
25808 }
25809 resultobj = SWIG_From_int(static_cast< int >(result));
25810 return resultobj;
25811 fail:
25812 return NULL;
25813 }
25814
25815
25816 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25817 PyObject *resultobj = 0;
25818 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25819 int result;
25820 void *argp1 = 0 ;
25821 int res1 = 0 ;
25822 PyObject *swig_obj[1] ;
25823
25824 if (!args) SWIG_fail;
25825 swig_obj[0] = args;
25826 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25827 if (!SWIG_IsOK(res1)) {
25828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25829 }
25830 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25831 {
25832 PyThreadState* __tstate = wxPyBeginAllowThreads();
25833 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
25834 wxPyEndAllowThreads(__tstate);
25835 if (PyErr_Occurred()) SWIG_fail;
25836 }
25837 resultobj = SWIG_From_int(static_cast< int >(result));
25838 return resultobj;
25839 fail:
25840 return NULL;
25841 }
25842
25843
25844 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25845 PyObject *resultobj = 0;
25846 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25847 int result;
25848 void *argp1 = 0 ;
25849 int res1 = 0 ;
25850 PyObject *swig_obj[1] ;
25851
25852 if (!args) SWIG_fail;
25853 swig_obj[0] = args;
25854 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25855 if (!SWIG_IsOK(res1)) {
25856 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25857 }
25858 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25859 {
25860 PyThreadState* __tstate = wxPyBeginAllowThreads();
25861 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
25862 wxPyEndAllowThreads(__tstate);
25863 if (PyErr_Occurred()) SWIG_fail;
25864 }
25865 resultobj = SWIG_From_int(static_cast< int >(result));
25866 return resultobj;
25867 fail:
25868 return NULL;
25869 }
25870
25871
25872 SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25873 PyObject *resultobj = 0;
25874 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25875 int result;
25876 void *argp1 = 0 ;
25877 int res1 = 0 ;
25878 PyObject *swig_obj[1] ;
25879
25880 if (!args) SWIG_fail;
25881 swig_obj[0] = args;
25882 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25883 if (!SWIG_IsOK(res1)) {
25884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25885 }
25886 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25887 {
25888 PyThreadState* __tstate = wxPyBeginAllowThreads();
25889 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
25890 wxPyEndAllowThreads(__tstate);
25891 if (PyErr_Occurred()) SWIG_fail;
25892 }
25893 resultobj = SWIG_From_int(static_cast< int >(result));
25894 return resultobj;
25895 fail:
25896 return NULL;
25897 }
25898
25899
25900 SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25901 PyObject *resultobj = 0;
25902 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25903 bool result;
25904 void *argp1 = 0 ;
25905 int res1 = 0 ;
25906 PyObject *swig_obj[1] ;
25907
25908 if (!args) SWIG_fail;
25909 swig_obj[0] = args;
25910 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25911 if (!SWIG_IsOK(res1)) {
25912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25913 }
25914 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25915 {
25916 PyThreadState* __tstate = wxPyBeginAllowThreads();
25917 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
25918 wxPyEndAllowThreads(__tstate);
25919 if (PyErr_Occurred()) SWIG_fail;
25920 }
25921 {
25922 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25923 }
25924 return resultobj;
25925 fail:
25926 return NULL;
25927 }
25928
25929
25930 SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25931 PyObject *resultobj = 0;
25932 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25933 bool result;
25934 void *argp1 = 0 ;
25935 int res1 = 0 ;
25936 PyObject *swig_obj[1] ;
25937
25938 if (!args) SWIG_fail;
25939 swig_obj[0] = args;
25940 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25941 if (!SWIG_IsOK(res1)) {
25942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25943 }
25944 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25945 {
25946 PyThreadState* __tstate = wxPyBeginAllowThreads();
25947 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
25948 wxPyEndAllowThreads(__tstate);
25949 if (PyErr_Occurred()) SWIG_fail;
25950 }
25951 {
25952 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25953 }
25954 return resultobj;
25955 fail:
25956 return NULL;
25957 }
25958
25959
25960 SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25961 PyObject *resultobj = 0;
25962 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25963 bool result;
25964 void *argp1 = 0 ;
25965 int res1 = 0 ;
25966 PyObject *swig_obj[1] ;
25967
25968 if (!args) SWIG_fail;
25969 swig_obj[0] = args;
25970 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25971 if (!SWIG_IsOK(res1)) {
25972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25973 }
25974 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25975 {
25976 PyThreadState* __tstate = wxPyBeginAllowThreads();
25977 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
25978 wxPyEndAllowThreads(__tstate);
25979 if (PyErr_Occurred()) SWIG_fail;
25980 }
25981 {
25982 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25983 }
25984 return resultobj;
25985 fail:
25986 return NULL;
25987 }
25988
25989
25990 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25991 PyObject *resultobj = 0;
25992 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25993 bool result;
25994 void *argp1 = 0 ;
25995 int res1 = 0 ;
25996 PyObject *swig_obj[1] ;
25997
25998 if (!args) SWIG_fail;
25999 swig_obj[0] = args;
26000 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26001 if (!SWIG_IsOK(res1)) {
26002 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26003 }
26004 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26005 {
26006 PyThreadState* __tstate = wxPyBeginAllowThreads();
26007 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
26008 wxPyEndAllowThreads(__tstate);
26009 if (PyErr_Occurred()) SWIG_fail;
26010 }
26011 {
26012 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26013 }
26014 return resultobj;
26015 fail:
26016 return NULL;
26017 }
26018
26019
26020 SWIGINTERN PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26021 PyObject *resultobj = 0;
26022 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26023 int arg2 ;
26024 void *argp1 = 0 ;
26025 int res1 = 0 ;
26026 int val2 ;
26027 int ecode2 = 0 ;
26028 PyObject * obj0 = 0 ;
26029 PyObject * obj1 = 0 ;
26030 char * kwnames[] = {
26031 (char *) "self",(char *) "v", NULL
26032 };
26033
26034 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
26035 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26036 if (!SWIG_IsOK(res1)) {
26037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26038 }
26039 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26040 ecode2 = SWIG_AsVal_int(obj1, &val2);
26041 if (!SWIG_IsOK(ecode2)) {
26042 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26043 }
26044 arg2 = static_cast< int >(val2);
26045 {
26046 PyThreadState* __tstate = wxPyBeginAllowThreads();
26047 (arg1)->SetFromPage(arg2);
26048 wxPyEndAllowThreads(__tstate);
26049 if (PyErr_Occurred()) SWIG_fail;
26050 }
26051 resultobj = SWIG_Py_Void();
26052 return resultobj;
26053 fail:
26054 return NULL;
26055 }
26056
26057
26058 SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26059 PyObject *resultobj = 0;
26060 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26061 int arg2 ;
26062 void *argp1 = 0 ;
26063 int res1 = 0 ;
26064 int val2 ;
26065 int ecode2 = 0 ;
26066 PyObject * obj0 = 0 ;
26067 PyObject * obj1 = 0 ;
26068 char * kwnames[] = {
26069 (char *) "self",(char *) "v", NULL
26070 };
26071
26072 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
26073 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26074 if (!SWIG_IsOK(res1)) {
26075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26076 }
26077 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26078 ecode2 = SWIG_AsVal_int(obj1, &val2);
26079 if (!SWIG_IsOK(ecode2)) {
26080 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26081 }
26082 arg2 = static_cast< int >(val2);
26083 {
26084 PyThreadState* __tstate = wxPyBeginAllowThreads();
26085 (arg1)->SetToPage(arg2);
26086 wxPyEndAllowThreads(__tstate);
26087 if (PyErr_Occurred()) SWIG_fail;
26088 }
26089 resultobj = SWIG_Py_Void();
26090 return resultobj;
26091 fail:
26092 return NULL;
26093 }
26094
26095
26096 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26097 PyObject *resultobj = 0;
26098 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26099 int arg2 ;
26100 void *argp1 = 0 ;
26101 int res1 = 0 ;
26102 int val2 ;
26103 int ecode2 = 0 ;
26104 PyObject * obj0 = 0 ;
26105 PyObject * obj1 = 0 ;
26106 char * kwnames[] = {
26107 (char *) "self",(char *) "v", NULL
26108 };
26109
26110 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
26111 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26112 if (!SWIG_IsOK(res1)) {
26113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26114 }
26115 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26116 ecode2 = SWIG_AsVal_int(obj1, &val2);
26117 if (!SWIG_IsOK(ecode2)) {
26118 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26119 }
26120 arg2 = static_cast< int >(val2);
26121 {
26122 PyThreadState* __tstate = wxPyBeginAllowThreads();
26123 (arg1)->SetMinPage(arg2);
26124 wxPyEndAllowThreads(__tstate);
26125 if (PyErr_Occurred()) SWIG_fail;
26126 }
26127 resultobj = SWIG_Py_Void();
26128 return resultobj;
26129 fail:
26130 return NULL;
26131 }
26132
26133
26134 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26135 PyObject *resultobj = 0;
26136 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26137 int arg2 ;
26138 void *argp1 = 0 ;
26139 int res1 = 0 ;
26140 int val2 ;
26141 int ecode2 = 0 ;
26142 PyObject * obj0 = 0 ;
26143 PyObject * obj1 = 0 ;
26144 char * kwnames[] = {
26145 (char *) "self",(char *) "v", NULL
26146 };
26147
26148 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
26149 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26150 if (!SWIG_IsOK(res1)) {
26151 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26152 }
26153 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26154 ecode2 = SWIG_AsVal_int(obj1, &val2);
26155 if (!SWIG_IsOK(ecode2)) {
26156 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26157 }
26158 arg2 = static_cast< int >(val2);
26159 {
26160 PyThreadState* __tstate = wxPyBeginAllowThreads();
26161 (arg1)->SetMaxPage(arg2);
26162 wxPyEndAllowThreads(__tstate);
26163 if (PyErr_Occurred()) SWIG_fail;
26164 }
26165 resultobj = SWIG_Py_Void();
26166 return resultobj;
26167 fail:
26168 return NULL;
26169 }
26170
26171
26172 SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26173 PyObject *resultobj = 0;
26174 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26175 int arg2 ;
26176 void *argp1 = 0 ;
26177 int res1 = 0 ;
26178 int val2 ;
26179 int ecode2 = 0 ;
26180 PyObject * obj0 = 0 ;
26181 PyObject * obj1 = 0 ;
26182 char * kwnames[] = {
26183 (char *) "self",(char *) "v", NULL
26184 };
26185
26186 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
26187 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26188 if (!SWIG_IsOK(res1)) {
26189 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26190 }
26191 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26192 ecode2 = SWIG_AsVal_int(obj1, &val2);
26193 if (!SWIG_IsOK(ecode2)) {
26194 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26195 }
26196 arg2 = static_cast< int >(val2);
26197 {
26198 PyThreadState* __tstate = wxPyBeginAllowThreads();
26199 (arg1)->SetNoCopies(arg2);
26200 wxPyEndAllowThreads(__tstate);
26201 if (PyErr_Occurred()) SWIG_fail;
26202 }
26203 resultobj = SWIG_Py_Void();
26204 return resultobj;
26205 fail:
26206 return NULL;
26207 }
26208
26209
26210 SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26211 PyObject *resultobj = 0;
26212 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26213 bool arg2 ;
26214 void *argp1 = 0 ;
26215 int res1 = 0 ;
26216 bool val2 ;
26217 int ecode2 = 0 ;
26218 PyObject * obj0 = 0 ;
26219 PyObject * obj1 = 0 ;
26220 char * kwnames[] = {
26221 (char *) "self",(char *) "flag", NULL
26222 };
26223
26224 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
26225 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26226 if (!SWIG_IsOK(res1)) {
26227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26228 }
26229 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26230 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26231 if (!SWIG_IsOK(ecode2)) {
26232 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26233 }
26234 arg2 = static_cast< bool >(val2);
26235 {
26236 PyThreadState* __tstate = wxPyBeginAllowThreads();
26237 (arg1)->SetAllPages(arg2);
26238 wxPyEndAllowThreads(__tstate);
26239 if (PyErr_Occurred()) SWIG_fail;
26240 }
26241 resultobj = SWIG_Py_Void();
26242 return resultobj;
26243 fail:
26244 return NULL;
26245 }
26246
26247
26248 SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26249 PyObject *resultobj = 0;
26250 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26251 bool arg2 ;
26252 void *argp1 = 0 ;
26253 int res1 = 0 ;
26254 bool val2 ;
26255 int ecode2 = 0 ;
26256 PyObject * obj0 = 0 ;
26257 PyObject * obj1 = 0 ;
26258 char * kwnames[] = {
26259 (char *) "self",(char *) "flag", NULL
26260 };
26261
26262 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26263 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26264 if (!SWIG_IsOK(res1)) {
26265 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26266 }
26267 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26268 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26269 if (!SWIG_IsOK(ecode2)) {
26270 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26271 }
26272 arg2 = static_cast< bool >(val2);
26273 {
26274 PyThreadState* __tstate = wxPyBeginAllowThreads();
26275 (arg1)->SetSelection(arg2);
26276 wxPyEndAllowThreads(__tstate);
26277 if (PyErr_Occurred()) SWIG_fail;
26278 }
26279 resultobj = SWIG_Py_Void();
26280 return resultobj;
26281 fail:
26282 return NULL;
26283 }
26284
26285
26286 SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26287 PyObject *resultobj = 0;
26288 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26289 bool arg2 ;
26290 void *argp1 = 0 ;
26291 int res1 = 0 ;
26292 bool val2 ;
26293 int ecode2 = 0 ;
26294 PyObject * obj0 = 0 ;
26295 PyObject * obj1 = 0 ;
26296 char * kwnames[] = {
26297 (char *) "self",(char *) "flag", NULL
26298 };
26299
26300 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
26301 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26302 if (!SWIG_IsOK(res1)) {
26303 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26304 }
26305 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26306 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26307 if (!SWIG_IsOK(ecode2)) {
26308 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26309 }
26310 arg2 = static_cast< bool >(val2);
26311 {
26312 PyThreadState* __tstate = wxPyBeginAllowThreads();
26313 (arg1)->SetCollate(arg2);
26314 wxPyEndAllowThreads(__tstate);
26315 if (PyErr_Occurred()) SWIG_fail;
26316 }
26317 resultobj = SWIG_Py_Void();
26318 return resultobj;
26319 fail:
26320 return NULL;
26321 }
26322
26323
26324 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26325 PyObject *resultobj = 0;
26326 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26327 bool arg2 ;
26328 void *argp1 = 0 ;
26329 int res1 = 0 ;
26330 bool val2 ;
26331 int ecode2 = 0 ;
26332 PyObject * obj0 = 0 ;
26333 PyObject * obj1 = 0 ;
26334 char * kwnames[] = {
26335 (char *) "self",(char *) "flag", NULL
26336 };
26337
26338 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26339 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26340 if (!SWIG_IsOK(res1)) {
26341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26342 }
26343 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26344 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26345 if (!SWIG_IsOK(ecode2)) {
26346 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26347 }
26348 arg2 = static_cast< bool >(val2);
26349 {
26350 PyThreadState* __tstate = wxPyBeginAllowThreads();
26351 (arg1)->SetPrintToFile(arg2);
26352 wxPyEndAllowThreads(__tstate);
26353 if (PyErr_Occurred()) SWIG_fail;
26354 }
26355 resultobj = SWIG_Py_Void();
26356 return resultobj;
26357 fail:
26358 return NULL;
26359 }
26360
26361
26362 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26363 PyObject *resultobj = 0;
26364 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26365 bool arg2 ;
26366 void *argp1 = 0 ;
26367 int res1 = 0 ;
26368 bool val2 ;
26369 int ecode2 = 0 ;
26370 PyObject * obj0 = 0 ;
26371 PyObject * obj1 = 0 ;
26372 char * kwnames[] = {
26373 (char *) "self",(char *) "flag", NULL
26374 };
26375
26376 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26377 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26378 if (!SWIG_IsOK(res1)) {
26379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26380 }
26381 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26382 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26383 if (!SWIG_IsOK(ecode2)) {
26384 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26385 }
26386 arg2 = static_cast< bool >(val2);
26387 {
26388 PyThreadState* __tstate = wxPyBeginAllowThreads();
26389 (arg1)->EnablePrintToFile(arg2);
26390 wxPyEndAllowThreads(__tstate);
26391 if (PyErr_Occurred()) SWIG_fail;
26392 }
26393 resultobj = SWIG_Py_Void();
26394 return resultobj;
26395 fail:
26396 return NULL;
26397 }
26398
26399
26400 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26401 PyObject *resultobj = 0;
26402 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26403 bool arg2 ;
26404 void *argp1 = 0 ;
26405 int res1 = 0 ;
26406 bool val2 ;
26407 int ecode2 = 0 ;
26408 PyObject * obj0 = 0 ;
26409 PyObject * obj1 = 0 ;
26410 char * kwnames[] = {
26411 (char *) "self",(char *) "flag", NULL
26412 };
26413
26414 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26415 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26416 if (!SWIG_IsOK(res1)) {
26417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26418 }
26419 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26420 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26421 if (!SWIG_IsOK(ecode2)) {
26422 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26423 }
26424 arg2 = static_cast< bool >(val2);
26425 {
26426 PyThreadState* __tstate = wxPyBeginAllowThreads();
26427 (arg1)->EnableSelection(arg2);
26428 wxPyEndAllowThreads(__tstate);
26429 if (PyErr_Occurred()) SWIG_fail;
26430 }
26431 resultobj = SWIG_Py_Void();
26432 return resultobj;
26433 fail:
26434 return NULL;
26435 }
26436
26437
26438 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26439 PyObject *resultobj = 0;
26440 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26441 bool arg2 ;
26442 void *argp1 = 0 ;
26443 int res1 = 0 ;
26444 bool val2 ;
26445 int ecode2 = 0 ;
26446 PyObject * obj0 = 0 ;
26447 PyObject * obj1 = 0 ;
26448 char * kwnames[] = {
26449 (char *) "self",(char *) "flag", NULL
26450 };
26451
26452 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
26453 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26454 if (!SWIG_IsOK(res1)) {
26455 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26456 }
26457 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26458 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26459 if (!SWIG_IsOK(ecode2)) {
26460 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26461 }
26462 arg2 = static_cast< bool >(val2);
26463 {
26464 PyThreadState* __tstate = wxPyBeginAllowThreads();
26465 (arg1)->EnablePageNumbers(arg2);
26466 wxPyEndAllowThreads(__tstate);
26467 if (PyErr_Occurred()) SWIG_fail;
26468 }
26469 resultobj = SWIG_Py_Void();
26470 return resultobj;
26471 fail:
26472 return NULL;
26473 }
26474
26475
26476 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26477 PyObject *resultobj = 0;
26478 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26479 bool arg2 ;
26480 void *argp1 = 0 ;
26481 int res1 = 0 ;
26482 bool val2 ;
26483 int ecode2 = 0 ;
26484 PyObject * obj0 = 0 ;
26485 PyObject * obj1 = 0 ;
26486 char * kwnames[] = {
26487 (char *) "self",(char *) "flag", NULL
26488 };
26489
26490 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
26491 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26492 if (!SWIG_IsOK(res1)) {
26493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26494 }
26495 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26496 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26497 if (!SWIG_IsOK(ecode2)) {
26498 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26499 }
26500 arg2 = static_cast< bool >(val2);
26501 {
26502 PyThreadState* __tstate = wxPyBeginAllowThreads();
26503 (arg1)->EnableHelp(arg2);
26504 wxPyEndAllowThreads(__tstate);
26505 if (PyErr_Occurred()) SWIG_fail;
26506 }
26507 resultobj = SWIG_Py_Void();
26508 return resultobj;
26509 fail:
26510 return NULL;
26511 }
26512
26513
26514 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26515 PyObject *resultobj = 0;
26516 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26517 bool result;
26518 void *argp1 = 0 ;
26519 int res1 = 0 ;
26520 PyObject *swig_obj[1] ;
26521
26522 if (!args) SWIG_fail;
26523 swig_obj[0] = args;
26524 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26525 if (!SWIG_IsOK(res1)) {
26526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26527 }
26528 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26529 {
26530 PyThreadState* __tstate = wxPyBeginAllowThreads();
26531 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
26532 wxPyEndAllowThreads(__tstate);
26533 if (PyErr_Occurred()) SWIG_fail;
26534 }
26535 {
26536 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26537 }
26538 return resultobj;
26539 fail:
26540 return NULL;
26541 }
26542
26543
26544 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26545 PyObject *resultobj = 0;
26546 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26547 bool result;
26548 void *argp1 = 0 ;
26549 int res1 = 0 ;
26550 PyObject *swig_obj[1] ;
26551
26552 if (!args) SWIG_fail;
26553 swig_obj[0] = args;
26554 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26555 if (!SWIG_IsOK(res1)) {
26556 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26557 }
26558 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26559 {
26560 PyThreadState* __tstate = wxPyBeginAllowThreads();
26561 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
26562 wxPyEndAllowThreads(__tstate);
26563 if (PyErr_Occurred()) SWIG_fail;
26564 }
26565 {
26566 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26567 }
26568 return resultobj;
26569 fail:
26570 return NULL;
26571 }
26572
26573
26574 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26575 PyObject *resultobj = 0;
26576 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26577 bool result;
26578 void *argp1 = 0 ;
26579 int res1 = 0 ;
26580 PyObject *swig_obj[1] ;
26581
26582 if (!args) SWIG_fail;
26583 swig_obj[0] = args;
26584 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26585 if (!SWIG_IsOK(res1)) {
26586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26587 }
26588 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26589 {
26590 PyThreadState* __tstate = wxPyBeginAllowThreads();
26591 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
26592 wxPyEndAllowThreads(__tstate);
26593 if (PyErr_Occurred()) SWIG_fail;
26594 }
26595 {
26596 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26597 }
26598 return resultobj;
26599 fail:
26600 return NULL;
26601 }
26602
26603
26604 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26605 PyObject *resultobj = 0;
26606 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26607 bool result;
26608 void *argp1 = 0 ;
26609 int res1 = 0 ;
26610 PyObject *swig_obj[1] ;
26611
26612 if (!args) SWIG_fail;
26613 swig_obj[0] = args;
26614 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26615 if (!SWIG_IsOK(res1)) {
26616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26617 }
26618 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26619 {
26620 PyThreadState* __tstate = wxPyBeginAllowThreads();
26621 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
26622 wxPyEndAllowThreads(__tstate);
26623 if (PyErr_Occurred()) SWIG_fail;
26624 }
26625 {
26626 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26627 }
26628 return resultobj;
26629 fail:
26630 return NULL;
26631 }
26632
26633
26634 SWIGINTERN PyObject *_wrap_PrintDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26635 PyObject *resultobj = 0;
26636 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26637 bool result;
26638 void *argp1 = 0 ;
26639 int res1 = 0 ;
26640 PyObject *swig_obj[1] ;
26641
26642 if (!args) SWIG_fail;
26643 swig_obj[0] = args;
26644 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26645 if (!SWIG_IsOK(res1)) {
26646 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26647 }
26648 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26649 {
26650 PyThreadState* __tstate = wxPyBeginAllowThreads();
26651 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
26652 wxPyEndAllowThreads(__tstate);
26653 if (PyErr_Occurred()) SWIG_fail;
26654 }
26655 {
26656 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26657 }
26658 return resultobj;
26659 fail:
26660 return NULL;
26661 }
26662
26663
26664 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26665 PyObject *resultobj = 0;
26666 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26667 wxPrintData *result = 0 ;
26668 void *argp1 = 0 ;
26669 int res1 = 0 ;
26670 PyObject *swig_obj[1] ;
26671
26672 if (!args) SWIG_fail;
26673 swig_obj[0] = args;
26674 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26675 if (!SWIG_IsOK(res1)) {
26676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26677 }
26678 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26679 {
26680 PyThreadState* __tstate = wxPyBeginAllowThreads();
26681 {
26682 wxPrintData &_result_ref = (arg1)->GetPrintData();
26683 result = (wxPrintData *) &_result_ref;
26684 }
26685 wxPyEndAllowThreads(__tstate);
26686 if (PyErr_Occurred()) SWIG_fail;
26687 }
26688 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
26689 return resultobj;
26690 fail:
26691 return NULL;
26692 }
26693
26694
26695 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26696 PyObject *resultobj = 0;
26697 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26698 wxPrintData *arg2 = 0 ;
26699 void *argp1 = 0 ;
26700 int res1 = 0 ;
26701 void *argp2 = 0 ;
26702 int res2 = 0 ;
26703 PyObject * obj0 = 0 ;
26704 PyObject * obj1 = 0 ;
26705 char * kwnames[] = {
26706 (char *) "self",(char *) "printData", NULL
26707 };
26708
26709 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
26710 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26711 if (!SWIG_IsOK(res1)) {
26712 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26713 }
26714 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26715 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
26716 if (!SWIG_IsOK(res2)) {
26717 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26718 }
26719 if (!argp2) {
26720 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26721 }
26722 arg2 = reinterpret_cast< wxPrintData * >(argp2);
26723 {
26724 PyThreadState* __tstate = wxPyBeginAllowThreads();
26725 (arg1)->SetPrintData((wxPrintData const &)*arg2);
26726 wxPyEndAllowThreads(__tstate);
26727 if (PyErr_Occurred()) SWIG_fail;
26728 }
26729 resultobj = SWIG_Py_Void();
26730 return resultobj;
26731 fail:
26732 return NULL;
26733 }
26734
26735
26736 SWIGINTERN PyObject *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26737 PyObject *obj;
26738 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26739 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
26740 return SWIG_Py_Void();
26741 }
26742
26743 SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26744 return SWIG_Python_InitShadowInstance(args);
26745 }
26746
26747 SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26748 PyObject *resultobj = 0;
26749 wxWindow *arg1 = (wxWindow *) 0 ;
26750 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
26751 wxPrintDialog *result = 0 ;
26752 void *argp1 = 0 ;
26753 int res1 = 0 ;
26754 void *argp2 = 0 ;
26755 int res2 = 0 ;
26756 PyObject * obj0 = 0 ;
26757 PyObject * obj1 = 0 ;
26758 char * kwnames[] = {
26759 (char *) "parent",(char *) "data", NULL
26760 };
26761
26762 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
26763 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
26764 if (!SWIG_IsOK(res1)) {
26765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26766 }
26767 arg1 = reinterpret_cast< wxWindow * >(argp1);
26768 if (obj1) {
26769 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26770 if (!SWIG_IsOK(res2)) {
26771 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
26772 }
26773 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
26774 }
26775 {
26776 if (!wxPyCheckForApp()) SWIG_fail;
26777 PyThreadState* __tstate = wxPyBeginAllowThreads();
26778 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
26779 wxPyEndAllowThreads(__tstate);
26780 if (PyErr_Occurred()) SWIG_fail;
26781 }
26782 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
26783 return resultobj;
26784 fail:
26785 return NULL;
26786 }
26787
26788
26789 SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26790 PyObject *resultobj = 0;
26791 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26792 int result;
26793 void *argp1 = 0 ;
26794 int res1 = 0 ;
26795 PyObject *swig_obj[1] ;
26796
26797 if (!args) SWIG_fail;
26798 swig_obj[0] = args;
26799 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26800 if (!SWIG_IsOK(res1)) {
26801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26802 }
26803 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26804 {
26805 PyThreadState* __tstate = wxPyBeginAllowThreads();
26806 result = (int)(arg1)->ShowModal();
26807 wxPyEndAllowThreads(__tstate);
26808 if (PyErr_Occurred()) SWIG_fail;
26809 }
26810 resultobj = SWIG_From_int(static_cast< int >(result));
26811 return resultobj;
26812 fail:
26813 return NULL;
26814 }
26815
26816
26817 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26818 PyObject *resultobj = 0;
26819 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26820 wxPrintDialogData *result = 0 ;
26821 void *argp1 = 0 ;
26822 int res1 = 0 ;
26823 PyObject *swig_obj[1] ;
26824
26825 if (!args) SWIG_fail;
26826 swig_obj[0] = args;
26827 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26828 if (!SWIG_IsOK(res1)) {
26829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26830 }
26831 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26832 {
26833 PyThreadState* __tstate = wxPyBeginAllowThreads();
26834 {
26835 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
26836 result = (wxPrintDialogData *) &_result_ref;
26837 }
26838 wxPyEndAllowThreads(__tstate);
26839 if (PyErr_Occurred()) SWIG_fail;
26840 }
26841 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26842 return resultobj;
26843 fail:
26844 return NULL;
26845 }
26846
26847
26848 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26849 PyObject *resultobj = 0;
26850 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26851 wxPrintData *result = 0 ;
26852 void *argp1 = 0 ;
26853 int res1 = 0 ;
26854 PyObject *swig_obj[1] ;
26855
26856 if (!args) SWIG_fail;
26857 swig_obj[0] = args;
26858 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26859 if (!SWIG_IsOK(res1)) {
26860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26861 }
26862 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26863 {
26864 PyThreadState* __tstate = wxPyBeginAllowThreads();
26865 {
26866 wxPrintData &_result_ref = (arg1)->GetPrintData();
26867 result = (wxPrintData *) &_result_ref;
26868 }
26869 wxPyEndAllowThreads(__tstate);
26870 if (PyErr_Occurred()) SWIG_fail;
26871 }
26872 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
26873 return resultobj;
26874 fail:
26875 return NULL;
26876 }
26877
26878
26879 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26880 PyObject *resultobj = 0;
26881 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26882 wxDC *result = 0 ;
26883 void *argp1 = 0 ;
26884 int res1 = 0 ;
26885 PyObject *swig_obj[1] ;
26886
26887 if (!args) SWIG_fail;
26888 swig_obj[0] = args;
26889 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26890 if (!SWIG_IsOK(res1)) {
26891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26892 }
26893 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26894 {
26895 PyThreadState* __tstate = wxPyBeginAllowThreads();
26896 result = (wxDC *)(arg1)->GetPrintDC();
26897 wxPyEndAllowThreads(__tstate);
26898 if (PyErr_Occurred()) SWIG_fail;
26899 }
26900 {
26901 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
26902 }
26903 return resultobj;
26904 fail:
26905 return NULL;
26906 }
26907
26908
26909 SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26910 PyObject *obj;
26911 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26912 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
26913 return SWIG_Py_Void();
26914 }
26915
26916 SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26917 return SWIG_Python_InitShadowInstance(args);
26918 }
26919
26920 SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26921 PyObject *resultobj = 0;
26922 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
26923 wxPrinter *result = 0 ;
26924 void *argp1 = 0 ;
26925 int res1 = 0 ;
26926 PyObject * obj0 = 0 ;
26927 char * kwnames[] = {
26928 (char *) "data", NULL
26929 };
26930
26931 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
26932 if (obj0) {
26933 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26934 if (!SWIG_IsOK(res1)) {
26935 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26936 }
26937 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26938 }
26939 {
26940 if (!wxPyCheckForApp()) SWIG_fail;
26941 PyThreadState* __tstate = wxPyBeginAllowThreads();
26942 result = (wxPrinter *)new wxPrinter(arg1);
26943 wxPyEndAllowThreads(__tstate);
26944 if (PyErr_Occurred()) SWIG_fail;
26945 }
26946 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
26947 return resultobj;
26948 fail:
26949 return NULL;
26950 }
26951
26952
26953 SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26954 PyObject *resultobj = 0;
26955 wxPrinter *arg1 = (wxPrinter *) 0 ;
26956 void *argp1 = 0 ;
26957 int res1 = 0 ;
26958 PyObject *swig_obj[1] ;
26959
26960 if (!args) SWIG_fail;
26961 swig_obj[0] = args;
26962 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
26963 if (!SWIG_IsOK(res1)) {
26964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
26965 }
26966 arg1 = reinterpret_cast< wxPrinter * >(argp1);
26967 {
26968 PyThreadState* __tstate = wxPyBeginAllowThreads();
26969 delete arg1;
26970
26971 wxPyEndAllowThreads(__tstate);
26972 if (PyErr_Occurred()) SWIG_fail;
26973 }
26974 resultobj = SWIG_Py_Void();
26975 return resultobj;
26976 fail:
26977 return NULL;
26978 }
26979
26980
26981 SWIGINTERN PyObject *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26982 PyObject *resultobj = 0;
26983 wxPrinter *arg1 = (wxPrinter *) 0 ;
26984 wxWindow *arg2 = (wxWindow *) 0 ;
26985 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
26986 wxWindow *result = 0 ;
26987 void *argp1 = 0 ;
26988 int res1 = 0 ;
26989 void *argp2 = 0 ;
26990 int res2 = 0 ;
26991 void *argp3 = 0 ;
26992 int res3 = 0 ;
26993 PyObject * obj0 = 0 ;
26994 PyObject * obj1 = 0 ;
26995 PyObject * obj2 = 0 ;
26996 char * kwnames[] = {
26997 (char *) "self",(char *) "parent",(char *) "printout", NULL
26998 };
26999
27000 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27001 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27002 if (!SWIG_IsOK(res1)) {
27003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27004 }
27005 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27006 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27007 if (!SWIG_IsOK(res2)) {
27008 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27009 }
27010 arg2 = reinterpret_cast< wxWindow * >(argp2);
27011 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27012 if (!SWIG_IsOK(res3)) {
27013 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27014 }
27015 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27016 {
27017 PyThreadState* __tstate = wxPyBeginAllowThreads();
27018 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
27019 wxPyEndAllowThreads(__tstate);
27020 if (PyErr_Occurred()) SWIG_fail;
27021 }
27022 {
27023 resultobj = wxPyMake_wxObject(result, 0);
27024 }
27025 return resultobj;
27026 fail:
27027 return NULL;
27028 }
27029
27030
27031 SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27032 PyObject *resultobj = 0;
27033 wxPrinter *arg1 = (wxPrinter *) 0 ;
27034 wxWindow *arg2 = (wxWindow *) 0 ;
27035 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27036 wxString *arg4 = 0 ;
27037 void *argp1 = 0 ;
27038 int res1 = 0 ;
27039 void *argp2 = 0 ;
27040 int res2 = 0 ;
27041 void *argp3 = 0 ;
27042 int res3 = 0 ;
27043 bool temp4 = false ;
27044 PyObject * obj0 = 0 ;
27045 PyObject * obj1 = 0 ;
27046 PyObject * obj2 = 0 ;
27047 PyObject * obj3 = 0 ;
27048 char * kwnames[] = {
27049 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27050 };
27051
27052 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27053 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27054 if (!SWIG_IsOK(res1)) {
27055 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27056 }
27057 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27058 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27059 if (!SWIG_IsOK(res2)) {
27060 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27061 }
27062 arg2 = reinterpret_cast< wxWindow * >(argp2);
27063 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27064 if (!SWIG_IsOK(res3)) {
27065 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27066 }
27067 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27068 {
27069 arg4 = wxString_in_helper(obj3);
27070 if (arg4 == NULL) SWIG_fail;
27071 temp4 = true;
27072 }
27073 {
27074 PyThreadState* __tstate = wxPyBeginAllowThreads();
27075 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
27076 wxPyEndAllowThreads(__tstate);
27077 if (PyErr_Occurred()) SWIG_fail;
27078 }
27079 resultobj = SWIG_Py_Void();
27080 {
27081 if (temp4)
27082 delete arg4;
27083 }
27084 return resultobj;
27085 fail:
27086 {
27087 if (temp4)
27088 delete arg4;
27089 }
27090 return NULL;
27091 }
27092
27093
27094 SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27095 PyObject *resultobj = 0;
27096 wxPrinter *arg1 = (wxPrinter *) 0 ;
27097 wxWindow *arg2 = (wxWindow *) 0 ;
27098 bool result;
27099 void *argp1 = 0 ;
27100 int res1 = 0 ;
27101 void *argp2 = 0 ;
27102 int res2 = 0 ;
27103 PyObject * obj0 = 0 ;
27104 PyObject * obj1 = 0 ;
27105 char * kwnames[] = {
27106 (char *) "self",(char *) "parent", NULL
27107 };
27108
27109 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
27110 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27111 if (!SWIG_IsOK(res1)) {
27112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27113 }
27114 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27115 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27116 if (!SWIG_IsOK(res2)) {
27117 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27118 }
27119 arg2 = reinterpret_cast< wxWindow * >(argp2);
27120 {
27121 PyThreadState* __tstate = wxPyBeginAllowThreads();
27122 result = (bool)(arg1)->Setup(arg2);
27123 wxPyEndAllowThreads(__tstate);
27124 if (PyErr_Occurred()) SWIG_fail;
27125 }
27126 {
27127 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27128 }
27129 return resultobj;
27130 fail:
27131 return NULL;
27132 }
27133
27134
27135 SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27136 PyObject *resultobj = 0;
27137 wxPrinter *arg1 = (wxPrinter *) 0 ;
27138 wxWindow *arg2 = (wxWindow *) 0 ;
27139 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27140 bool arg4 = (bool) true ;
27141 bool result;
27142 void *argp1 = 0 ;
27143 int res1 = 0 ;
27144 void *argp2 = 0 ;
27145 int res2 = 0 ;
27146 void *argp3 = 0 ;
27147 int res3 = 0 ;
27148 bool val4 ;
27149 int ecode4 = 0 ;
27150 PyObject * obj0 = 0 ;
27151 PyObject * obj1 = 0 ;
27152 PyObject * obj2 = 0 ;
27153 PyObject * obj3 = 0 ;
27154 char * kwnames[] = {
27155 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27156 };
27157
27158 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27159 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27160 if (!SWIG_IsOK(res1)) {
27161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27162 }
27163 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27164 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27165 if (!SWIG_IsOK(res2)) {
27166 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27167 }
27168 arg2 = reinterpret_cast< wxWindow * >(argp2);
27169 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27170 if (!SWIG_IsOK(res3)) {
27171 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27172 }
27173 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27174 if (obj3) {
27175 ecode4 = SWIG_AsVal_bool(obj3, &val4);
27176 if (!SWIG_IsOK(ecode4)) {
27177 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27178 }
27179 arg4 = static_cast< bool >(val4);
27180 }
27181 {
27182 PyThreadState* __tstate = wxPyBeginAllowThreads();
27183 result = (bool)(arg1)->Print(arg2,arg3,arg4);
27184 wxPyEndAllowThreads(__tstate);
27185 if (PyErr_Occurred()) SWIG_fail;
27186 }
27187 {
27188 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27189 }
27190 return resultobj;
27191 fail:
27192 return NULL;
27193 }
27194
27195
27196 SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27197 PyObject *resultobj = 0;
27198 wxPrinter *arg1 = (wxPrinter *) 0 ;
27199 wxWindow *arg2 = (wxWindow *) 0 ;
27200 wxDC *result = 0 ;
27201 void *argp1 = 0 ;
27202 int res1 = 0 ;
27203 void *argp2 = 0 ;
27204 int res2 = 0 ;
27205 PyObject * obj0 = 0 ;
27206 PyObject * obj1 = 0 ;
27207 char * kwnames[] = {
27208 (char *) "self",(char *) "parent", NULL
27209 };
27210
27211 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27212 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27213 if (!SWIG_IsOK(res1)) {
27214 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27215 }
27216 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27217 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27218 if (!SWIG_IsOK(res2)) {
27219 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27220 }
27221 arg2 = reinterpret_cast< wxWindow * >(argp2);
27222 {
27223 PyThreadState* __tstate = wxPyBeginAllowThreads();
27224 result = (wxDC *)(arg1)->PrintDialog(arg2);
27225 wxPyEndAllowThreads(__tstate);
27226 if (PyErr_Occurred()) SWIG_fail;
27227 }
27228 {
27229 resultobj = wxPyMake_wxObject(result, (bool)0);
27230 }
27231 return resultobj;
27232 fail:
27233 return NULL;
27234 }
27235
27236
27237 SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27238 PyObject *resultobj = 0;
27239 wxPrinter *arg1 = (wxPrinter *) 0 ;
27240 wxPrintDialogData *result = 0 ;
27241 void *argp1 = 0 ;
27242 int res1 = 0 ;
27243 PyObject *swig_obj[1] ;
27244
27245 if (!args) SWIG_fail;
27246 swig_obj[0] = args;
27247 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27248 if (!SWIG_IsOK(res1)) {
27249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27250 }
27251 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27252 {
27253 PyThreadState* __tstate = wxPyBeginAllowThreads();
27254 {
27255 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
27256 result = (wxPrintDialogData *) &_result_ref;
27257 }
27258 wxPyEndAllowThreads(__tstate);
27259 if (PyErr_Occurred()) SWIG_fail;
27260 }
27261 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27262 return resultobj;
27263 fail:
27264 return NULL;
27265 }
27266
27267
27268 SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27269 PyObject *resultobj = 0;
27270 wxPrinter *arg1 = (wxPrinter *) 0 ;
27271 bool result;
27272 void *argp1 = 0 ;
27273 int res1 = 0 ;
27274 PyObject *swig_obj[1] ;
27275
27276 if (!args) SWIG_fail;
27277 swig_obj[0] = args;
27278 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27279 if (!SWIG_IsOK(res1)) {
27280 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27281 }
27282 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27283 {
27284 PyThreadState* __tstate = wxPyBeginAllowThreads();
27285 result = (bool)(arg1)->GetAbort();
27286 wxPyEndAllowThreads(__tstate);
27287 if (PyErr_Occurred()) SWIG_fail;
27288 }
27289 {
27290 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27291 }
27292 return resultobj;
27293 fail:
27294 return NULL;
27295 }
27296
27297
27298 SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27299 PyObject *resultobj = 0;
27300 wxPrinterError result;
27301
27302 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
27303 {
27304 PyThreadState* __tstate = wxPyBeginAllowThreads();
27305 result = (wxPrinterError)wxPrinter::GetLastError();
27306 wxPyEndAllowThreads(__tstate);
27307 if (PyErr_Occurred()) SWIG_fail;
27308 }
27309 resultobj = SWIG_From_int(static_cast< int >(result));
27310 return resultobj;
27311 fail:
27312 return NULL;
27313 }
27314
27315
27316 SWIGINTERN PyObject *Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27317 PyObject *obj;
27318 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27319 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter, SWIG_NewClientData(obj));
27320 return SWIG_Py_Void();
27321 }
27322
27323 SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27324 return SWIG_Python_InitShadowInstance(args);
27325 }
27326
27327 SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27328 PyObject *resultobj = 0;
27329 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
27330 wxString *arg1 = (wxString *) &arg1_defvalue ;
27331 wxPyPrintout *result = 0 ;
27332 bool temp1 = false ;
27333 PyObject * obj0 = 0 ;
27334 char * kwnames[] = {
27335 (char *) "title", NULL
27336 };
27337
27338 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
27339 if (obj0) {
27340 {
27341 arg1 = wxString_in_helper(obj0);
27342 if (arg1 == NULL) SWIG_fail;
27343 temp1 = true;
27344 }
27345 }
27346 {
27347 if (!wxPyCheckForApp()) SWIG_fail;
27348 PyThreadState* __tstate = wxPyBeginAllowThreads();
27349 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
27350 wxPyEndAllowThreads(__tstate);
27351 if (PyErr_Occurred()) SWIG_fail;
27352 }
27353 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
27354 {
27355 if (temp1)
27356 delete arg1;
27357 }
27358 return resultobj;
27359 fail:
27360 {
27361 if (temp1)
27362 delete arg1;
27363 }
27364 return NULL;
27365 }
27366
27367
27368 SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27369 PyObject *resultobj = 0;
27370 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27371 void *argp1 = 0 ;
27372 int res1 = 0 ;
27373 PyObject *swig_obj[1] ;
27374
27375 if (!args) SWIG_fail;
27376 swig_obj[0] = args;
27377 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
27378 if (!SWIG_IsOK(res1)) {
27379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27380 }
27381 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27382 {
27383 PyThreadState* __tstate = wxPyBeginAllowThreads();
27384 delete arg1;
27385
27386 wxPyEndAllowThreads(__tstate);
27387 if (PyErr_Occurred()) SWIG_fail;
27388 }
27389 resultobj = SWIG_Py_Void();
27390 return resultobj;
27391 fail:
27392 return NULL;
27393 }
27394
27395
27396 SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27397 PyObject *resultobj = 0;
27398 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27399 PyObject *arg2 = (PyObject *) 0 ;
27400 PyObject *arg3 = (PyObject *) 0 ;
27401 void *argp1 = 0 ;
27402 int res1 = 0 ;
27403 PyObject * obj0 = 0 ;
27404 PyObject * obj1 = 0 ;
27405 PyObject * obj2 = 0 ;
27406 char * kwnames[] = {
27407 (char *) "self",(char *) "self",(char *) "_class", NULL
27408 };
27409
27410 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27411 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27412 if (!SWIG_IsOK(res1)) {
27413 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27414 }
27415 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27416 arg2 = obj1;
27417 arg3 = obj2;
27418 {
27419 PyThreadState* __tstate = wxPyBeginAllowThreads();
27420 (arg1)->_setCallbackInfo(arg2,arg3);
27421 wxPyEndAllowThreads(__tstate);
27422 if (PyErr_Occurred()) SWIG_fail;
27423 }
27424 resultobj = SWIG_Py_Void();
27425 return resultobj;
27426 fail:
27427 return NULL;
27428 }
27429
27430
27431 SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27432 PyObject *resultobj = 0;
27433 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27434 wxString result;
27435 void *argp1 = 0 ;
27436 int res1 = 0 ;
27437 PyObject *swig_obj[1] ;
27438
27439 if (!args) SWIG_fail;
27440 swig_obj[0] = args;
27441 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27442 if (!SWIG_IsOK(res1)) {
27443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27444 }
27445 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27446 {
27447 PyThreadState* __tstate = wxPyBeginAllowThreads();
27448 result = ((wxPyPrintout const *)arg1)->GetTitle();
27449 wxPyEndAllowThreads(__tstate);
27450 if (PyErr_Occurred()) SWIG_fail;
27451 }
27452 {
27453 #if wxUSE_UNICODE
27454 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27455 #else
27456 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27457 #endif
27458 }
27459 return resultobj;
27460 fail:
27461 return NULL;
27462 }
27463
27464
27465 SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27466 PyObject *resultobj = 0;
27467 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27468 wxDC *result = 0 ;
27469 void *argp1 = 0 ;
27470 int res1 = 0 ;
27471 PyObject *swig_obj[1] ;
27472
27473 if (!args) SWIG_fail;
27474 swig_obj[0] = args;
27475 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27476 if (!SWIG_IsOK(res1)) {
27477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27478 }
27479 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27480 {
27481 PyThreadState* __tstate = wxPyBeginAllowThreads();
27482 result = (wxDC *)(arg1)->GetDC();
27483 wxPyEndAllowThreads(__tstate);
27484 if (PyErr_Occurred()) SWIG_fail;
27485 }
27486 {
27487 resultobj = wxPyMake_wxObject(result, (bool)0);
27488 }
27489 return resultobj;
27490 fail:
27491 return NULL;
27492 }
27493
27494
27495 SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27496 PyObject *resultobj = 0;
27497 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27498 wxDC *arg2 = (wxDC *) 0 ;
27499 void *argp1 = 0 ;
27500 int res1 = 0 ;
27501 void *argp2 = 0 ;
27502 int res2 = 0 ;
27503 PyObject * obj0 = 0 ;
27504 PyObject * obj1 = 0 ;
27505 char * kwnames[] = {
27506 (char *) "self",(char *) "dc", NULL
27507 };
27508
27509 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
27510 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27511 if (!SWIG_IsOK(res1)) {
27512 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27513 }
27514 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27515 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
27516 if (!SWIG_IsOK(res2)) {
27517 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27518 }
27519 arg2 = reinterpret_cast< wxDC * >(argp2);
27520 {
27521 PyThreadState* __tstate = wxPyBeginAllowThreads();
27522 (arg1)->SetDC(arg2);
27523 wxPyEndAllowThreads(__tstate);
27524 if (PyErr_Occurred()) SWIG_fail;
27525 }
27526 resultobj = SWIG_Py_Void();
27527 return resultobj;
27528 fail:
27529 return NULL;
27530 }
27531
27532
27533 SWIGINTERN PyObject *_wrap_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27534 PyObject *resultobj = 0;
27535 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27536 int arg2 ;
27537 int arg3 ;
27538 void *argp1 = 0 ;
27539 int res1 = 0 ;
27540 int val2 ;
27541 int ecode2 = 0 ;
27542 int val3 ;
27543 int ecode3 = 0 ;
27544 PyObject * obj0 = 0 ;
27545 PyObject * obj1 = 0 ;
27546 PyObject * obj2 = 0 ;
27547 char * kwnames[] = {
27548 (char *) "self",(char *) "w",(char *) "h", NULL
27549 };
27550
27551 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27552 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27553 if (!SWIG_IsOK(res1)) {
27554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27555 }
27556 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27557 ecode2 = SWIG_AsVal_int(obj1, &val2);
27558 if (!SWIG_IsOK(ecode2)) {
27559 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27560 }
27561 arg2 = static_cast< int >(val2);
27562 ecode3 = SWIG_AsVal_int(obj2, &val3);
27563 if (!SWIG_IsOK(ecode3)) {
27564 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27565 }
27566 arg3 = static_cast< int >(val3);
27567 {
27568 PyThreadState* __tstate = wxPyBeginAllowThreads();
27569 (arg1)->SetPageSizePixels(arg2,arg3);
27570 wxPyEndAllowThreads(__tstate);
27571 if (PyErr_Occurred()) SWIG_fail;
27572 }
27573 resultobj = SWIG_Py_Void();
27574 return resultobj;
27575 fail:
27576 return NULL;
27577 }
27578
27579
27580 SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27581 PyObject *resultobj = 0;
27582 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27583 int *arg2 = (int *) 0 ;
27584 int *arg3 = (int *) 0 ;
27585 void *argp1 = 0 ;
27586 int res1 = 0 ;
27587 int temp2 ;
27588 int res2 = SWIG_TMPOBJ ;
27589 int temp3 ;
27590 int res3 = SWIG_TMPOBJ ;
27591 PyObject *swig_obj[1] ;
27592
27593 arg2 = &temp2;
27594 arg3 = &temp3;
27595 if (!args) SWIG_fail;
27596 swig_obj[0] = args;
27597 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27598 if (!SWIG_IsOK(res1)) {
27599 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27600 }
27601 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27602 {
27603 PyThreadState* __tstate = wxPyBeginAllowThreads();
27604 (arg1)->GetPageSizePixels(arg2,arg3);
27605 wxPyEndAllowThreads(__tstate);
27606 if (PyErr_Occurred()) SWIG_fail;
27607 }
27608 resultobj = SWIG_Py_Void();
27609 if (SWIG_IsTmpObj(res2)) {
27610 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27611 } else {
27612 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27613 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27614 }
27615 if (SWIG_IsTmpObj(res3)) {
27616 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27617 } else {
27618 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27619 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27620 }
27621 return resultobj;
27622 fail:
27623 return NULL;
27624 }
27625
27626
27627 SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27628 PyObject *resultobj = 0;
27629 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27630 int arg2 ;
27631 int arg3 ;
27632 void *argp1 = 0 ;
27633 int res1 = 0 ;
27634 int val2 ;
27635 int ecode2 = 0 ;
27636 int val3 ;
27637 int ecode3 = 0 ;
27638 PyObject * obj0 = 0 ;
27639 PyObject * obj1 = 0 ;
27640 PyObject * obj2 = 0 ;
27641 char * kwnames[] = {
27642 (char *) "self",(char *) "w",(char *) "h", NULL
27643 };
27644
27645 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27646 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27647 if (!SWIG_IsOK(res1)) {
27648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27649 }
27650 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27651 ecode2 = SWIG_AsVal_int(obj1, &val2);
27652 if (!SWIG_IsOK(ecode2)) {
27653 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
27654 }
27655 arg2 = static_cast< int >(val2);
27656 ecode3 = SWIG_AsVal_int(obj2, &val3);
27657 if (!SWIG_IsOK(ecode3)) {
27658 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
27659 }
27660 arg3 = static_cast< int >(val3);
27661 {
27662 PyThreadState* __tstate = wxPyBeginAllowThreads();
27663 (arg1)->SetPageSizeMM(arg2,arg3);
27664 wxPyEndAllowThreads(__tstate);
27665 if (PyErr_Occurred()) SWIG_fail;
27666 }
27667 resultobj = SWIG_Py_Void();
27668 return resultobj;
27669 fail:
27670 return NULL;
27671 }
27672
27673
27674 SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27675 PyObject *resultobj = 0;
27676 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27677 int *arg2 = (int *) 0 ;
27678 int *arg3 = (int *) 0 ;
27679 void *argp1 = 0 ;
27680 int res1 = 0 ;
27681 int temp2 ;
27682 int res2 = SWIG_TMPOBJ ;
27683 int temp3 ;
27684 int res3 = SWIG_TMPOBJ ;
27685 PyObject *swig_obj[1] ;
27686
27687 arg2 = &temp2;
27688 arg3 = &temp3;
27689 if (!args) SWIG_fail;
27690 swig_obj[0] = args;
27691 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27692 if (!SWIG_IsOK(res1)) {
27693 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27694 }
27695 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27696 {
27697 PyThreadState* __tstate = wxPyBeginAllowThreads();
27698 (arg1)->GetPageSizeMM(arg2,arg3);
27699 wxPyEndAllowThreads(__tstate);
27700 if (PyErr_Occurred()) SWIG_fail;
27701 }
27702 resultobj = SWIG_Py_Void();
27703 if (SWIG_IsTmpObj(res2)) {
27704 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27705 } else {
27706 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27707 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27708 }
27709 if (SWIG_IsTmpObj(res3)) {
27710 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27711 } else {
27712 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27713 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27714 }
27715 return resultobj;
27716 fail:
27717 return NULL;
27718 }
27719
27720
27721 SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27722 PyObject *resultobj = 0;
27723 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27724 int arg2 ;
27725 int arg3 ;
27726 void *argp1 = 0 ;
27727 int res1 = 0 ;
27728 int val2 ;
27729 int ecode2 = 0 ;
27730 int val3 ;
27731 int ecode3 = 0 ;
27732 PyObject * obj0 = 0 ;
27733 PyObject * obj1 = 0 ;
27734 PyObject * obj2 = 0 ;
27735 char * kwnames[] = {
27736 (char *) "self",(char *) "x",(char *) "y", NULL
27737 };
27738
27739 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27740 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27741 if (!SWIG_IsOK(res1)) {
27742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27743 }
27744 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27745 ecode2 = SWIG_AsVal_int(obj1, &val2);
27746 if (!SWIG_IsOK(ecode2)) {
27747 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
27748 }
27749 arg2 = static_cast< int >(val2);
27750 ecode3 = SWIG_AsVal_int(obj2, &val3);
27751 if (!SWIG_IsOK(ecode3)) {
27752 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
27753 }
27754 arg3 = static_cast< int >(val3);
27755 {
27756 PyThreadState* __tstate = wxPyBeginAllowThreads();
27757 (arg1)->SetPPIScreen(arg2,arg3);
27758 wxPyEndAllowThreads(__tstate);
27759 if (PyErr_Occurred()) SWIG_fail;
27760 }
27761 resultobj = SWIG_Py_Void();
27762 return resultobj;
27763 fail:
27764 return NULL;
27765 }
27766
27767
27768 SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27769 PyObject *resultobj = 0;
27770 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27771 int *arg2 = (int *) 0 ;
27772 int *arg3 = (int *) 0 ;
27773 void *argp1 = 0 ;
27774 int res1 = 0 ;
27775 int temp2 ;
27776 int res2 = SWIG_TMPOBJ ;
27777 int temp3 ;
27778 int res3 = SWIG_TMPOBJ ;
27779 PyObject *swig_obj[1] ;
27780
27781 arg2 = &temp2;
27782 arg3 = &temp3;
27783 if (!args) SWIG_fail;
27784 swig_obj[0] = args;
27785 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27786 if (!SWIG_IsOK(res1)) {
27787 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27788 }
27789 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27790 {
27791 PyThreadState* __tstate = wxPyBeginAllowThreads();
27792 (arg1)->GetPPIScreen(arg2,arg3);
27793 wxPyEndAllowThreads(__tstate);
27794 if (PyErr_Occurred()) SWIG_fail;
27795 }
27796 resultobj = SWIG_Py_Void();
27797 if (SWIG_IsTmpObj(res2)) {
27798 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27799 } else {
27800 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27801 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27802 }
27803 if (SWIG_IsTmpObj(res3)) {
27804 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27805 } else {
27806 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27807 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27808 }
27809 return resultobj;
27810 fail:
27811 return NULL;
27812 }
27813
27814
27815 SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27816 PyObject *resultobj = 0;
27817 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27818 int arg2 ;
27819 int arg3 ;
27820 void *argp1 = 0 ;
27821 int res1 = 0 ;
27822 int val2 ;
27823 int ecode2 = 0 ;
27824 int val3 ;
27825 int ecode3 = 0 ;
27826 PyObject * obj0 = 0 ;
27827 PyObject * obj1 = 0 ;
27828 PyObject * obj2 = 0 ;
27829 char * kwnames[] = {
27830 (char *) "self",(char *) "x",(char *) "y", NULL
27831 };
27832
27833 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27834 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27835 if (!SWIG_IsOK(res1)) {
27836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27837 }
27838 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27839 ecode2 = SWIG_AsVal_int(obj1, &val2);
27840 if (!SWIG_IsOK(ecode2)) {
27841 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
27842 }
27843 arg2 = static_cast< int >(val2);
27844 ecode3 = SWIG_AsVal_int(obj2, &val3);
27845 if (!SWIG_IsOK(ecode3)) {
27846 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
27847 }
27848 arg3 = static_cast< int >(val3);
27849 {
27850 PyThreadState* __tstate = wxPyBeginAllowThreads();
27851 (arg1)->SetPPIPrinter(arg2,arg3);
27852 wxPyEndAllowThreads(__tstate);
27853 if (PyErr_Occurred()) SWIG_fail;
27854 }
27855 resultobj = SWIG_Py_Void();
27856 return resultobj;
27857 fail:
27858 return NULL;
27859 }
27860
27861
27862 SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27863 PyObject *resultobj = 0;
27864 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27865 int *arg2 = (int *) 0 ;
27866 int *arg3 = (int *) 0 ;
27867 void *argp1 = 0 ;
27868 int res1 = 0 ;
27869 int temp2 ;
27870 int res2 = SWIG_TMPOBJ ;
27871 int temp3 ;
27872 int res3 = SWIG_TMPOBJ ;
27873 PyObject *swig_obj[1] ;
27874
27875 arg2 = &temp2;
27876 arg3 = &temp3;
27877 if (!args) SWIG_fail;
27878 swig_obj[0] = args;
27879 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27880 if (!SWIG_IsOK(res1)) {
27881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27882 }
27883 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27884 {
27885 PyThreadState* __tstate = wxPyBeginAllowThreads();
27886 (arg1)->GetPPIPrinter(arg2,arg3);
27887 wxPyEndAllowThreads(__tstate);
27888 if (PyErr_Occurred()) SWIG_fail;
27889 }
27890 resultobj = SWIG_Py_Void();
27891 if (SWIG_IsTmpObj(res2)) {
27892 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27893 } else {
27894 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27895 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27896 }
27897 if (SWIG_IsTmpObj(res3)) {
27898 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27899 } else {
27900 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27901 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27902 }
27903 return resultobj;
27904 fail:
27905 return NULL;
27906 }
27907
27908
27909 SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27910 PyObject *resultobj = 0;
27911 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27912 bool result;
27913 void *argp1 = 0 ;
27914 int res1 = 0 ;
27915 PyObject *swig_obj[1] ;
27916
27917 if (!args) SWIG_fail;
27918 swig_obj[0] = args;
27919 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27920 if (!SWIG_IsOK(res1)) {
27921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27922 }
27923 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27924 {
27925 PyThreadState* __tstate = wxPyBeginAllowThreads();
27926 result = (bool)(arg1)->IsPreview();
27927 wxPyEndAllowThreads(__tstate);
27928 if (PyErr_Occurred()) SWIG_fail;
27929 }
27930 {
27931 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27932 }
27933 return resultobj;
27934 fail:
27935 return NULL;
27936 }
27937
27938
27939 SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27940 PyObject *resultobj = 0;
27941 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27942 bool arg2 ;
27943 void *argp1 = 0 ;
27944 int res1 = 0 ;
27945 bool val2 ;
27946 int ecode2 = 0 ;
27947 PyObject * obj0 = 0 ;
27948 PyObject * obj1 = 0 ;
27949 char * kwnames[] = {
27950 (char *) "self",(char *) "p", NULL
27951 };
27952
27953 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
27954 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27955 if (!SWIG_IsOK(res1)) {
27956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27957 }
27958 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27959 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27960 if (!SWIG_IsOK(ecode2)) {
27961 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
27962 }
27963 arg2 = static_cast< bool >(val2);
27964 {
27965 PyThreadState* __tstate = wxPyBeginAllowThreads();
27966 (arg1)->SetIsPreview(arg2);
27967 wxPyEndAllowThreads(__tstate);
27968 if (PyErr_Occurred()) SWIG_fail;
27969 }
27970 resultobj = SWIG_Py_Void();
27971 return resultobj;
27972 fail:
27973 return NULL;
27974 }
27975
27976
27977 SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27978 PyObject *resultobj = 0;
27979 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27980 int arg2 ;
27981 int arg3 ;
27982 bool result;
27983 void *argp1 = 0 ;
27984 int res1 = 0 ;
27985 int val2 ;
27986 int ecode2 = 0 ;
27987 int val3 ;
27988 int ecode3 = 0 ;
27989 PyObject * obj0 = 0 ;
27990 PyObject * obj1 = 0 ;
27991 PyObject * obj2 = 0 ;
27992 char * kwnames[] = {
27993 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
27994 };
27995
27996 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27997 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27998 if (!SWIG_IsOK(res1)) {
27999 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28000 }
28001 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28002 ecode2 = SWIG_AsVal_int(obj1, &val2);
28003 if (!SWIG_IsOK(ecode2)) {
28004 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28005 }
28006 arg2 = static_cast< int >(val2);
28007 ecode3 = SWIG_AsVal_int(obj2, &val3);
28008 if (!SWIG_IsOK(ecode3)) {
28009 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28010 }
28011 arg3 = static_cast< int >(val3);
28012 {
28013 PyThreadState* __tstate = wxPyBeginAllowThreads();
28014 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
28015 wxPyEndAllowThreads(__tstate);
28016 if (PyErr_Occurred()) SWIG_fail;
28017 }
28018 {
28019 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28020 }
28021 return resultobj;
28022 fail:
28023 return NULL;
28024 }
28025
28026
28027 SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28028 PyObject *resultobj = 0;
28029 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28030 void *argp1 = 0 ;
28031 int res1 = 0 ;
28032 PyObject *swig_obj[1] ;
28033
28034 if (!args) SWIG_fail;
28035 swig_obj[0] = args;
28036 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28037 if (!SWIG_IsOK(res1)) {
28038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28039 }
28040 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28041 {
28042 PyThreadState* __tstate = wxPyBeginAllowThreads();
28043 (arg1)->OnEndDocument();
28044 wxPyEndAllowThreads(__tstate);
28045 if (PyErr_Occurred()) SWIG_fail;
28046 }
28047 resultobj = SWIG_Py_Void();
28048 return resultobj;
28049 fail:
28050 return NULL;
28051 }
28052
28053
28054 SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28055 PyObject *resultobj = 0;
28056 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28057 void *argp1 = 0 ;
28058 int res1 = 0 ;
28059 PyObject *swig_obj[1] ;
28060
28061 if (!args) SWIG_fail;
28062 swig_obj[0] = args;
28063 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28064 if (!SWIG_IsOK(res1)) {
28065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28066 }
28067 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28068 {
28069 PyThreadState* __tstate = wxPyBeginAllowThreads();
28070 (arg1)->OnBeginPrinting();
28071 wxPyEndAllowThreads(__tstate);
28072 if (PyErr_Occurred()) SWIG_fail;
28073 }
28074 resultobj = SWIG_Py_Void();
28075 return resultobj;
28076 fail:
28077 return NULL;
28078 }
28079
28080
28081 SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28082 PyObject *resultobj = 0;
28083 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28084 void *argp1 = 0 ;
28085 int res1 = 0 ;
28086 PyObject *swig_obj[1] ;
28087
28088 if (!args) SWIG_fail;
28089 swig_obj[0] = args;
28090 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28091 if (!SWIG_IsOK(res1)) {
28092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28093 }
28094 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28095 {
28096 PyThreadState* __tstate = wxPyBeginAllowThreads();
28097 (arg1)->OnEndPrinting();
28098 wxPyEndAllowThreads(__tstate);
28099 if (PyErr_Occurred()) SWIG_fail;
28100 }
28101 resultobj = SWIG_Py_Void();
28102 return resultobj;
28103 fail:
28104 return NULL;
28105 }
28106
28107
28108 SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28109 PyObject *resultobj = 0;
28110 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28111 void *argp1 = 0 ;
28112 int res1 = 0 ;
28113 PyObject *swig_obj[1] ;
28114
28115 if (!args) SWIG_fail;
28116 swig_obj[0] = args;
28117 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28118 if (!SWIG_IsOK(res1)) {
28119 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28120 }
28121 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28122 {
28123 PyThreadState* __tstate = wxPyBeginAllowThreads();
28124 (arg1)->OnPreparePrinting();
28125 wxPyEndAllowThreads(__tstate);
28126 if (PyErr_Occurred()) SWIG_fail;
28127 }
28128 resultobj = SWIG_Py_Void();
28129 return resultobj;
28130 fail:
28131 return NULL;
28132 }
28133
28134
28135 SWIGINTERN PyObject *_wrap_Printout_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28136 PyObject *resultobj = 0;
28137 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28138 int arg2 ;
28139 bool result;
28140 void *argp1 = 0 ;
28141 int res1 = 0 ;
28142 int val2 ;
28143 int ecode2 = 0 ;
28144 PyObject * obj0 = 0 ;
28145 PyObject * obj1 = 0 ;
28146 char * kwnames[] = {
28147 (char *) "self",(char *) "page", NULL
28148 };
28149
28150 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
28151 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28152 if (!SWIG_IsOK(res1)) {
28153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28154 }
28155 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28156 ecode2 = SWIG_AsVal_int(obj1, &val2);
28157 if (!SWIG_IsOK(ecode2)) {
28158 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28159 }
28160 arg2 = static_cast< int >(val2);
28161 {
28162 PyThreadState* __tstate = wxPyBeginAllowThreads();
28163 result = (bool)(arg1)->HasPage(arg2);
28164 wxPyEndAllowThreads(__tstate);
28165 if (PyErr_Occurred()) SWIG_fail;
28166 }
28167 {
28168 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28169 }
28170 return resultobj;
28171 fail:
28172 return NULL;
28173 }
28174
28175
28176 SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28177 PyObject *resultobj = 0;
28178 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28179 int *arg2 = (int *) 0 ;
28180 int *arg3 = (int *) 0 ;
28181 int *arg4 = (int *) 0 ;
28182 int *arg5 = (int *) 0 ;
28183 void *argp1 = 0 ;
28184 int res1 = 0 ;
28185 int temp2 ;
28186 int res2 = SWIG_TMPOBJ ;
28187 int temp3 ;
28188 int res3 = SWIG_TMPOBJ ;
28189 int temp4 ;
28190 int res4 = SWIG_TMPOBJ ;
28191 int temp5 ;
28192 int res5 = SWIG_TMPOBJ ;
28193 PyObject *swig_obj[1] ;
28194
28195 arg2 = &temp2;
28196 arg3 = &temp3;
28197 arg4 = &temp4;
28198 arg5 = &temp5;
28199 if (!args) SWIG_fail;
28200 swig_obj[0] = args;
28201 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28202 if (!SWIG_IsOK(res1)) {
28203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28204 }
28205 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28206 {
28207 PyThreadState* __tstate = wxPyBeginAllowThreads();
28208 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
28209 wxPyEndAllowThreads(__tstate);
28210 if (PyErr_Occurred()) SWIG_fail;
28211 }
28212 resultobj = SWIG_Py_Void();
28213 if (SWIG_IsTmpObj(res2)) {
28214 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28215 } else {
28216 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28217 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28218 }
28219 if (SWIG_IsTmpObj(res3)) {
28220 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28221 } else {
28222 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28223 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28224 }
28225 if (SWIG_IsTmpObj(res4)) {
28226 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
28227 } else {
28228 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28229 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
28230 }
28231 if (SWIG_IsTmpObj(res5)) {
28232 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
28233 } else {
28234 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28235 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
28236 }
28237 return resultobj;
28238 fail:
28239 return NULL;
28240 }
28241
28242
28243 SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28244 PyObject *obj;
28245 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28246 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
28247 return SWIG_Py_Void();
28248 }
28249
28250 SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28251 return SWIG_Python_InitShadowInstance(args);
28252 }
28253
28254 SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28255 PyObject *resultobj = 0;
28256 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28257 wxWindow *arg2 = (wxWindow *) 0 ;
28258 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28259 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28260 wxSize const &arg4_defvalue = wxDefaultSize ;
28261 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28262 long arg5 = (long) 0 ;
28263 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
28264 wxString *arg6 = (wxString *) &arg6_defvalue ;
28265 wxPreviewCanvas *result = 0 ;
28266 void *argp1 = 0 ;
28267 int res1 = 0 ;
28268 void *argp2 = 0 ;
28269 int res2 = 0 ;
28270 wxPoint temp3 ;
28271 wxSize temp4 ;
28272 long val5 ;
28273 int ecode5 = 0 ;
28274 bool temp6 = false ;
28275 PyObject * obj0 = 0 ;
28276 PyObject * obj1 = 0 ;
28277 PyObject * obj2 = 0 ;
28278 PyObject * obj3 = 0 ;
28279 PyObject * obj4 = 0 ;
28280 PyObject * obj5 = 0 ;
28281 char * kwnames[] = {
28282 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28283 };
28284
28285 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
28286 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28287 if (!SWIG_IsOK(res1)) {
28288 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28289 }
28290 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28291 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
28292 if (!SWIG_IsOK(res2)) {
28293 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28294 }
28295 arg2 = reinterpret_cast< wxWindow * >(argp2);
28296 if (obj2) {
28297 {
28298 arg3 = &temp3;
28299 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28300 }
28301 }
28302 if (obj3) {
28303 {
28304 arg4 = &temp4;
28305 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28306 }
28307 }
28308 if (obj4) {
28309 ecode5 = SWIG_AsVal_long(obj4, &val5);
28310 if (!SWIG_IsOK(ecode5)) {
28311 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28312 }
28313 arg5 = static_cast< long >(val5);
28314 }
28315 if (obj5) {
28316 {
28317 arg6 = wxString_in_helper(obj5);
28318 if (arg6 == NULL) SWIG_fail;
28319 temp6 = true;
28320 }
28321 }
28322 {
28323 if (!wxPyCheckForApp()) SWIG_fail;
28324 PyThreadState* __tstate = wxPyBeginAllowThreads();
28325 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
28326 wxPyEndAllowThreads(__tstate);
28327 if (PyErr_Occurred()) SWIG_fail;
28328 }
28329 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
28330 {
28331 if (temp6)
28332 delete arg6;
28333 }
28334 return resultobj;
28335 fail:
28336 {
28337 if (temp6)
28338 delete arg6;
28339 }
28340 return NULL;
28341 }
28342
28343
28344 SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28345 PyObject *obj;
28346 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28347 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
28348 return SWIG_Py_Void();
28349 }
28350
28351 SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28352 return SWIG_Python_InitShadowInstance(args);
28353 }
28354
28355 SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28356 PyObject *resultobj = 0;
28357 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28358 wxFrame *arg2 = (wxFrame *) 0 ;
28359 wxString *arg3 = 0 ;
28360 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28361 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28362 wxSize const &arg5_defvalue = wxDefaultSize ;
28363 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28364 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
28365 wxString const &arg7_defvalue = wxPyFrameNameStr ;
28366 wxString *arg7 = (wxString *) &arg7_defvalue ;
28367 wxPreviewFrame *result = 0 ;
28368 int res1 = 0 ;
28369 void *argp2 = 0 ;
28370 int res2 = 0 ;
28371 bool temp3 = false ;
28372 wxPoint temp4 ;
28373 wxSize temp5 ;
28374 long val6 ;
28375 int ecode6 = 0 ;
28376 bool temp7 = false ;
28377 PyObject * obj0 = 0 ;
28378 PyObject * obj1 = 0 ;
28379 PyObject * obj2 = 0 ;
28380 PyObject * obj3 = 0 ;
28381 PyObject * obj4 = 0 ;
28382 PyObject * obj5 = 0 ;
28383 PyObject * obj6 = 0 ;
28384 char * kwnames[] = {
28385 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28386 };
28387
28388 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28389 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
28390 if (!SWIG_IsOK(res1)) {
28391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28392 }
28393 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
28394 if (!SWIG_IsOK(res2)) {
28395 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28396 }
28397 arg2 = reinterpret_cast< wxFrame * >(argp2);
28398 {
28399 arg3 = wxString_in_helper(obj2);
28400 if (arg3 == NULL) SWIG_fail;
28401 temp3 = true;
28402 }
28403 if (obj3) {
28404 {
28405 arg4 = &temp4;
28406 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28407 }
28408 }
28409 if (obj4) {
28410 {
28411 arg5 = &temp5;
28412 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28413 }
28414 }
28415 if (obj5) {
28416 ecode6 = SWIG_AsVal_long(obj5, &val6);
28417 if (!SWIG_IsOK(ecode6)) {
28418 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28419 }
28420 arg6 = static_cast< long >(val6);
28421 }
28422 if (obj6) {
28423 {
28424 arg7 = wxString_in_helper(obj6);
28425 if (arg7 == NULL) SWIG_fail;
28426 temp7 = true;
28427 }
28428 }
28429 {
28430 if (!wxPyCheckForApp()) SWIG_fail;
28431 PyThreadState* __tstate = wxPyBeginAllowThreads();
28432 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28433 wxPyEndAllowThreads(__tstate);
28434 if (PyErr_Occurred()) SWIG_fail;
28435 }
28436 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
28437 {
28438 if (temp3)
28439 delete arg3;
28440 }
28441 {
28442 if (temp7)
28443 delete arg7;
28444 }
28445 return resultobj;
28446 fail:
28447 {
28448 if (temp3)
28449 delete arg3;
28450 }
28451 {
28452 if (temp7)
28453 delete arg7;
28454 }
28455 return NULL;
28456 }
28457
28458
28459 SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28460 PyObject *resultobj = 0;
28461 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28462 void *argp1 = 0 ;
28463 int res1 = 0 ;
28464 PyObject *swig_obj[1] ;
28465
28466 if (!args) SWIG_fail;
28467 swig_obj[0] = args;
28468 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28469 if (!SWIG_IsOK(res1)) {
28470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28471 }
28472 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28473 {
28474 PyThreadState* __tstate = wxPyBeginAllowThreads();
28475 (arg1)->Initialize();
28476 wxPyEndAllowThreads(__tstate);
28477 if (PyErr_Occurred()) SWIG_fail;
28478 }
28479 resultobj = SWIG_Py_Void();
28480 return resultobj;
28481 fail:
28482 return NULL;
28483 }
28484
28485
28486 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28487 PyObject *resultobj = 0;
28488 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28489 void *argp1 = 0 ;
28490 int res1 = 0 ;
28491 PyObject *swig_obj[1] ;
28492
28493 if (!args) SWIG_fail;
28494 swig_obj[0] = args;
28495 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28496 if (!SWIG_IsOK(res1)) {
28497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28498 }
28499 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28500 {
28501 PyThreadState* __tstate = wxPyBeginAllowThreads();
28502 (arg1)->CreateControlBar();
28503 wxPyEndAllowThreads(__tstate);
28504 if (PyErr_Occurred()) SWIG_fail;
28505 }
28506 resultobj = SWIG_Py_Void();
28507 return resultobj;
28508 fail:
28509 return NULL;
28510 }
28511
28512
28513 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28514 PyObject *resultobj = 0;
28515 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28516 void *argp1 = 0 ;
28517 int res1 = 0 ;
28518 PyObject *swig_obj[1] ;
28519
28520 if (!args) SWIG_fail;
28521 swig_obj[0] = args;
28522 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28523 if (!SWIG_IsOK(res1)) {
28524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28525 }
28526 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28527 {
28528 PyThreadState* __tstate = wxPyBeginAllowThreads();
28529 (arg1)->CreateCanvas();
28530 wxPyEndAllowThreads(__tstate);
28531 if (PyErr_Occurred()) SWIG_fail;
28532 }
28533 resultobj = SWIG_Py_Void();
28534 return resultobj;
28535 fail:
28536 return NULL;
28537 }
28538
28539
28540 SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28541 PyObject *resultobj = 0;
28542 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28543 wxPreviewControlBar *result = 0 ;
28544 void *argp1 = 0 ;
28545 int res1 = 0 ;
28546 PyObject *swig_obj[1] ;
28547
28548 if (!args) SWIG_fail;
28549 swig_obj[0] = args;
28550 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28551 if (!SWIG_IsOK(res1)) {
28552 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28553 }
28554 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28555 {
28556 PyThreadState* __tstate = wxPyBeginAllowThreads();
28557 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
28558 wxPyEndAllowThreads(__tstate);
28559 if (PyErr_Occurred()) SWIG_fail;
28560 }
28561 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28562 return resultobj;
28563 fail:
28564 return NULL;
28565 }
28566
28567
28568 SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28569 PyObject *obj;
28570 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28571 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
28572 return SWIG_Py_Void();
28573 }
28574
28575 SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28576 return SWIG_Python_InitShadowInstance(args);
28577 }
28578
28579 SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28580 PyObject *resultobj = 0;
28581 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28582 long arg2 ;
28583 wxWindow *arg3 = (wxWindow *) 0 ;
28584 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28585 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28586 wxSize const &arg5_defvalue = wxDefaultSize ;
28587 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28588 long arg6 = (long) wxTAB_TRAVERSAL ;
28589 wxString const &arg7_defvalue = wxPyPanelNameStr ;
28590 wxString *arg7 = (wxString *) &arg7_defvalue ;
28591 wxPreviewControlBar *result = 0 ;
28592 void *argp1 = 0 ;
28593 int res1 = 0 ;
28594 long val2 ;
28595 int ecode2 = 0 ;
28596 void *argp3 = 0 ;
28597 int res3 = 0 ;
28598 wxPoint temp4 ;
28599 wxSize temp5 ;
28600 long val6 ;
28601 int ecode6 = 0 ;
28602 bool temp7 = false ;
28603 PyObject * obj0 = 0 ;
28604 PyObject * obj1 = 0 ;
28605 PyObject * obj2 = 0 ;
28606 PyObject * obj3 = 0 ;
28607 PyObject * obj4 = 0 ;
28608 PyObject * obj5 = 0 ;
28609 PyObject * obj6 = 0 ;
28610 char * kwnames[] = {
28611 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28612 };
28613
28614 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28615 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28616 if (!SWIG_IsOK(res1)) {
28617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28618 }
28619 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28620 ecode2 = SWIG_AsVal_long(obj1, &val2);
28621 if (!SWIG_IsOK(ecode2)) {
28622 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
28623 }
28624 arg2 = static_cast< long >(val2);
28625 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
28626 if (!SWIG_IsOK(res3)) {
28627 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
28628 }
28629 arg3 = reinterpret_cast< wxWindow * >(argp3);
28630 if (obj3) {
28631 {
28632 arg4 = &temp4;
28633 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28634 }
28635 }
28636 if (obj4) {
28637 {
28638 arg5 = &temp5;
28639 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28640 }
28641 }
28642 if (obj5) {
28643 ecode6 = SWIG_AsVal_long(obj5, &val6);
28644 if (!SWIG_IsOK(ecode6)) {
28645 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
28646 }
28647 arg6 = static_cast< long >(val6);
28648 }
28649 if (obj6) {
28650 {
28651 arg7 = wxString_in_helper(obj6);
28652 if (arg7 == NULL) SWIG_fail;
28653 temp7 = true;
28654 }
28655 }
28656 {
28657 if (!wxPyCheckForApp()) SWIG_fail;
28658 PyThreadState* __tstate = wxPyBeginAllowThreads();
28659 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28660 wxPyEndAllowThreads(__tstate);
28661 if (PyErr_Occurred()) SWIG_fail;
28662 }
28663 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
28664 {
28665 if (temp7)
28666 delete arg7;
28667 }
28668 return resultobj;
28669 fail:
28670 {
28671 if (temp7)
28672 delete arg7;
28673 }
28674 return NULL;
28675 }
28676
28677
28678 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28679 PyObject *resultobj = 0;
28680 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28681 int result;
28682 void *argp1 = 0 ;
28683 int res1 = 0 ;
28684 PyObject *swig_obj[1] ;
28685
28686 if (!args) SWIG_fail;
28687 swig_obj[0] = args;
28688 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28689 if (!SWIG_IsOK(res1)) {
28690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28691 }
28692 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28693 {
28694 PyThreadState* __tstate = wxPyBeginAllowThreads();
28695 result = (int)(arg1)->GetZoomControl();
28696 wxPyEndAllowThreads(__tstate);
28697 if (PyErr_Occurred()) SWIG_fail;
28698 }
28699 resultobj = SWIG_From_int(static_cast< int >(result));
28700 return resultobj;
28701 fail:
28702 return NULL;
28703 }
28704
28705
28706 SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28707 PyObject *resultobj = 0;
28708 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28709 int arg2 ;
28710 void *argp1 = 0 ;
28711 int res1 = 0 ;
28712 int val2 ;
28713 int ecode2 = 0 ;
28714 PyObject * obj0 = 0 ;
28715 PyObject * obj1 = 0 ;
28716 char * kwnames[] = {
28717 (char *) "self",(char *) "zoom", NULL
28718 };
28719
28720 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
28721 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28722 if (!SWIG_IsOK(res1)) {
28723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28724 }
28725 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28726 ecode2 = SWIG_AsVal_int(obj1, &val2);
28727 if (!SWIG_IsOK(ecode2)) {
28728 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
28729 }
28730 arg2 = static_cast< int >(val2);
28731 {
28732 PyThreadState* __tstate = wxPyBeginAllowThreads();
28733 (arg1)->SetZoomControl(arg2);
28734 wxPyEndAllowThreads(__tstate);
28735 if (PyErr_Occurred()) SWIG_fail;
28736 }
28737 resultobj = SWIG_Py_Void();
28738 return resultobj;
28739 fail:
28740 return NULL;
28741 }
28742
28743
28744 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28745 PyObject *resultobj = 0;
28746 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28747 wxPrintPreview *result = 0 ;
28748 void *argp1 = 0 ;
28749 int res1 = 0 ;
28750 PyObject *swig_obj[1] ;
28751
28752 if (!args) SWIG_fail;
28753 swig_obj[0] = args;
28754 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28755 if (!SWIG_IsOK(res1)) {
28756 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28757 }
28758 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28759 {
28760 PyThreadState* __tstate = wxPyBeginAllowThreads();
28761 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
28762 wxPyEndAllowThreads(__tstate);
28763 if (PyErr_Occurred()) SWIG_fail;
28764 }
28765 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28766 return resultobj;
28767 fail:
28768 return NULL;
28769 }
28770
28771
28772 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28773 PyObject *resultobj = 0;
28774 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28775 void *argp1 = 0 ;
28776 int res1 = 0 ;
28777 PyObject *swig_obj[1] ;
28778
28779 if (!args) SWIG_fail;
28780 swig_obj[0] = args;
28781 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28782 if (!SWIG_IsOK(res1)) {
28783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28784 }
28785 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28786 {
28787 PyThreadState* __tstate = wxPyBeginAllowThreads();
28788 (arg1)->OnNext();
28789 wxPyEndAllowThreads(__tstate);
28790 if (PyErr_Occurred()) SWIG_fail;
28791 }
28792 resultobj = SWIG_Py_Void();
28793 return resultobj;
28794 fail:
28795 return NULL;
28796 }
28797
28798
28799 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28800 PyObject *resultobj = 0;
28801 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28802 void *argp1 = 0 ;
28803 int res1 = 0 ;
28804 PyObject *swig_obj[1] ;
28805
28806 if (!args) SWIG_fail;
28807 swig_obj[0] = args;
28808 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28809 if (!SWIG_IsOK(res1)) {
28810 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28811 }
28812 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28813 {
28814 PyThreadState* __tstate = wxPyBeginAllowThreads();
28815 (arg1)->OnPrevious();
28816 wxPyEndAllowThreads(__tstate);
28817 if (PyErr_Occurred()) SWIG_fail;
28818 }
28819 resultobj = SWIG_Py_Void();
28820 return resultobj;
28821 fail:
28822 return NULL;
28823 }
28824
28825
28826 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28827 PyObject *resultobj = 0;
28828 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28829 void *argp1 = 0 ;
28830 int res1 = 0 ;
28831 PyObject *swig_obj[1] ;
28832
28833 if (!args) SWIG_fail;
28834 swig_obj[0] = args;
28835 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28836 if (!SWIG_IsOK(res1)) {
28837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28838 }
28839 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28840 {
28841 PyThreadState* __tstate = wxPyBeginAllowThreads();
28842 (arg1)->OnFirst();
28843 wxPyEndAllowThreads(__tstate);
28844 if (PyErr_Occurred()) SWIG_fail;
28845 }
28846 resultobj = SWIG_Py_Void();
28847 return resultobj;
28848 fail:
28849 return NULL;
28850 }
28851
28852
28853 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28854 PyObject *resultobj = 0;
28855 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28856 void *argp1 = 0 ;
28857 int res1 = 0 ;
28858 PyObject *swig_obj[1] ;
28859
28860 if (!args) SWIG_fail;
28861 swig_obj[0] = args;
28862 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28863 if (!SWIG_IsOK(res1)) {
28864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28865 }
28866 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28867 {
28868 PyThreadState* __tstate = wxPyBeginAllowThreads();
28869 (arg1)->OnLast();
28870 wxPyEndAllowThreads(__tstate);
28871 if (PyErr_Occurred()) SWIG_fail;
28872 }
28873 resultobj = SWIG_Py_Void();
28874 return resultobj;
28875 fail:
28876 return NULL;
28877 }
28878
28879
28880 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28881 PyObject *resultobj = 0;
28882 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28883 void *argp1 = 0 ;
28884 int res1 = 0 ;
28885 PyObject *swig_obj[1] ;
28886
28887 if (!args) SWIG_fail;
28888 swig_obj[0] = args;
28889 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28890 if (!SWIG_IsOK(res1)) {
28891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28892 }
28893 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28894 {
28895 PyThreadState* __tstate = wxPyBeginAllowThreads();
28896 (arg1)->OnGoto();
28897 wxPyEndAllowThreads(__tstate);
28898 if (PyErr_Occurred()) SWIG_fail;
28899 }
28900 resultobj = SWIG_Py_Void();
28901 return resultobj;
28902 fail:
28903 return NULL;
28904 }
28905
28906
28907 SWIGINTERN PyObject *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28908 PyObject *obj;
28909 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28910 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
28911 return SWIG_Py_Void();
28912 }
28913
28914 SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28915 return SWIG_Python_InitShadowInstance(args);
28916 }
28917
28918 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
28919 PyObject *resultobj = 0;
28920 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28921 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
28922 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
28923 wxPrintPreview *result = 0 ;
28924 int res1 = 0 ;
28925 int res2 = 0 ;
28926 void *argp3 = 0 ;
28927 int res3 = 0 ;
28928
28929 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
28930 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28931 if (!SWIG_IsOK(res1)) {
28932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28933 }
28934 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28935 if (!SWIG_IsOK(res2)) {
28936 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
28937 }
28938 if (swig_obj[2]) {
28939 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28940 if (!SWIG_IsOK(res3)) {
28941 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
28942 }
28943 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
28944 }
28945 {
28946 if (!wxPyCheckForApp()) SWIG_fail;
28947 PyThreadState* __tstate = wxPyBeginAllowThreads();
28948 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
28949 wxPyEndAllowThreads(__tstate);
28950 if (PyErr_Occurred()) SWIG_fail;
28951 }
28952 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
28953 return resultobj;
28954 fail:
28955 return NULL;
28956 }
28957
28958
28959 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
28960 PyObject *resultobj = 0;
28961 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28962 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
28963 wxPrintData *arg3 = (wxPrintData *) 0 ;
28964 wxPrintPreview *result = 0 ;
28965 int res1 = 0 ;
28966 int res2 = 0 ;
28967 void *argp3 = 0 ;
28968 int res3 = 0 ;
28969
28970 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
28971 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28972 if (!SWIG_IsOK(res1)) {
28973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28974 }
28975 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28976 if (!SWIG_IsOK(res2)) {
28977 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
28978 }
28979 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
28980 if (!SWIG_IsOK(res3)) {
28981 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
28982 }
28983 arg3 = reinterpret_cast< wxPrintData * >(argp3);
28984 {
28985 if (!wxPyCheckForApp()) SWIG_fail;
28986 PyThreadState* __tstate = wxPyBeginAllowThreads();
28987 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
28988 wxPyEndAllowThreads(__tstate);
28989 if (PyErr_Occurred()) SWIG_fail;
28990 }
28991 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
28992 return resultobj;
28993 fail:
28994 return NULL;
28995 }
28996
28997
28998 SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
28999 int argc;
29000 PyObject *argv[4];
29001
29002 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
29003 --argc;
29004 if ((argc >= 2) && (argc <= 3)) {
29005 int _v = 0;
29006 if (argc > 2) {
29007 {
29008 void *vptr = 0;
29009 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
29010 _v = SWIG_CheckState(res);
29011 }
29012 if (!_v) goto check_1;
29013 }
29014 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
29015 }
29016 check_1:
29017
29018 if (argc == 3) {
29019 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
29020 }
29021
29022 fail:
29023 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
29024 return NULL;
29025 }
29026
29027
29028 SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29029 PyObject *resultobj = 0;
29030 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29031 void *argp1 = 0 ;
29032 int res1 = 0 ;
29033 PyObject *swig_obj[1] ;
29034
29035 if (!args) SWIG_fail;
29036 swig_obj[0] = args;
29037 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
29038 if (!SWIG_IsOK(res1)) {
29039 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29040 }
29041 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29042 {
29043 PyThreadState* __tstate = wxPyBeginAllowThreads();
29044 delete arg1;
29045
29046 wxPyEndAllowThreads(__tstate);
29047 if (PyErr_Occurred()) SWIG_fail;
29048 }
29049 resultobj = SWIG_Py_Void();
29050 return resultobj;
29051 fail:
29052 return NULL;
29053 }
29054
29055
29056 SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29057 PyObject *resultobj = 0;
29058 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29059 int arg2 ;
29060 bool result;
29061 void *argp1 = 0 ;
29062 int res1 = 0 ;
29063 int val2 ;
29064 int ecode2 = 0 ;
29065 PyObject * obj0 = 0 ;
29066 PyObject * obj1 = 0 ;
29067 char * kwnames[] = {
29068 (char *) "self",(char *) "pageNum", NULL
29069 };
29070
29071 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
29072 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29073 if (!SWIG_IsOK(res1)) {
29074 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29075 }
29076 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29077 ecode2 = SWIG_AsVal_int(obj1, &val2);
29078 if (!SWIG_IsOK(ecode2)) {
29079 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29080 }
29081 arg2 = static_cast< int >(val2);
29082 {
29083 PyThreadState* __tstate = wxPyBeginAllowThreads();
29084 result = (bool)(arg1)->SetCurrentPage(arg2);
29085 wxPyEndAllowThreads(__tstate);
29086 if (PyErr_Occurred()) SWIG_fail;
29087 }
29088 {
29089 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29090 }
29091 return resultobj;
29092 fail:
29093 return NULL;
29094 }
29095
29096
29097 SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29098 PyObject *resultobj = 0;
29099 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29100 int result;
29101 void *argp1 = 0 ;
29102 int res1 = 0 ;
29103 PyObject *swig_obj[1] ;
29104
29105 if (!args) SWIG_fail;
29106 swig_obj[0] = args;
29107 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29108 if (!SWIG_IsOK(res1)) {
29109 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29110 }
29111 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29112 {
29113 PyThreadState* __tstate = wxPyBeginAllowThreads();
29114 result = (int)(arg1)->GetCurrentPage();
29115 wxPyEndAllowThreads(__tstate);
29116 if (PyErr_Occurred()) SWIG_fail;
29117 }
29118 resultobj = SWIG_From_int(static_cast< int >(result));
29119 return resultobj;
29120 fail:
29121 return NULL;
29122 }
29123
29124
29125 SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29126 PyObject *resultobj = 0;
29127 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29128 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29129 void *argp1 = 0 ;
29130 int res1 = 0 ;
29131 int res2 = 0 ;
29132 PyObject * obj0 = 0 ;
29133 PyObject * obj1 = 0 ;
29134 char * kwnames[] = {
29135 (char *) "self",(char *) "printout", NULL
29136 };
29137
29138 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
29139 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29140 if (!SWIG_IsOK(res1)) {
29141 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29142 }
29143 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29144 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29145 if (!SWIG_IsOK(res2)) {
29146 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29147 }
29148 {
29149 PyThreadState* __tstate = wxPyBeginAllowThreads();
29150 (arg1)->SetPrintout(arg2);
29151 wxPyEndAllowThreads(__tstate);
29152 if (PyErr_Occurred()) SWIG_fail;
29153 }
29154 resultobj = SWIG_Py_Void();
29155 return resultobj;
29156 fail:
29157 return NULL;
29158 }
29159
29160
29161 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29162 PyObject *resultobj = 0;
29163 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29164 wxPyPrintout *result = 0 ;
29165 void *argp1 = 0 ;
29166 int res1 = 0 ;
29167 PyObject *swig_obj[1] ;
29168
29169 if (!args) SWIG_fail;
29170 swig_obj[0] = args;
29171 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29172 if (!SWIG_IsOK(res1)) {
29173 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29174 }
29175 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29176 {
29177 PyThreadState* __tstate = wxPyBeginAllowThreads();
29178 result = (wxPyPrintout *)(arg1)->GetPrintout();
29179 wxPyEndAllowThreads(__tstate);
29180 if (PyErr_Occurred()) SWIG_fail;
29181 }
29182 {
29183 resultobj = wxPyMake_wxObject(result, 0);
29184 }
29185 return resultobj;
29186 fail:
29187 return NULL;
29188 }
29189
29190
29191 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29192 PyObject *resultobj = 0;
29193 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29194 wxPyPrintout *result = 0 ;
29195 void *argp1 = 0 ;
29196 int res1 = 0 ;
29197 PyObject *swig_obj[1] ;
29198
29199 if (!args) SWIG_fail;
29200 swig_obj[0] = args;
29201 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29202 if (!SWIG_IsOK(res1)) {
29203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29204 }
29205 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29206 {
29207 PyThreadState* __tstate = wxPyBeginAllowThreads();
29208 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
29209 wxPyEndAllowThreads(__tstate);
29210 if (PyErr_Occurred()) SWIG_fail;
29211 }
29212 {
29213 resultobj = wxPyMake_wxObject(result, 0);
29214 }
29215 return resultobj;
29216 fail:
29217 return NULL;
29218 }
29219
29220
29221 SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29222 PyObject *resultobj = 0;
29223 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29224 wxFrame *arg2 = (wxFrame *) 0 ;
29225 void *argp1 = 0 ;
29226 int res1 = 0 ;
29227 void *argp2 = 0 ;
29228 int res2 = 0 ;
29229 PyObject * obj0 = 0 ;
29230 PyObject * obj1 = 0 ;
29231 char * kwnames[] = {
29232 (char *) "self",(char *) "frame", NULL
29233 };
29234
29235 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
29236 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29237 if (!SWIG_IsOK(res1)) {
29238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29239 }
29240 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29241 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29242 if (!SWIG_IsOK(res2)) {
29243 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29244 }
29245 arg2 = reinterpret_cast< wxFrame * >(argp2);
29246 {
29247 PyThreadState* __tstate = wxPyBeginAllowThreads();
29248 (arg1)->SetFrame(arg2);
29249 wxPyEndAllowThreads(__tstate);
29250 if (PyErr_Occurred()) SWIG_fail;
29251 }
29252 resultobj = SWIG_Py_Void();
29253 return resultobj;
29254 fail:
29255 return NULL;
29256 }
29257
29258
29259 SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29260 PyObject *resultobj = 0;
29261 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29262 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29263 void *argp1 = 0 ;
29264 int res1 = 0 ;
29265 void *argp2 = 0 ;
29266 int res2 = 0 ;
29267 PyObject * obj0 = 0 ;
29268 PyObject * obj1 = 0 ;
29269 char * kwnames[] = {
29270 (char *) "self",(char *) "canvas", NULL
29271 };
29272
29273 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
29274 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29275 if (!SWIG_IsOK(res1)) {
29276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29277 }
29278 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29279 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29280 if (!SWIG_IsOK(res2)) {
29281 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29282 }
29283 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29284 {
29285 PyThreadState* __tstate = wxPyBeginAllowThreads();
29286 (arg1)->SetCanvas(arg2);
29287 wxPyEndAllowThreads(__tstate);
29288 if (PyErr_Occurred()) SWIG_fail;
29289 }
29290 resultobj = SWIG_Py_Void();
29291 return resultobj;
29292 fail:
29293 return NULL;
29294 }
29295
29296
29297 SWIGINTERN PyObject *_wrap_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29298 PyObject *resultobj = 0;
29299 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29300 wxFrame *result = 0 ;
29301 void *argp1 = 0 ;
29302 int res1 = 0 ;
29303 PyObject *swig_obj[1] ;
29304
29305 if (!args) SWIG_fail;
29306 swig_obj[0] = args;
29307 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29308 if (!SWIG_IsOK(res1)) {
29309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29310 }
29311 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29312 {
29313 PyThreadState* __tstate = wxPyBeginAllowThreads();
29314 result = (wxFrame *)(arg1)->GetFrame();
29315 wxPyEndAllowThreads(__tstate);
29316 if (PyErr_Occurred()) SWIG_fail;
29317 }
29318 {
29319 resultobj = wxPyMake_wxObject(result, 0);
29320 }
29321 return resultobj;
29322 fail:
29323 return NULL;
29324 }
29325
29326
29327 SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29328 PyObject *resultobj = 0;
29329 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29330 wxPreviewCanvas *result = 0 ;
29331 void *argp1 = 0 ;
29332 int res1 = 0 ;
29333 PyObject *swig_obj[1] ;
29334
29335 if (!args) SWIG_fail;
29336 swig_obj[0] = args;
29337 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29338 if (!SWIG_IsOK(res1)) {
29339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29340 }
29341 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29342 {
29343 PyThreadState* __tstate = wxPyBeginAllowThreads();
29344 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
29345 wxPyEndAllowThreads(__tstate);
29346 if (PyErr_Occurred()) SWIG_fail;
29347 }
29348 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29349 return resultobj;
29350 fail:
29351 return NULL;
29352 }
29353
29354
29355 SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29356 PyObject *resultobj = 0;
29357 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29358 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29359 wxDC *arg3 = 0 ;
29360 bool result;
29361 void *argp1 = 0 ;
29362 int res1 = 0 ;
29363 void *argp2 = 0 ;
29364 int res2 = 0 ;
29365 void *argp3 = 0 ;
29366 int res3 = 0 ;
29367 PyObject * obj0 = 0 ;
29368 PyObject * obj1 = 0 ;
29369 PyObject * obj2 = 0 ;
29370 char * kwnames[] = {
29371 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29372 };
29373
29374 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29375 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29376 if (!SWIG_IsOK(res1)) {
29377 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29378 }
29379 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29380 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29381 if (!SWIG_IsOK(res2)) {
29382 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29383 }
29384 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29385 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29386 if (!SWIG_IsOK(res3)) {
29387 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29388 }
29389 if (!argp3) {
29390 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29391 }
29392 arg3 = reinterpret_cast< wxDC * >(argp3);
29393 {
29394 PyThreadState* __tstate = wxPyBeginAllowThreads();
29395 result = (bool)(arg1)->PaintPage(arg2,*arg3);
29396 wxPyEndAllowThreads(__tstate);
29397 if (PyErr_Occurred()) SWIG_fail;
29398 }
29399 {
29400 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29401 }
29402 return resultobj;
29403 fail:
29404 return NULL;
29405 }
29406
29407
29408 SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29409 PyObject *resultobj = 0;
29410 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29411 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29412 wxDC *arg3 = 0 ;
29413 bool result;
29414 void *argp1 = 0 ;
29415 int res1 = 0 ;
29416 void *argp2 = 0 ;
29417 int res2 = 0 ;
29418 void *argp3 = 0 ;
29419 int res3 = 0 ;
29420 PyObject * obj0 = 0 ;
29421 PyObject * obj1 = 0 ;
29422 PyObject * obj2 = 0 ;
29423 char * kwnames[] = {
29424 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29425 };
29426
29427 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29428 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29429 if (!SWIG_IsOK(res1)) {
29430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29431 }
29432 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29433 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29434 if (!SWIG_IsOK(res2)) {
29435 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29436 }
29437 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29438 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29439 if (!SWIG_IsOK(res3)) {
29440 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29441 }
29442 if (!argp3) {
29443 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29444 }
29445 arg3 = reinterpret_cast< wxDC * >(argp3);
29446 {
29447 PyThreadState* __tstate = wxPyBeginAllowThreads();
29448 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
29449 wxPyEndAllowThreads(__tstate);
29450 if (PyErr_Occurred()) SWIG_fail;
29451 }
29452 {
29453 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29454 }
29455 return resultobj;
29456 fail:
29457 return NULL;
29458 }
29459
29460
29461 SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29462 PyObject *resultobj = 0;
29463 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29464 int arg2 ;
29465 bool result;
29466 void *argp1 = 0 ;
29467 int res1 = 0 ;
29468 int val2 ;
29469 int ecode2 = 0 ;
29470 PyObject * obj0 = 0 ;
29471 PyObject * obj1 = 0 ;
29472 char * kwnames[] = {
29473 (char *) "self",(char *) "pageNum", NULL
29474 };
29475
29476 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) SWIG_fail;
29477 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29478 if (!SWIG_IsOK(res1)) {
29479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29480 }
29481 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29482 ecode2 = SWIG_AsVal_int(obj1, &val2);
29483 if (!SWIG_IsOK(ecode2)) {
29484 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29485 }
29486 arg2 = static_cast< int >(val2);
29487 {
29488 PyThreadState* __tstate = wxPyBeginAllowThreads();
29489 result = (bool)(arg1)->RenderPage(arg2);
29490 wxPyEndAllowThreads(__tstate);
29491 if (PyErr_Occurred()) SWIG_fail;
29492 }
29493 {
29494 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29495 }
29496 return resultobj;
29497 fail:
29498 return NULL;
29499 }
29500
29501
29502 SWIGINTERN PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29503 PyObject *resultobj = 0;
29504 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29505 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29506 void *argp1 = 0 ;
29507 int res1 = 0 ;
29508 void *argp2 = 0 ;
29509 int res2 = 0 ;
29510 PyObject * obj0 = 0 ;
29511 PyObject * obj1 = 0 ;
29512 char * kwnames[] = {
29513 (char *) "self",(char *) "canvas", NULL
29514 };
29515
29516 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
29517 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29518 if (!SWIG_IsOK(res1)) {
29519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29520 }
29521 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29522 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29523 if (!SWIG_IsOK(res2)) {
29524 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29525 }
29526 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29527 {
29528 PyThreadState* __tstate = wxPyBeginAllowThreads();
29529 (arg1)->AdjustScrollbars(arg2);
29530 wxPyEndAllowThreads(__tstate);
29531 if (PyErr_Occurred()) SWIG_fail;
29532 }
29533 resultobj = SWIG_Py_Void();
29534 return resultobj;
29535 fail:
29536 return NULL;
29537 }
29538
29539
29540 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29541 PyObject *resultobj = 0;
29542 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29543 wxPrintDialogData *result = 0 ;
29544 void *argp1 = 0 ;
29545 int res1 = 0 ;
29546 PyObject *swig_obj[1] ;
29547
29548 if (!args) SWIG_fail;
29549 swig_obj[0] = args;
29550 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29551 if (!SWIG_IsOK(res1)) {
29552 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29553 }
29554 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29555 {
29556 PyThreadState* __tstate = wxPyBeginAllowThreads();
29557 {
29558 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
29559 result = (wxPrintDialogData *) &_result_ref;
29560 }
29561 wxPyEndAllowThreads(__tstate);
29562 if (PyErr_Occurred()) SWIG_fail;
29563 }
29564 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29565 return resultobj;
29566 fail:
29567 return NULL;
29568 }
29569
29570
29571 SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29572 PyObject *resultobj = 0;
29573 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29574 int arg2 ;
29575 void *argp1 = 0 ;
29576 int res1 = 0 ;
29577 int val2 ;
29578 int ecode2 = 0 ;
29579 PyObject * obj0 = 0 ;
29580 PyObject * obj1 = 0 ;
29581 char * kwnames[] = {
29582 (char *) "self",(char *) "percent", NULL
29583 };
29584
29585 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
29586 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29587 if (!SWIG_IsOK(res1)) {
29588 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29589 }
29590 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29591 ecode2 = SWIG_AsVal_int(obj1, &val2);
29592 if (!SWIG_IsOK(ecode2)) {
29593 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
29594 }
29595 arg2 = static_cast< int >(val2);
29596 {
29597 PyThreadState* __tstate = wxPyBeginAllowThreads();
29598 (arg1)->SetZoom(arg2);
29599 wxPyEndAllowThreads(__tstate);
29600 if (PyErr_Occurred()) SWIG_fail;
29601 }
29602 resultobj = SWIG_Py_Void();
29603 return resultobj;
29604 fail:
29605 return NULL;
29606 }
29607
29608
29609 SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29610 PyObject *resultobj = 0;
29611 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29612 int result;
29613 void *argp1 = 0 ;
29614 int res1 = 0 ;
29615 PyObject *swig_obj[1] ;
29616
29617 if (!args) SWIG_fail;
29618 swig_obj[0] = args;
29619 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29620 if (!SWIG_IsOK(res1)) {
29621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29622 }
29623 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29624 {
29625 PyThreadState* __tstate = wxPyBeginAllowThreads();
29626 result = (int)(arg1)->GetZoom();
29627 wxPyEndAllowThreads(__tstate);
29628 if (PyErr_Occurred()) SWIG_fail;
29629 }
29630 resultobj = SWIG_From_int(static_cast< int >(result));
29631 return resultobj;
29632 fail:
29633 return NULL;
29634 }
29635
29636
29637 SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29638 PyObject *resultobj = 0;
29639 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29640 int result;
29641 void *argp1 = 0 ;
29642 int res1 = 0 ;
29643 PyObject *swig_obj[1] ;
29644
29645 if (!args) SWIG_fail;
29646 swig_obj[0] = args;
29647 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29648 if (!SWIG_IsOK(res1)) {
29649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29650 }
29651 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29652 {
29653 PyThreadState* __tstate = wxPyBeginAllowThreads();
29654 result = (int)(arg1)->GetMaxPage();
29655 wxPyEndAllowThreads(__tstate);
29656 if (PyErr_Occurred()) SWIG_fail;
29657 }
29658 resultobj = SWIG_From_int(static_cast< int >(result));
29659 return resultobj;
29660 fail:
29661 return NULL;
29662 }
29663
29664
29665 SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29666 PyObject *resultobj = 0;
29667 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29668 int result;
29669 void *argp1 = 0 ;
29670 int res1 = 0 ;
29671 PyObject *swig_obj[1] ;
29672
29673 if (!args) SWIG_fail;
29674 swig_obj[0] = args;
29675 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29676 if (!SWIG_IsOK(res1)) {
29677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29678 }
29679 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29680 {
29681 PyThreadState* __tstate = wxPyBeginAllowThreads();
29682 result = (int)(arg1)->GetMinPage();
29683 wxPyEndAllowThreads(__tstate);
29684 if (PyErr_Occurred()) SWIG_fail;
29685 }
29686 resultobj = SWIG_From_int(static_cast< int >(result));
29687 return resultobj;
29688 fail:
29689 return NULL;
29690 }
29691
29692
29693 SWIGINTERN PyObject *_wrap_PrintPreview_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29694 PyObject *resultobj = 0;
29695 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29696 bool result;
29697 void *argp1 = 0 ;
29698 int res1 = 0 ;
29699 PyObject *swig_obj[1] ;
29700
29701 if (!args) SWIG_fail;
29702 swig_obj[0] = args;
29703 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29704 if (!SWIG_IsOK(res1)) {
29705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29706 }
29707 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29708 {
29709 PyThreadState* __tstate = wxPyBeginAllowThreads();
29710 result = (bool)(arg1)->Ok();
29711 wxPyEndAllowThreads(__tstate);
29712 if (PyErr_Occurred()) SWIG_fail;
29713 }
29714 {
29715 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29716 }
29717 return resultobj;
29718 fail:
29719 return NULL;
29720 }
29721
29722
29723 SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29724 PyObject *resultobj = 0;
29725 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29726 bool arg2 ;
29727 void *argp1 = 0 ;
29728 int res1 = 0 ;
29729 bool val2 ;
29730 int ecode2 = 0 ;
29731 PyObject * obj0 = 0 ;
29732 PyObject * obj1 = 0 ;
29733 char * kwnames[] = {
29734 (char *) "self",(char *) "ok", NULL
29735 };
29736
29737 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
29738 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29739 if (!SWIG_IsOK(res1)) {
29740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29741 }
29742 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29743 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29744 if (!SWIG_IsOK(ecode2)) {
29745 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
29746 }
29747 arg2 = static_cast< bool >(val2);
29748 {
29749 PyThreadState* __tstate = wxPyBeginAllowThreads();
29750 (arg1)->SetOk(arg2);
29751 wxPyEndAllowThreads(__tstate);
29752 if (PyErr_Occurred()) SWIG_fail;
29753 }
29754 resultobj = SWIG_Py_Void();
29755 return resultobj;
29756 fail:
29757 return NULL;
29758 }
29759
29760
29761 SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29762 PyObject *resultobj = 0;
29763 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29764 bool arg2 ;
29765 bool result;
29766 void *argp1 = 0 ;
29767 int res1 = 0 ;
29768 bool val2 ;
29769 int ecode2 = 0 ;
29770 PyObject * obj0 = 0 ;
29771 PyObject * obj1 = 0 ;
29772 char * kwnames[] = {
29773 (char *) "self",(char *) "interactive", NULL
29774 };
29775
29776 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
29777 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29778 if (!SWIG_IsOK(res1)) {
29779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29780 }
29781 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29782 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29783 if (!SWIG_IsOK(ecode2)) {
29784 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
29785 }
29786 arg2 = static_cast< bool >(val2);
29787 {
29788 PyThreadState* __tstate = wxPyBeginAllowThreads();
29789 result = (bool)(arg1)->Print(arg2);
29790 wxPyEndAllowThreads(__tstate);
29791 if (PyErr_Occurred()) SWIG_fail;
29792 }
29793 {
29794 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29795 }
29796 return resultobj;
29797 fail:
29798 return NULL;
29799 }
29800
29801
29802 SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29803 PyObject *resultobj = 0;
29804 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29805 void *argp1 = 0 ;
29806 int res1 = 0 ;
29807 PyObject *swig_obj[1] ;
29808
29809 if (!args) SWIG_fail;
29810 swig_obj[0] = args;
29811 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29812 if (!SWIG_IsOK(res1)) {
29813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29814 }
29815 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29816 {
29817 PyThreadState* __tstate = wxPyBeginAllowThreads();
29818 (arg1)->DetermineScaling();
29819 wxPyEndAllowThreads(__tstate);
29820 if (PyErr_Occurred()) SWIG_fail;
29821 }
29822 resultobj = SWIG_Py_Void();
29823 return resultobj;
29824 fail:
29825 return NULL;
29826 }
29827
29828
29829 SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29830 PyObject *obj;
29831 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29832 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
29833 return SWIG_Py_Void();
29834 }
29835
29836 SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29837 return SWIG_Python_InitShadowInstance(args);
29838 }
29839
29840 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29841 PyObject *resultobj = 0;
29842 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29843 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29844 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
29845 wxPyPrintPreview *result = 0 ;
29846 int res1 = 0 ;
29847 int res2 = 0 ;
29848 void *argp3 = 0 ;
29849 int res3 = 0 ;
29850
29851 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
29852 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29853 if (!SWIG_IsOK(res1)) {
29854 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29855 }
29856 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29857 if (!SWIG_IsOK(res2)) {
29858 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29859 }
29860 if (swig_obj[2]) {
29861 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29862 if (!SWIG_IsOK(res3)) {
29863 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29864 }
29865 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
29866 }
29867 {
29868 if (!wxPyCheckForApp()) SWIG_fail;
29869 PyThreadState* __tstate = wxPyBeginAllowThreads();
29870 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
29871 wxPyEndAllowThreads(__tstate);
29872 if (PyErr_Occurred()) SWIG_fail;
29873 }
29874 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
29875 return resultobj;
29876 fail:
29877 return NULL;
29878 }
29879
29880
29881 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29882 PyObject *resultobj = 0;
29883 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29884 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29885 wxPrintData *arg3 = (wxPrintData *) 0 ;
29886 wxPyPrintPreview *result = 0 ;
29887 int res1 = 0 ;
29888 int res2 = 0 ;
29889 void *argp3 = 0 ;
29890 int res3 = 0 ;
29891
29892 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
29893 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29894 if (!SWIG_IsOK(res1)) {
29895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29896 }
29897 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29898 if (!SWIG_IsOK(res2)) {
29899 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29900 }
29901 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
29902 if (!SWIG_IsOK(res3)) {
29903 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29904 }
29905 arg3 = reinterpret_cast< wxPrintData * >(argp3);
29906 {
29907 if (!wxPyCheckForApp()) SWIG_fail;
29908 PyThreadState* __tstate = wxPyBeginAllowThreads();
29909 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
29910 wxPyEndAllowThreads(__tstate);
29911 if (PyErr_Occurred()) SWIG_fail;
29912 }
29913 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
29914 return resultobj;
29915 fail:
29916 return NULL;
29917 }
29918
29919
29920 SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
29921 int argc;
29922 PyObject *argv[4];
29923
29924 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
29925 --argc;
29926 if ((argc >= 2) && (argc <= 3)) {
29927 int _v = 0;
29928 if (argc > 2) {
29929 {
29930 void *vptr = 0;
29931 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
29932 _v = SWIG_CheckState(res);
29933 }
29934 if (!_v) goto check_1;
29935 }
29936 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
29937 }
29938 check_1:
29939
29940 if (argc == 3) {
29941 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
29942 }
29943
29944 fail:
29945 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
29946 return NULL;
29947 }
29948
29949
29950 SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29951 PyObject *resultobj = 0;
29952 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
29953 PyObject *arg2 = (PyObject *) 0 ;
29954 PyObject *arg3 = (PyObject *) 0 ;
29955 void *argp1 = 0 ;
29956 int res1 = 0 ;
29957 PyObject * obj0 = 0 ;
29958 PyObject * obj1 = 0 ;
29959 PyObject * obj2 = 0 ;
29960 char * kwnames[] = {
29961 (char *) "self",(char *) "self",(char *) "_class", NULL
29962 };
29963
29964 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29965 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
29966 if (!SWIG_IsOK(res1)) {
29967 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
29968 }
29969 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
29970 arg2 = obj1;
29971 arg3 = obj2;
29972 {
29973 PyThreadState* __tstate = wxPyBeginAllowThreads();
29974 (arg1)->_setCallbackInfo(arg2,arg3);
29975 wxPyEndAllowThreads(__tstate);
29976 if (PyErr_Occurred()) SWIG_fail;
29977 }
29978 resultobj = SWIG_Py_Void();
29979 return resultobj;
29980 fail:
29981 return NULL;
29982 }
29983
29984
29985 SWIGINTERN PyObject *PyPrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29986 PyObject *obj;
29987 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29988 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview, SWIG_NewClientData(obj));
29989 return SWIG_Py_Void();
29990 }
29991
29992 SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29993 return SWIG_Python_InitShadowInstance(args);
29994 }
29995
29996 SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29997 PyObject *resultobj = 0;
29998 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29999 wxFrame *arg2 = (wxFrame *) 0 ;
30000 wxString *arg3 = 0 ;
30001 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30002 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30003 wxSize const &arg5_defvalue = wxDefaultSize ;
30004 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30005 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
30006 wxString const &arg7_defvalue = wxPyFrameNameStr ;
30007 wxString *arg7 = (wxString *) &arg7_defvalue ;
30008 wxPyPreviewFrame *result = 0 ;
30009 void *argp1 = 0 ;
30010 int res1 = 0 ;
30011 void *argp2 = 0 ;
30012 int res2 = 0 ;
30013 bool temp3 = false ;
30014 wxPoint temp4 ;
30015 wxSize temp5 ;
30016 long val6 ;
30017 int ecode6 = 0 ;
30018 bool temp7 = false ;
30019 PyObject * obj0 = 0 ;
30020 PyObject * obj1 = 0 ;
30021 PyObject * obj2 = 0 ;
30022 PyObject * obj3 = 0 ;
30023 PyObject * obj4 = 0 ;
30024 PyObject * obj5 = 0 ;
30025 PyObject * obj6 = 0 ;
30026 char * kwnames[] = {
30027 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30028 };
30029
30030 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30031 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30032 if (!SWIG_IsOK(res1)) {
30033 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30034 }
30035 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30036 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
30037 if (!SWIG_IsOK(res2)) {
30038 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30039 }
30040 arg2 = reinterpret_cast< wxFrame * >(argp2);
30041 {
30042 arg3 = wxString_in_helper(obj2);
30043 if (arg3 == NULL) SWIG_fail;
30044 temp3 = true;
30045 }
30046 if (obj3) {
30047 {
30048 arg4 = &temp4;
30049 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30050 }
30051 }
30052 if (obj4) {
30053 {
30054 arg5 = &temp5;
30055 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
30056 }
30057 }
30058 if (obj5) {
30059 ecode6 = SWIG_AsVal_long(obj5, &val6);
30060 if (!SWIG_IsOK(ecode6)) {
30061 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30062 }
30063 arg6 = static_cast< long >(val6);
30064 }
30065 if (obj6) {
30066 {
30067 arg7 = wxString_in_helper(obj6);
30068 if (arg7 == NULL) SWIG_fail;
30069 temp7 = true;
30070 }
30071 }
30072 {
30073 if (!wxPyCheckForApp()) SWIG_fail;
30074 PyThreadState* __tstate = wxPyBeginAllowThreads();
30075 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30076 wxPyEndAllowThreads(__tstate);
30077 if (PyErr_Occurred()) SWIG_fail;
30078 }
30079 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
30080 {
30081 if (temp3)
30082 delete arg3;
30083 }
30084 {
30085 if (temp7)
30086 delete arg7;
30087 }
30088 return resultobj;
30089 fail:
30090 {
30091 if (temp3)
30092 delete arg3;
30093 }
30094 {
30095 if (temp7)
30096 delete arg7;
30097 }
30098 return NULL;
30099 }
30100
30101
30102 SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30103 PyObject *resultobj = 0;
30104 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30105 PyObject *arg2 = (PyObject *) 0 ;
30106 PyObject *arg3 = (PyObject *) 0 ;
30107 void *argp1 = 0 ;
30108 int res1 = 0 ;
30109 PyObject * obj0 = 0 ;
30110 PyObject * obj1 = 0 ;
30111 PyObject * obj2 = 0 ;
30112 char * kwnames[] = {
30113 (char *) "self",(char *) "self",(char *) "_class", NULL
30114 };
30115
30116 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30117 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30118 if (!SWIG_IsOK(res1)) {
30119 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30120 }
30121 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30122 arg2 = obj1;
30123 arg3 = obj2;
30124 {
30125 PyThreadState* __tstate = wxPyBeginAllowThreads();
30126 (arg1)->_setCallbackInfo(arg2,arg3);
30127 wxPyEndAllowThreads(__tstate);
30128 if (PyErr_Occurred()) SWIG_fail;
30129 }
30130 resultobj = SWIG_Py_Void();
30131 return resultobj;
30132 fail:
30133 return NULL;
30134 }
30135
30136
30137 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30138 PyObject *resultobj = 0;
30139 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30140 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30141 void *argp1 = 0 ;
30142 int res1 = 0 ;
30143 void *argp2 = 0 ;
30144 int res2 = 0 ;
30145 PyObject * obj0 = 0 ;
30146 PyObject * obj1 = 0 ;
30147 char * kwnames[] = {
30148 (char *) "self",(char *) "canvas", NULL
30149 };
30150
30151 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
30152 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30153 if (!SWIG_IsOK(res1)) {
30154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30155 }
30156 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30157 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30158 if (!SWIG_IsOK(res2)) {
30159 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30160 }
30161 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30162 {
30163 PyThreadState* __tstate = wxPyBeginAllowThreads();
30164 (arg1)->SetPreviewCanvas(arg2);
30165 wxPyEndAllowThreads(__tstate);
30166 if (PyErr_Occurred()) SWIG_fail;
30167 }
30168 resultobj = SWIG_Py_Void();
30169 return resultobj;
30170 fail:
30171 return NULL;
30172 }
30173
30174
30175 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30176 PyObject *resultobj = 0;
30177 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30178 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
30179 void *argp1 = 0 ;
30180 int res1 = 0 ;
30181 void *argp2 = 0 ;
30182 int res2 = 0 ;
30183 PyObject * obj0 = 0 ;
30184 PyObject * obj1 = 0 ;
30185 char * kwnames[] = {
30186 (char *) "self",(char *) "bar", NULL
30187 };
30188
30189 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
30190 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30191 if (!SWIG_IsOK(res1)) {
30192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30193 }
30194 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30195 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30196 if (!SWIG_IsOK(res2)) {
30197 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30198 }
30199 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
30200 {
30201 PyThreadState* __tstate = wxPyBeginAllowThreads();
30202 (arg1)->SetControlBar(arg2);
30203 wxPyEndAllowThreads(__tstate);
30204 if (PyErr_Occurred()) SWIG_fail;
30205 }
30206 resultobj = SWIG_Py_Void();
30207 return resultobj;
30208 fail:
30209 return NULL;
30210 }
30211
30212
30213 SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30214 PyObject *resultobj = 0;
30215 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30216 void *argp1 = 0 ;
30217 int res1 = 0 ;
30218 PyObject *swig_obj[1] ;
30219
30220 if (!args) SWIG_fail;
30221 swig_obj[0] = args;
30222 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30223 if (!SWIG_IsOK(res1)) {
30224 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30225 }
30226 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30227 {
30228 PyThreadState* __tstate = wxPyBeginAllowThreads();
30229 (arg1)->Initialize();
30230 wxPyEndAllowThreads(__tstate);
30231 if (PyErr_Occurred()) SWIG_fail;
30232 }
30233 resultobj = SWIG_Py_Void();
30234 return resultobj;
30235 fail:
30236 return NULL;
30237 }
30238
30239
30240 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30241 PyObject *resultobj = 0;
30242 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30243 void *argp1 = 0 ;
30244 int res1 = 0 ;
30245 PyObject *swig_obj[1] ;
30246
30247 if (!args) SWIG_fail;
30248 swig_obj[0] = args;
30249 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30250 if (!SWIG_IsOK(res1)) {
30251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30252 }
30253 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30254 {
30255 PyThreadState* __tstate = wxPyBeginAllowThreads();
30256 (arg1)->CreateCanvas();
30257 wxPyEndAllowThreads(__tstate);
30258 if (PyErr_Occurred()) SWIG_fail;
30259 }
30260 resultobj = SWIG_Py_Void();
30261 return resultobj;
30262 fail:
30263 return NULL;
30264 }
30265
30266
30267 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30268 PyObject *resultobj = 0;
30269 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30270 void *argp1 = 0 ;
30271 int res1 = 0 ;
30272 PyObject *swig_obj[1] ;
30273
30274 if (!args) SWIG_fail;
30275 swig_obj[0] = args;
30276 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30277 if (!SWIG_IsOK(res1)) {
30278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30279 }
30280 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30281 {
30282 PyThreadState* __tstate = wxPyBeginAllowThreads();
30283 (arg1)->CreateControlBar();
30284 wxPyEndAllowThreads(__tstate);
30285 if (PyErr_Occurred()) SWIG_fail;
30286 }
30287 resultobj = SWIG_Py_Void();
30288 return resultobj;
30289 fail:
30290 return NULL;
30291 }
30292
30293
30294 SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30295 PyObject *obj;
30296 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30297 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
30298 return SWIG_Py_Void();
30299 }
30300
30301 SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30302 return SWIG_Python_InitShadowInstance(args);
30303 }
30304
30305 SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30306 PyObject *resultobj = 0;
30307 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30308 long arg2 ;
30309 wxWindow *arg3 = (wxWindow *) 0 ;
30310 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30311 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30312 wxSize const &arg5_defvalue = wxDefaultSize ;
30313 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30314 long arg6 = (long) 0 ;
30315 wxString const &arg7_defvalue = wxPyPanelNameStr ;
30316 wxString *arg7 = (wxString *) &arg7_defvalue ;
30317 wxPyPreviewControlBar *result = 0 ;
30318 void *argp1 = 0 ;
30319 int res1 = 0 ;
30320 long val2 ;
30321 int ecode2 = 0 ;
30322 void *argp3 = 0 ;
30323 int res3 = 0 ;
30324 wxPoint temp4 ;
30325 wxSize temp5 ;
30326 long val6 ;
30327 int ecode6 = 0 ;
30328 bool temp7 = false ;
30329 PyObject * obj0 = 0 ;
30330 PyObject * obj1 = 0 ;
30331 PyObject * obj2 = 0 ;
30332 PyObject * obj3 = 0 ;
30333 PyObject * obj4 = 0 ;
30334 PyObject * obj5 = 0 ;
30335 PyObject * obj6 = 0 ;
30336 char * kwnames[] = {
30337 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30338 };
30339
30340 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30341 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30342 if (!SWIG_IsOK(res1)) {
30343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30344 }
30345 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30346 ecode2 = SWIG_AsVal_long(obj1, &val2);
30347 if (!SWIG_IsOK(ecode2)) {
30348 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30349 }
30350 arg2 = static_cast< long >(val2);
30351 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
30352 if (!SWIG_IsOK(res3)) {
30353 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30354 }
30355 arg3 = reinterpret_cast< wxWindow * >(argp3);
30356 if (obj3) {
30357 {
30358 arg4 = &temp4;
30359 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30360 }
30361 }
30362 if (obj4) {
30363 {
30364 arg5 = &temp5;
30365 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
30366 }
30367 }
30368 if (obj5) {
30369 ecode6 = SWIG_AsVal_long(obj5, &val6);
30370 if (!SWIG_IsOK(ecode6)) {
30371 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30372 }
30373 arg6 = static_cast< long >(val6);
30374 }
30375 if (obj6) {
30376 {
30377 arg7 = wxString_in_helper(obj6);
30378 if (arg7 == NULL) SWIG_fail;
30379 temp7 = true;
30380 }
30381 }
30382 {
30383 if (!wxPyCheckForApp()) SWIG_fail;
30384 PyThreadState* __tstate = wxPyBeginAllowThreads();
30385 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30386 wxPyEndAllowThreads(__tstate);
30387 if (PyErr_Occurred()) SWIG_fail;
30388 }
30389 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
30390 {
30391 if (temp7)
30392 delete arg7;
30393 }
30394 return resultobj;
30395 fail:
30396 {
30397 if (temp7)
30398 delete arg7;
30399 }
30400 return NULL;
30401 }
30402
30403
30404 SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30405 PyObject *resultobj = 0;
30406 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30407 PyObject *arg2 = (PyObject *) 0 ;
30408 PyObject *arg3 = (PyObject *) 0 ;
30409 void *argp1 = 0 ;
30410 int res1 = 0 ;
30411 PyObject * obj0 = 0 ;
30412 PyObject * obj1 = 0 ;
30413 PyObject * obj2 = 0 ;
30414 char * kwnames[] = {
30415 (char *) "self",(char *) "self",(char *) "_class", NULL
30416 };
30417
30418 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30419 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30420 if (!SWIG_IsOK(res1)) {
30421 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30422 }
30423 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30424 arg2 = obj1;
30425 arg3 = obj2;
30426 {
30427 PyThreadState* __tstate = wxPyBeginAllowThreads();
30428 (arg1)->_setCallbackInfo(arg2,arg3);
30429 wxPyEndAllowThreads(__tstate);
30430 if (PyErr_Occurred()) SWIG_fail;
30431 }
30432 resultobj = SWIG_Py_Void();
30433 return resultobj;
30434 fail:
30435 return NULL;
30436 }
30437
30438
30439 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30440 PyObject *resultobj = 0;
30441 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30442 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
30443 void *argp1 = 0 ;
30444 int res1 = 0 ;
30445 void *argp2 = 0 ;
30446 int res2 = 0 ;
30447 PyObject * obj0 = 0 ;
30448 PyObject * obj1 = 0 ;
30449 char * kwnames[] = {
30450 (char *) "self",(char *) "preview", NULL
30451 };
30452
30453 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
30454 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30455 if (!SWIG_IsOK(res1)) {
30456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30457 }
30458 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30459 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30460 if (!SWIG_IsOK(res2)) {
30461 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30462 }
30463 arg2 = reinterpret_cast< wxPrintPreview * >(argp2);
30464 {
30465 PyThreadState* __tstate = wxPyBeginAllowThreads();
30466 (arg1)->SetPrintPreview(arg2);
30467 wxPyEndAllowThreads(__tstate);
30468 if (PyErr_Occurred()) SWIG_fail;
30469 }
30470 resultobj = SWIG_Py_Void();
30471 return resultobj;
30472 fail:
30473 return NULL;
30474 }
30475
30476
30477 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30478 PyObject *resultobj = 0;
30479 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30480 void *argp1 = 0 ;
30481 int res1 = 0 ;
30482 PyObject *swig_obj[1] ;
30483
30484 if (!args) SWIG_fail;
30485 swig_obj[0] = args;
30486 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30487 if (!SWIG_IsOK(res1)) {
30488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30489 }
30490 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30491 {
30492 PyThreadState* __tstate = wxPyBeginAllowThreads();
30493 (arg1)->CreateButtons();
30494 wxPyEndAllowThreads(__tstate);
30495 if (PyErr_Occurred()) SWIG_fail;
30496 }
30497 resultobj = SWIG_Py_Void();
30498 return resultobj;
30499 fail:
30500 return NULL;
30501 }
30502
30503
30504 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30505 PyObject *resultobj = 0;
30506 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30507 int arg2 ;
30508 void *argp1 = 0 ;
30509 int res1 = 0 ;
30510 int val2 ;
30511 int ecode2 = 0 ;
30512 PyObject * obj0 = 0 ;
30513 PyObject * obj1 = 0 ;
30514 char * kwnames[] = {
30515 (char *) "self",(char *) "zoom", NULL
30516 };
30517
30518 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
30519 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30520 if (!SWIG_IsOK(res1)) {
30521 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30522 }
30523 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30524 ecode2 = SWIG_AsVal_int(obj1, &val2);
30525 if (!SWIG_IsOK(ecode2)) {
30526 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30527 }
30528 arg2 = static_cast< int >(val2);
30529 {
30530 PyThreadState* __tstate = wxPyBeginAllowThreads();
30531 (arg1)->SetZoomControl(arg2);
30532 wxPyEndAllowThreads(__tstate);
30533 if (PyErr_Occurred()) SWIG_fail;
30534 }
30535 resultobj = SWIG_Py_Void();
30536 return resultobj;
30537 fail:
30538 return NULL;
30539 }
30540
30541
30542 SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30543 PyObject *obj;
30544 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30545 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
30546 return SWIG_Py_Void();
30547 }
30548
30549 SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30550 return SWIG_Python_InitShadowInstance(args);
30551 }
30552
30553 static PyMethodDef SwigMethods[] = {
30554 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
30555 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
30556 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30557 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
30558 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30559 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
30560 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
30561 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30562 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
30563 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30564 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
30565 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
30566 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30567 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30568 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
30569 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
30570 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
30571 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
30572 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
30573 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
30574 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
30575 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
30576 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
30577 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
30578 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
30579 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30580 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
30581 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
30582 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30583 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
30584 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
30585 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
30586 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
30587 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
30588 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
30589 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction)_wrap_TopLevelWindow_IsAlwaysMaximized, METH_O, NULL},
30590 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
30591 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
30592 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
30593 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
30594 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30595 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
30596 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
30597 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
30598 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
30599 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
30600 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
30601 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
30602 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
30603 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30604 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
30605 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
30606 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
30607 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30608 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
30609 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
30610 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
30611 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
30612 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30613 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
30614 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30615 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30616 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
30617 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30618 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30619 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
30620 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
30621 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
30622 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
30623 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
30624 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
30625 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
30626 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30627 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
30628 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
30629 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
30630 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
30631 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30632 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
30633 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
30634 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
30635 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
30636 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
30637 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
30638 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30639 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30640 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30641 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
30642 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
30643 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
30644 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30645 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
30646 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
30647 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30648 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
30649 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30650 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
30651 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
30652 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30653 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
30654 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
30655 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
30656 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
30657 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30658 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
30659 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
30660 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
30661 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
30662 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
30663 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30664 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
30665 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30666 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
30667 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
30668 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30669 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30670 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30671 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30672 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
30673 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
30674 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
30675 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
30676 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
30677 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
30678 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30679 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
30680 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
30681 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30682 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
30683 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30684 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
30685 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
30686 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
30687 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
30688 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
30689 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
30690 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
30691 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
30692 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30693 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
30694 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
30695 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
30696 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
30697 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
30698 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
30699 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
30700 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
30701 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
30702 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
30703 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
30704 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
30705 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
30706 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
30707 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
30708 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
30709 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30710 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
30711 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
30712 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30713 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
30714 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
30715 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
30716 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
30717 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
30718 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
30719 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
30720 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30721 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
30722 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30723 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30724 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30725 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
30726 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
30727 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
30728 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
30729 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
30730 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
30731 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
30732 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
30733 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
30734 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
30735 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
30736 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
30737 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
30738 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
30739 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
30740 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
30741 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
30742 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
30743 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
30744 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30745 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
30746 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
30747 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
30748 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
30749 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
30750 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
30751 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
30752 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
30753 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30754 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
30755 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
30756 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
30757 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
30758 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
30759 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
30760 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
30761 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
30762 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
30763 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
30764 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
30765 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
30766 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30767 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
30768 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
30769 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
30770 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
30771 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
30772 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
30773 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30774 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
30775 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30776 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
30777 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
30778 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
30779 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
30780 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
30781 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
30782 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
30783 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
30784 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
30785 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30786 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30787 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30788 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
30789 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
30790 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30791 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
30792 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30793 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL},
30794 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
30795 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
30796 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30797 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
30798 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30799 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL},
30800 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction)_wrap_PopupTransientWindow_Dismiss, METH_O, NULL},
30801 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
30802 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
30803 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30804 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
30805 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
30806 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
30807 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
30808 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30809 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
30810 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30811 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30812 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
30813 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
30814 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
30815 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
30816 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
30817 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
30818 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction)_wrap_VScrolledWindow_RefreshAll, METH_O, NULL},
30819 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction)_wrap_VScrolledWindow_GetLineCount, METH_O, NULL},
30820 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction)_wrap_VScrolledWindow_GetVisibleBegin, METH_O, NULL},
30821 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction)_wrap_VScrolledWindow_GetVisibleEnd, METH_O, NULL},
30822 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30823 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetFirstVisibleLine, METH_O, NULL},
30824 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetLastVisibleLine, METH_O, NULL},
30825 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction) _wrap_VScrolledWindow_FindFirstFromBottom, METH_VARARGS | METH_KEYWORDS, NULL},
30826 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction) _wrap_VScrolledWindow_GetLinesHeight, METH_VARARGS | METH_KEYWORDS, NULL},
30827 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
30828 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
30829 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
30830 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
30831 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30832 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30833 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
30834 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
30835 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
30836 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
30837 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
30838 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
30839 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
30840 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
30841 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
30842 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
30843 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
30844 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
30845 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
30846 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
30847 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
30848 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
30849 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
30850 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
30851 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
30852 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
30853 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
30854 { (char *)"VListBox_OnDrawSeparator", (PyCFunction) _wrap_VListBox_OnDrawSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
30855 { (char *)"VListBox_OnDrawBackground", (PyCFunction) _wrap_VListBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
30856 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
30857 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
30858 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
30859 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
30860 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30861 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30862 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
30863 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
30864 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction) _wrap_HtmlListBox_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
30865 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
30866 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
30867 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
30868 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
30869 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30870 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
30871 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
30872 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
30873 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
30874 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
30875 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
30876 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
30877 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
30878 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30879 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
30880 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
30881 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
30882 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
30883 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
30884 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
30885 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
30886 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
30887 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
30888 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
30889 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
30890 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
30891 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30892 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
30893 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
30894 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
30895 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
30896 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30897 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
30898 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
30899 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
30900 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
30901 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
30902 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
30903 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30904 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
30905 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
30906 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
30907 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
30908 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
30909 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
30910 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
30911 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
30912 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
30913 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
30914 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
30915 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
30916 { (char *)"FileDialog_GetStyle", (PyCFunction)_wrap_FileDialog_GetStyle, METH_O, NULL},
30917 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
30918 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
30919 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
30920 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
30921 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
30922 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30923 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
30924 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
30925 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
30926 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
30927 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30928 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
30929 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
30930 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
30931 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
30932 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
30933 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30934 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
30935 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
30936 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
30937 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
30938 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30939 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
30940 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
30941 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
30942 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
30943 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
30944 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
30945 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
30946 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
30947 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
30948 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
30949 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
30950 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
30951 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
30952 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
30953 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
30954 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
30955 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
30956 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
30957 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
30958 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30959 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
30960 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
30961 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
30962 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
30963 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30964 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
30965 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
30966 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30967 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
30968 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
30969 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
30970 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
30971 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30972 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
30973 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
30974 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
30975 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
30976 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
30977 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
30978 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
30979 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
30980 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
30981 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
30982 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
30983 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
30984 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
30985 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
30986 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
30987 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
30988 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
30989 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
30990 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
30991 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30992 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
30993 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30994 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
30995 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
30996 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
30997 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
30998 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30999 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
31000 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31001 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
31002 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
31003 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
31004 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
31005 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
31006 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
31007 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction)_wrap_MDIParentFrame_GetToolBar, METH_O, NULL},
31008 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
31009 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
31010 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
31011 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31012 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
31013 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31014 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
31015 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
31016 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
31017 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31018 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
31019 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31020 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
31021 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
31022 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31023 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
31024 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31025 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31026 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31027 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31028 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31029 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31030 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31031 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
31032 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
31033 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
31034 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
31035 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
31036 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
31037 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
31038 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
31039 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
31040 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
31041 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
31042 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31043 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31044 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31045 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31046 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31047 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31048 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31049 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
31050 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
31051 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
31052 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
31053 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
31054 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
31055 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
31056 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
31057 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
31058 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31059 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
31060 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31061 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31062 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31063 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31064 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31065 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31066 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31067 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
31068 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
31069 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
31070 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
31071 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
31072 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
31073 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
31074 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
31075 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
31076 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
31077 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
31078 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
31079 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
31080 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
31081 { (char *)"PrintData_Ok", (PyCFunction)_wrap_PrintData_Ok, METH_O, NULL},
31082 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
31083 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
31084 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
31085 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
31086 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
31087 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
31088 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
31089 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
31090 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31091 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31092 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31093 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
31094 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31095 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
31096 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31097 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31098 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
31099 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
31100 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
31101 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
31102 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31103 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
31104 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
31105 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
31106 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
31107 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
31108 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
31109 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31110 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31111 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31112 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
31113 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
31114 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
31115 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
31116 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
31117 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
31118 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
31119 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
31120 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
31121 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
31122 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
31123 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
31124 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
31125 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
31126 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
31127 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
31128 { (char *)"PageSetupDialogData_Ok", (PyCFunction)_wrap_PageSetupDialogData_Ok, METH_O, NULL},
31129 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31130 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31131 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31132 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31133 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31134 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31135 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31136 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31137 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31138 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
31139 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
31140 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
31141 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
31142 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31143 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
31144 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
31145 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
31146 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
31147 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
31148 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
31149 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
31150 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
31151 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
31152 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
31153 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
31154 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
31155 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
31156 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
31157 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
31158 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
31159 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
31160 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
31161 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
31162 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
31163 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31164 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
31165 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31166 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31167 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31168 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31169 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31170 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
31171 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31172 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
31173 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
31174 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
31175 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
31176 { (char *)"PrintDialogData_Ok", (PyCFunction)_wrap_PrintDialogData_Ok, METH_O, NULL},
31177 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
31178 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31179 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
31180 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
31181 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31182 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
31183 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
31184 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
31185 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
31186 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
31187 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
31188 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
31189 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
31190 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31191 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
31192 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
31193 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31194 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31195 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
31196 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
31197 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
31198 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
31199 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
31200 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
31201 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
31202 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31203 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
31204 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
31205 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
31206 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
31207 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
31208 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
31209 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
31210 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31211 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
31212 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
31213 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
31214 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
31215 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
31216 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
31217 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
31218 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
31219 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
31220 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
31221 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
31222 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
31223 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
31224 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
31225 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31226 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
31227 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
31228 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31229 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
31230 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
31231 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
31232 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
31233 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
31234 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
31235 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31236 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
31237 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
31238 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
31239 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
31240 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
31241 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
31242 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
31243 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
31244 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
31245 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
31246 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
31247 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
31248 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
31249 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
31250 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
31251 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
31252 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
31253 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31254 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31255 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
31256 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
31257 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
31258 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
31259 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
31260 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
31261 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
31262 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
31263 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
31264 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
31265 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
31266 { (char *)"PrintPreview_Ok", (PyCFunction)_wrap_PrintPreview_Ok, METH_O, NULL},
31267 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
31268 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31269 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
31270 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
31271 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
31272 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
31273 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31274 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
31275 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
31276 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31277 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31278 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31279 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31280 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
31281 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
31282 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
31283 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
31284 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
31285 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31286 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31287 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
31288 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
31289 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
31290 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
31291 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
31292 { NULL, NULL, 0, NULL }
31293 };
31294
31295
31296 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31297
31298 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
31299 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31300 }
31301 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
31302 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
31303 }
31304 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
31305 return (void *)((wxEvent *) ((wxMenuEvent *) x));
31306 }
31307 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
31308 return (void *)((wxEvent *) ((wxCloseEvent *) x));
31309 }
31310 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
31311 return (void *)((wxEvent *) ((wxMouseEvent *) x));
31312 }
31313 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
31314 return (void *)((wxEvent *) ((wxEraseEvent *) x));
31315 }
31316 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
31317 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
31318 }
31319 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
31320 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
31321 }
31322 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
31323 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
31324 }
31325 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
31326 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
31327 }
31328 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
31329 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
31330 }
31331 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
31332 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
31333 }
31334 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
31335 return (void *)((wxEvent *) ((wxPyEvent *) x));
31336 }
31337 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
31338 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
31339 }
31340 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
31341 return (void *)((wxEvent *) ((wxIdleEvent *) x));
31342 }
31343 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
31344 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
31345 }
31346 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
31347 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
31348 }
31349 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
31350 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
31351 }
31352 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
31353 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
31354 }
31355 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
31356 return (void *)((wxEvent *) ((wxActivateEvent *) x));
31357 }
31358 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
31359 return (void *)((wxEvent *) ((wxSizeEvent *) x));
31360 }
31361 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
31362 return (void *)((wxEvent *) ((wxMoveEvent *) x));
31363 }
31364 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
31365 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
31366 }
31367 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
31368 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
31369 }
31370 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
31371 return (void *)((wxEvent *) ((wxPaintEvent *) x));
31372 }
31373 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
31374 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
31375 }
31376 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
31377 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
31378 }
31379 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
31380 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
31381 }
31382 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
31383 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
31384 }
31385 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
31386 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31387 }
31388 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
31389 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
31390 }
31391 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
31392 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
31393 }
31394 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
31395 return (void *)((wxEvent *) ((wxFocusEvent *) x));
31396 }
31397 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
31398 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
31399 }
31400 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
31401 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
31402 }
31403 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
31404 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31405 }
31406 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
31407 return (void *)((wxEvent *) ((wxShowEvent *) x));
31408 }
31409 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
31410 return (void *)((wxEvent *) ((wxCommandEvent *) x));
31411 }
31412 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
31413 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
31414 }
31415 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
31416 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31417 }
31418 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
31419 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
31420 }
31421 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
31422 return (void *)((wxEvent *) ((wxKeyEvent *) x));
31423 }
31424 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
31425 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
31426 }
31427 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
31428 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
31429 }
31430 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
31431 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
31432 }
31433 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
31434 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31435 }
31436 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
31437 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31438 }
31439 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
31440 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
31441 }
31442 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
31443 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
31444 }
31445 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
31446 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
31447 }
31448 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
31449 return (void *)((wxEvtHandler *) ((wxValidator *) x));
31450 }
31451 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
31452 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
31453 }
31454 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
31455 return (void *)((wxEvtHandler *) ((wxMenu *) x));
31456 }
31457 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
31458 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31459 }
31460 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
31461 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
31462 }
31463 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
31464 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
31465 }
31466 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
31467 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
31468 }
31469 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
31470 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
31471 }
31472 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
31473 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
31474 }
31475 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
31476 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
31477 }
31478 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
31479 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
31480 }
31481 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
31482 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
31483 }
31484 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
31485 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
31486 }
31487 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
31488 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
31489 }
31490 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
31491 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
31492 }
31493 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
31494 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
31495 }
31496 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
31497 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
31498 }
31499 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
31500 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
31501 }
31502 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
31503 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
31504 }
31505 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
31506 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
31507 }
31508 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
31509 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
31510 }
31511 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
31512 return (void *)((wxEvtHandler *) ((wxWindow *) x));
31513 }
31514 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
31515 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
31516 }
31517 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
31518 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
31519 }
31520 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
31521 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
31522 }
31523 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
31524 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
31525 }
31526 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
31527 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
31528 }
31529 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
31530 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31531 }
31532 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
31533 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31534 }
31535 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
31536 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
31537 }
31538 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
31539 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
31540 }
31541 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
31542 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31543 }
31544 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
31545 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
31546 }
31547 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
31548 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
31549 }
31550 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
31551 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
31552 }
31553 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
31554 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
31555 }
31556 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
31557 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
31558 }
31559 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
31560 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
31561 }
31562 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
31563 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
31564 }
31565 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
31566 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
31567 }
31568 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
31569 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
31570 }
31571 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
31572 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
31573 }
31574 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
31575 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
31576 }
31577 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
31578 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
31579 }
31580 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
31581 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
31582 }
31583 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
31584 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
31585 }
31586 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
31587 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
31588 }
31589 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
31590 return (void *)((wxFrame *) ((wxProgressDialog *) x));
31591 }
31592 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
31593 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
31594 }
31595 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
31596 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31597 }
31598 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
31599 return (void *)((wxFrame *) ((wxMiniFrame *) x));
31600 }
31601 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
31602 return (void *)((wxFrame *) ((wxSplashScreen *) x));
31603 }
31604 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
31605 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
31606 }
31607 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
31608 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
31609 }
31610 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
31611 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31612 }
31613 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
31614 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31615 }
31616 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
31617 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31618 }
31619 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
31620 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
31621 }
31622 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
31623 return (void *)((wxObject *) ((wxSizerItem *) x));
31624 }
31625 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
31626 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
31627 }
31628 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
31629 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
31630 }
31631 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
31632 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
31633 }
31634 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
31635 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
31636 }
31637 static void *_p_wxSizerTo_p_wxObject(void *x) {
31638 return (void *)((wxObject *) ((wxSizer *) x));
31639 }
31640 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
31641 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
31642 }
31643 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
31644 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
31645 }
31646 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
31647 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
31648 }
31649 static void *_p_wxEventTo_p_wxObject(void *x) {
31650 return (void *)((wxObject *) ((wxEvent *) x));
31651 }
31652 static void *_p_wxFontDataTo_p_wxObject(void *x) {
31653 return (void *)((wxObject *) ((wxFontData *) x));
31654 }
31655 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
31656 return (void *)((wxObject *) ((wxPrintData *) x));
31657 }
31658 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
31659 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
31660 }
31661 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
31662 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
31663 }
31664 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
31665 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
31666 }
31667 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
31668 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
31669 }
31670 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
31671 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
31672 }
31673 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
31674 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
31675 }
31676 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
31677 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
31678 }
31679 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
31680 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
31681 }
31682 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
31683 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
31684 }
31685 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
31686 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
31687 }
31688 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
31689 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
31690 }
31691 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
31692 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31693 }
31694 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
31695 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
31696 }
31697 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
31698 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
31699 }
31700 static void *_p_wxControlTo_p_wxObject(void *x) {
31701 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
31702 }
31703 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
31704 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
31705 }
31706 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
31707 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
31708 }
31709 static void *_p_wxFSFileTo_p_wxObject(void *x) {
31710 return (void *)((wxObject *) ((wxFSFile *) x));
31711 }
31712 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
31713 return (void *)((wxObject *) ((wxFindReplaceData *) x));
31714 }
31715 static void *_p_wxPySizerTo_p_wxObject(void *x) {
31716 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
31717 }
31718 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
31719 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
31720 }
31721 static void *_p_wxColourDataTo_p_wxObject(void *x) {
31722 return (void *)((wxObject *) ((wxColourData *) x));
31723 }
31724 static void *_p_wxPyEventTo_p_wxObject(void *x) {
31725 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
31726 }
31727 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
31728 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
31729 }
31730 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
31731 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
31732 }
31733 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
31734 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31735 }
31736 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
31737 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
31738 }
31739 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
31740 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
31741 }
31742 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
31743 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
31744 }
31745 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
31746 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
31747 }
31748 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
31749 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31750 }
31751 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
31752 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
31753 }
31754 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
31755 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
31756 }
31757 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
31758 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
31759 }
31760 static void *_p_wxShowEventTo_p_wxObject(void *x) {
31761 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
31762 }
31763 static void *_p_wxPrinterTo_p_wxObject(void *x) {
31764 return (void *)((wxObject *) ((wxPrinter *) x));
31765 }
31766 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
31767 return (void *)((wxObject *) ((wxMenuItem *) x));
31768 }
31769 static void *_p_wxDateEventTo_p_wxObject(void *x) {
31770 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
31771 }
31772 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
31773 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
31774 }
31775 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
31776 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
31777 }
31778 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
31779 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
31780 }
31781 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
31782 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
31783 }
31784 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
31785 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
31786 }
31787 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
31788 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
31789 }
31790 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
31791 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
31792 }
31793 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
31794 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
31795 }
31796 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
31797 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
31798 }
31799 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
31800 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
31801 }
31802 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
31803 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
31804 }
31805 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
31806 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
31807 }
31808 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
31809 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
31810 }
31811 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
31812 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
31813 }
31814 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
31815 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
31816 }
31817 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
31818 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
31819 }
31820 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
31821 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
31822 }
31823 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
31824 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
31825 }
31826 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
31827 return (void *)((wxObject *) ((wxImageHandler *) x));
31828 }
31829 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
31830 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
31831 }
31832 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
31833 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
31834 }
31835 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
31836 return (void *)((wxObject *) ((wxEvtHandler *) x));
31837 }
31838 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
31839 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
31840 }
31841 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
31842 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
31843 }
31844 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
31845 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
31846 }
31847 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
31848 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
31849 }
31850 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
31851 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
31852 }
31853 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
31854 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
31855 }
31856 static void *_p_wxImageTo_p_wxObject(void *x) {
31857 return (void *)((wxObject *) ((wxImage *) x));
31858 }
31859 static void *_p_wxFrameTo_p_wxObject(void *x) {
31860 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
31861 }
31862 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
31863 return (void *)((wxObject *) ((wxPyPrintout *) x));
31864 }
31865 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
31866 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
31867 }
31868 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
31869 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
31870 }
31871 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
31872 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
31873 }
31874 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
31875 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
31876 }
31877 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
31878 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31879 }
31880 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
31881 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
31882 }
31883 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
31884 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
31885 }
31886 static void *_p_wxWindowTo_p_wxObject(void *x) {
31887 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
31888 }
31889 static void *_p_wxMenuTo_p_wxObject(void *x) {
31890 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
31891 }
31892 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
31893 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
31894 }
31895 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
31896 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
31897 }
31898 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
31899 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
31900 }
31901 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
31902 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
31903 }
31904 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
31905 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
31906 }
31907 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
31908 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
31909 }
31910 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
31911 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
31912 }
31913 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
31914 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
31915 }
31916 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
31917 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
31918 }
31919 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
31920 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
31921 }
31922 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
31923 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
31924 }
31925 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
31926 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
31927 }
31928 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
31929 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
31930 }
31931 static void *_p_wxSashEventTo_p_wxObject(void *x) {
31932 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
31933 }
31934 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
31935 return (void *)((wxObject *) ((wxPrintPreview *) x));
31936 }
31937 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
31938 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
31939 }
31940 static void *_p_wxPanelTo_p_wxObject(void *x) {
31941 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
31942 }
31943 static void *_p_wxDialogTo_p_wxObject(void *x) {
31944 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
31945 }
31946 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
31947 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
31948 }
31949 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
31950 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
31951 }
31952 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
31953 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
31954 }
31955 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
31956 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
31957 }
31958 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
31959 return (void *)((wxObject *) ((wxPrintDialog *) x));
31960 }
31961 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
31962 return (void *)((wxObject *) ((wxFileSystem *) x));
31963 }
31964 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
31965 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
31966 }
31967 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
31968 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
31969 }
31970 static void *_p_wxPyAppTo_p_wxObject(void *x) {
31971 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
31972 }
31973 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
31974 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
31975 }
31976 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
31977 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
31978 }
31979 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
31980 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
31981 }
31982 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
31983 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
31984 }
31985 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
31986 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
31987 }
31988 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
31989 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
31990 }
31991 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
31992 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
31993 }
31994 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
31995 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
31996 }
31997 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
31998 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
31999 }
32000 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
32001 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
32002 }
32003 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
32004 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32005 }
32006 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
32007 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
32008 }
32009 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
32010 return (void *)((wxObject *) ((wxPrintDialogData *) x));
32011 }
32012 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
32013 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
32014 }
32015 static void *_p_wxValidatorTo_p_wxObject(void *x) {
32016 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
32017 }
32018 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
32019 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32020 }
32021 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
32022 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
32023 }
32024 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
32025 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32026 }
32027 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
32028 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32029 }
32030 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
32031 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32032 }
32033 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
32034 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
32035 }
32036 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
32037 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
32038 }
32039 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
32040 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
32041 }
32042 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
32043 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
32044 }
32045 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
32046 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
32047 }
32048 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
32049 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
32050 }
32051 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
32052 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
32053 }
32054 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
32055 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
32056 }
32057 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
32058 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
32059 }
32060 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
32061 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
32062 }
32063 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
32064 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
32065 }
32066 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
32067 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
32068 }
32069 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
32070 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32071 }
32072 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
32073 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
32074 }
32075 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32076 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
32077 }
32078 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32079 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
32080 }
32081 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
32082 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
32083 }
32084 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
32085 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
32086 }
32087 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32088 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
32089 }
32090 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32091 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32092 }
32093 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
32094 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32095 }
32096 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
32097 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32098 }
32099 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
32100 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
32101 }
32102 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
32103 return (void *)((wxWindow *) ((wxMenuBar *) x));
32104 }
32105 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
32106 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32107 }
32108 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
32109 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32110 }
32111 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
32112 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32113 }
32114 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
32115 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32116 }
32117 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
32118 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32119 }
32120 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
32121 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32122 }
32123 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
32124 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32125 }
32126 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
32127 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32128 }
32129 static void *_p_wxPanelTo_p_wxWindow(void *x) {
32130 return (void *)((wxWindow *) ((wxPanel *) x));
32131 }
32132 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
32133 return (void *)((wxWindow *) ((wxStatusBar *) x));
32134 }
32135 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
32136 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
32137 }
32138 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
32139 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32140 }
32141 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
32142 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32143 }
32144 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
32145 return (void *)((wxWindow *) ((wxPopupWindow *) x));
32146 }
32147 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
32148 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
32149 }
32150 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
32151 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
32152 }
32153 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
32154 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
32155 }
32156 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
32157 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
32158 }
32159 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
32160 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
32161 }
32162 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
32163 return (void *)((wxWindow *) ((wxSashWindow *) x));
32164 }
32165 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
32166 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
32167 }
32168 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
32169 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32170 }
32171 static void *_p_wxControlTo_p_wxWindow(void *x) {
32172 return (void *)((wxWindow *) ((wxControl *) x));
32173 }
32174 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
32175 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32176 }
32177 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
32178 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32179 }
32180 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
32181 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32182 }
32183 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
32184 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
32185 }
32186 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
32187 return (void *)((wxWindow *) ((wxPyWindow *) x));
32188 }
32189 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
32190 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32191 }
32192 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
32193 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32194 }
32195 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
32196 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32197 }
32198 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
32199 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
32200 }
32201 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
32202 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32203 }
32204 static void *_p_wxFrameTo_p_wxWindow(void *x) {
32205 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
32206 }
32207 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
32208 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32209 }
32210 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
32211 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32212 }
32213 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
32214 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32215 }
32216 static void *_p_wxDialogTo_p_wxWindow(void *x) {
32217 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
32218 }
32219 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
32220 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32221 }
32222 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
32223 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32224 }
32225 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
32226 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
32227 }
32228 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
32229 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
32230 }
32231 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
32232 return (void *)((wxDialog *) ((wxColourDialog *) x));
32233 }
32234 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
32235 return (void *)((wxDialog *) ((wxDirDialog *) x));
32236 }
32237 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
32238 return (void *)((wxDialog *) ((wxFontDialog *) x));
32239 }
32240 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
32241 return (void *)((wxDialog *) ((wxFileDialog *) x));
32242 }
32243 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
32244 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
32245 }
32246 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
32247 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
32248 }
32249 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
32250 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
32251 }
32252 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
32253 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32254 }
32255 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
32256 return (void *)((wxDialog *) ((wxMessageDialog *) x));
32257 }
32258 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
32259 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
32260 }
32261 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
32262 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
32263 }
32264 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
32265 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
32266 }
32267 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
32268 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32269 }
32270 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
32271 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32272 }
32273 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
32274 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32275 }
32276 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
32277 return (void *)((wxPanel *) ((wxPyPanel *) x));
32278 }
32279 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
32280 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
32281 }
32282 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
32283 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
32284 }
32285 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
32286 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32287 }
32288 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
32289 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
32290 }
32291 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
32292 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
32293 }
32294 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
32295 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
32296 }
32297 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
32298 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
32299 }
32300 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
32301 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
32302 }
32303 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
32304 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
32305 }
32306 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
32307 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
32308 }
32309 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
32310 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32311 }
32312 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
32313 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
32314 }
32315 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
32316 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
32317 }
32318 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
32319 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
32320 }
32321 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
32322 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
32323 }
32324 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
32325 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
32326 }
32327 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
32328 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32329 }
32330 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
32331 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
32332 static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, (void*)0, 0};
32333 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
32334 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32335 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32336 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32337 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32338 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32339 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32340 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32341 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32342 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32343 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
32344 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32345 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
32346 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32347 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32348 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32349 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32350 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32351 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32352 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32353 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32354 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32355 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32356 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32357 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32358 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32359 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32360 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32361 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32362 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32363 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32364 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32365 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32366 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32367 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32368 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32369 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32370 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32371 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32372 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32373 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32374 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32375 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32376 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32377 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32378 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32379 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32380 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32381 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32382 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32383 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32384 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
32385 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32386 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
32387 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
32388 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32389 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32390 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32391 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32392 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32393 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32394 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32395 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32396 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32397 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
32398 static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
32399 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32400 static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32401 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32402 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32403 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32404 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32405 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32406 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32407 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32408 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32409 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32410 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32411 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32412 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32413 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32414 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32415 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32416 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32417 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32418 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
32419 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32420 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32421 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32422 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
32423 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
32424 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32425 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32426 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32427 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32428 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32429 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32430 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32431 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32432 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32433 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32434 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32435 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32436 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32437 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32438 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32439 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
32440 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32441 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32442 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32443 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32444 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32445 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32446 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32447 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32448 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32449 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32450 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32451 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32452 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32453 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32454 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32455 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32456 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32457 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32458 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32459 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32460 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32461 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32462 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32463 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32464 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32465 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32466 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32467 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32468 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32469 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32470 static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32471 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32472 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32473 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32474 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32475 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32476 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32477 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32478 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32479 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32480 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32481 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32482 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32483 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32484 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32485 static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32486 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32487 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32488 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32489 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32490 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32491 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32492 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32493
32494 static swig_type_info *swig_type_initial[] = {
32495 &_swigt__p_bool,
32496 &_swigt__p_char,
32497 &_swigt__p_form_ops_t,
32498 &_swigt__p_int,
32499 &_swigt__p_unsigned_char,
32500 &_swigt__p_unsigned_int,
32501 &_swigt__p_unsigned_long,
32502 &_swigt__p_wxANIHandler,
32503 &_swigt__p_wxAcceleratorTable,
32504 &_swigt__p_wxActivateEvent,
32505 &_swigt__p_wxArrayInt,
32506 &_swigt__p_wxBMPHandler,
32507 &_swigt__p_wxBitmap,
32508 &_swigt__p_wxBoxSizer,
32509 &_swigt__p_wxCURHandler,
32510 &_swigt__p_wxCalculateLayoutEvent,
32511 &_swigt__p_wxChildFocusEvent,
32512 &_swigt__p_wxClipboardTextEvent,
32513 &_swigt__p_wxCloseEvent,
32514 &_swigt__p_wxColour,
32515 &_swigt__p_wxColourData,
32516 &_swigt__p_wxColourDialog,
32517 &_swigt__p_wxCommandEvent,
32518 &_swigt__p_wxContextMenuEvent,
32519 &_swigt__p_wxControl,
32520 &_swigt__p_wxControlWithItems,
32521 &_swigt__p_wxDC,
32522 &_swigt__p_wxDateEvent,
32523 &_swigt__p_wxDialog,
32524 &_swigt__p_wxDirDialog,
32525 &_swigt__p_wxDisplayChangedEvent,
32526 &_swigt__p_wxDropFilesEvent,
32527 &_swigt__p_wxDuplexMode,
32528 &_swigt__p_wxEraseEvent,
32529 &_swigt__p_wxEvent,
32530 &_swigt__p_wxEvtHandler,
32531 &_swigt__p_wxFSFile,
32532 &_swigt__p_wxFileDialog,
32533 &_swigt__p_wxFileSystem,
32534 &_swigt__p_wxFindDialogEvent,
32535 &_swigt__p_wxFindReplaceData,
32536 &_swigt__p_wxFindReplaceDialog,
32537 &_swigt__p_wxFlexGridSizer,
32538 &_swigt__p_wxFocusEvent,
32539 &_swigt__p_wxFont,
32540 &_swigt__p_wxFontData,
32541 &_swigt__p_wxFontDialog,
32542 &_swigt__p_wxFrame,
32543 &_swigt__p_wxGBSizerItem,
32544 &_swigt__p_wxGIFHandler,
32545 &_swigt__p_wxGridBagSizer,
32546 &_swigt__p_wxGridSizer,
32547 &_swigt__p_wxHtmlLinkInfo,
32548 &_swigt__p_wxICOHandler,
32549 &_swigt__p_wxIcon,
32550 &_swigt__p_wxIconBundle,
32551 &_swigt__p_wxIconizeEvent,
32552 &_swigt__p_wxIdleEvent,
32553 &_swigt__p_wxImage,
32554 &_swigt__p_wxImageHandler,
32555 &_swigt__p_wxIndividualLayoutConstraint,
32556 &_swigt__p_wxInitDialogEvent,
32557 &_swigt__p_wxJPEGHandler,
32558 &_swigt__p_wxKeyEvent,
32559 &_swigt__p_wxLayoutAlgorithm,
32560 &_swigt__p_wxLayoutConstraints,
32561 &_swigt__p_wxMDIChildFrame,
32562 &_swigt__p_wxMDIClientWindow,
32563 &_swigt__p_wxMDIParentFrame,
32564 &_swigt__p_wxMaximizeEvent,
32565 &_swigt__p_wxMenu,
32566 &_swigt__p_wxMenuBar,
32567 &_swigt__p_wxMenuEvent,
32568 &_swigt__p_wxMenuItem,
32569 &_swigt__p_wxMessageDialog,
32570 &_swigt__p_wxMiniFrame,
32571 &_swigt__p_wxMouseCaptureChangedEvent,
32572 &_swigt__p_wxMouseEvent,
32573 &_swigt__p_wxMoveEvent,
32574 &_swigt__p_wxMultiChoiceDialog,
32575 &_swigt__p_wxNavigationKeyEvent,
32576 &_swigt__p_wxNcPaintEvent,
32577 &_swigt__p_wxNotifyEvent,
32578 &_swigt__p_wxObject,
32579 &_swigt__p_wxPCXHandler,
32580 &_swigt__p_wxPNGHandler,
32581 &_swigt__p_wxPNMHandler,
32582 &_swigt__p_wxPageSetupDialog,
32583 &_swigt__p_wxPageSetupDialogData,
32584 &_swigt__p_wxPaintEvent,
32585 &_swigt__p_wxPaletteChangedEvent,
32586 &_swigt__p_wxPanel,
32587 &_swigt__p_wxPaperSize,
32588 &_swigt__p_wxPasswordEntryDialog,
32589 &_swigt__p_wxPoint,
32590 &_swigt__p_wxPopupWindow,
32591 &_swigt__p_wxPreviewCanvas,
32592 &_swigt__p_wxPreviewControlBar,
32593 &_swigt__p_wxPreviewFrame,
32594 &_swigt__p_wxPrintData,
32595 &_swigt__p_wxPrintDialog,
32596 &_swigt__p_wxPrintDialogData,
32597 &_swigt__p_wxPrintPreview,
32598 &_swigt__p_wxPrinter,
32599 &_swigt__p_wxProgressDialog,
32600 &_swigt__p_wxPyApp,
32601 &_swigt__p_wxPyCommandEvent,
32602 &_swigt__p_wxPyEvent,
32603 &_swigt__p_wxPyHtmlListBox,
32604 &_swigt__p_wxPyImageHandler,
32605 &_swigt__p_wxPyPanel,
32606 &_swigt__p_wxPyPopupTransientWindow,
32607 &_swigt__p_wxPyPreviewControlBar,
32608 &_swigt__p_wxPyPreviewFrame,
32609 &_swigt__p_wxPyPrintPreview,
32610 &_swigt__p_wxPyPrintout,
32611 &_swigt__p_wxPyScrolledWindow,
32612 &_swigt__p_wxPySizer,
32613 &_swigt__p_wxPyTaskBarIcon,
32614 &_swigt__p_wxPyVListBox,
32615 &_swigt__p_wxPyVScrolledWindow,
32616 &_swigt__p_wxPyValidator,
32617 &_swigt__p_wxPyWindow,
32618 &_swigt__p_wxQueryLayoutInfoEvent,
32619 &_swigt__p_wxQueryNewPaletteEvent,
32620 &_swigt__p_wxRect,
32621 &_swigt__p_wxRegion,
32622 &_swigt__p_wxSashEvent,
32623 &_swigt__p_wxSashLayoutWindow,
32624 &_swigt__p_wxSashWindow,
32625 &_swigt__p_wxScrollEvent,
32626 &_swigt__p_wxScrollWinEvent,
32627 &_swigt__p_wxScrolledWindow,
32628 &_swigt__p_wxSetCursorEvent,
32629 &_swigt__p_wxShowEvent,
32630 &_swigt__p_wxSingleChoiceDialog,
32631 &_swigt__p_wxSize,
32632 &_swigt__p_wxSizeEvent,
32633 &_swigt__p_wxSizer,
32634 &_swigt__p_wxSizerItem,
32635 &_swigt__p_wxSplashScreen,
32636 &_swigt__p_wxSplashScreenWindow,
32637 &_swigt__p_wxSplitterEvent,
32638 &_swigt__p_wxSplitterWindow,
32639 &_swigt__p_wxStaticBoxSizer,
32640 &_swigt__p_wxStatusBar,
32641 &_swigt__p_wxStdDialogButtonSizer,
32642 &_swigt__p_wxString,
32643 &_swigt__p_wxSysColourChangedEvent,
32644 &_swigt__p_wxTIFFHandler,
32645 &_swigt__p_wxTaskBarIcon,
32646 &_swigt__p_wxTaskBarIconEvent,
32647 &_swigt__p_wxTextEntryDialog,
32648 &_swigt__p_wxTipWindow,
32649 &_swigt__p_wxToolBar,
32650 &_swigt__p_wxTopLevelWindow,
32651 &_swigt__p_wxUpdateUIEvent,
32652 &_swigt__p_wxValidator,
32653 &_swigt__p_wxVisualAttributes,
32654 &_swigt__p_wxWindow,
32655 &_swigt__p_wxWindowCreateEvent,
32656 &_swigt__p_wxWindowDestroyEvent,
32657 &_swigt__p_wxXPMHandler,
32658 };
32659
32660 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
32661 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
32662 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
32663 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
32664 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
32665 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
32666 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
32667 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
32668 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
32669 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
32670 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
32671 static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
32672 static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
32673 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
32674 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
32675 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
32676 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
32677 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
32678 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
32679 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
32680 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
32681 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
32682 static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
32683 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
32684 static swig_cast_info _swigc__p_wxDialog[] = { {&_swigt__p_wxDialog, 0, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxDialog, 0, 0},{0, 0, 0, 0}};
32685 static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
32686 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
32687 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
32688 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
32689 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
32690 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
32691 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
32692 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
32693 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
32694 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
32695 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
32696 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32697 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32698 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
32699 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32700 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
32701 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
32702 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
32703 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32704 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32705 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32706 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32707 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
32708 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
32709 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
32710 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
32711 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
32712 static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
32713 static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
32714 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
32715 static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
32716 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
32717 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
32718 static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
32719 static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
32720 static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
32721 static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
32722 static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
32723 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
32724 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
32725 static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
32726 static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
32727 static swig_cast_info _swigc__p_wxFrame[] = { {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxFrame, 0, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxFrame, 0, 0},{0, 0, 0, 0}};
32728 static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
32729 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
32730 static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
32731 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
32732 static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
32733 static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
32734 static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
32735 static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
32736 static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
32737 static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
32738 static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
32739 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
32740 static swig_cast_info _swigc__p_wxNotifyEvent[] = { {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
32741 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
32742 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
32743 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
32744 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
32745 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
32746 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
32747 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
32748 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
32749 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
32750 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
32751 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
32752 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
32753 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
32754 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
32755 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
32756 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
32757 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
32758 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
32759 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
32760 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
32761 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
32762 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
32763 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
32764 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
32765 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
32766 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
32767 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
32768 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
32769 static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
32770 static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
32771 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
32772 static swig_cast_info _swigc__p_wxPanel[] = { {&_swigt__p_wxPanel, 0, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0},{0, 0, 0, 0}};
32773 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
32774 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
32775 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
32776 static swig_cast_info _swigc__p_wxPopupWindow[] = { {&_swigt__p_wxPopupWindow, 0, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxPopupWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxPopupWindow, 0, 0},{0, 0, 0, 0}};
32777 static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
32778 static swig_cast_info _swigc__p_wxPreviewControlBar[] = { {&_swigt__p_wxPreviewControlBar, 0, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar, 0, 0},{0, 0, 0, 0}};
32779 static swig_cast_info _swigc__p_wxPreviewFrame[] = { {&_swigt__p_wxPreviewFrame, 0, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxPreviewFrame, 0, 0},{0, 0, 0, 0}};
32780 static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
32781 static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
32782 static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
32783 static swig_cast_info _swigc__p_wxPrintPreview[] = { {&_swigt__p_wxPrintPreview, 0, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxPrintPreview, 0, 0},{0, 0, 0, 0}};
32784 static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
32785 static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
32786 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
32787 static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
32788 static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = { {&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxPyPopupTransientWindow, 0, 0},{0, 0, 0, 0}};
32789 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
32790 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
32791 static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
32792 static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
32793 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
32794 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
32795 static swig_cast_info _swigc__p_wxPyVListBox[] = { {&_swigt__p_wxPyVListBox, 0, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPyVListBox, 0, 0},{0, 0, 0, 0}};
32796 static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = { {&_swigt__p_wxPyVScrolledWindow, 0, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPyVScrolledWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow, 0, 0},{0, 0, 0, 0}};
32797 static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
32798 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
32799 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
32800 static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
32801 static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
32802 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
32803 static swig_cast_info _swigc__p_wxSashWindow[] = { {&_swigt__p_wxSashWindow, 0, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxSashWindow, 0, 0},{0, 0, 0, 0}};
32804 static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
32805 static swig_cast_info _swigc__p_wxScrolledWindow[] = { {&_swigt__p_wxScrolledWindow, 0, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxScrolledWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxScrolledWindow, 0, 0},{0, 0, 0, 0}};
32806 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
32807 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
32808 static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
32809 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
32810 static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
32811 static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
32812 static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
32813 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
32814 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
32815 static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
32816 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
32817 static swig_cast_info _swigc__p_wxTextEntryDialog[] = { {&_swigt__p_wxTextEntryDialog, 0, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTextEntryDialog, 0, 0},{0, 0, 0, 0}};
32818 static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
32819 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
32820 static swig_cast_info _swigc__p_wxTopLevelWindow[] = { {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0},{0, 0, 0, 0}};
32821 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
32822 static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
32823
32824 static swig_cast_info *swig_cast_initial[] = {
32825 _swigc__p_bool,
32826 _swigc__p_char,
32827 _swigc__p_form_ops_t,
32828 _swigc__p_int,
32829 _swigc__p_unsigned_char,
32830 _swigc__p_unsigned_int,
32831 _swigc__p_unsigned_long,
32832 _swigc__p_wxANIHandler,
32833 _swigc__p_wxAcceleratorTable,
32834 _swigc__p_wxActivateEvent,
32835 _swigc__p_wxArrayInt,
32836 _swigc__p_wxBMPHandler,
32837 _swigc__p_wxBitmap,
32838 _swigc__p_wxBoxSizer,
32839 _swigc__p_wxCURHandler,
32840 _swigc__p_wxCalculateLayoutEvent,
32841 _swigc__p_wxChildFocusEvent,
32842 _swigc__p_wxClipboardTextEvent,
32843 _swigc__p_wxCloseEvent,
32844 _swigc__p_wxColour,
32845 _swigc__p_wxColourData,
32846 _swigc__p_wxColourDialog,
32847 _swigc__p_wxCommandEvent,
32848 _swigc__p_wxContextMenuEvent,
32849 _swigc__p_wxControl,
32850 _swigc__p_wxControlWithItems,
32851 _swigc__p_wxDC,
32852 _swigc__p_wxDateEvent,
32853 _swigc__p_wxDialog,
32854 _swigc__p_wxDirDialog,
32855 _swigc__p_wxDisplayChangedEvent,
32856 _swigc__p_wxDropFilesEvent,
32857 _swigc__p_wxDuplexMode,
32858 _swigc__p_wxEraseEvent,
32859 _swigc__p_wxEvent,
32860 _swigc__p_wxEvtHandler,
32861 _swigc__p_wxFSFile,
32862 _swigc__p_wxFileDialog,
32863 _swigc__p_wxFileSystem,
32864 _swigc__p_wxFindDialogEvent,
32865 _swigc__p_wxFindReplaceData,
32866 _swigc__p_wxFindReplaceDialog,
32867 _swigc__p_wxFlexGridSizer,
32868 _swigc__p_wxFocusEvent,
32869 _swigc__p_wxFont,
32870 _swigc__p_wxFontData,
32871 _swigc__p_wxFontDialog,
32872 _swigc__p_wxFrame,
32873 _swigc__p_wxGBSizerItem,
32874 _swigc__p_wxGIFHandler,
32875 _swigc__p_wxGridBagSizer,
32876 _swigc__p_wxGridSizer,
32877 _swigc__p_wxHtmlLinkInfo,
32878 _swigc__p_wxICOHandler,
32879 _swigc__p_wxIcon,
32880 _swigc__p_wxIconBundle,
32881 _swigc__p_wxIconizeEvent,
32882 _swigc__p_wxIdleEvent,
32883 _swigc__p_wxImage,
32884 _swigc__p_wxImageHandler,
32885 _swigc__p_wxIndividualLayoutConstraint,
32886 _swigc__p_wxInitDialogEvent,
32887 _swigc__p_wxJPEGHandler,
32888 _swigc__p_wxKeyEvent,
32889 _swigc__p_wxLayoutAlgorithm,
32890 _swigc__p_wxLayoutConstraints,
32891 _swigc__p_wxMDIChildFrame,
32892 _swigc__p_wxMDIClientWindow,
32893 _swigc__p_wxMDIParentFrame,
32894 _swigc__p_wxMaximizeEvent,
32895 _swigc__p_wxMenu,
32896 _swigc__p_wxMenuBar,
32897 _swigc__p_wxMenuEvent,
32898 _swigc__p_wxMenuItem,
32899 _swigc__p_wxMessageDialog,
32900 _swigc__p_wxMiniFrame,
32901 _swigc__p_wxMouseCaptureChangedEvent,
32902 _swigc__p_wxMouseEvent,
32903 _swigc__p_wxMoveEvent,
32904 _swigc__p_wxMultiChoiceDialog,
32905 _swigc__p_wxNavigationKeyEvent,
32906 _swigc__p_wxNcPaintEvent,
32907 _swigc__p_wxNotifyEvent,
32908 _swigc__p_wxObject,
32909 _swigc__p_wxPCXHandler,
32910 _swigc__p_wxPNGHandler,
32911 _swigc__p_wxPNMHandler,
32912 _swigc__p_wxPageSetupDialog,
32913 _swigc__p_wxPageSetupDialogData,
32914 _swigc__p_wxPaintEvent,
32915 _swigc__p_wxPaletteChangedEvent,
32916 _swigc__p_wxPanel,
32917 _swigc__p_wxPaperSize,
32918 _swigc__p_wxPasswordEntryDialog,
32919 _swigc__p_wxPoint,
32920 _swigc__p_wxPopupWindow,
32921 _swigc__p_wxPreviewCanvas,
32922 _swigc__p_wxPreviewControlBar,
32923 _swigc__p_wxPreviewFrame,
32924 _swigc__p_wxPrintData,
32925 _swigc__p_wxPrintDialog,
32926 _swigc__p_wxPrintDialogData,
32927 _swigc__p_wxPrintPreview,
32928 _swigc__p_wxPrinter,
32929 _swigc__p_wxProgressDialog,
32930 _swigc__p_wxPyApp,
32931 _swigc__p_wxPyCommandEvent,
32932 _swigc__p_wxPyEvent,
32933 _swigc__p_wxPyHtmlListBox,
32934 _swigc__p_wxPyImageHandler,
32935 _swigc__p_wxPyPanel,
32936 _swigc__p_wxPyPopupTransientWindow,
32937 _swigc__p_wxPyPreviewControlBar,
32938 _swigc__p_wxPyPreviewFrame,
32939 _swigc__p_wxPyPrintPreview,
32940 _swigc__p_wxPyPrintout,
32941 _swigc__p_wxPyScrolledWindow,
32942 _swigc__p_wxPySizer,
32943 _swigc__p_wxPyTaskBarIcon,
32944 _swigc__p_wxPyVListBox,
32945 _swigc__p_wxPyVScrolledWindow,
32946 _swigc__p_wxPyValidator,
32947 _swigc__p_wxPyWindow,
32948 _swigc__p_wxQueryLayoutInfoEvent,
32949 _swigc__p_wxQueryNewPaletteEvent,
32950 _swigc__p_wxRect,
32951 _swigc__p_wxRegion,
32952 _swigc__p_wxSashEvent,
32953 _swigc__p_wxSashLayoutWindow,
32954 _swigc__p_wxSashWindow,
32955 _swigc__p_wxScrollEvent,
32956 _swigc__p_wxScrollWinEvent,
32957 _swigc__p_wxScrolledWindow,
32958 _swigc__p_wxSetCursorEvent,
32959 _swigc__p_wxShowEvent,
32960 _swigc__p_wxSingleChoiceDialog,
32961 _swigc__p_wxSize,
32962 _swigc__p_wxSizeEvent,
32963 _swigc__p_wxSizer,
32964 _swigc__p_wxSizerItem,
32965 _swigc__p_wxSplashScreen,
32966 _swigc__p_wxSplashScreenWindow,
32967 _swigc__p_wxSplitterEvent,
32968 _swigc__p_wxSplitterWindow,
32969 _swigc__p_wxStaticBoxSizer,
32970 _swigc__p_wxStatusBar,
32971 _swigc__p_wxStdDialogButtonSizer,
32972 _swigc__p_wxString,
32973 _swigc__p_wxSysColourChangedEvent,
32974 _swigc__p_wxTIFFHandler,
32975 _swigc__p_wxTaskBarIcon,
32976 _swigc__p_wxTaskBarIconEvent,
32977 _swigc__p_wxTextEntryDialog,
32978 _swigc__p_wxTipWindow,
32979 _swigc__p_wxToolBar,
32980 _swigc__p_wxTopLevelWindow,
32981 _swigc__p_wxUpdateUIEvent,
32982 _swigc__p_wxValidator,
32983 _swigc__p_wxVisualAttributes,
32984 _swigc__p_wxWindow,
32985 _swigc__p_wxWindowCreateEvent,
32986 _swigc__p_wxWindowDestroyEvent,
32987 _swigc__p_wxXPMHandler,
32988 };
32989
32990
32991 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32992
32993 static swig_const_info swig_const_table[] = {
32994 {0, 0, 0, 0.0, 0, 0}};
32995
32996 #ifdef __cplusplus
32997 }
32998 #endif
32999 /* -----------------------------------------------------------------------------
33000 * Type initialization:
33001 * This problem is tough by the requirement that no dynamic
33002 * memory is used. Also, since swig_type_info structures store pointers to
33003 * swig_cast_info structures and swig_cast_info structures store pointers back
33004 * to swig_type_info structures, we need some lookup code at initialization.
33005 * The idea is that swig generates all the structures that are needed.
33006 * The runtime then collects these partially filled structures.
33007 * The SWIG_InitializeModule function takes these initial arrays out of
33008 * swig_module, and does all the lookup, filling in the swig_module.types
33009 * array with the correct data and linking the correct swig_cast_info
33010 * structures together.
33011 *
33012 * The generated swig_type_info structures are assigned staticly to an initial
33013 * array. We just loop though that array, and handle each type individually.
33014 * First we lookup if this type has been already loaded, and if so, use the
33015 * loaded structure instead of the generated one. Then we have to fill in the
33016 * cast linked list. The cast data is initially stored in something like a
33017 * two-dimensional array. Each row corresponds to a type (there are the same
33018 * number of rows as there are in the swig_type_initial array). Each entry in
33019 * a column is one of the swig_cast_info structures for that type.
33020 * The cast_initial array is actually an array of arrays, because each row has
33021 * a variable number of columns. So to actually build the cast linked list,
33022 * we find the array of casts associated with the type, and loop through it
33023 * adding the casts to the list. The one last trick we need to do is making
33024 * sure the type pointer in the swig_cast_info struct is correct.
33025 *
33026 * First off, we lookup the cast->type name to see if it is already loaded.
33027 * There are three cases to handle:
33028 * 1) If the cast->type has already been loaded AND the type we are adding
33029 * casting info to has not been loaded (it is in this module), THEN we
33030 * replace the cast->type pointer with the type pointer that has already
33031 * been loaded.
33032 * 2) If BOTH types (the one we are adding casting info to, and the
33033 * cast->type) are loaded, THEN the cast info has already been loaded by
33034 * the previous module so we just ignore it.
33035 * 3) Finally, if cast->type has not already been loaded, then we add that
33036 * swig_cast_info to the linked list (because the cast->type) pointer will
33037 * be correct.
33038 * ----------------------------------------------------------------------------- */
33039
33040 #ifdef __cplusplus
33041 extern "C" {
33042 #if 0
33043 } /* c-mode */
33044 #endif
33045 #endif
33046
33047 #if 0
33048 #define SWIGRUNTIME_DEBUG
33049 #endif
33050
33051 SWIGRUNTIME void
33052 SWIG_InitializeModule(void *clientdata) {
33053 size_t i;
33054 swig_module_info *module_head;
33055 static int init_run = 0;
33056
33057 clientdata = clientdata;
33058
33059 if (init_run) return;
33060 init_run = 1;
33061
33062 /* Initialize the swig_module */
33063 swig_module.type_initial = swig_type_initial;
33064 swig_module.cast_initial = swig_cast_initial;
33065
33066 /* Try and load any already created modules */
33067 module_head = SWIG_GetModule(clientdata);
33068 if (module_head) {
33069 swig_module.next = module_head->next;
33070 module_head->next = &swig_module;
33071 } else {
33072 /* This is the first module loaded */
33073 swig_module.next = &swig_module;
33074 SWIG_SetModule(clientdata, &swig_module);
33075 }
33076
33077 /* Now work on filling in swig_module.types */
33078 #ifdef SWIGRUNTIME_DEBUG
33079 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
33080 #endif
33081 for (i = 0; i < swig_module.size; ++i) {
33082 swig_type_info *type = 0;
33083 swig_type_info *ret;
33084 swig_cast_info *cast;
33085
33086 #ifdef SWIGRUNTIME_DEBUG
33087 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33088 #endif
33089
33090 /* if there is another module already loaded */
33091 if (swig_module.next != &swig_module) {
33092 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
33093 }
33094 if (type) {
33095 /* Overwrite clientdata field */
33096 #ifdef SWIGRUNTIME_DEBUG
33097 printf("SWIG_InitializeModule: found type %s\n", type->name);
33098 #endif
33099 if (swig_module.type_initial[i]->clientdata) {
33100 type->clientdata = swig_module.type_initial[i]->clientdata;
33101 #ifdef SWIGRUNTIME_DEBUG
33102 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
33103 #endif
33104 }
33105 } else {
33106 type = swig_module.type_initial[i];
33107 }
33108
33109 /* Insert casting types */
33110 cast = swig_module.cast_initial[i];
33111 while (cast->type) {
33112 /* Don't need to add information already in the list */
33113 ret = 0;
33114 #ifdef SWIGRUNTIME_DEBUG
33115 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
33116 #endif
33117 if (swig_module.next != &swig_module) {
33118 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
33119 #ifdef SWIGRUNTIME_DEBUG
33120 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
33121 #endif
33122 }
33123 if (ret) {
33124 if (type == swig_module.type_initial[i]) {
33125 #ifdef SWIGRUNTIME_DEBUG
33126 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
33127 #endif
33128 cast->type = ret;
33129 ret = 0;
33130 } else {
33131 /* Check for casting already in the list */
33132 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
33133 #ifdef SWIGRUNTIME_DEBUG
33134 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
33135 #endif
33136 if (!ocast) ret = 0;
33137 }
33138 }
33139
33140 if (!ret) {
33141 #ifdef SWIGRUNTIME_DEBUG
33142 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
33143 #endif
33144 if (type->cast) {
33145 type->cast->prev = cast;
33146 cast->next = type->cast;
33147 }
33148 type->cast = cast;
33149 }
33150 cast++;
33151 }
33152 /* Set entry in modules->types array equal to the type */
33153 swig_module.types[i] = type;
33154 }
33155 swig_module.types[i] = 0;
33156
33157 #ifdef SWIGRUNTIME_DEBUG
33158 printf("**** SWIG_InitializeModule: Cast List ******\n");
33159 for (i = 0; i < swig_module.size; ++i) {
33160 int j = 0;
33161 swig_cast_info *cast = swig_module.cast_initial[i];
33162 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33163 while (cast->type) {
33164 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
33165 cast++;
33166 ++j;
33167 }
33168 printf("---- Total casts: %d\n",j);
33169 }
33170 printf("**** SWIG_InitializeModule: Cast List ******\n");
33171 #endif
33172 }
33173
33174 /* This function will propagate the clientdata field of type to
33175 * any new swig_type_info structures that have been added into the list
33176 * of equivalent types. It is like calling
33177 * SWIG_TypeClientData(type, clientdata) a second time.
33178 */
33179 SWIGRUNTIME void
33180 SWIG_PropagateClientData(void) {
33181 size_t i;
33182 swig_cast_info *equiv;
33183 static int init_run = 0;
33184
33185 if (init_run) return;
33186 init_run = 1;
33187
33188 for (i = 0; i < swig_module.size; i++) {
33189 if (swig_module.types[i]->clientdata) {
33190 equiv = swig_module.types[i]->cast;
33191 while (equiv) {
33192 if (!equiv->converter) {
33193 if (equiv->type && !equiv->type->clientdata)
33194 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
33195 }
33196 equiv = equiv->next;
33197 }
33198 }
33199 }
33200 }
33201
33202 #ifdef __cplusplus
33203 #if 0
33204 {
33205 /* c-mode */
33206 #endif
33207 }
33208 #endif
33209
33210
33211
33212 #ifdef __cplusplus
33213 extern "C" {
33214 #endif
33215
33216 /* Python-specific SWIG API */
33217 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33218 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33219 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33220
33221 /* -----------------------------------------------------------------------------
33222 * global variable support code.
33223 * ----------------------------------------------------------------------------- */
33224
33225 typedef struct swig_globalvar {
33226 char *name; /* Name of global variable */
33227 PyObject *(*get_attr)(void); /* Return the current value */
33228 int (*set_attr)(PyObject *); /* Set the value */
33229 struct swig_globalvar *next;
33230 } swig_globalvar;
33231
33232 typedef struct swig_varlinkobject {
33233 PyObject_HEAD
33234 swig_globalvar *vars;
33235 } swig_varlinkobject;
33236
33237 SWIGINTERN PyObject *
33238 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
33239 return PyString_FromString("<Swig global variables>");
33240 }
33241
33242 SWIGINTERN PyObject *
33243 swig_varlink_str(swig_varlinkobject *v) {
33244 PyObject *str = PyString_FromString("(");
33245 swig_globalvar *var;
33246 for (var = v->vars; var; var=var->next) {
33247 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
33248 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
33249 }
33250 PyString_ConcatAndDel(&str,PyString_FromString(")"));
33251 return str;
33252 }
33253
33254 SWIGINTERN int
33255 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
33256 PyObject *str = swig_varlink_str(v);
33257 fprintf(fp,"Swig global variables ");
33258 fprintf(fp,"%s\n", PyString_AsString(str));
33259 Py_DECREF(str);
33260 return 0;
33261 }
33262
33263 SWIGINTERN void
33264 swig_varlink_dealloc(swig_varlinkobject *v) {
33265 swig_globalvar *var = v->vars;
33266 while (var) {
33267 swig_globalvar *n = var->next;
33268 free(var->name);
33269 free(var);
33270 var = n;
33271 }
33272 }
33273
33274 SWIGINTERN PyObject *
33275 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
33276 PyObject *res = NULL;
33277 swig_globalvar *var = v->vars;
33278 while (var) {
33279 if (strcmp(var->name,n) == 0) {
33280 res = (*var->get_attr)();
33281 break;
33282 }
33283 var = var->next;
33284 }
33285 if (res == NULL && !PyErr_Occurred()) {
33286 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33287 }
33288 return res;
33289 }
33290
33291 SWIGINTERN int
33292 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
33293 int res = 1;
33294 swig_globalvar *var = v->vars;
33295 while (var) {
33296 if (strcmp(var->name,n) == 0) {
33297 res = (*var->set_attr)(p);
33298 break;
33299 }
33300 var = var->next;
33301 }
33302 if (res == 1 && !PyErr_Occurred()) {
33303 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33304 }
33305 return res;
33306 }
33307
33308 SWIGINTERN PyTypeObject*
33309 swig_varlink_type(void) {
33310 static char varlink__doc__[] = "Swig var link object";
33311 static PyTypeObject varlink_type;
33312 static int type_init = 0;
33313 if (!type_init) {
33314 const PyTypeObject tmp
33315 = {
33316 PyObject_HEAD_INIT(NULL)
33317 0, /* Number of items in variable part (ob_size) */
33318 (char *)"swigvarlink", /* Type name (tp_name) */
33319 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
33320 0, /* Itemsize (tp_itemsize) */
33321 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
33322 (printfunc) swig_varlink_print, /* Print (tp_print) */
33323 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
33324 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
33325 0, /* tp_compare */
33326 (reprfunc) swig_varlink_repr, /* tp_repr */
33327 0, /* tp_as_number */
33328 0, /* tp_as_sequence */
33329 0, /* tp_as_mapping */
33330 0, /* tp_hash */
33331 0, /* tp_call */
33332 (reprfunc)swig_varlink_str, /* tp_str */
33333 0, /* tp_getattro */
33334 0, /* tp_setattro */
33335 0, /* tp_as_buffer */
33336 0, /* tp_flags */
33337 varlink__doc__, /* tp_doc */
33338 0, /* tp_traverse */
33339 0, /* tp_clear */
33340 0, /* tp_richcompare */
33341 0, /* tp_weaklistoffset */
33342 #if PY_VERSION_HEX >= 0x02020000
33343 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33344 #endif
33345 #if PY_VERSION_HEX >= 0x02030000
33346 0, /* tp_del */
33347 #endif
33348 #ifdef COUNT_ALLOCS
33349 0,0,0,0 /* tp_alloc -> tp_next */
33350 #endif
33351 };
33352 varlink_type = tmp;
33353 varlink_type.ob_type = &PyType_Type;
33354 type_init = 1;
33355 }
33356 return &varlink_type;
33357 }
33358
33359 /* Create a variable linking object for use later */
33360 SWIGINTERN PyObject *
33361 SWIG_Python_newvarlink(void) {
33362 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
33363 if (result) {
33364 result->vars = 0;
33365 }
33366 return ((PyObject*) result);
33367 }
33368
33369 SWIGINTERN void
33370 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
33371 swig_varlinkobject *v = (swig_varlinkobject *) p;
33372 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
33373 if (gv) {
33374 size_t size = strlen(name)+1;
33375 gv->name = (char *)malloc(size);
33376 if (gv->name) {
33377 strncpy(gv->name,name,size);
33378 gv->get_attr = get_attr;
33379 gv->set_attr = set_attr;
33380 gv->next = v->vars;
33381 }
33382 }
33383 v->vars = gv;
33384 }
33385
33386 SWIGINTERN PyObject *
33387 SWIG_globals() {
33388 static PyObject *_SWIG_globals = 0;
33389 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
33390 return _SWIG_globals;
33391 }
33392
33393 /* -----------------------------------------------------------------------------
33394 * constants/methods manipulation
33395 * ----------------------------------------------------------------------------- */
33396
33397 /* Install Constants */
33398 SWIGINTERN void
33399 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
33400 PyObject *obj = 0;
33401 size_t i;
33402 for (i = 0; constants[i].type; ++i) {
33403 switch(constants[i].type) {
33404 case SWIG_PY_POINTER:
33405 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
33406 break;
33407 case SWIG_PY_BINARY:
33408 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
33409 break;
33410 default:
33411 obj = 0;
33412 break;
33413 }
33414 if (obj) {
33415 PyDict_SetItemString(d, constants[i].name, obj);
33416 Py_DECREF(obj);
33417 }
33418 }
33419 }
33420
33421 /* -----------------------------------------------------------------------------*/
33422 /* Fix SwigMethods to carry the callback ptrs when needed */
33423 /* -----------------------------------------------------------------------------*/
33424
33425 SWIGINTERN void
33426 SWIG_Python_FixMethods(PyMethodDef *methods,
33427 swig_const_info *const_table,
33428 swig_type_info **types,
33429 swig_type_info **types_initial) {
33430 size_t i;
33431 for (i = 0; methods[i].ml_name; ++i) {
33432 char *c = methods[i].ml_doc;
33433 if (c && (c = strstr(c, "swig_ptr: "))) {
33434 int j;
33435 swig_const_info *ci = 0;
33436 char *name = c + 10;
33437 for (j = 0; const_table[j].type; ++j) {
33438 if (strncmp(const_table[j].name, name,
33439 strlen(const_table[j].name)) == 0) {
33440 ci = &(const_table[j]);
33441 break;
33442 }
33443 }
33444 if (ci) {
33445 size_t shift = (ci->ptype) - types;
33446 swig_type_info *ty = types_initial[shift];
33447 size_t ldoc = (c - methods[i].ml_doc);
33448 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
33449 char *ndoc = (char*)malloc(ldoc + lptr + 10);
33450 if (ndoc) {
33451 char *buff = ndoc;
33452 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
33453 if (ptr) {
33454 strncpy(buff, methods[i].ml_doc, ldoc);
33455 buff += ldoc;
33456 strncpy(buff, "swig_ptr: ", 10);
33457 buff += 10;
33458 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
33459 methods[i].ml_doc = ndoc;
33460 }
33461 }
33462 }
33463 }
33464 }
33465 }
33466
33467 #ifdef __cplusplus
33468 }
33469 #endif
33470
33471 /* -----------------------------------------------------------------------------*
33472 * Partial Init method
33473 * -----------------------------------------------------------------------------*/
33474
33475 #ifdef __cplusplus
33476 extern "C"
33477 #endif
33478 SWIGEXPORT void SWIG_init(void) {
33479 PyObject *m, *d;
33480
33481 /* Fix SwigMethods to carry the callback ptrs when needed */
33482 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
33483
33484 m = Py_InitModule((char *) SWIG_name, SwigMethods);
33485 d = PyModule_GetDict(m);
33486
33487 SWIG_InitializeModule(0);
33488 SWIG_InstallConstants(d,swig_const_table);
33489
33490
33491 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
33492 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
33493 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
33494 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
33495 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
33496 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
33497 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
33498 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
33499 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
33500 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
33501 SWIG_Python_SetConstant(d, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME)));
33502 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
33503 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
33504 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
33505 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
33506 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
33507 SWIG_Python_SetConstant(d, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX)));
33508 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
33509 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
33510 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
33511 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
33512 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
33513 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
33514 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
33515 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
33516 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
33517 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
33518 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
33519 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
33520 SWIG_Python_SetConstant(d, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL)));
33521 SWIG_Python_SetConstant(d, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS)));
33522 SWIG_Python_SetConstant(d, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS)));
33523 SWIG_Python_SetConstant(d, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D)));
33524 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
33525 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
33526 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
33527 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
33528 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
33529 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
33530 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
33531 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
33532 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
33533 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
33534 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
33535 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
33536 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
33537 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
33538 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
33539 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
33540 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
33541 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
33542 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
33543 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
33544 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
33545 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
33546 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
33547 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
33548 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
33549 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
33550 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
33551 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
33552 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
33553 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
33554 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
33555 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
33556 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
33557 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
33558 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
33559 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
33560 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
33561 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
33562 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
33563 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
33564 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
33565 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
33566 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
33567 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
33568 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
33569 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
33570 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
33571 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
33572 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
33573 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
33574 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
33575 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
33576 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
33577 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
33578 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
33579 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
33580 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
33581 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
33582 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
33583 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
33584 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
33585 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
33586 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
33587 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
33588 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
33589 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
33590 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
33591 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
33592 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
33593
33594 // Map renamed classes back to their common name for OOR
33595 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
33596 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
33597 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
33598
33599 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
33600 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
33601 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
33602 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
33603 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
33604 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
33605 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
33606 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
33607 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
33608 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
33609 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
33610 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
33611 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
33612 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
33613 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
33614 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
33615 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
33616 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
33617 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
33618 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
33619 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
33620 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
33621 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
33622 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
33623 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
33624 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
33625 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
33626 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
33627 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
33628 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
33629 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
33630 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
33631 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
33632 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
33633 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
33634 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
33635 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
33636 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
33637 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
33638 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
33639 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
33640 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
33641 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
33642 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
33643 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
33644 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
33645 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
33646 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
33647 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
33648 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
33649 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
33650 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
33651 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
33652 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
33653 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
33654 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
33655 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
33656 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
33657 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
33658 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
33659 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
33660 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
33661 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
33662 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
33663 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
33664 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
33665 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
33666 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
33667 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
33668 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
33669 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
33670 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
33671 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
33672 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
33673 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
33674 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
33675 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
33676 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
33677
33678 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
33679
33680 }
33681