]> 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 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t;
990 #endif
991
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1000
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1004
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1008
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1012
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016
1017
1018 /* Runtime API */
1019
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1023
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1029
1030
1031 /* Runtime API implementation */
1032
1033 /* Error manipulation */
1034
1035 SWIGINTERN void
1036 SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1038 PyErr_SetObject(errtype, obj);
1039 Py_DECREF(obj);
1040 SWIG_PYTHON_THREAD_END_BLOCK;
1041 }
1042
1043 SWIGINTERN void
1044 SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1046 PyErr_SetString(errtype, (char *) msg);
1047 SWIG_PYTHON_THREAD_END_BLOCK;
1048 }
1049
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1051
1052 /* Set a constant value */
1053
1054 SWIGINTERN void
1055 SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1056 PyDict_SetItemString(d, (char*) name, obj);
1057 Py_DECREF(obj);
1058 }
1059
1060 /* Append a value to the result obj */
1061
1062 SWIGINTERN PyObject*
1063 SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1065 if (!result) {
1066 result = obj;
1067 } else if (result == Py_None) {
1068 Py_DECREF(result);
1069 result = obj;
1070 } else {
1071 if (!PyList_Check(result)) {
1072 PyObject *o2 = result;
1073 result = PyList_New(1);
1074 PyList_SetItem(result, 0, o2);
1075 }
1076 PyList_Append(result,obj);
1077 Py_DECREF(obj);
1078 }
1079 return result;
1080 #else
1081 PyObject* o2;
1082 PyObject* o3;
1083 if (!result) {
1084 result = obj;
1085 } else if (result == Py_None) {
1086 Py_DECREF(result);
1087 result = obj;
1088 } else {
1089 if (!PyTuple_Check(result)) {
1090 o2 = result;
1091 result = PyTuple_New(1);
1092 PyTuple_SET_ITEM(result, 0, o2);
1093 }
1094 o3 = PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3, 0, obj);
1096 o2 = result;
1097 result = PySequence_Concat(o2, o3);
1098 Py_DECREF(o2);
1099 Py_DECREF(o3);
1100 }
1101 return result;
1102 #endif
1103 }
1104
1105 /* Unpack the argument tuple */
1106
1107 SWIGINTERN int
1108 SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1109 {
1110 if (!args) {
1111 if (!min && !max) {
1112 return 1;
1113 } else {
1114 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1115 name, (min == max ? "" : "at least "), min);
1116 return 0;
1117 }
1118 }
1119 if (!PyTuple_Check(args)) {
1120 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1121 return 0;
1122 } else {
1123 register int l = PyTuple_GET_SIZE(args);
1124 if (l < min) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at least "), min, l);
1127 return 0;
1128 } else if (l > max) {
1129 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1130 name, (min == max ? "" : "at most "), max, l);
1131 return 0;
1132 } else {
1133 register int i;
1134 for (i = 0; i < l; ++i) {
1135 objs[i] = PyTuple_GET_ITEM(args, i);
1136 }
1137 for (; l < max; ++l) {
1138 objs[l] = 0;
1139 }
1140 return i + 1;
1141 }
1142 }
1143 }
1144
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1148 #else
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1150 #endif
1151
1152 /*
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1155 */
1156 #ifdef __cplusplus
1157 #define SWIG_STATIC_POINTER(var) var
1158 #else
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1160 #endif
1161
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1165
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1169
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1171
1172 #ifdef __cplusplus
1173 extern "C" {
1174 #if 0
1175 } /* cc-mode */
1176 #endif
1177 #endif
1178
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1184 # endif
1185 # endif
1186 #endif
1187
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1189 # ifdef Py_None
1190 # undef Py_None
1191 # define Py_None SWIG_Py_None()
1192 # endif
1193 SWIGRUNTIMEINLINE PyObject *
1194 _SWIG_Py_None(void)
1195 {
1196 PyObject *none = Py_BuildValue("");
1197 Py_DECREF(none);
1198 return none;
1199 }
1200 SWIGRUNTIME PyObject *
1201 SWIG_Py_None(void)
1202 {
1203 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1204 return none;
1205 }
1206 #endif
1207
1208 /* The python void return value */
1209
1210 SWIGRUNTIMEINLINE PyObject *
1211 SWIG_Py_Void(void)
1212 {
1213 PyObject *none = Py_None;
1214 Py_INCREF(none);
1215 return none;
1216 }
1217
1218 /* PySwigClientData */
1219
1220 typedef struct {
1221 PyObject *klass;
1222 PyObject *newraw;
1223 PyObject *newargs;
1224 PyObject *destroy;
1225 int delargs;
1226 int implicitconv;
1227 } PySwigClientData;
1228
1229 SWIGRUNTIMEINLINE int
1230 SWIG_Python_CheckImplicit(swig_type_info *ty)
1231 {
1232 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1233 return data ? data->implicitconv : 0;
1234 }
1235
1236 SWIGRUNTIMEINLINE PyObject *
1237 SWIG_Python_ExceptionType(swig_type_info *desc) {
1238 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1239 PyObject *klass = data ? data->klass : 0;
1240 return (klass ? klass : PyExc_RuntimeError);
1241 }
1242
1243
1244 SWIGRUNTIME PySwigClientData *
1245 PySwigClientData_New(PyObject* obj)
1246 {
1247 if (!obj) {
1248 return 0;
1249 } else {
1250 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1251 /* the klass element */
1252 data->klass = obj;
1253 Py_INCREF(data->klass);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj)) {
1256 data->newraw = 0;
1257 data->newargs = obj;
1258 Py_INCREF(obj);
1259 } else {
1260 #if (PY_VERSION_HEX < 0x02020000)
1261 data->newraw = 0;
1262 #else
1263 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1264 #endif
1265 if (data->newraw) {
1266 Py_INCREF(data->newraw);
1267 data->newargs = PyTuple_New(1);
1268 PyTuple_SetItem(data->newargs, 0, obj);
1269 } else {
1270 data->newargs = obj;
1271 }
1272 Py_INCREF(data->newargs);
1273 }
1274 /* the destroy method, aka as the C++ delete method */
1275 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1277 PyErr_Clear();
1278 data->destroy = 0;
1279 }
1280 if (data->destroy) {
1281 int flags;
1282 Py_INCREF(data->destroy);
1283 flags = PyCFunction_GET_FLAGS(data->destroy);
1284 #ifdef METH_O
1285 data->delargs = !(flags & (METH_O));
1286 #else
1287 data->delargs = 0;
1288 #endif
1289 } else {
1290 data->delargs = 0;
1291 }
1292 data->implicitconv = 0;
1293 return data;
1294 }
1295 }
1296
1297 SWIGRUNTIME void
1298 PySwigClientData_Del(PySwigClientData* data)
1299 {
1300 Py_XDECREF(data->newraw);
1301 Py_XDECREF(data->newargs);
1302 Py_XDECREF(data->destroy);
1303 }
1304
1305 /* =============== PySwigObject =====================*/
1306
1307 typedef struct {
1308 PyObject_HEAD
1309 void *ptr;
1310 swig_type_info *ty;
1311 int own;
1312 PyObject *next;
1313 } PySwigObject;
1314
1315 SWIGRUNTIME PyObject *
1316 PySwigObject_long(PySwigObject *v)
1317 {
1318 return PyLong_FromVoidPtr(v->ptr);
1319 }
1320
1321 SWIGRUNTIME PyObject *
1322 PySwigObject_format(const char* fmt, PySwigObject *v)
1323 {
1324 PyObject *res = NULL;
1325 PyObject *args = PyTuple_New(1);
1326 if (args) {
1327 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1328 PyObject *ofmt = PyString_FromString(fmt);
1329 if (ofmt) {
1330 res = PyString_Format(ofmt,args);
1331 Py_DECREF(ofmt);
1332 }
1333 Py_DECREF(args);
1334 }
1335 }
1336 return res;
1337 }
1338
1339 SWIGRUNTIME PyObject *
1340 PySwigObject_oct(PySwigObject *v)
1341 {
1342 return PySwigObject_format("%o",v);
1343 }
1344
1345 SWIGRUNTIME PyObject *
1346 PySwigObject_hex(PySwigObject *v)
1347 {
1348 return PySwigObject_format("%x",v);
1349 }
1350
1351 SWIGRUNTIME PyObject *
1352 #ifdef METH_NOARGS
1353 PySwigObject_repr(PySwigObject *v)
1354 #else
1355 PySwigObject_repr(PySwigObject *v, PyObject *args)
1356 #endif
1357 {
1358 const char *name = SWIG_TypePrettyName(v->ty);
1359 PyObject *hex = PySwigObject_hex(v);
1360 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1361 Py_DECREF(hex);
1362 if (v->next) {
1363 #ifdef METH_NOARGS
1364 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1365 #else
1366 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1367 #endif
1368 PyString_ConcatAndDel(&repr,nrep);
1369 }
1370 return repr;
1371 }
1372
1373 SWIGRUNTIME int
1374 PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1375 {
1376 #ifdef METH_NOARGS
1377 PyObject *repr = PySwigObject_repr(v);
1378 #else
1379 PyObject *repr = PySwigObject_repr(v, NULL);
1380 #endif
1381 if (repr) {
1382 fputs(PyString_AsString(repr), fp);
1383 Py_DECREF(repr);
1384 return 0;
1385 } else {
1386 return 1;
1387 }
1388 }
1389
1390 SWIGRUNTIME PyObject *
1391 PySwigObject_str(PySwigObject *v)
1392 {
1393 char result[SWIG_BUFFER_SIZE];
1394 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1395 PyString_FromString(result) : 0;
1396 }
1397
1398 SWIGRUNTIME int
1399 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1400 {
1401 void *i = v->ptr;
1402 void *j = w->ptr;
1403 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1404 }
1405
1406 SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1407
1408 SWIGRUNTIME PyTypeObject*
1409 PySwigObject_type(void) {
1410 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1411 return type;
1412 }
1413
1414 SWIGRUNTIMEINLINE int
1415 PySwigObject_Check(PyObject *op) {
1416 return ((op)->ob_type == PySwigObject_type())
1417 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1418 }
1419
1420 SWIGRUNTIME PyObject *
1421 PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1422
1423 SWIGRUNTIME void
1424 PySwigObject_dealloc(PyObject *v)
1425 {
1426 PySwigObject *sobj = (PySwigObject *) v;
1427 PyObject *next = sobj->next;
1428 if (sobj->own) {
1429 swig_type_info *ty = sobj->ty;
1430 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1431 PyObject *destroy = data ? data->destroy : 0;
1432 if (destroy) {
1433 /* destroy is always a VARARGS method */
1434 PyObject *res;
1435 if (data->delargs) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1438 res = SWIG_Python_CallFunctor(destroy, tmp);
1439 Py_DECREF(tmp);
1440 } else {
1441 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1442 PyObject *mself = PyCFunction_GET_SELF(destroy);
1443 res = ((*meth)(mself, v));
1444 }
1445 Py_XDECREF(res);
1446 } else {
1447 const char *name = SWIG_TypePrettyName(ty);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1450 #endif
1451 }
1452 }
1453 Py_XDECREF(next);
1454 PyObject_DEL(v);
1455 }
1456
1457 SWIGRUNTIME PyObject*
1458 PySwigObject_append(PyObject* v, PyObject* next)
1459 {
1460 PySwigObject *sobj = (PySwigObject *) v;
1461 #ifndef METH_O
1462 PyObject *tmp = 0;
1463 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1464 next = tmp;
1465 #endif
1466 if (!PySwigObject_Check(next)) {
1467 return NULL;
1468 }
1469 sobj->next = next;
1470 Py_INCREF(next);
1471 return SWIG_Py_Void();
1472 }
1473
1474 SWIGRUNTIME PyObject*
1475 #ifdef METH_NOARGS
1476 PySwigObject_next(PyObject* v)
1477 #else
1478 PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1479 #endif
1480 {
1481 PySwigObject *sobj = (PySwigObject *) v;
1482 if (sobj->next) {
1483 Py_INCREF(sobj->next);
1484 return sobj->next;
1485 } else {
1486 return SWIG_Py_Void();
1487 }
1488 }
1489
1490 SWIGINTERN PyObject*
1491 #ifdef METH_NOARGS
1492 PySwigObject_disown(PyObject *v)
1493 #else
1494 PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1495 #endif
1496 {
1497 PySwigObject *sobj = (PySwigObject *)v;
1498 sobj->own = 0;
1499 return SWIG_Py_Void();
1500 }
1501
1502 SWIGINTERN PyObject*
1503 #ifdef METH_NOARGS
1504 PySwigObject_acquire(PyObject *v)
1505 #else
1506 PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1507 #endif
1508 {
1509 PySwigObject *sobj = (PySwigObject *)v;
1510 sobj->own = SWIG_POINTER_OWN;
1511 return SWIG_Py_Void();
1512 }
1513
1514 SWIGINTERN PyObject*
1515 PySwigObject_own(PyObject *v, PyObject *args)
1516 {
1517 PyObject *val = 0;
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1520 #else
1521 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1522 #endif
1523 {
1524 return NULL;
1525 }
1526 else
1527 {
1528 PySwigObject *sobj = (PySwigObject *)v;
1529 PyObject *obj = PyBool_FromLong(sobj->own);
1530 if (val) {
1531 #ifdef METH_NOARGS
1532 if (PyObject_IsTrue(val)) {
1533 PySwigObject_acquire(v);
1534 } else {
1535 PySwigObject_disown(v);
1536 }
1537 #else
1538 if (PyObject_IsTrue(val)) {
1539 PySwigObject_acquire(v,args);
1540 } else {
1541 PySwigObject_disown(v,args);
1542 }
1543 #endif
1544 }
1545 return obj;
1546 }
1547 }
1548
1549 #ifdef METH_O
1550 static PyMethodDef
1551 swigobject_methods[] = {
1552 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1558 {0, 0, 0, 0}
1559 };
1560 #else
1561 static PyMethodDef
1562 swigobject_methods[] = {
1563 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1569 {0, 0, 0, 0}
1570 };
1571 #endif
1572
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject *
1575 PySwigObject_getattr(PySwigObject *sobj,char *name)
1576 {
1577 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1578 }
1579 #endif
1580
1581 SWIGRUNTIME PyTypeObject*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1584
1585 static PyNumberMethods PySwigObject_as_number = {
1586 (binaryfunc)0, /*nb_add*/
1587 (binaryfunc)0, /*nb_subtract*/
1588 (binaryfunc)0, /*nb_multiply*/
1589 (binaryfunc)0, /*nb_divide*/
1590 (binaryfunc)0, /*nb_remainder*/
1591 (binaryfunc)0, /*nb_divmod*/
1592 (ternaryfunc)0,/*nb_power*/
1593 (unaryfunc)0, /*nb_negative*/
1594 (unaryfunc)0, /*nb_positive*/
1595 (unaryfunc)0, /*nb_absolute*/
1596 (inquiry)0, /*nb_nonzero*/
1597 0, /*nb_invert*/
1598 0, /*nb_lshift*/
1599 0, /*nb_rshift*/
1600 0, /*nb_and*/
1601 0, /*nb_xor*/
1602 0, /*nb_or*/
1603 (coercion)0, /*nb_coerce*/
1604 (unaryfunc)PySwigObject_long, /*nb_int*/
1605 (unaryfunc)PySwigObject_long, /*nb_long*/
1606 (unaryfunc)0, /*nb_float*/
1607 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1608 (unaryfunc)PySwigObject_hex, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1613 #endif
1614 };
1615
1616 static PyTypeObject pyswigobject_type;
1617 static int type_init = 0;
1618 if (!type_init) {
1619 const PyTypeObject tmp
1620 = {
1621 PyObject_HEAD_INIT(NULL)
1622 0, /* ob_size */
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1627 (printfunc)PySwigObject_print, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1630 #else
1631 (getattrfunc)0, /* tp_getattr */
1632 #endif
1633 (setattrfunc)0, /* tp_setattr */
1634 (cmpfunc)PySwigObject_compare, /* tp_compare */
1635 (reprfunc)PySwigObject_repr, /* tp_repr */
1636 &PySwigObject_as_number, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc)0, /* tp_hash */
1640 (ternaryfunc)0, /* tp_call */
1641 (reprfunc)PySwigObject_str, /* tp_str */
1642 PyObject_GenericGetAttr, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT, /* tp_flags */
1646 swigobject_doc, /* tp_doc */
1647 0, /* tp_traverse */
1648 0, /* tp_clear */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1652 0, /* tp_iter */
1653 0, /* tp_iternext */
1654 swigobject_methods, /* tp_methods */
1655 0, /* tp_members */
1656 0, /* tp_getset */
1657 0, /* tp_base */
1658 0, /* tp_dict */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1662 0, /* tp_init */
1663 0, /* tp_alloc */
1664 0, /* tp_new */
1665 0, /* tp_free */
1666 0, /* tp_is_gc */
1667 0, /* tp_bases */
1668 0, /* tp_mro */
1669 0, /* tp_cache */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1672 #endif
1673 #if PY_VERSION_HEX >= 0x02030000
1674 0, /* tp_del */
1675 #endif
1676 #ifdef COUNT_ALLOCS
1677 0,0,0,0 /* tp_alloc -> tp_next */
1678 #endif
1679 };
1680 pyswigobject_type = tmp;
1681 pyswigobject_type.ob_type = &PyType_Type;
1682 type_init = 1;
1683 }
1684 return &pyswigobject_type;
1685 }
1686
1687 SWIGRUNTIME PyObject *
1688 PySwigObject_New(void *ptr, swig_type_info *ty, int own)
1689 {
1690 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1691 if (sobj) {
1692 sobj->ptr = ptr;
1693 sobj->ty = ty;
1694 sobj->own = own;
1695 sobj->next = 0;
1696 }
1697 return (PyObject *)sobj;
1698 }
1699
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1703
1704 typedef struct {
1705 PyObject_HEAD
1706 void *pack;
1707 swig_type_info *ty;
1708 size_t size;
1709 } PySwigPacked;
1710
1711 SWIGRUNTIME int
1712 PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1713 {
1714 char result[SWIG_BUFFER_SIZE];
1715 fputs("<Swig Packed ", fp);
1716 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1717 fputs("at ", fp);
1718 fputs(result, fp);
1719 }
1720 fputs(v->ty->name,fp);
1721 fputs(">", fp);
1722 return 0;
1723 }
1724
1725 SWIGRUNTIME PyObject *
1726 PySwigPacked_repr(PySwigPacked *v)
1727 {
1728 char result[SWIG_BUFFER_SIZE];
1729 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
1731 } else {
1732 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
1733 }
1734 }
1735
1736 SWIGRUNTIME PyObject *
1737 PySwigPacked_str(PySwigPacked *v)
1738 {
1739 char result[SWIG_BUFFER_SIZE];
1740 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
1741 return PyString_FromFormat("%s%s", result, v->ty->name);
1742 } else {
1743 return PyString_FromString(v->ty->name);
1744 }
1745 }
1746
1747 SWIGRUNTIME int
1748 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1749 {
1750 size_t i = v->size;
1751 size_t j = w->size;
1752 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1753 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
1754 }
1755
1756 SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
1757
1758 SWIGRUNTIME PyTypeObject*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1761 return type;
1762 }
1763
1764 SWIGRUNTIMEINLINE int
1765 PySwigPacked_Check(PyObject *op) {
1766 return ((op)->ob_type == _PySwigPacked_type())
1767 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1768 }
1769
1770 SWIGRUNTIME void
1771 PySwigPacked_dealloc(PyObject *v)
1772 {
1773 if (PySwigPacked_Check(v)) {
1774 PySwigPacked *sobj = (PySwigPacked *) v;
1775 free(sobj->pack);
1776 }
1777 PyObject_DEL(v);
1778 }
1779
1780 SWIGRUNTIME PyTypeObject*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type;
1784 static int type_init = 0;
1785 if (!type_init) {
1786 const PyTypeObject tmp
1787 = {
1788 PyObject_HEAD_INIT(NULL)
1789 0, /* ob_size */
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1794 (printfunc)PySwigPacked_print, /* tp_print */
1795 (getattrfunc)0, /* tp_getattr */
1796 (setattrfunc)0, /* tp_setattr */
1797 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1798 (reprfunc)PySwigPacked_repr, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc)0, /* tp_hash */
1803 (ternaryfunc)0, /* tp_call */
1804 (reprfunc)PySwigPacked_str, /* tp_str */
1805 PyObject_GenericGetAttr, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT, /* tp_flags */
1809 swigpacked_doc, /* tp_doc */
1810 0, /* tp_traverse */
1811 0, /* tp_clear */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1815 0, /* tp_iter */
1816 0, /* tp_iternext */
1817 0, /* tp_methods */
1818 0, /* tp_members */
1819 0, /* tp_getset */
1820 0, /* tp_base */
1821 0, /* tp_dict */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1825 0, /* tp_init */
1826 0, /* tp_alloc */
1827 0, /* tp_new */
1828 0, /* tp_free */
1829 0, /* tp_is_gc */
1830 0, /* tp_bases */
1831 0, /* tp_mro */
1832 0, /* tp_cache */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1835 #endif
1836 #if PY_VERSION_HEX >= 0x02030000
1837 0, /* tp_del */
1838 #endif
1839 #ifdef COUNT_ALLOCS
1840 0,0,0,0 /* tp_alloc -> tp_next */
1841 #endif
1842 };
1843 pyswigpacked_type = tmp;
1844 pyswigpacked_type.ob_type = &PyType_Type;
1845 type_init = 1;
1846 }
1847 return &pyswigpacked_type;
1848 }
1849
1850 SWIGRUNTIME PyObject *
1851 PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
1852 {
1853 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1854 if (sobj) {
1855 void *pack = malloc(size);
1856 if (pack) {
1857 memcpy(pack, ptr, size);
1858 sobj->pack = pack;
1859 sobj->ty = ty;
1860 sobj->size = size;
1861 } else {
1862 PyObject_DEL((PyObject *) sobj);
1863 sobj = 0;
1864 }
1865 }
1866 return (PyObject *) sobj;
1867 }
1868
1869 SWIGRUNTIME swig_type_info *
1870 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1871 {
1872 if (PySwigPacked_Check(obj)) {
1873 PySwigPacked *sobj = (PySwigPacked *)obj;
1874 if (sobj->size != size) return 0;
1875 memcpy(ptr, sobj->pack, size);
1876 return sobj->ty;
1877 } else {
1878 return 0;
1879 }
1880 }
1881
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1885
1886 SWIGRUNTIMEINLINE PyObject *
1887 _SWIG_This(void)
1888 {
1889 return PyString_FromString("this");
1890 }
1891
1892 SWIGRUNTIME PyObject *
1893 SWIG_This(void)
1894 {
1895 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1896 return swig_this;
1897 }
1898
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1900
1901 SWIGRUNTIME PySwigObject *
1902 SWIG_Python_GetSwigThis(PyObject *pyobj)
1903 {
1904 if (PySwigObject_Check(pyobj)) {
1905 return (PySwigObject *) pyobj;
1906 } else {
1907 PyObject *obj = 0;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj)) {
1910 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1911 } else {
1912 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1913 if (dictptr != NULL) {
1914 PyObject *dict = *dictptr;
1915 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1916 } else {
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj)) {
1919 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1920 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1921 }
1922 #endif
1923 obj = PyObject_GetAttr(pyobj,SWIG_This());
1924 if (obj) {
1925 Py_DECREF(obj);
1926 } else {
1927 if (PyErr_Occurred()) PyErr_Clear();
1928 return 0;
1929 }
1930 }
1931 }
1932 #else
1933 obj = PyObject_GetAttr(pyobj,SWIG_This());
1934 if (obj) {
1935 Py_DECREF(obj);
1936 } else {
1937 if (PyErr_Occurred()) PyErr_Clear();
1938 return 0;
1939 }
1940 #endif
1941 if (obj && !PySwigObject_Check(obj)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj);
1945 }
1946 return (PySwigObject *)obj;
1947 }
1948 }
1949
1950 /* Acquire a pointer value */
1951
1952 SWIGRUNTIME int
1953 SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1954 if (own) {
1955 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1956 if (sobj) {
1957 int oldown = sobj->own;
1958 sobj->own = own;
1959 return oldown;
1960 }
1961 }
1962 return 0;
1963 }
1964
1965 /* Convert a pointer value */
1966
1967 SWIGRUNTIME int
1968 SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1969 if (!obj) return SWIG_ERROR;
1970 if (obj == Py_None) {
1971 if (ptr) *ptr = 0;
1972 return SWIG_OK;
1973 } else {
1974 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1975 while (sobj) {
1976 void *vptr = sobj->ptr;
1977 if (ty) {
1978 swig_type_info *to = sobj->ty;
1979 if (to == ty) {
1980 /* no type cast needed */
1981 if (ptr) *ptr = vptr;
1982 break;
1983 } else {
1984 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1985 if (!tc) {
1986 sobj = (PySwigObject *)sobj->next;
1987 } else {
1988 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1989 break;
1990 }
1991 }
1992 } else {
1993 if (ptr) *ptr = vptr;
1994 break;
1995 }
1996 }
1997 if (sobj) {
1998 if (own) *own = sobj->own;
1999 if (flags & SWIG_POINTER_DISOWN) {
2000 sobj->own = 0;
2001 }
2002 return SWIG_OK;
2003 } else {
2004 int res = SWIG_ERROR;
2005 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2006 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2007 if (data && !data->implicitconv) {
2008 PyObject *klass = data->klass;
2009 if (klass) {
2010 PyObject *impconv;
2011 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv = SWIG_Python_CallFunctor(klass, obj);
2013 data->implicitconv = 0;
2014 if (PyErr_Occurred()) {
2015 PyErr_Clear();
2016 impconv = 0;
2017 }
2018 if (impconv) {
2019 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2020 if (iobj) {
2021 void *vptr;
2022 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2023 if (SWIG_IsOK(res)) {
2024 if (ptr) {
2025 *ptr = vptr;
2026 /* transfer the ownership to 'ptr' */
2027 iobj->own = 0;
2028 res = SWIG_AddCast(res);
2029 res = SWIG_AddNewMask(res);
2030 } else {
2031 res = SWIG_AddCast(res);
2032 }
2033 }
2034 }
2035 Py_DECREF(impconv);
2036 }
2037 }
2038 }
2039 }
2040 return res;
2041 }
2042 }
2043 }
2044
2045 /* Convert a function ptr value */
2046
2047 SWIGRUNTIME int
2048 SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2049 if (!PyCFunction_Check(obj)) {
2050 return SWIG_ConvertPtr(obj, ptr, ty, 0);
2051 } else {
2052 void *vptr = 0;
2053
2054 /* here we get the method pointer for callbacks */
2055 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2056 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2057 if (desc) {
2058 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2059 if (!desc) return SWIG_ERROR;
2060 }
2061 if (ty) {
2062 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2063 if (!tc) return SWIG_ERROR;
2064 *ptr = SWIG_TypeCast(tc,vptr);
2065 } else {
2066 *ptr = vptr;
2067 }
2068 return SWIG_OK;
2069 }
2070 }
2071
2072 /* Convert a packed value value */
2073
2074 SWIGRUNTIME int
2075 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2076 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2077 if (!to) return SWIG_ERROR;
2078 if (ty) {
2079 if (to != ty) {
2080 /* check type cast? */
2081 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2082 if (!tc) return SWIG_ERROR;
2083 }
2084 }
2085 return SWIG_OK;
2086 }
2087
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2091
2092 /*
2093 Create a new instance object, whitout calling __init__, and set the
2094 'this' attribute.
2095 */
2096
2097 SWIGRUNTIME PyObject*
2098 SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2099 {
2100 #if (PY_VERSION_HEX >= 0x02020000)
2101 PyObject *inst = 0;
2102 PyObject *newraw = data->newraw;
2103 if (newraw) {
2104 inst = PyObject_Call(newraw, data->newargs, NULL);
2105 if (inst) {
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2108 if (dictptr != NULL) {
2109 PyObject *dict = *dictptr;
2110 if (dict == NULL) {
2111 dict = PyDict_New();
2112 *dictptr = dict;
2113 PyDict_SetItem(dict, SWIG_This(), swig_this);
2114 }
2115 }
2116 #else
2117 PyObject *key = SWIG_This();
2118 PyObject_SetAttr(inst, key, swig_this);
2119 #endif
2120 }
2121 } else {
2122 PyObject *dict = PyDict_New();
2123 PyDict_SetItem(dict, SWIG_This(), swig_this);
2124 inst = PyInstance_NewRaw(data->newargs, dict);
2125 Py_DECREF(dict);
2126 }
2127 return inst;
2128 #else
2129 #if (PY_VERSION_HEX >= 0x02010000)
2130 PyObject *inst;
2131 PyObject *dict = PyDict_New();
2132 PyDict_SetItem(dict, SWIG_This(), swig_this);
2133 inst = PyInstance_NewRaw(data->newargs, dict);
2134 Py_DECREF(dict);
2135 return (PyObject *) inst;
2136 #else
2137 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2138 if (inst == NULL) {
2139 return NULL;
2140 }
2141 inst->in_class = (PyClassObject *)data->newargs;
2142 Py_INCREF(inst->in_class);
2143 inst->in_dict = PyDict_New();
2144 if (inst->in_dict == NULL) {
2145 Py_DECREF(inst);
2146 return NULL;
2147 }
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst->in_weakreflist = NULL;
2150 #endif
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst);
2153 #endif
2154 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2155 return (PyObject *) inst;
2156 #endif
2157 #endif
2158 }
2159
2160 SWIGRUNTIME void
2161 SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2162 {
2163 PyObject *dict;
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2166 if (dictptr != NULL) {
2167 dict = *dictptr;
2168 if (dict == NULL) {
2169 dict = PyDict_New();
2170 *dictptr = dict;
2171 }
2172 PyDict_SetItem(dict, SWIG_This(), swig_this);
2173 return;
2174 }
2175 #endif
2176 dict = PyObject_GetAttrString(inst, "__dict__");
2177 PyDict_SetItem(dict, SWIG_This(), swig_this);
2178 Py_DECREF(dict);
2179 }
2180
2181
2182 SWIGINTERN PyObject *
2183 SWIG_Python_InitShadowInstance(PyObject *args) {
2184 PyObject *obj[2];
2185 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2186 return NULL;
2187 } else {
2188 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2189 if (sthis) {
2190 PySwigObject_append((PyObject*) sthis, obj[1]);
2191 } else {
2192 SWIG_Python_SetSwigThis(obj[0], obj[1]);
2193 }
2194 return SWIG_Py_Void();
2195 }
2196 }
2197
2198 /* Create a new pointer object */
2199
2200 SWIGRUNTIME PyObject *
2201 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
2202 if (!ptr) {
2203 return SWIG_Py_Void();
2204 } else {
2205 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2206 PyObject *robj = PySwigObject_New(ptr, type, own);
2207 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2208 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2209 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2210 if (inst) {
2211 Py_DECREF(robj);
2212 robj = inst;
2213 }
2214 }
2215 return robj;
2216 }
2217 }
2218
2219 /* Create a new packed object */
2220
2221 SWIGRUNTIMEINLINE PyObject *
2222 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
2223 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
2224 }
2225
2226 /* -----------------------------------------------------------------------------*
2227 * Get type list
2228 * -----------------------------------------------------------------------------*/
2229
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2232 #endif
2233
2234 SWIGRUNTIME swig_module_info *
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer = (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2241 #else
2242 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2244 if (PyErr_Occurred()) {
2245 PyErr_Clear();
2246 type_pointer = (void *)0;
2247 }
2248 #endif
2249 }
2250 return (swig_module_info *) type_pointer;
2251 }
2252
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2256 SWIGINTERN int
2257 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2258 {
2259 PyObject *dict;
2260 if (!PyModule_Check(m)) {
2261 PyErr_SetString(PyExc_TypeError,
2262 "PyModule_AddObject() needs module as first arg");
2263 return SWIG_ERROR;
2264 }
2265 if (!o) {
2266 PyErr_SetString(PyExc_TypeError,
2267 "PyModule_AddObject() needs non-NULL value");
2268 return SWIG_ERROR;
2269 }
2270
2271 dict = PyModule_GetDict(m);
2272 if (dict == NULL) {
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2275 PyModule_GetName(m));
2276 return SWIG_ERROR;
2277 }
2278 if (PyDict_SetItemString(dict, name, o))
2279 return SWIG_ERROR;
2280 Py_DECREF(o);
2281 return SWIG_OK;
2282 }
2283 #endif
2284
2285 SWIGRUNTIME void
2286 SWIG_Python_DestroyModule(void *vptr)
2287 {
2288 swig_module_info *swig_module = (swig_module_info *) vptr;
2289 swig_type_info **types = swig_module->types;
2290 size_t i;
2291 for (i =0; i < swig_module->size; ++i) {
2292 swig_type_info *ty = types[i];
2293 if (ty->owndata) {
2294 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2295 if (data) PySwigClientData_Del(data);
2296 }
2297 }
2298 Py_DECREF(SWIG_This());
2299 }
2300
2301 SWIGRUNTIME void
2302 SWIG_Python_SetModule(swig_module_info *swig_module) {
2303 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2304
2305 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2306 swig_empty_runtime_method_table);
2307 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
2308 if (pointer && module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
2310 } else {
2311 Py_XDECREF(pointer);
2312 }
2313 }
2314
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject *
2317 SWIG_Python_TypeCache() {
2318 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2319 return cache;
2320 }
2321
2322 SWIGRUNTIME swig_type_info *
2323 SWIG_Python_TypeQuery(const char *type)
2324 {
2325 PyObject *cache = SWIG_Python_TypeCache();
2326 PyObject *key = PyString_FromString(type);
2327 PyObject *obj = PyDict_GetItem(cache, key);
2328 swig_type_info *descriptor;
2329 if (obj) {
2330 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2331 } else {
2332 swig_module_info *swig_module = SWIG_Python_GetModule();
2333 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2334 if (descriptor) {
2335 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2336 PyDict_SetItem(cache, key, obj);
2337 Py_DECREF(obj);
2338 }
2339 }
2340 Py_DECREF(key);
2341 return descriptor;
2342 }
2343
2344 /*
2345 For backward compatibility only
2346 */
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2350
2351 SWIGRUNTIME int
2352 SWIG_Python_AddErrMesg(const char* mesg, int infront)
2353 {
2354 if (PyErr_Occurred()) {
2355 PyObject *type = 0;
2356 PyObject *value = 0;
2357 PyObject *traceback = 0;
2358 PyErr_Fetch(&type, &value, &traceback);
2359 if (value) {
2360 PyObject *old_str = PyObject_Str(value);
2361 Py_XINCREF(type);
2362 PyErr_Clear();
2363 if (infront) {
2364 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2365 } else {
2366 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2367 }
2368 Py_DECREF(old_str);
2369 }
2370 return 1;
2371 } else {
2372 return 0;
2373 }
2374 }
2375
2376 SWIGRUNTIME int
2377 SWIG_Python_ArgFail(int argnum)
2378 {
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2381 char mesg[256];
2382 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2383 return SWIG_Python_AddErrMesg(mesg, 1);
2384 } else {
2385 return 0;
2386 }
2387 }
2388
2389 SWIGRUNTIMEINLINE const char *
2390 PySwigObject_GetDesc(PyObject *self)
2391 {
2392 PySwigObject *v = (PySwigObject *)self;
2393 swig_type_info *ty = v ? v->ty : 0;
2394 return ty ? ty->str : (char*)"";
2395 }
2396
2397 SWIGRUNTIME void
2398 SWIG_Python_TypeError(const char *type, PyObject *obj)
2399 {
2400 if (type) {
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj && PySwigObject_Check(obj)) {
2403 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2404 if (otype) {
2405 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2406 type, otype);
2407 return;
2408 }
2409 } else
2410 #endif
2411 {
2412 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2413 if (otype) {
2414 PyObject *str = PyObject_Str(obj);
2415 const char *cstr = str ? PyString_AsString(str) : 0;
2416 if (cstr) {
2417 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2418 type, otype, cstr);
2419 } else {
2420 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2421 type, otype);
2422 }
2423 Py_XDECREF(str);
2424 return;
2425 }
2426 }
2427 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2428 } else {
2429 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2430 }
2431 }
2432
2433
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2435 SWIGRUNTIME void *
2436 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2437 void *result;
2438 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2439 PyErr_Clear();
2440 if (flags & SWIG_POINTER_EXCEPTION) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2442 SWIG_Python_ArgFail(argnum);
2443 }
2444 }
2445 return result;
2446 }
2447
2448
2449 #ifdef __cplusplus
2450 #if 0
2451 { /* cc-mode */
2452 #endif
2453 }
2454 #endif
2455
2456
2457
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2459
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2461
2462
2463
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2465
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2477 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478 #define SWIGTYPE_p_wxBitmap swig_types[12]
2479 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2480 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2481 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2482 #define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2483 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2484 #define SWIGTYPE_p_wxCloseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxColour swig_types[19]
2486 #define SWIGTYPE_p_wxColourData swig_types[20]
2487 #define SWIGTYPE_p_wxColourDialog swig_types[21]
2488 #define SWIGTYPE_p_wxCommandEvent swig_types[22]
2489 #define SWIGTYPE_p_wxContextMenuEvent swig_types[23]
2490 #define SWIGTYPE_p_wxControl swig_types[24]
2491 #define SWIGTYPE_p_wxControlWithItems swig_types[25]
2492 #define SWIGTYPE_p_wxDC swig_types[26]
2493 #define SWIGTYPE_p_wxDateEvent swig_types[27]
2494 #define SWIGTYPE_p_wxDialog swig_types[28]
2495 #define SWIGTYPE_p_wxDirDialog swig_types[29]
2496 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2497 #define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDuplexMode swig_types[32]
2499 #define SWIGTYPE_p_wxEraseEvent swig_types[33]
2500 #define SWIGTYPE_p_wxEvent swig_types[34]
2501 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
2502 #define SWIGTYPE_p_wxFSFile swig_types[36]
2503 #define SWIGTYPE_p_wxFileDialog swig_types[37]
2504 #define SWIGTYPE_p_wxFileSystem swig_types[38]
2505 #define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2506 #define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2507 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2508 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2509 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2510 #define SWIGTYPE_p_wxFont swig_types[44]
2511 #define SWIGTYPE_p_wxFontData swig_types[45]
2512 #define SWIGTYPE_p_wxFontDialog swig_types[46]
2513 #define SWIGTYPE_p_wxFrame swig_types[47]
2514 #define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2515 #define SWIGTYPE_p_wxGIFHandler swig_types[49]
2516 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2517 #define SWIGTYPE_p_wxGridSizer swig_types[51]
2518 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[52]
2519 #define SWIGTYPE_p_wxICOHandler swig_types[53]
2520 #define SWIGTYPE_p_wxIcon swig_types[54]
2521 #define SWIGTYPE_p_wxIconBundle swig_types[55]
2522 #define SWIGTYPE_p_wxIconizeEvent swig_types[56]
2523 #define SWIGTYPE_p_wxIdleEvent swig_types[57]
2524 #define SWIGTYPE_p_wxImage swig_types[58]
2525 #define SWIGTYPE_p_wxImageHandler swig_types[59]
2526 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2527 #define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2528 #define SWIGTYPE_p_wxJPEGHandler swig_types[62]
2529 #define SWIGTYPE_p_wxKeyEvent swig_types[63]
2530 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[64]
2531 #define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
2532 #define SWIGTYPE_p_wxMDIChildFrame swig_types[66]
2533 #define SWIGTYPE_p_wxMDIClientWindow swig_types[67]
2534 #define SWIGTYPE_p_wxMDIParentFrame swig_types[68]
2535 #define SWIGTYPE_p_wxMaximizeEvent swig_types[69]
2536 #define SWIGTYPE_p_wxMenu swig_types[70]
2537 #define SWIGTYPE_p_wxMenuBar swig_types[71]
2538 #define SWIGTYPE_p_wxMenuEvent swig_types[72]
2539 #define SWIGTYPE_p_wxMenuItem swig_types[73]
2540 #define SWIGTYPE_p_wxMessageDialog swig_types[74]
2541 #define SWIGTYPE_p_wxMiniFrame swig_types[75]
2542 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[76]
2543 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[77]
2544 #define SWIGTYPE_p_wxMouseEvent swig_types[78]
2545 #define SWIGTYPE_p_wxMoveEvent swig_types[79]
2546 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[80]
2547 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[81]
2548 #define SWIGTYPE_p_wxNcPaintEvent swig_types[82]
2549 #define SWIGTYPE_p_wxNotifyEvent swig_types[83]
2550 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[84]
2551 #define SWIGTYPE_p_wxObject swig_types[85]
2552 #define SWIGTYPE_p_wxPCXHandler swig_types[86]
2553 #define SWIGTYPE_p_wxPNGHandler swig_types[87]
2554 #define SWIGTYPE_p_wxPNMHandler swig_types[88]
2555 #define SWIGTYPE_p_wxPageSetupDialog swig_types[89]
2556 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[90]
2557 #define SWIGTYPE_p_wxPaintEvent swig_types[91]
2558 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[92]
2559 #define SWIGTYPE_p_wxPanel swig_types[93]
2560 #define SWIGTYPE_p_wxPaperSize swig_types[94]
2561 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[95]
2562 #define SWIGTYPE_p_wxPoint swig_types[96]
2563 #define SWIGTYPE_p_wxPopupWindow swig_types[97]
2564 #define SWIGTYPE_p_wxPreviewCanvas swig_types[98]
2565 #define SWIGTYPE_p_wxPreviewControlBar swig_types[99]
2566 #define SWIGTYPE_p_wxPreviewFrame swig_types[100]
2567 #define SWIGTYPE_p_wxPrintData swig_types[101]
2568 #define SWIGTYPE_p_wxPrintDialog swig_types[102]
2569 #define SWIGTYPE_p_wxPrintDialogData swig_types[103]
2570 #define SWIGTYPE_p_wxPrintPreview swig_types[104]
2571 #define SWIGTYPE_p_wxPrinter swig_types[105]
2572 #define SWIGTYPE_p_wxProgressDialog swig_types[106]
2573 #define SWIGTYPE_p_wxPyApp swig_types[107]
2574 #define SWIGTYPE_p_wxPyCommandEvent swig_types[108]
2575 #define SWIGTYPE_p_wxPyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[110]
2577 #define SWIGTYPE_p_wxPyImageHandler swig_types[111]
2578 #define SWIGTYPE_p_wxPyPanel swig_types[112]
2579 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[113]
2580 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[114]
2581 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[115]
2582 #define SWIGTYPE_p_wxPyPrintPreview swig_types[116]
2583 #define SWIGTYPE_p_wxPyPrintout swig_types[117]
2584 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[118]
2585 #define SWIGTYPE_p_wxPySizer swig_types[119]
2586 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[120]
2587 #define SWIGTYPE_p_wxPyVListBox swig_types[121]
2588 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[122]
2589 #define SWIGTYPE_p_wxPyValidator swig_types[123]
2590 #define SWIGTYPE_p_wxPyWindow swig_types[124]
2591 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[125]
2592 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[126]
2593 #define SWIGTYPE_p_wxRect swig_types[127]
2594 #define SWIGTYPE_p_wxRegion swig_types[128]
2595 #define SWIGTYPE_p_wxSashEvent swig_types[129]
2596 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[130]
2597 #define SWIGTYPE_p_wxSashWindow swig_types[131]
2598 #define SWIGTYPE_p_wxScrollEvent swig_types[132]
2599 #define SWIGTYPE_p_wxScrollWinEvent swig_types[133]
2600 #define SWIGTYPE_p_wxScrolledWindow swig_types[134]
2601 #define SWIGTYPE_p_wxSetCursorEvent swig_types[135]
2602 #define SWIGTYPE_p_wxShowEvent swig_types[136]
2603 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[137]
2604 #define SWIGTYPE_p_wxSize swig_types[138]
2605 #define SWIGTYPE_p_wxSizeEvent swig_types[139]
2606 #define SWIGTYPE_p_wxSizer swig_types[140]
2607 #define SWIGTYPE_p_wxSizerItem swig_types[141]
2608 #define SWIGTYPE_p_wxSplashScreen swig_types[142]
2609 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[143]
2610 #define SWIGTYPE_p_wxSplitterEvent swig_types[144]
2611 #define SWIGTYPE_p_wxSplitterWindow swig_types[145]
2612 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[146]
2613 #define SWIGTYPE_p_wxStatusBar swig_types[147]
2614 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[148]
2615 #define SWIGTYPE_p_wxString swig_types[149]
2616 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[150]
2617 #define SWIGTYPE_p_wxTGAHandler swig_types[151]
2618 #define SWIGTYPE_p_wxTIFFHandler swig_types[152]
2619 #define SWIGTYPE_p_wxTaskBarIcon swig_types[153]
2620 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[154]
2621 #define SWIGTYPE_p_wxTextEntryDialog swig_types[155]
2622 #define SWIGTYPE_p_wxTipWindow swig_types[156]
2623 #define SWIGTYPE_p_wxToolBar swig_types[157]
2624 #define SWIGTYPE_p_wxTopLevelWindow swig_types[158]
2625 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[159]
2626 #define SWIGTYPE_p_wxValidator swig_types[160]
2627 #define SWIGTYPE_p_wxVisualAttributes swig_types[161]
2628 #define SWIGTYPE_p_wxWindow swig_types[162]
2629 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[163]
2630 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[164]
2631 #define SWIGTYPE_p_wxXPMHandler swig_types[165]
2632 static swig_type_info *swig_types[167];
2633 static swig_module_info swig_module = {swig_types, 166, 0, 0, 0, 0};
2634 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2635 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2636
2637 /* -------- TYPES TABLE (END) -------- */
2638
2639 #if (PY_VERSION_HEX <= 0x02000000)
2640 # if !defined(SWIG_PYTHON_CLASSIC)
2641 # error "This python version requires to use swig with the '-classic' option"
2642 # endif
2643 #endif
2644 #if (PY_VERSION_HEX <= 0x02020000)
2645 # error "This python version requires to use swig with the '-nomodern' option"
2646 #endif
2647 #if (PY_VERSION_HEX <= 0x02020000)
2648 # error "This python version requires to use swig with the '-nomodernargs' option"
2649 #endif
2650 #ifndef METH_O
2651 # error "This python version requires to use swig with the '-nofastunpack' option"
2652 #endif
2653
2654 /*-----------------------------------------------
2655 @(target):= _windows_.so
2656 ------------------------------------------------*/
2657 #define SWIG_init init_windows_
2658
2659 #define SWIG_name "_windows_"
2660
2661 #define SWIGVERSION 0x010329
2662
2663
2664 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2665 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2666
2667
2668 #include <stdexcept>
2669
2670
2671 namespace swig {
2672 class PyObject_ptr {
2673 protected:
2674 PyObject *_obj;
2675
2676 public:
2677 PyObject_ptr() :_obj(0)
2678 {
2679 }
2680
2681 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2682 {
2683 Py_XINCREF(_obj);
2684 }
2685
2686 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2687 {
2688 if (initial_ref) Py_XINCREF(_obj);
2689 }
2690
2691 PyObject_ptr & operator=(const PyObject_ptr& item)
2692 {
2693 Py_XINCREF(item._obj);
2694 Py_XDECREF(_obj);
2695 _obj = item._obj;
2696 return *this;
2697 }
2698
2699 ~PyObject_ptr()
2700 {
2701 Py_XDECREF(_obj);
2702 }
2703
2704 operator PyObject *() const
2705 {
2706 return _obj;
2707 }
2708
2709 PyObject *operator->() const
2710 {
2711 return _obj;
2712 }
2713 };
2714 }
2715
2716
2717 namespace swig {
2718 struct PyObject_var : PyObject_ptr {
2719 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2720
2721 PyObject_var & operator = (PyObject* obj)
2722 {
2723 Py_XDECREF(_obj);
2724 _obj = obj;
2725 return *this;
2726 }
2727 };
2728 }
2729
2730
2731 #include "wx/wxPython/wxPython.h"
2732 #include "wx/wxPython/pyclasses.h"
2733
2734
2735 static const wxString wxPyEmptyString(wxEmptyString);
2736 static const wxString wxPyPanelNameStr(wxPanelNameStr);
2737
2738
2739
2740 #include <limits.h>
2741 #ifndef LLONG_MIN
2742 # define LLONG_MIN LONG_LONG_MIN
2743 #endif
2744 #ifndef LLONG_MAX
2745 # define LLONG_MAX LONG_LONG_MAX
2746 #endif
2747 #ifndef ULLONG_MAX
2748 # define ULLONG_MAX ULONG_LONG_MAX
2749 #endif
2750
2751
2752 SWIGINTERN int
2753 SWIG_AsVal_long (PyObject* obj, long* val)
2754 {
2755 if (PyNumber_Check(obj)) {
2756 if (val) *val = PyInt_AsLong(obj);
2757 return SWIG_OK;
2758 }
2759 return SWIG_TypeError;
2760 }
2761
2762
2763 SWIGINTERN int
2764 SWIG_AsVal_int (PyObject * obj, int *val)
2765 {
2766 long v;
2767 int res = SWIG_AsVal_long (obj, &v);
2768 if (SWIG_IsOK(res)) {
2769 if ((v < INT_MIN || v > INT_MAX)) {
2770 return SWIG_OverflowError;
2771 } else {
2772 if (val) *val = static_cast< int >(v);
2773 }
2774 }
2775 return res;
2776 }
2777
2778
2779 SWIGINTERN int
2780 SWIG_AsVal_bool (PyObject *obj, bool *val)
2781 {
2782 if (obj == Py_True) {
2783 if (val) *val = true;
2784 return SWIG_OK;
2785 } else if (obj == Py_False) {
2786 if (val) *val = false;
2787 return SWIG_OK;
2788 } else {
2789 long v = 0;
2790 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2791 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2792 return res;
2793 }
2794 }
2795
2796
2797 #define SWIG_From_long PyInt_FromLong
2798
2799
2800 SWIGINTERNINLINE PyObject *
2801 SWIG_From_int (int value)
2802 {
2803 return SWIG_From_long (value);
2804 }
2805
2806
2807 SWIGINTERN int
2808 SWIG_AsVal_double (PyObject *obj, double* val)
2809 {
2810 if (PyNumber_Check(obj)) {
2811 if (val) *val = PyFloat_AsDouble(obj);
2812 return SWIG_OK;
2813 }
2814 return SWIG_TypeError;
2815 }
2816
2817
2818 #define SWIG_From_double PyFloat_FromDouble
2819
2820 static const wxString wxPyFrameNameStr(wxFrameNameStr);
2821 static const wxString wxPyDialogNameStr(wxDialogNameStr);
2822 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
2823 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
2824 SWIGINTERN void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
2825 SWIGINTERN bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
2826
2827
2828 SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
2829 wxRect r;
2830 self->GetFieldRect(i, r);
2831 return r;
2832 }
2833 static const wxString wxPySplitterNameStr(wxT("splitter"));
2834 static const wxString wxPySashNameStr(wxT("sashWindow"));
2835 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
2836
2837 #include <wx/popupwin.h>
2838
2839
2840 class wxPyPopupTransientWindow : public wxPopupTransientWindow
2841 {
2842 public:
2843 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2844 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
2845 : wxPopupTransientWindow(parent, style) {}
2846
2847 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
2848 DEC_PYCALLBACK__(OnDismiss);
2849 DEC_PYCALLBACK_BOOL_(CanDismiss);
2850 PYPRIVATE;
2851 };
2852
2853
2854 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
2855 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
2856 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
2857
2858
2859 #include <wx/tipwin.h>
2860
2861 SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
2862 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2863 }
2864
2865 #include <wx/tipwin.h>
2866
2867
2868 #include <wx/vscroll.h>
2869
2870
2871 class wxPyVScrolledWindow : public wxVScrolledWindow
2872 {
2873 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
2874 public:
2875 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2876
2877 wxPyVScrolledWindow(wxWindow *parent,
2878 wxWindowID id = wxID_ANY,
2879 const wxPoint& pos = wxDefaultPosition,
2880 const wxSize& size = wxDefaultSize,
2881 long style = 0,
2882 const wxString& name = wxPyPanelNameStr)
2883 : wxVScrolledWindow(parent, id, pos, size, style, name)
2884 {}
2885
2886 // Overridable virtuals
2887
2888 // this function must be overridden in the derived class and it should
2889 // return the height of the given line in pixels
2890 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
2891
2892
2893 // this function doesn't have to be overridden but it may be useful to do
2894 // it if calculating the lines heights is a relatively expensive operation
2895 // as it gives the user code a possibility to calculate several of them at
2896 // once
2897 //
2898 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2899 // shouldn't rely on the latter being called for all lines in the interval
2900 // specified here. It is also possible that OnGetLineHeight() will be
2901 // called for the lines outside of this interval, so this is really just a
2902 // hint, not a promise.
2903 //
2904 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2905 // usual
2906 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
2907
2908
2909 // when the number of lines changes, we try to estimate the total height
2910 // of all lines which is a rather expensive operation in terms of lines
2911 // access, so if the user code may estimate the average height
2912 // better/faster than we do, it should override this function to implement
2913 // its own logic
2914 //
2915 // this function should return the best guess for the total height it may
2916 // make
2917 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2918
2919
2920 // Also expose some other interesting protected methods
2921
2922
2923 // find the index of the line we need to show at the top of the window such
2924 // that the last (fully or partially) visible line is the given one
2925 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
2926 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
2927
2928 // get the total height of the lines between lineMin (inclusive) and
2929 // lineMax (exclusive)
2930 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
2931 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
2932
2933 // update the thumb size shown by the scrollbar
2934 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2935
2936 // remove the scrollbar completely because we don't need it
2937 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2938
2939 PYPRIVATE;
2940 };
2941
2942 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
2943
2944 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
2945 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
2946 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2947
2948
2949 SWIGINTERN int
2950 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2951 {
2952 long v = 0;
2953 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2954 return SWIG_TypeError;
2955 }
2956 else if (val)
2957 *val = (unsigned long)v;
2958 return SWIG_OK;
2959 }
2960
2961
2962 SWIGINTERNINLINE int
2963 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2964 {
2965 unsigned long v;
2966 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2967 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2968 return res;
2969 }
2970
2971
2972 SWIGINTERNINLINE PyObject*
2973 SWIG_From_unsigned_SS_long (unsigned long value)
2974 {
2975 return (value > LONG_MAX) ?
2976 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2977 }
2978
2979
2980 SWIGINTERNINLINE PyObject *
2981 SWIG_From_size_t (size_t value)
2982 {
2983 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2984 }
2985
2986
2987 #include <wx/vlbox.h>
2988
2989 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
2990
2991 class wxPyVListBox : public wxVListBox
2992 {
2993 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
2994 public:
2995 wxPyVListBox() : wxVListBox() {}
2996
2997 wxPyVListBox(wxWindow *parent,
2998 wxWindowID id = wxID_ANY,
2999 const wxPoint& pos = wxDefaultPosition,
3000 const wxSize& size = wxDefaultSize,
3001 long style = 0,
3002 const wxString& name = wxPyVListBoxNameStr)
3003 : wxVListBox(parent, id, pos, size, style, name)
3004 {}
3005
3006 // Overridable virtuals
3007
3008 // the derived class must implement this function to actually draw the item
3009 // with the given index on the provided DC
3010 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3011 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
3012
3013
3014 // the derived class must implement this method to return the height of the
3015 // specified item
3016 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3017 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3018
3019
3020 // this method may be used to draw separators between the lines; note that
3021 // the rectangle may be modified, typically to deflate it a bit before
3022 // passing to OnDrawItem()
3023 //
3024 // the base class version doesn't do anything
3025 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3026 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3027
3028
3029 // this method is used to draw the items background and, maybe, a border
3030 // around it
3031 //
3032 // the base class version implements a reasonable default behaviour which
3033 // consists in drawing the selected item with the standard background
3034 // colour and drawing a border around the item if it is either selected or
3035 // current
3036 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3037 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3038
3039
3040 PYPRIVATE;
3041 };
3042
3043 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3044
3045 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3046 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
3047 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox, wxVListBox, OnDrawSeparator);
3048 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3049
3050
3051 SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
3052 unsigned long cookie = 0;
3053 int selected = self->GetFirstSelected(cookie);
3054 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3055 PyObject* tup = PyTuple_New(2);
3056 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3057 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3058 wxPyEndBlockThreads(blocked);
3059 return tup;
3060 }
3061 SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
3062 int selected = self->GetNextSelected(cookie);
3063 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3064 PyObject* tup = PyTuple_New(2);
3065 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3066 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3067 wxPyEndBlockThreads(blocked);
3068 return tup;
3069 }
3070
3071 #include <wx/htmllbox.h>
3072
3073
3074 class wxPyHtmlListBox : public wxHtmlListBox
3075 {
3076 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
3077 public:
3078 wxPyHtmlListBox() : wxHtmlListBox() {}
3079
3080 wxPyHtmlListBox(wxWindow *parent,
3081 wxWindowID id = wxID_ANY,
3082 const wxPoint& pos = wxDefaultPosition,
3083 const wxSize& size = wxDefaultSize,
3084 long style = 0,
3085 const wxString& name = wxPyVListBoxNameStr)
3086 : wxHtmlListBox(parent, id, pos, size, style, name)
3087 {}
3088
3089 // Overridable virtuals
3090
3091 // this method must be implemented in the derived class and should return
3092 // the body (i.e. without <html>) of the HTML for the given item
3093 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3094
3095 // this function may be overridden to decorate HTML returned by OnGetItem()
3096 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3097
3098 // These are from wxVListBox
3099 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3100 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3101
3102 // TODO:
3103 // // this method allows to customize the selection appearance: it may be used
3104 // // to specify the colour of the text which normally has the given colour
3105 // // colFg when it is inside the selection
3106 // //
3107 // // by default, the original colour is not used at all and all text has the
3108 // // same (default for this system) colour inside selection
3109 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3110
3111 // // this is the same as GetSelectedTextColour() but allows to customize the
3112 // // background colour -- this is even more rarely used as you can change it
3113 // // globally using SetSelectionBackground()
3114 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3115
3116
3117 // This method may be overriden to handle clicking on a link in
3118 // the listbox. By default, clicking links is ignored.
3119 virtual void OnLinkClicked(size_t n,
3120 const wxHtmlLinkInfo& link);
3121
3122 PYPRIVATE;
3123 };
3124
3125
3126 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3127
3128 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3129 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
3130 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawSeparator);
3131 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawBackground);
3132
3133
3134 void wxPyHtmlListBox::OnLinkClicked(size_t n,
3135 const wxHtmlLinkInfo& link) {
3136 bool found;
3137 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3138 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3139 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3140 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", n, obj));
3141 Py_DECREF(obj);
3142 }
3143 wxPyEndBlockThreads(blocked);
3144 if (! found)
3145 wxPyHtmlListBox::OnLinkClicked(n, link);
3146 }
3147
3148
3149
3150
3151
3152 #ifndef wxHAS_TASK_BAR_ICON
3153 // implement dummy classes for platforms that don't have it
3154
3155 class wxTaskBarIcon : public wxEvtHandler
3156 {
3157 public:
3158 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3159 };
3160
3161
3162 class wxTaskBarIconEvent : public wxEvent
3163 {
3164 public:
3165 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
3166 { wxPyRaiseNotImplemented(); }
3167 virtual wxEvent* Clone() const { return NULL; }
3168 bool IsOk() const { return false; }
3169 bool IsIconInstalled() const { return false; }
3170 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3171 bool RemoveIcon() { return false; }
3172 bool PopupMenu(wxMenu *menu) { return false; }
3173 };
3174
3175 enum {
3176 wxEVT_TASKBAR_MOVE = 0,
3177 wxEVT_TASKBAR_LEFT_DOWN = 0,
3178 wxEVT_TASKBAR_LEFT_UP = 0,
3179 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3180 wxEVT_TASKBAR_RIGHT_UP = 0,
3181 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3182 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3183 };
3184
3185
3186 #else
3187 // Otherwise make a class that can virtualize CreatePopupMenu
3188 class wxPyTaskBarIcon : public wxTaskBarIcon
3189 {
3190 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
3191 public:
3192 wxPyTaskBarIcon() : wxTaskBarIcon()
3193 {}
3194
3195 wxMenu* CreatePopupMenu() {
3196 wxMenu *rval = NULL;
3197 bool found;
3198 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3199 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3200 PyObject* ro;
3201 wxMenu* ptr;
3202 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3203 if (ro) {
3204 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3205 rval = ptr;
3206 Py_DECREF(ro);
3207 }
3208 }
3209 wxPyEndBlockThreads(blocked);
3210 if (! found)
3211 rval = wxTaskBarIcon::CreatePopupMenu();
3212 return rval;
3213 }
3214
3215 PYPRIVATE;
3216 };
3217
3218 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
3219
3220 #endif
3221
3222 SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
3223 self->RemoveIcon();
3224 delete self;
3225 }
3226 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3227 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3228 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3229 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3230 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3231 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
3232
3233 // for compatibility only
3234 #define wxHIDE_READONLY 0
3235
3236 SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
3237 wxArrayString arr;
3238 self->GetFilenames(arr);
3239 return wxArrayString2PyList_helper(arr);
3240 }
3241 SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
3242 wxArrayString arr;
3243 self->GetPaths(arr);
3244 return wxArrayString2PyList_helper(arr);
3245 }
3246 SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
3247 return wxArrayInt2PyList_helper(self->GetSelections());
3248 }
3249 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){
3250 return new wxSingleChoiceDialog(parent, message, caption,
3251 choices, choices_array, NULL, style, pos);
3252 }
3253 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
3254
3255 SWIGINTERNINLINE PyObject*
3256 SWIG_From_bool (bool value)
3257 {
3258 return PyBool_FromLong(value ? 1 : 0);
3259 }
3260
3261
3262 #include <wx/mdi.h>
3263
3264 // C++ version of Python aware wxWindow
3265 class wxPyWindow : public wxWindow
3266 {
3267 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3268 public:
3269 wxPyWindow() : wxWindow() {}
3270 wxPyWindow(wxWindow* parent, const wxWindowID id,
3271 const wxPoint& pos = wxDefaultPosition,
3272 const wxSize& size = wxDefaultSize,
3273 long style = 0,
3274 const wxString& name = wxPyPanelNameStr)
3275 : wxWindow(parent, id, pos, size, style, name) {}
3276
3277
3278 bool DoEraseBackground(wxDC* dc) {
3279 #ifdef __WXMSW__
3280 return wxWindow::DoEraseBackground(dc->GetHDC());
3281 #else
3282 dc->SetBackground(wxBrush(GetBackgroundColour()));
3283 dc->Clear();
3284 return true;
3285 #endif
3286 }
3287
3288 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3289 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3290 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3291 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3292
3293 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3294 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3295 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3296
3297 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3298 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3299
3300 DEC_PYCALLBACK__(InitDialog);
3301 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3302 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3303 DEC_PYCALLBACK_BOOL_(Validate);
3304
3305 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3306 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3307 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3308
3309 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3310 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3311
3312 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3313 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3314
3315 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3316
3317 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3318
3319 PYPRIVATE;
3320 };
3321
3322 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3323
3324 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3325 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3326 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3327 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3328
3329 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3330 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3331 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3332
3333 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3334 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3335
3336 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3337 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3338 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3339 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3340
3341 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3342 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3343 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3344
3345 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3346 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3347
3348 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
3349 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
3350
3351 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
3352
3353 IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3354
3355 // C++ version of Python aware wxPanel
3356 class wxPyPanel : public wxPanel
3357 {
3358 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3359 public:
3360 wxPyPanel() : wxPanel() {}
3361 wxPyPanel(wxWindow* parent, const wxWindowID id,
3362 const wxPoint& pos = wxDefaultPosition,
3363 const wxSize& size = wxDefaultSize,
3364 long style = 0,
3365 const wxString& name = wxPyPanelNameStr)
3366 : wxPanel(parent, id, pos, size, style, name) {}
3367
3368 bool DoEraseBackground(wxDC* dc) {
3369 #ifdef __WXMSW__
3370 return wxWindow::DoEraseBackground(dc->GetHDC());
3371 #else
3372 dc->SetBackground(wxBrush(GetBackgroundColour()));
3373 dc->Clear();
3374 return true;
3375 #endif
3376 }
3377
3378
3379 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3380 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3381 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3382 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3383
3384 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3385 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3386 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3387
3388 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3389 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3390
3391 DEC_PYCALLBACK__(InitDialog);
3392 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3393 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3394 DEC_PYCALLBACK_BOOL_(Validate);
3395
3396 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3397 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3398 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3399
3400 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3401 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3402
3403 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3404 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3405
3406 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3407
3408 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3409
3410 PYPRIVATE;
3411 };
3412
3413 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3414
3415 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3416 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3417 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3418 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3419
3420 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3421 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3422 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3423
3424 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3425 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3426
3427 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3428 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3429 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3430 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3431
3432 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3433 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3434 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3435
3436 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3437 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3438
3439 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
3440 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
3441
3442 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3443
3444 IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3445
3446 // C++ version of Python aware wxScrolledWindow
3447 class wxPyScrolledWindow : public wxScrolledWindow
3448 {
3449 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3450 public:
3451 wxPyScrolledWindow() : wxScrolledWindow() {}
3452 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3453 const wxPoint& pos = wxDefaultPosition,
3454 const wxSize& size = wxDefaultSize,
3455 long style = 0,
3456 const wxString& name = wxPyPanelNameStr)
3457 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3458
3459 bool DoEraseBackground(wxDC* dc) {
3460 #ifdef __WXMSW__
3461 return wxWindow::DoEraseBackground(dc->GetHDC());
3462 #else
3463 dc->SetBackground(wxBrush(GetBackgroundColour()));
3464 dc->Clear();
3465 return true;
3466 #endif
3467 }
3468
3469 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3470 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3471 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3472 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3473
3474 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3475 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3476 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3477
3478 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3479 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3480
3481 DEC_PYCALLBACK__(InitDialog);
3482 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3483 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3484 DEC_PYCALLBACK_BOOL_(Validate);
3485
3486 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3487 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3488 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3489
3490 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3491 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3492
3493 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3494 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3495
3496 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3497
3498 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3499
3500 PYPRIVATE;
3501 };
3502
3503 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3504
3505 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3506 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3507 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3508 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3509
3510 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3511 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3512 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3513
3514 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3515 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3516
3517 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3518 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3519 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3520 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3521
3522 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3523 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3524 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3525
3526 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3527 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3528
3529 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
3530 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3531
3532 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
3533
3534 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3535
3536
3537 #include "wx/wxPython/printfw.h"
3538
3539
3540 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3541 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3542 SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
3543 PyObject* data;
3544 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3545 data = PyString_FromStringAndSize(self->GetPrivData(),
3546 self->GetPrivDataLen());
3547 wxPyEndBlockThreads(blocked);
3548 return data;
3549 }
3550 SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
3551 if (! PyString_Check(data)) {
3552 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3553 "Expected string object"));
3554 return /* NULL */ ;
3555 }
3556
3557 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3558 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3559 wxPyEndBlockThreads(blocked);
3560 }
3561
3562
3563 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
3564
3565 // Since this one would be tough and ugly to do with the Macros...
3566 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
3567 bool hadErr = false;
3568 bool found;
3569
3570 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3571 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3572 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3573 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3574 PyObject* val;
3575
3576 val = PyTuple_GetItem(result, 0);
3577 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
3578 else hadErr = true;
3579
3580 val = PyTuple_GetItem(result, 1);
3581 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
3582 else hadErr = true;
3583
3584 val = PyTuple_GetItem(result, 2);
3585 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
3586 else hadErr = true;
3587
3588 val = PyTuple_GetItem(result, 3);
3589 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
3590 else hadErr = true;
3591 }
3592 else
3593 hadErr = true;
3594
3595 if (hadErr) {
3596 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3597 PyErr_Print();
3598 }
3599 Py_DECREF(result);
3600 }
3601 wxPyEndBlockThreads(blocked);
3602 if (! found)
3603 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3604 }
3605
3606
3607
3608 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3609 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3610 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3611 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3612 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3613 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3614 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3615
3616
3617
3618
3619
3620 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3621 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3622
3623
3624 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3625 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3626 bool rval=false; \
3627 bool found; \
3628 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3629 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3630 PyObject* win = wxPyMake_wxObject(a,false); \
3631 PyObject* dc = wxPyMake_wxObject(&b,false); \
3632 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3633 Py_DECREF(win); \
3634 Py_DECREF(dc); \
3635 } \
3636 wxPyEndBlockThreads(blocked); \
3637 if (! found) \
3638 rval = PCLASS::CBNAME(a, b); \
3639 return rval; \
3640 }
3641
3642
3643
3644
3645 class wxPyPrintPreview : public wxPrintPreview
3646 {
3647 DECLARE_CLASS(wxPyPrintPreview)
3648 public:
3649 wxPyPrintPreview(wxPyPrintout* printout,
3650 wxPyPrintout* printoutForPrinting,
3651 wxPrintDialogData* data=NULL)
3652 : wxPrintPreview(printout, printoutForPrinting, data)
3653 {}
3654 wxPyPrintPreview(wxPyPrintout* printout,
3655 wxPyPrintout* printoutForPrinting,
3656 wxPrintData* data)
3657 : wxPrintPreview(printout, printoutForPrinting, data)
3658 {}
3659
3660 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3661 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3662 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3663 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3664 DEC_PYCALLBACK_VOID_INT(SetZoom);
3665 DEC_PYCALLBACK_BOOL_BOOL(Print);
3666 DEC_PYCALLBACK_VOID_(DetermineScaling);
3667
3668 PYPRIVATE;
3669 };
3670
3671 // Stupid renamed classes... Fix this in 2.5...
3672 #if defined(__WXMSW__)
3673 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3674 #elif defined(__WXMAC__)
3675 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3676 #else
3677 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3678 #endif
3679
3680 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3681 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3682 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3683 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3684 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3685 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3686 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3687
3688
3689 class wxPyPreviewFrame : public wxPreviewFrame
3690 {
3691 DECLARE_CLASS(wxPyPreviewFrame)
3692 public:
3693 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3694 const wxString& title,
3695 const wxPoint& pos = wxDefaultPosition,
3696 const wxSize& size = wxDefaultSize,
3697 long style = wxDEFAULT_FRAME_STYLE,
3698 const wxString& name = wxPyFrameNameStr)
3699 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3700 {}
3701
3702 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3703 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3704
3705 DEC_PYCALLBACK_VOID_(Initialize);
3706 DEC_PYCALLBACK_VOID_(CreateCanvas);
3707 DEC_PYCALLBACK_VOID_(CreateControlBar);
3708
3709 PYPRIVATE;
3710 };
3711
3712 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3713
3714 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3715 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3716 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3717
3718
3719 class wxPyPreviewControlBar : public wxPreviewControlBar
3720 {
3721 DECLARE_CLASS(wxPyPreviewControlBar)
3722 public:
3723 wxPyPreviewControlBar(wxPrintPreview *preview,
3724 long buttons,
3725 wxWindow *parent,
3726 const wxPoint& pos = wxDefaultPosition,
3727 const wxSize& size = wxDefaultSize,
3728 long style = 0,
3729 const wxString& name = wxPyPanelNameStr)
3730 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3731 {}
3732
3733 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3734
3735 DEC_PYCALLBACK_VOID_(CreateButtons);
3736 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3737
3738 PYPRIVATE;
3739 };
3740
3741 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3742 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3743 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3744
3745 #ifdef __cplusplus
3746 extern "C" {
3747 #endif
3748 SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3749 PyObject *resultobj = 0;
3750 wxWindow *arg1 = (wxWindow *) 0 ;
3751 int arg2 = (int) (int)-1 ;
3752 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3753 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3754 wxSize const &arg4_defvalue = wxDefaultSize ;
3755 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3756 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3757 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3758 wxString *arg6 = (wxString *) &arg6_defvalue ;
3759 wxPanel *result = 0 ;
3760 void *argp1 = 0 ;
3761 int res1 = 0 ;
3762 int val2 ;
3763 int ecode2 = 0 ;
3764 wxPoint temp3 ;
3765 wxSize temp4 ;
3766 long val5 ;
3767 int ecode5 = 0 ;
3768 bool temp6 = false ;
3769 PyObject * obj0 = 0 ;
3770 PyObject * obj1 = 0 ;
3771 PyObject * obj2 = 0 ;
3772 PyObject * obj3 = 0 ;
3773 PyObject * obj4 = 0 ;
3774 PyObject * obj5 = 0 ;
3775 char * kwnames[] = {
3776 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3777 };
3778
3779 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3780 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3781 if (!SWIG_IsOK(res1)) {
3782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3783 }
3784 arg1 = reinterpret_cast< wxWindow * >(argp1);
3785 if (obj1) {
3786 ecode2 = SWIG_AsVal_int(obj1, &val2);
3787 if (!SWIG_IsOK(ecode2)) {
3788 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3789 }
3790 arg2 = static_cast< int >(val2);
3791 }
3792 if (obj2) {
3793 {
3794 arg3 = &temp3;
3795 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3796 }
3797 }
3798 if (obj3) {
3799 {
3800 arg4 = &temp4;
3801 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3802 }
3803 }
3804 if (obj4) {
3805 ecode5 = SWIG_AsVal_long(obj4, &val5);
3806 if (!SWIG_IsOK(ecode5)) {
3807 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3808 }
3809 arg5 = static_cast< long >(val5);
3810 }
3811 if (obj5) {
3812 {
3813 arg6 = wxString_in_helper(obj5);
3814 if (arg6 == NULL) SWIG_fail;
3815 temp6 = true;
3816 }
3817 }
3818 {
3819 if (!wxPyCheckForApp()) SWIG_fail;
3820 PyThreadState* __tstate = wxPyBeginAllowThreads();
3821 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3822 wxPyEndAllowThreads(__tstate);
3823 if (PyErr_Occurred()) SWIG_fail;
3824 }
3825 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3826 {
3827 if (temp6)
3828 delete arg6;
3829 }
3830 return resultobj;
3831 fail:
3832 {
3833 if (temp6)
3834 delete arg6;
3835 }
3836 return NULL;
3837 }
3838
3839
3840 SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3841 PyObject *resultobj = 0;
3842 wxPanel *result = 0 ;
3843
3844 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3845 {
3846 if (!wxPyCheckForApp()) SWIG_fail;
3847 PyThreadState* __tstate = wxPyBeginAllowThreads();
3848 result = (wxPanel *)new wxPanel();
3849 wxPyEndAllowThreads(__tstate);
3850 if (PyErr_Occurred()) SWIG_fail;
3851 }
3852 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3853 return resultobj;
3854 fail:
3855 return NULL;
3856 }
3857
3858
3859 SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3860 PyObject *resultobj = 0;
3861 wxPanel *arg1 = (wxPanel *) 0 ;
3862 wxWindow *arg2 = (wxWindow *) 0 ;
3863 int arg3 = (int) (int)-1 ;
3864 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3865 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3866 wxSize const &arg5_defvalue = wxDefaultSize ;
3867 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3868 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3869 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3870 wxString *arg7 = (wxString *) &arg7_defvalue ;
3871 bool result;
3872 void *argp1 = 0 ;
3873 int res1 = 0 ;
3874 void *argp2 = 0 ;
3875 int res2 = 0 ;
3876 int val3 ;
3877 int ecode3 = 0 ;
3878 wxPoint temp4 ;
3879 wxSize temp5 ;
3880 long val6 ;
3881 int ecode6 = 0 ;
3882 bool temp7 = false ;
3883 PyObject * obj0 = 0 ;
3884 PyObject * obj1 = 0 ;
3885 PyObject * obj2 = 0 ;
3886 PyObject * obj3 = 0 ;
3887 PyObject * obj4 = 0 ;
3888 PyObject * obj5 = 0 ;
3889 PyObject * obj6 = 0 ;
3890 char * kwnames[] = {
3891 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3892 };
3893
3894 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3895 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3896 if (!SWIG_IsOK(res1)) {
3897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3898 }
3899 arg1 = reinterpret_cast< wxPanel * >(argp1);
3900 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3901 if (!SWIG_IsOK(res2)) {
3902 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3903 }
3904 arg2 = reinterpret_cast< wxWindow * >(argp2);
3905 if (obj2) {
3906 ecode3 = SWIG_AsVal_int(obj2, &val3);
3907 if (!SWIG_IsOK(ecode3)) {
3908 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3909 }
3910 arg3 = static_cast< int >(val3);
3911 }
3912 if (obj3) {
3913 {
3914 arg4 = &temp4;
3915 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3916 }
3917 }
3918 if (obj4) {
3919 {
3920 arg5 = &temp5;
3921 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3922 }
3923 }
3924 if (obj5) {
3925 ecode6 = SWIG_AsVal_long(obj5, &val6);
3926 if (!SWIG_IsOK(ecode6)) {
3927 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3928 }
3929 arg6 = static_cast< long >(val6);
3930 }
3931 if (obj6) {
3932 {
3933 arg7 = wxString_in_helper(obj6);
3934 if (arg7 == NULL) SWIG_fail;
3935 temp7 = true;
3936 }
3937 }
3938 {
3939 PyThreadState* __tstate = wxPyBeginAllowThreads();
3940 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3941 wxPyEndAllowThreads(__tstate);
3942 if (PyErr_Occurred()) SWIG_fail;
3943 }
3944 {
3945 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3946 }
3947 {
3948 if (temp7)
3949 delete arg7;
3950 }
3951 return resultobj;
3952 fail:
3953 {
3954 if (temp7)
3955 delete arg7;
3956 }
3957 return NULL;
3958 }
3959
3960
3961 SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3962 PyObject *resultobj = 0;
3963 wxPanel *arg1 = (wxPanel *) 0 ;
3964 void *argp1 = 0 ;
3965 int res1 = 0 ;
3966 PyObject *swig_obj[1] ;
3967
3968 if (!args) SWIG_fail;
3969 swig_obj[0] = args;
3970 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3971 if (!SWIG_IsOK(res1)) {
3972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3973 }
3974 arg1 = reinterpret_cast< wxPanel * >(argp1);
3975 {
3976 PyThreadState* __tstate = wxPyBeginAllowThreads();
3977 (arg1)->SetFocusIgnoringChildren();
3978 wxPyEndAllowThreads(__tstate);
3979 if (PyErr_Occurred()) SWIG_fail;
3980 }
3981 resultobj = SWIG_Py_Void();
3982 return resultobj;
3983 fail:
3984 return NULL;
3985 }
3986
3987
3988 SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3989 PyObject *resultobj = 0;
3990 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3991 SwigValueWrapper<wxVisualAttributes > result;
3992 int val1 ;
3993 int ecode1 = 0 ;
3994 PyObject * obj0 = 0 ;
3995 char * kwnames[] = {
3996 (char *) "variant", NULL
3997 };
3998
3999 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
4000 if (obj0) {
4001 ecode1 = SWIG_AsVal_int(obj0, &val1);
4002 if (!SWIG_IsOK(ecode1)) {
4003 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4004 }
4005 arg1 = static_cast< wxWindowVariant >(val1);
4006 }
4007 {
4008 if (!wxPyCheckForApp()) SWIG_fail;
4009 PyThreadState* __tstate = wxPyBeginAllowThreads();
4010 result = wxPanel::GetClassDefaultAttributes(arg1);
4011 wxPyEndAllowThreads(__tstate);
4012 if (PyErr_Occurred()) SWIG_fail;
4013 }
4014 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
4015 return resultobj;
4016 fail:
4017 return NULL;
4018 }
4019
4020
4021 SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4022 PyObject *obj;
4023 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4024 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
4025 return SWIG_Py_Void();
4026 }
4027
4028 SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4029 return SWIG_Python_InitShadowInstance(args);
4030 }
4031
4032 SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4033 PyObject *resultobj = 0;
4034 wxWindow *arg1 = (wxWindow *) 0 ;
4035 int arg2 = (int) (int)-1 ;
4036 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4037 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4038 wxSize const &arg4_defvalue = wxDefaultSize ;
4039 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4040 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
4041 wxString const &arg6_defvalue = wxPyPanelNameStr ;
4042 wxString *arg6 = (wxString *) &arg6_defvalue ;
4043 wxScrolledWindow *result = 0 ;
4044 void *argp1 = 0 ;
4045 int res1 = 0 ;
4046 int val2 ;
4047 int ecode2 = 0 ;
4048 wxPoint temp3 ;
4049 wxSize temp4 ;
4050 long val5 ;
4051 int ecode5 = 0 ;
4052 bool temp6 = false ;
4053 PyObject * obj0 = 0 ;
4054 PyObject * obj1 = 0 ;
4055 PyObject * obj2 = 0 ;
4056 PyObject * obj3 = 0 ;
4057 PyObject * obj4 = 0 ;
4058 PyObject * obj5 = 0 ;
4059 char * kwnames[] = {
4060 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4061 };
4062
4063 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4064 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4065 if (!SWIG_IsOK(res1)) {
4066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4067 }
4068 arg1 = reinterpret_cast< wxWindow * >(argp1);
4069 if (obj1) {
4070 ecode2 = SWIG_AsVal_int(obj1, &val2);
4071 if (!SWIG_IsOK(ecode2)) {
4072 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4073 }
4074 arg2 = static_cast< int >(val2);
4075 }
4076 if (obj2) {
4077 {
4078 arg3 = &temp3;
4079 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4080 }
4081 }
4082 if (obj3) {
4083 {
4084 arg4 = &temp4;
4085 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4086 }
4087 }
4088 if (obj4) {
4089 ecode5 = SWIG_AsVal_long(obj4, &val5);
4090 if (!SWIG_IsOK(ecode5)) {
4091 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4092 }
4093 arg5 = static_cast< long >(val5);
4094 }
4095 if (obj5) {
4096 {
4097 arg6 = wxString_in_helper(obj5);
4098 if (arg6 == NULL) SWIG_fail;
4099 temp6 = true;
4100 }
4101 }
4102 {
4103 if (!wxPyCheckForApp()) SWIG_fail;
4104 PyThreadState* __tstate = wxPyBeginAllowThreads();
4105 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4106 wxPyEndAllowThreads(__tstate);
4107 if (PyErr_Occurred()) SWIG_fail;
4108 }
4109 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4110 {
4111 if (temp6)
4112 delete arg6;
4113 }
4114 return resultobj;
4115 fail:
4116 {
4117 if (temp6)
4118 delete arg6;
4119 }
4120 return NULL;
4121 }
4122
4123
4124 SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4125 PyObject *resultobj = 0;
4126 wxScrolledWindow *result = 0 ;
4127
4128 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4129 {
4130 if (!wxPyCheckForApp()) SWIG_fail;
4131 PyThreadState* __tstate = wxPyBeginAllowThreads();
4132 result = (wxScrolledWindow *)new wxScrolledWindow();
4133 wxPyEndAllowThreads(__tstate);
4134 if (PyErr_Occurred()) SWIG_fail;
4135 }
4136 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4137 return resultobj;
4138 fail:
4139 return NULL;
4140 }
4141
4142
4143 SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4144 PyObject *resultobj = 0;
4145 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4146 wxWindow *arg2 = (wxWindow *) 0 ;
4147 int arg3 = (int) (int)-1 ;
4148 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4149 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4150 wxSize const &arg5_defvalue = wxDefaultSize ;
4151 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4152 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4153 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4154 wxString *arg7 = (wxString *) &arg7_defvalue ;
4155 bool result;
4156 void *argp1 = 0 ;
4157 int res1 = 0 ;
4158 void *argp2 = 0 ;
4159 int res2 = 0 ;
4160 int val3 ;
4161 int ecode3 = 0 ;
4162 wxPoint temp4 ;
4163 wxSize temp5 ;
4164 long val6 ;
4165 int ecode6 = 0 ;
4166 bool temp7 = false ;
4167 PyObject * obj0 = 0 ;
4168 PyObject * obj1 = 0 ;
4169 PyObject * obj2 = 0 ;
4170 PyObject * obj3 = 0 ;
4171 PyObject * obj4 = 0 ;
4172 PyObject * obj5 = 0 ;
4173 PyObject * obj6 = 0 ;
4174 char * kwnames[] = {
4175 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4176 };
4177
4178 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4179 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4180 if (!SWIG_IsOK(res1)) {
4181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4182 }
4183 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4184 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4185 if (!SWIG_IsOK(res2)) {
4186 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4187 }
4188 arg2 = reinterpret_cast< wxWindow * >(argp2);
4189 if (obj2) {
4190 ecode3 = SWIG_AsVal_int(obj2, &val3);
4191 if (!SWIG_IsOK(ecode3)) {
4192 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4193 }
4194 arg3 = static_cast< int >(val3);
4195 }
4196 if (obj3) {
4197 {
4198 arg4 = &temp4;
4199 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4200 }
4201 }
4202 if (obj4) {
4203 {
4204 arg5 = &temp5;
4205 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4206 }
4207 }
4208 if (obj5) {
4209 ecode6 = SWIG_AsVal_long(obj5, &val6);
4210 if (!SWIG_IsOK(ecode6)) {
4211 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4212 }
4213 arg6 = static_cast< long >(val6);
4214 }
4215 if (obj6) {
4216 {
4217 arg7 = wxString_in_helper(obj6);
4218 if (arg7 == NULL) SWIG_fail;
4219 temp7 = true;
4220 }
4221 }
4222 {
4223 PyThreadState* __tstate = wxPyBeginAllowThreads();
4224 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4225 wxPyEndAllowThreads(__tstate);
4226 if (PyErr_Occurred()) SWIG_fail;
4227 }
4228 {
4229 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4230 }
4231 {
4232 if (temp7)
4233 delete arg7;
4234 }
4235 return resultobj;
4236 fail:
4237 {
4238 if (temp7)
4239 delete arg7;
4240 }
4241 return NULL;
4242 }
4243
4244
4245 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4246 PyObject *resultobj = 0;
4247 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4248 int arg2 ;
4249 int arg3 ;
4250 int arg4 ;
4251 int arg5 ;
4252 int arg6 = (int) 0 ;
4253 int arg7 = (int) 0 ;
4254 bool arg8 = (bool) false ;
4255 void *argp1 = 0 ;
4256 int res1 = 0 ;
4257 int val2 ;
4258 int ecode2 = 0 ;
4259 int val3 ;
4260 int ecode3 = 0 ;
4261 int val4 ;
4262 int ecode4 = 0 ;
4263 int val5 ;
4264 int ecode5 = 0 ;
4265 int val6 ;
4266 int ecode6 = 0 ;
4267 int val7 ;
4268 int ecode7 = 0 ;
4269 bool val8 ;
4270 int ecode8 = 0 ;
4271 PyObject * obj0 = 0 ;
4272 PyObject * obj1 = 0 ;
4273 PyObject * obj2 = 0 ;
4274 PyObject * obj3 = 0 ;
4275 PyObject * obj4 = 0 ;
4276 PyObject * obj5 = 0 ;
4277 PyObject * obj6 = 0 ;
4278 PyObject * obj7 = 0 ;
4279 char * kwnames[] = {
4280 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4281 };
4282
4283 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4284 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4285 if (!SWIG_IsOK(res1)) {
4286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4287 }
4288 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4289 ecode2 = SWIG_AsVal_int(obj1, &val2);
4290 if (!SWIG_IsOK(ecode2)) {
4291 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4292 }
4293 arg2 = static_cast< int >(val2);
4294 ecode3 = SWIG_AsVal_int(obj2, &val3);
4295 if (!SWIG_IsOK(ecode3)) {
4296 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4297 }
4298 arg3 = static_cast< int >(val3);
4299 ecode4 = SWIG_AsVal_int(obj3, &val4);
4300 if (!SWIG_IsOK(ecode4)) {
4301 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4302 }
4303 arg4 = static_cast< int >(val4);
4304 ecode5 = SWIG_AsVal_int(obj4, &val5);
4305 if (!SWIG_IsOK(ecode5)) {
4306 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4307 }
4308 arg5 = static_cast< int >(val5);
4309 if (obj5) {
4310 ecode6 = SWIG_AsVal_int(obj5, &val6);
4311 if (!SWIG_IsOK(ecode6)) {
4312 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4313 }
4314 arg6 = static_cast< int >(val6);
4315 }
4316 if (obj6) {
4317 ecode7 = SWIG_AsVal_int(obj6, &val7);
4318 if (!SWIG_IsOK(ecode7)) {
4319 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4320 }
4321 arg7 = static_cast< int >(val7);
4322 }
4323 if (obj7) {
4324 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4325 if (!SWIG_IsOK(ecode8)) {
4326 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4327 }
4328 arg8 = static_cast< bool >(val8);
4329 }
4330 {
4331 PyThreadState* __tstate = wxPyBeginAllowThreads();
4332 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4333 wxPyEndAllowThreads(__tstate);
4334 if (PyErr_Occurred()) SWIG_fail;
4335 }
4336 resultobj = SWIG_Py_Void();
4337 return resultobj;
4338 fail:
4339 return NULL;
4340 }
4341
4342
4343 SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4344 PyObject *resultobj = 0;
4345 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4346 int arg2 ;
4347 int arg3 ;
4348 void *argp1 = 0 ;
4349 int res1 = 0 ;
4350 int val2 ;
4351 int ecode2 = 0 ;
4352 int val3 ;
4353 int ecode3 = 0 ;
4354 PyObject * obj0 = 0 ;
4355 PyObject * obj1 = 0 ;
4356 PyObject * obj2 = 0 ;
4357 char * kwnames[] = {
4358 (char *) "self",(char *) "x",(char *) "y", NULL
4359 };
4360
4361 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4362 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4363 if (!SWIG_IsOK(res1)) {
4364 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4365 }
4366 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4367 ecode2 = SWIG_AsVal_int(obj1, &val2);
4368 if (!SWIG_IsOK(ecode2)) {
4369 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4370 }
4371 arg2 = static_cast< int >(val2);
4372 ecode3 = SWIG_AsVal_int(obj2, &val3);
4373 if (!SWIG_IsOK(ecode3)) {
4374 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4375 }
4376 arg3 = static_cast< int >(val3);
4377 {
4378 PyThreadState* __tstate = wxPyBeginAllowThreads();
4379 (arg1)->Scroll(arg2,arg3);
4380 wxPyEndAllowThreads(__tstate);
4381 if (PyErr_Occurred()) SWIG_fail;
4382 }
4383 resultobj = SWIG_Py_Void();
4384 return resultobj;
4385 fail:
4386 return NULL;
4387 }
4388
4389
4390 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4391 PyObject *resultobj = 0;
4392 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4393 int arg2 ;
4394 int result;
4395 void *argp1 = 0 ;
4396 int res1 = 0 ;
4397 int val2 ;
4398 int ecode2 = 0 ;
4399 PyObject * obj0 = 0 ;
4400 PyObject * obj1 = 0 ;
4401 char * kwnames[] = {
4402 (char *) "self",(char *) "orient", NULL
4403 };
4404
4405 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
4406 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4407 if (!SWIG_IsOK(res1)) {
4408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4409 }
4410 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4411 ecode2 = SWIG_AsVal_int(obj1, &val2);
4412 if (!SWIG_IsOK(ecode2)) {
4413 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4414 }
4415 arg2 = static_cast< int >(val2);
4416 {
4417 PyThreadState* __tstate = wxPyBeginAllowThreads();
4418 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4419 wxPyEndAllowThreads(__tstate);
4420 if (PyErr_Occurred()) SWIG_fail;
4421 }
4422 resultobj = SWIG_From_int(static_cast< int >(result));
4423 return resultobj;
4424 fail:
4425 return NULL;
4426 }
4427
4428
4429 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4430 PyObject *resultobj = 0;
4431 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4432 int arg2 ;
4433 int arg3 ;
4434 void *argp1 = 0 ;
4435 int res1 = 0 ;
4436 int val2 ;
4437 int ecode2 = 0 ;
4438 int val3 ;
4439 int ecode3 = 0 ;
4440 PyObject * obj0 = 0 ;
4441 PyObject * obj1 = 0 ;
4442 PyObject * obj2 = 0 ;
4443 char * kwnames[] = {
4444 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4445 };
4446
4447 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4448 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4449 if (!SWIG_IsOK(res1)) {
4450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4451 }
4452 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4453 ecode2 = SWIG_AsVal_int(obj1, &val2);
4454 if (!SWIG_IsOK(ecode2)) {
4455 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4456 }
4457 arg2 = static_cast< int >(val2);
4458 ecode3 = SWIG_AsVal_int(obj2, &val3);
4459 if (!SWIG_IsOK(ecode3)) {
4460 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4461 }
4462 arg3 = static_cast< int >(val3);
4463 {
4464 PyThreadState* __tstate = wxPyBeginAllowThreads();
4465 (arg1)->SetScrollPageSize(arg2,arg3);
4466 wxPyEndAllowThreads(__tstate);
4467 if (PyErr_Occurred()) SWIG_fail;
4468 }
4469 resultobj = SWIG_Py_Void();
4470 return resultobj;
4471 fail:
4472 return NULL;
4473 }
4474
4475
4476 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4477 PyObject *resultobj = 0;
4478 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4479 int arg2 ;
4480 int arg3 ;
4481 void *argp1 = 0 ;
4482 int res1 = 0 ;
4483 int val2 ;
4484 int ecode2 = 0 ;
4485 int val3 ;
4486 int ecode3 = 0 ;
4487 PyObject * obj0 = 0 ;
4488 PyObject * obj1 = 0 ;
4489 PyObject * obj2 = 0 ;
4490 char * kwnames[] = {
4491 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4492 };
4493
4494 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4495 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4496 if (!SWIG_IsOK(res1)) {
4497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4498 }
4499 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4500 ecode2 = SWIG_AsVal_int(obj1, &val2);
4501 if (!SWIG_IsOK(ecode2)) {
4502 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4503 }
4504 arg2 = static_cast< int >(val2);
4505 ecode3 = SWIG_AsVal_int(obj2, &val3);
4506 if (!SWIG_IsOK(ecode3)) {
4507 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4508 }
4509 arg3 = static_cast< int >(val3);
4510 {
4511 PyThreadState* __tstate = wxPyBeginAllowThreads();
4512 (arg1)->SetScrollRate(arg2,arg3);
4513 wxPyEndAllowThreads(__tstate);
4514 if (PyErr_Occurred()) SWIG_fail;
4515 }
4516 resultobj = SWIG_Py_Void();
4517 return resultobj;
4518 fail:
4519 return NULL;
4520 }
4521
4522
4523 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4524 PyObject *resultobj = 0;
4525 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4526 int *arg2 = (int *) 0 ;
4527 int *arg3 = (int *) 0 ;
4528 void *argp1 = 0 ;
4529 int res1 = 0 ;
4530 int temp2 ;
4531 int res2 = SWIG_TMPOBJ ;
4532 int temp3 ;
4533 int res3 = SWIG_TMPOBJ ;
4534 PyObject *swig_obj[1] ;
4535
4536 arg2 = &temp2;
4537 arg3 = &temp3;
4538 if (!args) SWIG_fail;
4539 swig_obj[0] = args;
4540 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4541 if (!SWIG_IsOK(res1)) {
4542 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4543 }
4544 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4545 {
4546 PyThreadState* __tstate = wxPyBeginAllowThreads();
4547 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4548 wxPyEndAllowThreads(__tstate);
4549 if (PyErr_Occurred()) SWIG_fail;
4550 }
4551 resultobj = SWIG_Py_Void();
4552 if (SWIG_IsTmpObj(res2)) {
4553 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4554 } else {
4555 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4556 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4557 }
4558 if (SWIG_IsTmpObj(res3)) {
4559 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4560 } else {
4561 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4562 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4563 }
4564 return resultobj;
4565 fail:
4566 return NULL;
4567 }
4568
4569
4570 SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4571 PyObject *resultobj = 0;
4572 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4573 bool arg2 ;
4574 bool arg3 ;
4575 void *argp1 = 0 ;
4576 int res1 = 0 ;
4577 bool val2 ;
4578 int ecode2 = 0 ;
4579 bool val3 ;
4580 int ecode3 = 0 ;
4581 PyObject * obj0 = 0 ;
4582 PyObject * obj1 = 0 ;
4583 PyObject * obj2 = 0 ;
4584 char * kwnames[] = {
4585 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4586 };
4587
4588 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4589 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4590 if (!SWIG_IsOK(res1)) {
4591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4592 }
4593 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4594 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4595 if (!SWIG_IsOK(ecode2)) {
4596 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4597 }
4598 arg2 = static_cast< bool >(val2);
4599 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4600 if (!SWIG_IsOK(ecode3)) {
4601 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4602 }
4603 arg3 = static_cast< bool >(val3);
4604 {
4605 PyThreadState* __tstate = wxPyBeginAllowThreads();
4606 (arg1)->EnableScrolling(arg2,arg3);
4607 wxPyEndAllowThreads(__tstate);
4608 if (PyErr_Occurred()) SWIG_fail;
4609 }
4610 resultobj = SWIG_Py_Void();
4611 return resultobj;
4612 fail:
4613 return NULL;
4614 }
4615
4616
4617 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4618 PyObject *resultobj = 0;
4619 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4620 int *arg2 = (int *) 0 ;
4621 int *arg3 = (int *) 0 ;
4622 void *argp1 = 0 ;
4623 int res1 = 0 ;
4624 int temp2 ;
4625 int res2 = SWIG_TMPOBJ ;
4626 int temp3 ;
4627 int res3 = SWIG_TMPOBJ ;
4628 PyObject *swig_obj[1] ;
4629
4630 arg2 = &temp2;
4631 arg3 = &temp3;
4632 if (!args) SWIG_fail;
4633 swig_obj[0] = args;
4634 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4635 if (!SWIG_IsOK(res1)) {
4636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4637 }
4638 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4639 {
4640 PyThreadState* __tstate = wxPyBeginAllowThreads();
4641 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4642 wxPyEndAllowThreads(__tstate);
4643 if (PyErr_Occurred()) SWIG_fail;
4644 }
4645 resultobj = SWIG_Py_Void();
4646 if (SWIG_IsTmpObj(res2)) {
4647 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4648 } else {
4649 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4650 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4651 }
4652 if (SWIG_IsTmpObj(res3)) {
4653 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4654 } else {
4655 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4656 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4657 }
4658 return resultobj;
4659 fail:
4660 return NULL;
4661 }
4662
4663
4664 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4665 PyObject *resultobj = 0;
4666 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4667 double arg2 ;
4668 double arg3 ;
4669 void *argp1 = 0 ;
4670 int res1 = 0 ;
4671 double val2 ;
4672 int ecode2 = 0 ;
4673 double val3 ;
4674 int ecode3 = 0 ;
4675 PyObject * obj0 = 0 ;
4676 PyObject * obj1 = 0 ;
4677 PyObject * obj2 = 0 ;
4678 char * kwnames[] = {
4679 (char *) "self",(char *) "xs",(char *) "ys", NULL
4680 };
4681
4682 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4683 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4684 if (!SWIG_IsOK(res1)) {
4685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4686 }
4687 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4688 ecode2 = SWIG_AsVal_double(obj1, &val2);
4689 if (!SWIG_IsOK(ecode2)) {
4690 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4691 }
4692 arg2 = static_cast< double >(val2);
4693 ecode3 = SWIG_AsVal_double(obj2, &val3);
4694 if (!SWIG_IsOK(ecode3)) {
4695 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4696 }
4697 arg3 = static_cast< double >(val3);
4698 {
4699 PyThreadState* __tstate = wxPyBeginAllowThreads();
4700 (arg1)->SetScale(arg2,arg3);
4701 wxPyEndAllowThreads(__tstate);
4702 if (PyErr_Occurred()) SWIG_fail;
4703 }
4704 resultobj = SWIG_Py_Void();
4705 return resultobj;
4706 fail:
4707 return NULL;
4708 }
4709
4710
4711 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4712 PyObject *resultobj = 0;
4713 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4714 double result;
4715 void *argp1 = 0 ;
4716 int res1 = 0 ;
4717 PyObject *swig_obj[1] ;
4718
4719 if (!args) SWIG_fail;
4720 swig_obj[0] = args;
4721 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4722 if (!SWIG_IsOK(res1)) {
4723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4724 }
4725 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4726 {
4727 PyThreadState* __tstate = wxPyBeginAllowThreads();
4728 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4729 wxPyEndAllowThreads(__tstate);
4730 if (PyErr_Occurred()) SWIG_fail;
4731 }
4732 resultobj = SWIG_From_double(static_cast< double >(result));
4733 return resultobj;
4734 fail:
4735 return NULL;
4736 }
4737
4738
4739 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4740 PyObject *resultobj = 0;
4741 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4742 double result;
4743 void *argp1 = 0 ;
4744 int res1 = 0 ;
4745 PyObject *swig_obj[1] ;
4746
4747 if (!args) SWIG_fail;
4748 swig_obj[0] = args;
4749 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4750 if (!SWIG_IsOK(res1)) {
4751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4752 }
4753 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4754 {
4755 PyThreadState* __tstate = wxPyBeginAllowThreads();
4756 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4757 wxPyEndAllowThreads(__tstate);
4758 if (PyErr_Occurred()) SWIG_fail;
4759 }
4760 resultobj = SWIG_From_double(static_cast< double >(result));
4761 return resultobj;
4762 fail:
4763 return NULL;
4764 }
4765
4766
4767 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4768 PyObject *resultobj = 0;
4769 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4770 wxPoint *arg2 = 0 ;
4771 wxPoint result;
4772 void *argp1 = 0 ;
4773 int res1 = 0 ;
4774 wxPoint temp2 ;
4775
4776 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4777 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4778 if (!SWIG_IsOK(res1)) {
4779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4780 }
4781 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4782 {
4783 arg2 = &temp2;
4784 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4785 }
4786 {
4787 PyThreadState* __tstate = wxPyBeginAllowThreads();
4788 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4789 wxPyEndAllowThreads(__tstate);
4790 if (PyErr_Occurred()) SWIG_fail;
4791 }
4792 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4793 return resultobj;
4794 fail:
4795 return NULL;
4796 }
4797
4798
4799 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4800 PyObject *resultobj = 0;
4801 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4802 int arg2 ;
4803 int arg3 ;
4804 int *arg4 = (int *) 0 ;
4805 int *arg5 = (int *) 0 ;
4806 void *argp1 = 0 ;
4807 int res1 = 0 ;
4808 int val2 ;
4809 int ecode2 = 0 ;
4810 int val3 ;
4811 int ecode3 = 0 ;
4812 int temp4 ;
4813 int res4 = SWIG_TMPOBJ ;
4814 int temp5 ;
4815 int res5 = SWIG_TMPOBJ ;
4816
4817 arg4 = &temp4;
4818 arg5 = &temp5;
4819 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4820 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4821 if (!SWIG_IsOK(res1)) {
4822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4823 }
4824 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4825 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4826 if (!SWIG_IsOK(ecode2)) {
4827 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4828 }
4829 arg2 = static_cast< int >(val2);
4830 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4831 if (!SWIG_IsOK(ecode3)) {
4832 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4833 }
4834 arg3 = static_cast< int >(val3);
4835 {
4836 PyThreadState* __tstate = wxPyBeginAllowThreads();
4837 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4838 wxPyEndAllowThreads(__tstate);
4839 if (PyErr_Occurred()) SWIG_fail;
4840 }
4841 resultobj = SWIG_Py_Void();
4842 if (SWIG_IsTmpObj(res4)) {
4843 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4844 } else {
4845 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4846 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4847 }
4848 if (SWIG_IsTmpObj(res5)) {
4849 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4850 } else {
4851 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4852 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4853 }
4854 return resultobj;
4855 fail:
4856 return NULL;
4857 }
4858
4859
4860 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4861 int argc;
4862 PyObject *argv[4];
4863
4864 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4865 --argc;
4866 if (argc == 2) {
4867 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4868 }
4869 if (argc == 3) {
4870 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4871 }
4872
4873 fail:
4874 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4875 return NULL;
4876 }
4877
4878
4879 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4880 PyObject *resultobj = 0;
4881 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4882 wxPoint *arg2 = 0 ;
4883 wxPoint result;
4884 void *argp1 = 0 ;
4885 int res1 = 0 ;
4886 wxPoint temp2 ;
4887
4888 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4889 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4890 if (!SWIG_IsOK(res1)) {
4891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4892 }
4893 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4894 {
4895 arg2 = &temp2;
4896 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4897 }
4898 {
4899 PyThreadState* __tstate = wxPyBeginAllowThreads();
4900 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4901 wxPyEndAllowThreads(__tstate);
4902 if (PyErr_Occurred()) SWIG_fail;
4903 }
4904 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4905 return resultobj;
4906 fail:
4907 return NULL;
4908 }
4909
4910
4911 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4912 PyObject *resultobj = 0;
4913 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4914 int arg2 ;
4915 int arg3 ;
4916 int *arg4 = (int *) 0 ;
4917 int *arg5 = (int *) 0 ;
4918 void *argp1 = 0 ;
4919 int res1 = 0 ;
4920 int val2 ;
4921 int ecode2 = 0 ;
4922 int val3 ;
4923 int ecode3 = 0 ;
4924 int temp4 ;
4925 int res4 = SWIG_TMPOBJ ;
4926 int temp5 ;
4927 int res5 = SWIG_TMPOBJ ;
4928
4929 arg4 = &temp4;
4930 arg5 = &temp5;
4931 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4932 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4933 if (!SWIG_IsOK(res1)) {
4934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4935 }
4936 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4937 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4938 if (!SWIG_IsOK(ecode2)) {
4939 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4940 }
4941 arg2 = static_cast< int >(val2);
4942 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4943 if (!SWIG_IsOK(ecode3)) {
4944 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4945 }
4946 arg3 = static_cast< int >(val3);
4947 {
4948 PyThreadState* __tstate = wxPyBeginAllowThreads();
4949 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
4950 wxPyEndAllowThreads(__tstate);
4951 if (PyErr_Occurred()) SWIG_fail;
4952 }
4953 resultobj = SWIG_Py_Void();
4954 if (SWIG_IsTmpObj(res4)) {
4955 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4956 } else {
4957 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4958 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4959 }
4960 if (SWIG_IsTmpObj(res5)) {
4961 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4962 } else {
4963 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4964 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4965 }
4966 return resultobj;
4967 fail:
4968 return NULL;
4969 }
4970
4971
4972 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
4973 int argc;
4974 PyObject *argv[4];
4975
4976 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
4977 --argc;
4978 if (argc == 2) {
4979 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
4980 }
4981 if (argc == 3) {
4982 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
4983 }
4984
4985 fail:
4986 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4987 return NULL;
4988 }
4989
4990
4991 SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4992 PyObject *resultobj = 0;
4993 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4994 void *argp1 = 0 ;
4995 int res1 = 0 ;
4996 PyObject *swig_obj[1] ;
4997
4998 if (!args) SWIG_fail;
4999 swig_obj[0] = args;
5000 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5001 if (!SWIG_IsOK(res1)) {
5002 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5003 }
5004 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5005 {
5006 PyThreadState* __tstate = wxPyBeginAllowThreads();
5007 (arg1)->AdjustScrollbars();
5008 wxPyEndAllowThreads(__tstate);
5009 if (PyErr_Occurred()) SWIG_fail;
5010 }
5011 resultobj = SWIG_Py_Void();
5012 return resultobj;
5013 fail:
5014 return NULL;
5015 }
5016
5017
5018 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5019 PyObject *resultobj = 0;
5020 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5021 wxScrollWinEvent *arg2 = 0 ;
5022 int result;
5023 void *argp1 = 0 ;
5024 int res1 = 0 ;
5025 void *argp2 = 0 ;
5026 int res2 = 0 ;
5027 PyObject * obj0 = 0 ;
5028 PyObject * obj1 = 0 ;
5029 char * kwnames[] = {
5030 (char *) "self",(char *) "event", NULL
5031 };
5032
5033 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
5034 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5035 if (!SWIG_IsOK(res1)) {
5036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5037 }
5038 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5039 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
5040 if (!SWIG_IsOK(res2)) {
5041 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5042 }
5043 if (!argp2) {
5044 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5045 }
5046 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
5047 {
5048 PyThreadState* __tstate = wxPyBeginAllowThreads();
5049 result = (int)(arg1)->CalcScrollInc(*arg2);
5050 wxPyEndAllowThreads(__tstate);
5051 if (PyErr_Occurred()) SWIG_fail;
5052 }
5053 resultobj = SWIG_From_int(static_cast< int >(result));
5054 return resultobj;
5055 fail:
5056 return NULL;
5057 }
5058
5059
5060 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5061 PyObject *resultobj = 0;
5062 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5063 wxWindow *arg2 = (wxWindow *) 0 ;
5064 void *argp1 = 0 ;
5065 int res1 = 0 ;
5066 void *argp2 = 0 ;
5067 int res2 = 0 ;
5068 PyObject * obj0 = 0 ;
5069 PyObject * obj1 = 0 ;
5070 char * kwnames[] = {
5071 (char *) "self",(char *) "target", NULL
5072 };
5073
5074 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
5075 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5076 if (!SWIG_IsOK(res1)) {
5077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5078 }
5079 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5080 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5081 if (!SWIG_IsOK(res2)) {
5082 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5083 }
5084 arg2 = reinterpret_cast< wxWindow * >(argp2);
5085 {
5086 PyThreadState* __tstate = wxPyBeginAllowThreads();
5087 (arg1)->SetTargetWindow(arg2);
5088 wxPyEndAllowThreads(__tstate);
5089 if (PyErr_Occurred()) SWIG_fail;
5090 }
5091 resultobj = SWIG_Py_Void();
5092 return resultobj;
5093 fail:
5094 return NULL;
5095 }
5096
5097
5098 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5099 PyObject *resultobj = 0;
5100 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5101 wxWindow *result = 0 ;
5102 void *argp1 = 0 ;
5103 int res1 = 0 ;
5104 PyObject *swig_obj[1] ;
5105
5106 if (!args) SWIG_fail;
5107 swig_obj[0] = args;
5108 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5109 if (!SWIG_IsOK(res1)) {
5110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5111 }
5112 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5113 {
5114 PyThreadState* __tstate = wxPyBeginAllowThreads();
5115 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5116 wxPyEndAllowThreads(__tstate);
5117 if (PyErr_Occurred()) SWIG_fail;
5118 }
5119 {
5120 resultobj = wxPyMake_wxObject(result, 0);
5121 }
5122 return resultobj;
5123 fail:
5124 return NULL;
5125 }
5126
5127
5128 SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5129 PyObject *resultobj = 0;
5130 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5131 wxDC *arg2 = 0 ;
5132 void *argp1 = 0 ;
5133 int res1 = 0 ;
5134 void *argp2 = 0 ;
5135 int res2 = 0 ;
5136 PyObject * obj0 = 0 ;
5137 PyObject * obj1 = 0 ;
5138 char * kwnames[] = {
5139 (char *) "self",(char *) "dc", NULL
5140 };
5141
5142 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) SWIG_fail;
5143 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5144 if (!SWIG_IsOK(res1)) {
5145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5146 }
5147 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5148 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5149 if (!SWIG_IsOK(res2)) {
5150 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5151 }
5152 if (!argp2) {
5153 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5154 }
5155 arg2 = reinterpret_cast< wxDC * >(argp2);
5156 {
5157 PyThreadState* __tstate = wxPyBeginAllowThreads();
5158 (arg1)->DoPrepareDC(*arg2);
5159 wxPyEndAllowThreads(__tstate);
5160 if (PyErr_Occurred()) SWIG_fail;
5161 }
5162 resultobj = SWIG_Py_Void();
5163 return resultobj;
5164 fail:
5165 return NULL;
5166 }
5167
5168
5169 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5170 PyObject *resultobj = 0;
5171 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5172 SwigValueWrapper<wxVisualAttributes > result;
5173 int val1 ;
5174 int ecode1 = 0 ;
5175 PyObject * obj0 = 0 ;
5176 char * kwnames[] = {
5177 (char *) "variant", NULL
5178 };
5179
5180 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5181 if (obj0) {
5182 ecode1 = SWIG_AsVal_int(obj0, &val1);
5183 if (!SWIG_IsOK(ecode1)) {
5184 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5185 }
5186 arg1 = static_cast< wxWindowVariant >(val1);
5187 }
5188 {
5189 if (!wxPyCheckForApp()) SWIG_fail;
5190 PyThreadState* __tstate = wxPyBeginAllowThreads();
5191 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5192 wxPyEndAllowThreads(__tstate);
5193 if (PyErr_Occurred()) SWIG_fail;
5194 }
5195 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5196 return resultobj;
5197 fail:
5198 return NULL;
5199 }
5200
5201
5202 SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5203 PyObject *obj;
5204 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5205 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5206 return SWIG_Py_Void();
5207 }
5208
5209 SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5210 return SWIG_Python_InitShadowInstance(args);
5211 }
5212
5213 SWIGINTERN int FrameNameStr_set(PyObject *) {
5214 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5215 return 1;
5216 }
5217
5218
5219 SWIGINTERN PyObject *FrameNameStr_get(void) {
5220 PyObject *pyobj = 0;
5221
5222 {
5223 #if wxUSE_UNICODE
5224 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5225 #else
5226 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5227 #endif
5228 }
5229 return pyobj;
5230 }
5231
5232
5233 SWIGINTERN int DialogNameStr_set(PyObject *) {
5234 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5235 return 1;
5236 }
5237
5238
5239 SWIGINTERN PyObject *DialogNameStr_get(void) {
5240 PyObject *pyobj = 0;
5241
5242 {
5243 #if wxUSE_UNICODE
5244 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5245 #else
5246 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5247 #endif
5248 }
5249 return pyobj;
5250 }
5251
5252
5253 SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5254 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5255 return 1;
5256 }
5257
5258
5259 SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5260 PyObject *pyobj = 0;
5261
5262 {
5263 #if wxUSE_UNICODE
5264 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5265 #else
5266 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5267 #endif
5268 }
5269 return pyobj;
5270 }
5271
5272
5273 SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5274 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5275 return 1;
5276 }
5277
5278
5279 SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5280 PyObject *pyobj = 0;
5281
5282 {
5283 #if wxUSE_UNICODE
5284 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5285 #else
5286 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5287 #endif
5288 }
5289 return pyobj;
5290 }
5291
5292
5293 SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5294 PyObject *resultobj = 0;
5295 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5296 bool arg2 = (bool) true ;
5297 void *argp1 = 0 ;
5298 int res1 = 0 ;
5299 bool val2 ;
5300 int ecode2 = 0 ;
5301 PyObject * obj0 = 0 ;
5302 PyObject * obj1 = 0 ;
5303 char * kwnames[] = {
5304 (char *) "self",(char *) "maximize", NULL
5305 };
5306
5307 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5308 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5309 if (!SWIG_IsOK(res1)) {
5310 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5311 }
5312 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5313 if (obj1) {
5314 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5315 if (!SWIG_IsOK(ecode2)) {
5316 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5317 }
5318 arg2 = static_cast< bool >(val2);
5319 }
5320 {
5321 PyThreadState* __tstate = wxPyBeginAllowThreads();
5322 (arg1)->Maximize(arg2);
5323 wxPyEndAllowThreads(__tstate);
5324 if (PyErr_Occurred()) SWIG_fail;
5325 }
5326 resultobj = SWIG_Py_Void();
5327 return resultobj;
5328 fail:
5329 return NULL;
5330 }
5331
5332
5333 SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5334 PyObject *resultobj = 0;
5335 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5336 void *argp1 = 0 ;
5337 int res1 = 0 ;
5338 PyObject *swig_obj[1] ;
5339
5340 if (!args) SWIG_fail;
5341 swig_obj[0] = args;
5342 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5343 if (!SWIG_IsOK(res1)) {
5344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5345 }
5346 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5347 {
5348 PyThreadState* __tstate = wxPyBeginAllowThreads();
5349 (arg1)->Restore();
5350 wxPyEndAllowThreads(__tstate);
5351 if (PyErr_Occurred()) SWIG_fail;
5352 }
5353 resultobj = SWIG_Py_Void();
5354 return resultobj;
5355 fail:
5356 return NULL;
5357 }
5358
5359
5360 SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5361 PyObject *resultobj = 0;
5362 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5363 bool arg2 = (bool) true ;
5364 void *argp1 = 0 ;
5365 int res1 = 0 ;
5366 bool val2 ;
5367 int ecode2 = 0 ;
5368 PyObject * obj0 = 0 ;
5369 PyObject * obj1 = 0 ;
5370 char * kwnames[] = {
5371 (char *) "self",(char *) "iconize", NULL
5372 };
5373
5374 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5375 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5376 if (!SWIG_IsOK(res1)) {
5377 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5378 }
5379 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5380 if (obj1) {
5381 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5382 if (!SWIG_IsOK(ecode2)) {
5383 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5384 }
5385 arg2 = static_cast< bool >(val2);
5386 }
5387 {
5388 PyThreadState* __tstate = wxPyBeginAllowThreads();
5389 (arg1)->Iconize(arg2);
5390 wxPyEndAllowThreads(__tstate);
5391 if (PyErr_Occurred()) SWIG_fail;
5392 }
5393 resultobj = SWIG_Py_Void();
5394 return resultobj;
5395 fail:
5396 return NULL;
5397 }
5398
5399
5400 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5401 PyObject *resultobj = 0;
5402 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5403 bool result;
5404 void *argp1 = 0 ;
5405 int res1 = 0 ;
5406 PyObject *swig_obj[1] ;
5407
5408 if (!args) SWIG_fail;
5409 swig_obj[0] = args;
5410 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5411 if (!SWIG_IsOK(res1)) {
5412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5413 }
5414 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5415 {
5416 PyThreadState* __tstate = wxPyBeginAllowThreads();
5417 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
5418 wxPyEndAllowThreads(__tstate);
5419 if (PyErr_Occurred()) SWIG_fail;
5420 }
5421 {
5422 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5423 }
5424 return resultobj;
5425 fail:
5426 return NULL;
5427 }
5428
5429
5430 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5431 PyObject *resultobj = 0;
5432 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5433 bool result;
5434 void *argp1 = 0 ;
5435 int res1 = 0 ;
5436 PyObject *swig_obj[1] ;
5437
5438 if (!args) SWIG_fail;
5439 swig_obj[0] = args;
5440 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5441 if (!SWIG_IsOK(res1)) {
5442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5443 }
5444 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5445 {
5446 PyThreadState* __tstate = wxPyBeginAllowThreads();
5447 result = (bool)((wxTopLevelWindow const *)arg1)->IsAlwaysMaximized();
5448 wxPyEndAllowThreads(__tstate);
5449 if (PyErr_Occurred()) SWIG_fail;
5450 }
5451 {
5452 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5453 }
5454 return resultobj;
5455 fail:
5456 return NULL;
5457 }
5458
5459
5460 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5461 PyObject *resultobj = 0;
5462 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5463 bool result;
5464 void *argp1 = 0 ;
5465 int res1 = 0 ;
5466 PyObject *swig_obj[1] ;
5467
5468 if (!args) SWIG_fail;
5469 swig_obj[0] = args;
5470 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5471 if (!SWIG_IsOK(res1)) {
5472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5473 }
5474 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5475 {
5476 PyThreadState* __tstate = wxPyBeginAllowThreads();
5477 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
5478 wxPyEndAllowThreads(__tstate);
5479 if (PyErr_Occurred()) SWIG_fail;
5480 }
5481 {
5482 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5483 }
5484 return resultobj;
5485 fail:
5486 return NULL;
5487 }
5488
5489
5490 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5491 PyObject *resultobj = 0;
5492 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5493 wxIcon result;
5494 void *argp1 = 0 ;
5495 int res1 = 0 ;
5496 PyObject *swig_obj[1] ;
5497
5498 if (!args) SWIG_fail;
5499 swig_obj[0] = args;
5500 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5501 if (!SWIG_IsOK(res1)) {
5502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5503 }
5504 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5505 {
5506 PyThreadState* __tstate = wxPyBeginAllowThreads();
5507 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
5508 wxPyEndAllowThreads(__tstate);
5509 if (PyErr_Occurred()) SWIG_fail;
5510 }
5511 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
5512 return resultobj;
5513 fail:
5514 return NULL;
5515 }
5516
5517
5518 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5519 PyObject *resultobj = 0;
5520 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5521 wxIcon *arg2 = 0 ;
5522 void *argp1 = 0 ;
5523 int res1 = 0 ;
5524 void *argp2 = 0 ;
5525 int res2 = 0 ;
5526 PyObject * obj0 = 0 ;
5527 PyObject * obj1 = 0 ;
5528 char * kwnames[] = {
5529 (char *) "self",(char *) "icon", NULL
5530 };
5531
5532 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
5533 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5534 if (!SWIG_IsOK(res1)) {
5535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5536 }
5537 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5538 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
5539 if (!SWIG_IsOK(res2)) {
5540 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5541 }
5542 if (!argp2) {
5543 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5544 }
5545 arg2 = reinterpret_cast< wxIcon * >(argp2);
5546 {
5547 PyThreadState* __tstate = wxPyBeginAllowThreads();
5548 (arg1)->SetIcon((wxIcon const &)*arg2);
5549 wxPyEndAllowThreads(__tstate);
5550 if (PyErr_Occurred()) SWIG_fail;
5551 }
5552 resultobj = SWIG_Py_Void();
5553 return resultobj;
5554 fail:
5555 return NULL;
5556 }
5557
5558
5559 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5560 PyObject *resultobj = 0;
5561 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5562 wxIconBundle *arg2 = 0 ;
5563 void *argp1 = 0 ;
5564 int res1 = 0 ;
5565 void *argp2 = 0 ;
5566 int res2 = 0 ;
5567 PyObject * obj0 = 0 ;
5568 PyObject * obj1 = 0 ;
5569 char * kwnames[] = {
5570 (char *) "self",(char *) "icons", NULL
5571 };
5572
5573 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail;
5574 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5575 if (!SWIG_IsOK(res1)) {
5576 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5577 }
5578 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5579 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0);
5580 if (!SWIG_IsOK(res2)) {
5581 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5582 }
5583 if (!argp2) {
5584 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5585 }
5586 arg2 = reinterpret_cast< wxIconBundle * >(argp2);
5587 {
5588 PyThreadState* __tstate = wxPyBeginAllowThreads();
5589 (arg1)->SetIcons((wxIconBundle const &)*arg2);
5590 wxPyEndAllowThreads(__tstate);
5591 if (PyErr_Occurred()) SWIG_fail;
5592 }
5593 resultobj = SWIG_Py_Void();
5594 return resultobj;
5595 fail:
5596 return NULL;
5597 }
5598
5599
5600 SWIGINTERN PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5601 PyObject *resultobj = 0;
5602 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5603 bool arg2 ;
5604 long arg3 = (long) wxFULLSCREEN_ALL ;
5605 bool result;
5606 void *argp1 = 0 ;
5607 int res1 = 0 ;
5608 bool val2 ;
5609 int ecode2 = 0 ;
5610 long val3 ;
5611 int ecode3 = 0 ;
5612 PyObject * obj0 = 0 ;
5613 PyObject * obj1 = 0 ;
5614 PyObject * obj2 = 0 ;
5615 char * kwnames[] = {
5616 (char *) "self",(char *) "show",(char *) "style", NULL
5617 };
5618
5619 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5620 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5621 if (!SWIG_IsOK(res1)) {
5622 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5623 }
5624 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5625 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5626 if (!SWIG_IsOK(ecode2)) {
5627 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5628 }
5629 arg2 = static_cast< bool >(val2);
5630 if (obj2) {
5631 ecode3 = SWIG_AsVal_long(obj2, &val3);
5632 if (!SWIG_IsOK(ecode3)) {
5633 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5634 }
5635 arg3 = static_cast< long >(val3);
5636 }
5637 {
5638 PyThreadState* __tstate = wxPyBeginAllowThreads();
5639 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
5640 wxPyEndAllowThreads(__tstate);
5641 if (PyErr_Occurred()) SWIG_fail;
5642 }
5643 {
5644 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5645 }
5646 return resultobj;
5647 fail:
5648 return NULL;
5649 }
5650
5651
5652 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5653 PyObject *resultobj = 0;
5654 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5655 bool result;
5656 void *argp1 = 0 ;
5657 int res1 = 0 ;
5658 PyObject *swig_obj[1] ;
5659
5660 if (!args) SWIG_fail;
5661 swig_obj[0] = args;
5662 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5663 if (!SWIG_IsOK(res1)) {
5664 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5665 }
5666 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5667 {
5668 PyThreadState* __tstate = wxPyBeginAllowThreads();
5669 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
5670 wxPyEndAllowThreads(__tstate);
5671 if (PyErr_Occurred()) SWIG_fail;
5672 }
5673 {
5674 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5675 }
5676 return resultobj;
5677 fail:
5678 return NULL;
5679 }
5680
5681
5682 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5683 PyObject *resultobj = 0;
5684 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5685 wxString *arg2 = 0 ;
5686 void *argp1 = 0 ;
5687 int res1 = 0 ;
5688 bool temp2 = false ;
5689 PyObject * obj0 = 0 ;
5690 PyObject * obj1 = 0 ;
5691 char * kwnames[] = {
5692 (char *) "self",(char *) "title", NULL
5693 };
5694
5695 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
5696 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5697 if (!SWIG_IsOK(res1)) {
5698 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5699 }
5700 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5701 {
5702 arg2 = wxString_in_helper(obj1);
5703 if (arg2 == NULL) SWIG_fail;
5704 temp2 = true;
5705 }
5706 {
5707 PyThreadState* __tstate = wxPyBeginAllowThreads();
5708 (arg1)->SetTitle((wxString const &)*arg2);
5709 wxPyEndAllowThreads(__tstate);
5710 if (PyErr_Occurred()) SWIG_fail;
5711 }
5712 resultobj = SWIG_Py_Void();
5713 {
5714 if (temp2)
5715 delete arg2;
5716 }
5717 return resultobj;
5718 fail:
5719 {
5720 if (temp2)
5721 delete arg2;
5722 }
5723 return NULL;
5724 }
5725
5726
5727 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5728 PyObject *resultobj = 0;
5729 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5730 wxString result;
5731 void *argp1 = 0 ;
5732 int res1 = 0 ;
5733 PyObject *swig_obj[1] ;
5734
5735 if (!args) SWIG_fail;
5736 swig_obj[0] = args;
5737 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5738 if (!SWIG_IsOK(res1)) {
5739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5740 }
5741 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5742 {
5743 PyThreadState* __tstate = wxPyBeginAllowThreads();
5744 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
5745 wxPyEndAllowThreads(__tstate);
5746 if (PyErr_Occurred()) SWIG_fail;
5747 }
5748 {
5749 #if wxUSE_UNICODE
5750 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5751 #else
5752 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5753 #endif
5754 }
5755 return resultobj;
5756 fail:
5757 return NULL;
5758 }
5759
5760
5761 SWIGINTERN PyObject *_wrap_TopLevelWindow_EnableCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5762 PyObject *resultobj = 0;
5763 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5764 bool arg2 ;
5765 bool result;
5766 void *argp1 = 0 ;
5767 int res1 = 0 ;
5768 bool val2 ;
5769 int ecode2 = 0 ;
5770 PyObject * obj0 = 0 ;
5771 PyObject * obj1 = 0 ;
5772 char * kwnames[] = {
5773 (char *) "self",(char *) "enable", NULL
5774 };
5775
5776 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_EnableCloseButton",kwnames,&obj0,&obj1)) SWIG_fail;
5777 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5778 if (!SWIG_IsOK(res1)) {
5779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5780 }
5781 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5782 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5783 if (!SWIG_IsOK(ecode2)) {
5784 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
5785 }
5786 arg2 = static_cast< bool >(val2);
5787 {
5788 PyThreadState* __tstate = wxPyBeginAllowThreads();
5789 result = (bool)(arg1)->EnableCloseButton(arg2);
5790 wxPyEndAllowThreads(__tstate);
5791 if (PyErr_Occurred()) SWIG_fail;
5792 }
5793 {
5794 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5795 }
5796 return resultobj;
5797 fail:
5798 return NULL;
5799 }
5800
5801
5802 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5803 PyObject *resultobj = 0;
5804 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5805 wxRegion *arg2 = 0 ;
5806 bool result;
5807 void *argp1 = 0 ;
5808 int res1 = 0 ;
5809 void *argp2 = 0 ;
5810 int res2 = 0 ;
5811 PyObject * obj0 = 0 ;
5812 PyObject * obj1 = 0 ;
5813 char * kwnames[] = {
5814 (char *) "self",(char *) "region", NULL
5815 };
5816
5817 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) SWIG_fail;
5818 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5819 if (!SWIG_IsOK(res1)) {
5820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5821 }
5822 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5823 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRegion, 0 | 0);
5824 if (!SWIG_IsOK(res2)) {
5825 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5826 }
5827 if (!argp2) {
5828 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5829 }
5830 arg2 = reinterpret_cast< wxRegion * >(argp2);
5831 {
5832 PyThreadState* __tstate = wxPyBeginAllowThreads();
5833 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
5834 wxPyEndAllowThreads(__tstate);
5835 if (PyErr_Occurred()) SWIG_fail;
5836 }
5837 {
5838 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5839 }
5840 return resultobj;
5841 fail:
5842 return NULL;
5843 }
5844
5845
5846 SWIGINTERN PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5847 PyObject *resultobj = 0;
5848 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5849 int arg2 = (int) wxUSER_ATTENTION_INFO ;
5850 void *argp1 = 0 ;
5851 int res1 = 0 ;
5852 int val2 ;
5853 int ecode2 = 0 ;
5854 PyObject * obj0 = 0 ;
5855 PyObject * obj1 = 0 ;
5856 char * kwnames[] = {
5857 (char *) "self",(char *) "flags", NULL
5858 };
5859
5860 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) SWIG_fail;
5861 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5862 if (!SWIG_IsOK(res1)) {
5863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5864 }
5865 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5866 if (obj1) {
5867 ecode2 = SWIG_AsVal_int(obj1, &val2);
5868 if (!SWIG_IsOK(ecode2)) {
5869 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5870 }
5871 arg2 = static_cast< int >(val2);
5872 }
5873 {
5874 PyThreadState* __tstate = wxPyBeginAllowThreads();
5875 (arg1)->RequestUserAttention(arg2);
5876 wxPyEndAllowThreads(__tstate);
5877 if (PyErr_Occurred()) SWIG_fail;
5878 }
5879 resultobj = SWIG_Py_Void();
5880 return resultobj;
5881 fail:
5882 return NULL;
5883 }
5884
5885
5886 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5887 PyObject *resultobj = 0;
5888 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5889 bool result;
5890 void *argp1 = 0 ;
5891 int res1 = 0 ;
5892 PyObject *swig_obj[1] ;
5893
5894 if (!args) SWIG_fail;
5895 swig_obj[0] = args;
5896 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5897 if (!SWIG_IsOK(res1)) {
5898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5899 }
5900 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5901 {
5902 PyThreadState* __tstate = wxPyBeginAllowThreads();
5903 result = (bool)(arg1)->IsActive();
5904 wxPyEndAllowThreads(__tstate);
5905 if (PyErr_Occurred()) SWIG_fail;
5906 }
5907 {
5908 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5909 }
5910 return resultobj;
5911 fail:
5912 return NULL;
5913 }
5914
5915
5916 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5917 PyObject *resultobj = 0;
5918 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5919 bool arg2 ;
5920 void *argp1 = 0 ;
5921 int res1 = 0 ;
5922 bool val2 ;
5923 int ecode2 = 0 ;
5924 PyObject * obj0 = 0 ;
5925 PyObject * obj1 = 0 ;
5926 char * kwnames[] = {
5927 (char *) "self",(char *) "on", NULL
5928 };
5929
5930 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) SWIG_fail;
5931 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5932 if (!SWIG_IsOK(res1)) {
5933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5934 }
5935 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5936 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5937 if (!SWIG_IsOK(ecode2)) {
5938 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5939 }
5940 arg2 = static_cast< bool >(val2);
5941 {
5942 PyThreadState* __tstate = wxPyBeginAllowThreads();
5943 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
5944 wxPyEndAllowThreads(__tstate);
5945 if (PyErr_Occurred()) SWIG_fail;
5946 }
5947 resultobj = SWIG_Py_Void();
5948 return resultobj;
5949 fail:
5950 return NULL;
5951 }
5952
5953
5954 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5955 PyObject *resultobj = 0;
5956 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5957 bool result;
5958 void *argp1 = 0 ;
5959 int res1 = 0 ;
5960 PyObject *swig_obj[1] ;
5961
5962 if (!args) SWIG_fail;
5963 swig_obj[0] = args;
5964 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5965 if (!SWIG_IsOK(res1)) {
5966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5967 }
5968 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5969 {
5970 PyThreadState* __tstate = wxPyBeginAllowThreads();
5971 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
5972 wxPyEndAllowThreads(__tstate);
5973 if (PyErr_Occurred()) SWIG_fail;
5974 }
5975 {
5976 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5977 }
5978 return resultobj;
5979 fail:
5980 return NULL;
5981 }
5982
5983
5984 SWIGINTERN PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5985 PyObject *resultobj = 0;
5986 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5987 int arg2 = (int) wxBOTH ;
5988 void *argp1 = 0 ;
5989 int res1 = 0 ;
5990 int val2 ;
5991 int ecode2 = 0 ;
5992 PyObject * obj0 = 0 ;
5993 PyObject * obj1 = 0 ;
5994 char * kwnames[] = {
5995 (char *) "self",(char *) "dir", NULL
5996 };
5997
5998 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) SWIG_fail;
5999 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6000 if (!SWIG_IsOK(res1)) {
6001 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6002 }
6003 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6004 if (obj1) {
6005 ecode2 = SWIG_AsVal_int(obj1, &val2);
6006 if (!SWIG_IsOK(ecode2)) {
6007 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6008 }
6009 arg2 = static_cast< int >(val2);
6010 }
6011 {
6012 PyThreadState* __tstate = wxPyBeginAllowThreads();
6013 (arg1)->CenterOnScreen(arg2);
6014 wxPyEndAllowThreads(__tstate);
6015 if (PyErr_Occurred()) SWIG_fail;
6016 }
6017 resultobj = SWIG_Py_Void();
6018 return resultobj;
6019 fail:
6020 return NULL;
6021 }
6022
6023
6024 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6025 PyObject *resultobj = 0;
6026 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6027 wxWindow *result = 0 ;
6028 void *argp1 = 0 ;
6029 int res1 = 0 ;
6030 PyObject *swig_obj[1] ;
6031
6032 if (!args) SWIG_fail;
6033 swig_obj[0] = args;
6034 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6035 if (!SWIG_IsOK(res1)) {
6036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6037 }
6038 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6039 {
6040 PyThreadState* __tstate = wxPyBeginAllowThreads();
6041 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetDefaultItem();
6042 wxPyEndAllowThreads(__tstate);
6043 if (PyErr_Occurred()) SWIG_fail;
6044 }
6045 {
6046 resultobj = wxPyMake_wxObject(result, 0);
6047 }
6048 return resultobj;
6049 fail:
6050 return NULL;
6051 }
6052
6053
6054 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6055 PyObject *resultobj = 0;
6056 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6057 wxWindow *arg2 = (wxWindow *) 0 ;
6058 wxWindow *result = 0 ;
6059 void *argp1 = 0 ;
6060 int res1 = 0 ;
6061 void *argp2 = 0 ;
6062 int res2 = 0 ;
6063 PyObject * obj0 = 0 ;
6064 PyObject * obj1 = 0 ;
6065 char * kwnames[] = {
6066 (char *) "self",(char *) "child", NULL
6067 };
6068
6069 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6070 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6071 if (!SWIG_IsOK(res1)) {
6072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6073 }
6074 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6075 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6076 if (!SWIG_IsOK(res2)) {
6077 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6078 }
6079 arg2 = reinterpret_cast< wxWindow * >(argp2);
6080 {
6081 PyThreadState* __tstate = wxPyBeginAllowThreads();
6082 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
6083 wxPyEndAllowThreads(__tstate);
6084 if (PyErr_Occurred()) SWIG_fail;
6085 }
6086 {
6087 resultobj = wxPyMake_wxObject(result, 0);
6088 }
6089 return resultobj;
6090 fail:
6091 return NULL;
6092 }
6093
6094
6095 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6096 PyObject *resultobj = 0;
6097 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6098 wxWindow *arg2 = (wxWindow *) 0 ;
6099 void *argp1 = 0 ;
6100 int res1 = 0 ;
6101 void *argp2 = 0 ;
6102 int res2 = 0 ;
6103 PyObject * obj0 = 0 ;
6104 PyObject * obj1 = 0 ;
6105 char * kwnames[] = {
6106 (char *) "self",(char *) "win", NULL
6107 };
6108
6109 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6110 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6111 if (!SWIG_IsOK(res1)) {
6112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6113 }
6114 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6115 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6116 if (!SWIG_IsOK(res2)) {
6117 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6118 }
6119 arg2 = reinterpret_cast< wxWindow * >(argp2);
6120 {
6121 PyThreadState* __tstate = wxPyBeginAllowThreads();
6122 (arg1)->SetTmpDefaultItem(arg2);
6123 wxPyEndAllowThreads(__tstate);
6124 if (PyErr_Occurred()) SWIG_fail;
6125 }
6126 resultobj = SWIG_Py_Void();
6127 return resultobj;
6128 fail:
6129 return NULL;
6130 }
6131
6132
6133 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6134 PyObject *resultobj = 0;
6135 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6136 wxWindow *result = 0 ;
6137 void *argp1 = 0 ;
6138 int res1 = 0 ;
6139 PyObject *swig_obj[1] ;
6140
6141 if (!args) SWIG_fail;
6142 swig_obj[0] = args;
6143 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6144 if (!SWIG_IsOK(res1)) {
6145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6146 }
6147 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6148 {
6149 PyThreadState* __tstate = wxPyBeginAllowThreads();
6150 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetTmpDefaultItem();
6151 wxPyEndAllowThreads(__tstate);
6152 if (PyErr_Occurred()) SWIG_fail;
6153 }
6154 {
6155 resultobj = wxPyMake_wxObject(result, 0);
6156 }
6157 return resultobj;
6158 fail:
6159 return NULL;
6160 }
6161
6162
6163 SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6164 PyObject *obj;
6165 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6166 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow, SWIG_NewClientData(obj));
6167 return SWIG_Py_Void();
6168 }
6169
6170 SWIGINTERN PyObject *_wrap_new_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6171 PyObject *resultobj = 0;
6172 wxWindow *arg1 = (wxWindow *) 0 ;
6173 int arg2 = (int) (int)-1 ;
6174 wxString const &arg3_defvalue = wxPyEmptyString ;
6175 wxString *arg3 = (wxString *) &arg3_defvalue ;
6176 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6177 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6178 wxSize const &arg5_defvalue = wxDefaultSize ;
6179 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6180 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6181 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6182 wxString *arg7 = (wxString *) &arg7_defvalue ;
6183 wxFrame *result = 0 ;
6184 void *argp1 = 0 ;
6185 int res1 = 0 ;
6186 int val2 ;
6187 int ecode2 = 0 ;
6188 bool temp3 = false ;
6189 wxPoint temp4 ;
6190 wxSize temp5 ;
6191 long val6 ;
6192 int ecode6 = 0 ;
6193 bool temp7 = false ;
6194 PyObject * obj0 = 0 ;
6195 PyObject * obj1 = 0 ;
6196 PyObject * obj2 = 0 ;
6197 PyObject * obj3 = 0 ;
6198 PyObject * obj4 = 0 ;
6199 PyObject * obj5 = 0 ;
6200 PyObject * obj6 = 0 ;
6201 char * kwnames[] = {
6202 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6203 };
6204
6205 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6206 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6207 if (!SWIG_IsOK(res1)) {
6208 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6209 }
6210 arg1 = reinterpret_cast< wxWindow * >(argp1);
6211 if (obj1) {
6212 ecode2 = SWIG_AsVal_int(obj1, &val2);
6213 if (!SWIG_IsOK(ecode2)) {
6214 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6215 }
6216 arg2 = static_cast< int >(val2);
6217 }
6218 if (obj2) {
6219 {
6220 arg3 = wxString_in_helper(obj2);
6221 if (arg3 == NULL) SWIG_fail;
6222 temp3 = true;
6223 }
6224 }
6225 if (obj3) {
6226 {
6227 arg4 = &temp4;
6228 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6229 }
6230 }
6231 if (obj4) {
6232 {
6233 arg5 = &temp5;
6234 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6235 }
6236 }
6237 if (obj5) {
6238 ecode6 = SWIG_AsVal_long(obj5, &val6);
6239 if (!SWIG_IsOK(ecode6)) {
6240 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6241 }
6242 arg6 = static_cast< long >(val6);
6243 }
6244 if (obj6) {
6245 {
6246 arg7 = wxString_in_helper(obj6);
6247 if (arg7 == NULL) SWIG_fail;
6248 temp7 = true;
6249 }
6250 }
6251 {
6252 if (!wxPyCheckForApp()) SWIG_fail;
6253 PyThreadState* __tstate = wxPyBeginAllowThreads();
6254 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6255 wxPyEndAllowThreads(__tstate);
6256 if (PyErr_Occurred()) SWIG_fail;
6257 }
6258 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_NEW | 0 );
6259 {
6260 if (temp3)
6261 delete arg3;
6262 }
6263 {
6264 if (temp7)
6265 delete arg7;
6266 }
6267 return resultobj;
6268 fail:
6269 {
6270 if (temp3)
6271 delete arg3;
6272 }
6273 {
6274 if (temp7)
6275 delete arg7;
6276 }
6277 return NULL;
6278 }
6279
6280
6281 SWIGINTERN PyObject *_wrap_new_PreFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6282 PyObject *resultobj = 0;
6283 wxFrame *result = 0 ;
6284
6285 if (!SWIG_Python_UnpackTuple(args,"new_PreFrame",0,0,0)) SWIG_fail;
6286 {
6287 if (!wxPyCheckForApp()) SWIG_fail;
6288 PyThreadState* __tstate = wxPyBeginAllowThreads();
6289 result = (wxFrame *)new wxFrame();
6290 wxPyEndAllowThreads(__tstate);
6291 if (PyErr_Occurred()) SWIG_fail;
6292 }
6293 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_OWN | 0 );
6294 return resultobj;
6295 fail:
6296 return NULL;
6297 }
6298
6299
6300 SWIGINTERN PyObject *_wrap_Frame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6301 PyObject *resultobj = 0;
6302 wxFrame *arg1 = (wxFrame *) 0 ;
6303 wxWindow *arg2 = (wxWindow *) 0 ;
6304 int arg3 = (int) (int)-1 ;
6305 wxString const &arg4_defvalue = wxPyEmptyString ;
6306 wxString *arg4 = (wxString *) &arg4_defvalue ;
6307 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6308 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6309 wxSize const &arg6_defvalue = wxDefaultSize ;
6310 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6311 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6312 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6313 wxString *arg8 = (wxString *) &arg8_defvalue ;
6314 bool result;
6315 void *argp1 = 0 ;
6316 int res1 = 0 ;
6317 void *argp2 = 0 ;
6318 int res2 = 0 ;
6319 int val3 ;
6320 int ecode3 = 0 ;
6321 bool temp4 = false ;
6322 wxPoint temp5 ;
6323 wxSize temp6 ;
6324 long val7 ;
6325 int ecode7 = 0 ;
6326 bool temp8 = false ;
6327 PyObject * obj0 = 0 ;
6328 PyObject * obj1 = 0 ;
6329 PyObject * obj2 = 0 ;
6330 PyObject * obj3 = 0 ;
6331 PyObject * obj4 = 0 ;
6332 PyObject * obj5 = 0 ;
6333 PyObject * obj6 = 0 ;
6334 PyObject * obj7 = 0 ;
6335 char * kwnames[] = {
6336 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6337 };
6338
6339 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6340 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6341 if (!SWIG_IsOK(res1)) {
6342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6343 }
6344 arg1 = reinterpret_cast< wxFrame * >(argp1);
6345 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6346 if (!SWIG_IsOK(res2)) {
6347 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6348 }
6349 arg2 = reinterpret_cast< wxWindow * >(argp2);
6350 if (obj2) {
6351 ecode3 = SWIG_AsVal_int(obj2, &val3);
6352 if (!SWIG_IsOK(ecode3)) {
6353 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6354 }
6355 arg3 = static_cast< int >(val3);
6356 }
6357 if (obj3) {
6358 {
6359 arg4 = wxString_in_helper(obj3);
6360 if (arg4 == NULL) SWIG_fail;
6361 temp4 = true;
6362 }
6363 }
6364 if (obj4) {
6365 {
6366 arg5 = &temp5;
6367 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6368 }
6369 }
6370 if (obj5) {
6371 {
6372 arg6 = &temp6;
6373 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6374 }
6375 }
6376 if (obj6) {
6377 ecode7 = SWIG_AsVal_long(obj6, &val7);
6378 if (!SWIG_IsOK(ecode7)) {
6379 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6380 }
6381 arg7 = static_cast< long >(val7);
6382 }
6383 if (obj7) {
6384 {
6385 arg8 = wxString_in_helper(obj7);
6386 if (arg8 == NULL) SWIG_fail;
6387 temp8 = true;
6388 }
6389 }
6390 {
6391 PyThreadState* __tstate = wxPyBeginAllowThreads();
6392 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6393 wxPyEndAllowThreads(__tstate);
6394 if (PyErr_Occurred()) SWIG_fail;
6395 }
6396 {
6397 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6398 }
6399 {
6400 if (temp4)
6401 delete arg4;
6402 }
6403 {
6404 if (temp8)
6405 delete arg8;
6406 }
6407 return resultobj;
6408 fail:
6409 {
6410 if (temp4)
6411 delete arg4;
6412 }
6413 {
6414 if (temp8)
6415 delete arg8;
6416 }
6417 return NULL;
6418 }
6419
6420
6421 SWIGINTERN PyObject *_wrap_Frame_SendSizeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6422 PyObject *resultobj = 0;
6423 wxFrame *arg1 = (wxFrame *) 0 ;
6424 void *argp1 = 0 ;
6425 int res1 = 0 ;
6426 PyObject *swig_obj[1] ;
6427
6428 if (!args) SWIG_fail;
6429 swig_obj[0] = args;
6430 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6431 if (!SWIG_IsOK(res1)) {
6432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6433 }
6434 arg1 = reinterpret_cast< wxFrame * >(argp1);
6435 {
6436 PyThreadState* __tstate = wxPyBeginAllowThreads();
6437 (arg1)->SendSizeEvent();
6438 wxPyEndAllowThreads(__tstate);
6439 if (PyErr_Occurred()) SWIG_fail;
6440 }
6441 resultobj = SWIG_Py_Void();
6442 return resultobj;
6443 fail:
6444 return NULL;
6445 }
6446
6447
6448 SWIGINTERN PyObject *_wrap_Frame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6449 PyObject *resultobj = 0;
6450 wxFrame *arg1 = (wxFrame *) 0 ;
6451 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
6452 void *argp1 = 0 ;
6453 int res1 = 0 ;
6454 void *argp2 = 0 ;
6455 int res2 = 0 ;
6456 PyObject * obj0 = 0 ;
6457 PyObject * obj1 = 0 ;
6458 char * kwnames[] = {
6459 (char *) "self",(char *) "menubar", NULL
6460 };
6461
6462 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail;
6463 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6464 if (!SWIG_IsOK(res1)) {
6465 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6466 }
6467 arg1 = reinterpret_cast< wxFrame * >(argp1);
6468 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 );
6469 if (!SWIG_IsOK(res2)) {
6470 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6471 }
6472 arg2 = reinterpret_cast< wxMenuBar * >(argp2);
6473 {
6474 PyThreadState* __tstate = wxPyBeginAllowThreads();
6475 (arg1)->SetMenuBar(arg2);
6476 wxPyEndAllowThreads(__tstate);
6477 if (PyErr_Occurred()) SWIG_fail;
6478 }
6479 resultobj = SWIG_Py_Void();
6480 return resultobj;
6481 fail:
6482 return NULL;
6483 }
6484
6485
6486 SWIGINTERN PyObject *_wrap_Frame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6487 PyObject *resultobj = 0;
6488 wxFrame *arg1 = (wxFrame *) 0 ;
6489 wxMenuBar *result = 0 ;
6490 void *argp1 = 0 ;
6491 int res1 = 0 ;
6492 PyObject *swig_obj[1] ;
6493
6494 if (!args) SWIG_fail;
6495 swig_obj[0] = args;
6496 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6497 if (!SWIG_IsOK(res1)) {
6498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6499 }
6500 arg1 = reinterpret_cast< wxFrame * >(argp1);
6501 {
6502 PyThreadState* __tstate = wxPyBeginAllowThreads();
6503 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
6504 wxPyEndAllowThreads(__tstate);
6505 if (PyErr_Occurred()) SWIG_fail;
6506 }
6507 {
6508 resultobj = wxPyMake_wxObject(result, 0);
6509 }
6510 return resultobj;
6511 fail:
6512 return NULL;
6513 }
6514
6515
6516 SWIGINTERN PyObject *_wrap_Frame_ProcessCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6517 PyObject *resultobj = 0;
6518 wxFrame *arg1 = (wxFrame *) 0 ;
6519 int arg2 ;
6520 bool result;
6521 void *argp1 = 0 ;
6522 int res1 = 0 ;
6523 int val2 ;
6524 int ecode2 = 0 ;
6525 PyObject * obj0 = 0 ;
6526 PyObject * obj1 = 0 ;
6527 char * kwnames[] = {
6528 (char *) "self",(char *) "winid", NULL
6529 };
6530
6531 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) SWIG_fail;
6532 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6533 if (!SWIG_IsOK(res1)) {
6534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6535 }
6536 arg1 = reinterpret_cast< wxFrame * >(argp1);
6537 ecode2 = SWIG_AsVal_int(obj1, &val2);
6538 if (!SWIG_IsOK(ecode2)) {
6539 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6540 }
6541 arg2 = static_cast< int >(val2);
6542 {
6543 PyThreadState* __tstate = wxPyBeginAllowThreads();
6544 result = (bool)(arg1)->ProcessCommand(arg2);
6545 wxPyEndAllowThreads(__tstate);
6546 if (PyErr_Occurred()) SWIG_fail;
6547 }
6548 {
6549 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6550 }
6551 return resultobj;
6552 fail:
6553 return NULL;
6554 }
6555
6556
6557 SWIGINTERN PyObject *_wrap_Frame_CreateStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6558 PyObject *resultobj = 0;
6559 wxFrame *arg1 = (wxFrame *) 0 ;
6560 int arg2 = (int) 1 ;
6561 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6562 int arg4 = (int) 0 ;
6563 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6564 wxString *arg5 = (wxString *) &arg5_defvalue ;
6565 wxStatusBar *result = 0 ;
6566 void *argp1 = 0 ;
6567 int res1 = 0 ;
6568 int val2 ;
6569 int ecode2 = 0 ;
6570 long val3 ;
6571 int ecode3 = 0 ;
6572 int val4 ;
6573 int ecode4 = 0 ;
6574 bool temp5 = false ;
6575 PyObject * obj0 = 0 ;
6576 PyObject * obj1 = 0 ;
6577 PyObject * obj2 = 0 ;
6578 PyObject * obj3 = 0 ;
6579 PyObject * obj4 = 0 ;
6580 char * kwnames[] = {
6581 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6582 };
6583
6584 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
6585 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6586 if (!SWIG_IsOK(res1)) {
6587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6588 }
6589 arg1 = reinterpret_cast< wxFrame * >(argp1);
6590 if (obj1) {
6591 ecode2 = SWIG_AsVal_int(obj1, &val2);
6592 if (!SWIG_IsOK(ecode2)) {
6593 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6594 }
6595 arg2 = static_cast< int >(val2);
6596 }
6597 if (obj2) {
6598 ecode3 = SWIG_AsVal_long(obj2, &val3);
6599 if (!SWIG_IsOK(ecode3)) {
6600 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6601 }
6602 arg3 = static_cast< long >(val3);
6603 }
6604 if (obj3) {
6605 ecode4 = SWIG_AsVal_int(obj3, &val4);
6606 if (!SWIG_IsOK(ecode4)) {
6607 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6608 }
6609 arg4 = static_cast< int >(val4);
6610 }
6611 if (obj4) {
6612 {
6613 arg5 = wxString_in_helper(obj4);
6614 if (arg5 == NULL) SWIG_fail;
6615 temp5 = true;
6616 }
6617 }
6618 {
6619 PyThreadState* __tstate = wxPyBeginAllowThreads();
6620 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
6621 wxPyEndAllowThreads(__tstate);
6622 if (PyErr_Occurred()) SWIG_fail;
6623 }
6624 {
6625 resultobj = wxPyMake_wxObject(result, (bool)0);
6626 }
6627 {
6628 if (temp5)
6629 delete arg5;
6630 }
6631 return resultobj;
6632 fail:
6633 {
6634 if (temp5)
6635 delete arg5;
6636 }
6637 return NULL;
6638 }
6639
6640
6641 SWIGINTERN PyObject *_wrap_Frame_GetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6642 PyObject *resultobj = 0;
6643 wxFrame *arg1 = (wxFrame *) 0 ;
6644 wxStatusBar *result = 0 ;
6645 void *argp1 = 0 ;
6646 int res1 = 0 ;
6647 PyObject *swig_obj[1] ;
6648
6649 if (!args) SWIG_fail;
6650 swig_obj[0] = args;
6651 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6652 if (!SWIG_IsOK(res1)) {
6653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6654 }
6655 arg1 = reinterpret_cast< wxFrame * >(argp1);
6656 {
6657 PyThreadState* __tstate = wxPyBeginAllowThreads();
6658 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
6659 wxPyEndAllowThreads(__tstate);
6660 if (PyErr_Occurred()) SWIG_fail;
6661 }
6662 {
6663 resultobj = wxPyMake_wxObject(result, (bool)0);
6664 }
6665 return resultobj;
6666 fail:
6667 return NULL;
6668 }
6669
6670
6671 SWIGINTERN PyObject *_wrap_Frame_SetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6672 PyObject *resultobj = 0;
6673 wxFrame *arg1 = (wxFrame *) 0 ;
6674 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
6675 void *argp1 = 0 ;
6676 int res1 = 0 ;
6677 void *argp2 = 0 ;
6678 int res2 = 0 ;
6679 PyObject * obj0 = 0 ;
6680 PyObject * obj1 = 0 ;
6681 char * kwnames[] = {
6682 (char *) "self",(char *) "statBar", NULL
6683 };
6684
6685 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
6686 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6687 if (!SWIG_IsOK(res1)) {
6688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6689 }
6690 arg1 = reinterpret_cast< wxFrame * >(argp1);
6691 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxStatusBar, 0 | 0 );
6692 if (!SWIG_IsOK(res2)) {
6693 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6694 }
6695 arg2 = reinterpret_cast< wxStatusBar * >(argp2);
6696 {
6697 PyThreadState* __tstate = wxPyBeginAllowThreads();
6698 (arg1)->SetStatusBar(arg2);
6699 wxPyEndAllowThreads(__tstate);
6700 if (PyErr_Occurred()) SWIG_fail;
6701 }
6702 resultobj = SWIG_Py_Void();
6703 return resultobj;
6704 fail:
6705 return NULL;
6706 }
6707
6708
6709 SWIGINTERN PyObject *_wrap_Frame_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6710 PyObject *resultobj = 0;
6711 wxFrame *arg1 = (wxFrame *) 0 ;
6712 wxString *arg2 = 0 ;
6713 int arg3 = (int) 0 ;
6714 void *argp1 = 0 ;
6715 int res1 = 0 ;
6716 bool temp2 = false ;
6717 int val3 ;
6718 int ecode3 = 0 ;
6719 PyObject * obj0 = 0 ;
6720 PyObject * obj1 = 0 ;
6721 PyObject * obj2 = 0 ;
6722 char * kwnames[] = {
6723 (char *) "self",(char *) "text",(char *) "number", NULL
6724 };
6725
6726 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6727 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6728 if (!SWIG_IsOK(res1)) {
6729 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6730 }
6731 arg1 = reinterpret_cast< wxFrame * >(argp1);
6732 {
6733 arg2 = wxString_in_helper(obj1);
6734 if (arg2 == NULL) SWIG_fail;
6735 temp2 = true;
6736 }
6737 if (obj2) {
6738 ecode3 = SWIG_AsVal_int(obj2, &val3);
6739 if (!SWIG_IsOK(ecode3)) {
6740 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6741 }
6742 arg3 = static_cast< int >(val3);
6743 }
6744 {
6745 PyThreadState* __tstate = wxPyBeginAllowThreads();
6746 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6747 wxPyEndAllowThreads(__tstate);
6748 if (PyErr_Occurred()) SWIG_fail;
6749 }
6750 resultobj = SWIG_Py_Void();
6751 {
6752 if (temp2)
6753 delete arg2;
6754 }
6755 return resultobj;
6756 fail:
6757 {
6758 if (temp2)
6759 delete arg2;
6760 }
6761 return NULL;
6762 }
6763
6764
6765 SWIGINTERN PyObject *_wrap_Frame_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6766 PyObject *resultobj = 0;
6767 wxFrame *arg1 = (wxFrame *) 0 ;
6768 int arg2 ;
6769 int *arg3 = (int *) 0 ;
6770 void *argp1 = 0 ;
6771 int res1 = 0 ;
6772 PyObject * obj0 = 0 ;
6773 PyObject * obj1 = 0 ;
6774 char * kwnames[] = {
6775 (char *) "self",(char *) "widths", NULL
6776 };
6777
6778 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
6779 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6780 if (!SWIG_IsOK(res1)) {
6781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6782 }
6783 arg1 = reinterpret_cast< wxFrame * >(argp1);
6784 {
6785 arg2 = PyList_Size(obj1);
6786 arg3 = int_LIST_helper(obj1);
6787 if (arg3 == NULL) SWIG_fail;
6788 }
6789 {
6790 PyThreadState* __tstate = wxPyBeginAllowThreads();
6791 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
6792 wxPyEndAllowThreads(__tstate);
6793 if (PyErr_Occurred()) SWIG_fail;
6794 }
6795 resultobj = SWIG_Py_Void();
6796 {
6797 if (arg3) delete [] arg3;
6798 }
6799 return resultobj;
6800 fail:
6801 {
6802 if (arg3) delete [] arg3;
6803 }
6804 return NULL;
6805 }
6806
6807
6808 SWIGINTERN PyObject *_wrap_Frame_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6809 PyObject *resultobj = 0;
6810 wxFrame *arg1 = (wxFrame *) 0 ;
6811 wxString *arg2 = 0 ;
6812 int arg3 = (int) 0 ;
6813 void *argp1 = 0 ;
6814 int res1 = 0 ;
6815 bool temp2 = false ;
6816 int val3 ;
6817 int ecode3 = 0 ;
6818 PyObject * obj0 = 0 ;
6819 PyObject * obj1 = 0 ;
6820 PyObject * obj2 = 0 ;
6821 char * kwnames[] = {
6822 (char *) "self",(char *) "text",(char *) "number", NULL
6823 };
6824
6825 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6826 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6827 if (!SWIG_IsOK(res1)) {
6828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6829 }
6830 arg1 = reinterpret_cast< wxFrame * >(argp1);
6831 {
6832 arg2 = wxString_in_helper(obj1);
6833 if (arg2 == NULL) SWIG_fail;
6834 temp2 = true;
6835 }
6836 if (obj2) {
6837 ecode3 = SWIG_AsVal_int(obj2, &val3);
6838 if (!SWIG_IsOK(ecode3)) {
6839 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6840 }
6841 arg3 = static_cast< int >(val3);
6842 }
6843 {
6844 PyThreadState* __tstate = wxPyBeginAllowThreads();
6845 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
6846 wxPyEndAllowThreads(__tstate);
6847 if (PyErr_Occurred()) SWIG_fail;
6848 }
6849 resultobj = SWIG_Py_Void();
6850 {
6851 if (temp2)
6852 delete arg2;
6853 }
6854 return resultobj;
6855 fail:
6856 {
6857 if (temp2)
6858 delete arg2;
6859 }
6860 return NULL;
6861 }
6862
6863
6864 SWIGINTERN PyObject *_wrap_Frame_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6865 PyObject *resultobj = 0;
6866 wxFrame *arg1 = (wxFrame *) 0 ;
6867 int arg2 = (int) 0 ;
6868 void *argp1 = 0 ;
6869 int res1 = 0 ;
6870 int val2 ;
6871 int ecode2 = 0 ;
6872 PyObject * obj0 = 0 ;
6873 PyObject * obj1 = 0 ;
6874 char * kwnames[] = {
6875 (char *) "self",(char *) "number", NULL
6876 };
6877
6878 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
6879 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6880 if (!SWIG_IsOK(res1)) {
6881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6882 }
6883 arg1 = reinterpret_cast< wxFrame * >(argp1);
6884 if (obj1) {
6885 ecode2 = SWIG_AsVal_int(obj1, &val2);
6886 if (!SWIG_IsOK(ecode2)) {
6887 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6888 }
6889 arg2 = static_cast< int >(val2);
6890 }
6891 {
6892 PyThreadState* __tstate = wxPyBeginAllowThreads();
6893 (arg1)->PopStatusText(arg2);
6894 wxPyEndAllowThreads(__tstate);
6895 if (PyErr_Occurred()) SWIG_fail;
6896 }
6897 resultobj = SWIG_Py_Void();
6898 return resultobj;
6899 fail:
6900 return NULL;
6901 }
6902
6903
6904 SWIGINTERN PyObject *_wrap_Frame_SetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6905 PyObject *resultobj = 0;
6906 wxFrame *arg1 = (wxFrame *) 0 ;
6907 int arg2 ;
6908 void *argp1 = 0 ;
6909 int res1 = 0 ;
6910 int val2 ;
6911 int ecode2 = 0 ;
6912 PyObject * obj0 = 0 ;
6913 PyObject * obj1 = 0 ;
6914 char * kwnames[] = {
6915 (char *) "self",(char *) "n", NULL
6916 };
6917
6918 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) SWIG_fail;
6919 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6920 if (!SWIG_IsOK(res1)) {
6921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6922 }
6923 arg1 = reinterpret_cast< wxFrame * >(argp1);
6924 ecode2 = SWIG_AsVal_int(obj1, &val2);
6925 if (!SWIG_IsOK(ecode2)) {
6926 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6927 }
6928 arg2 = static_cast< int >(val2);
6929 {
6930 PyThreadState* __tstate = wxPyBeginAllowThreads();
6931 (arg1)->SetStatusBarPane(arg2);
6932 wxPyEndAllowThreads(__tstate);
6933 if (PyErr_Occurred()) SWIG_fail;
6934 }
6935 resultobj = SWIG_Py_Void();
6936 return resultobj;
6937 fail:
6938 return NULL;
6939 }
6940
6941
6942 SWIGINTERN PyObject *_wrap_Frame_GetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6943 PyObject *resultobj = 0;
6944 wxFrame *arg1 = (wxFrame *) 0 ;
6945 int result;
6946 void *argp1 = 0 ;
6947 int res1 = 0 ;
6948 PyObject *swig_obj[1] ;
6949
6950 if (!args) SWIG_fail;
6951 swig_obj[0] = args;
6952 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6953 if (!SWIG_IsOK(res1)) {
6954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6955 }
6956 arg1 = reinterpret_cast< wxFrame * >(argp1);
6957 {
6958 PyThreadState* __tstate = wxPyBeginAllowThreads();
6959 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
6960 wxPyEndAllowThreads(__tstate);
6961 if (PyErr_Occurred()) SWIG_fail;
6962 }
6963 resultobj = SWIG_From_int(static_cast< int >(result));
6964 return resultobj;
6965 fail:
6966 return NULL;
6967 }
6968
6969
6970 SWIGINTERN PyObject *_wrap_Frame_CreateToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6971 PyObject *resultobj = 0;
6972 wxFrame *arg1 = (wxFrame *) 0 ;
6973 long arg2 = (long) -1 ;
6974 int arg3 = (int) -1 ;
6975 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
6976 wxString *arg4 = (wxString *) &arg4_defvalue ;
6977 wxToolBar *result = 0 ;
6978 void *argp1 = 0 ;
6979 int res1 = 0 ;
6980 long val2 ;
6981 int ecode2 = 0 ;
6982 int val3 ;
6983 int ecode3 = 0 ;
6984 bool temp4 = false ;
6985 PyObject * obj0 = 0 ;
6986 PyObject * obj1 = 0 ;
6987 PyObject * obj2 = 0 ;
6988 PyObject * obj3 = 0 ;
6989 char * kwnames[] = {
6990 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
6991 };
6992
6993 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
6994 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6995 if (!SWIG_IsOK(res1)) {
6996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6997 }
6998 arg1 = reinterpret_cast< wxFrame * >(argp1);
6999 if (obj1) {
7000 ecode2 = SWIG_AsVal_long(obj1, &val2);
7001 if (!SWIG_IsOK(ecode2)) {
7002 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7003 }
7004 arg2 = static_cast< long >(val2);
7005 }
7006 if (obj2) {
7007 ecode3 = SWIG_AsVal_int(obj2, &val3);
7008 if (!SWIG_IsOK(ecode3)) {
7009 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7010 }
7011 arg3 = static_cast< int >(val3);
7012 }
7013 if (obj3) {
7014 {
7015 arg4 = wxString_in_helper(obj3);
7016 if (arg4 == NULL) SWIG_fail;
7017 temp4 = true;
7018 }
7019 }
7020 {
7021 PyThreadState* __tstate = wxPyBeginAllowThreads();
7022 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
7023 wxPyEndAllowThreads(__tstate);
7024 if (PyErr_Occurred()) SWIG_fail;
7025 }
7026 {
7027 resultobj = wxPyMake_wxObject(result, (bool)0);
7028 }
7029 {
7030 if (temp4)
7031 delete arg4;
7032 }
7033 return resultobj;
7034 fail:
7035 {
7036 if (temp4)
7037 delete arg4;
7038 }
7039 return NULL;
7040 }
7041
7042
7043 SWIGINTERN PyObject *_wrap_Frame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7044 PyObject *resultobj = 0;
7045 wxFrame *arg1 = (wxFrame *) 0 ;
7046 wxToolBar *result = 0 ;
7047 void *argp1 = 0 ;
7048 int res1 = 0 ;
7049 PyObject *swig_obj[1] ;
7050
7051 if (!args) SWIG_fail;
7052 swig_obj[0] = args;
7053 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7054 if (!SWIG_IsOK(res1)) {
7055 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7056 }
7057 arg1 = reinterpret_cast< wxFrame * >(argp1);
7058 {
7059 PyThreadState* __tstate = wxPyBeginAllowThreads();
7060 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
7061 wxPyEndAllowThreads(__tstate);
7062 if (PyErr_Occurred()) SWIG_fail;
7063 }
7064 {
7065 resultobj = wxPyMake_wxObject(result, (bool)0);
7066 }
7067 return resultobj;
7068 fail:
7069 return NULL;
7070 }
7071
7072
7073 SWIGINTERN PyObject *_wrap_Frame_SetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7074 PyObject *resultobj = 0;
7075 wxFrame *arg1 = (wxFrame *) 0 ;
7076 wxToolBar *arg2 = (wxToolBar *) 0 ;
7077 void *argp1 = 0 ;
7078 int res1 = 0 ;
7079 void *argp2 = 0 ;
7080 int res2 = 0 ;
7081 PyObject * obj0 = 0 ;
7082 PyObject * obj1 = 0 ;
7083 char * kwnames[] = {
7084 (char *) "self",(char *) "toolbar", NULL
7085 };
7086
7087 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) SWIG_fail;
7088 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7089 if (!SWIG_IsOK(res1)) {
7090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7091 }
7092 arg1 = reinterpret_cast< wxFrame * >(argp1);
7093 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBar, 0 | 0 );
7094 if (!SWIG_IsOK(res2)) {
7095 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7096 }
7097 arg2 = reinterpret_cast< wxToolBar * >(argp2);
7098 {
7099 PyThreadState* __tstate = wxPyBeginAllowThreads();
7100 (arg1)->SetToolBar(arg2);
7101 wxPyEndAllowThreads(__tstate);
7102 if (PyErr_Occurred()) SWIG_fail;
7103 }
7104 resultobj = SWIG_Py_Void();
7105 return resultobj;
7106 fail:
7107 return NULL;
7108 }
7109
7110
7111 SWIGINTERN PyObject *_wrap_Frame_DoGiveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7112 PyObject *resultobj = 0;
7113 wxFrame *arg1 = (wxFrame *) 0 ;
7114 wxString *arg2 = 0 ;
7115 bool arg3 ;
7116 void *argp1 = 0 ;
7117 int res1 = 0 ;
7118 bool temp2 = false ;
7119 bool val3 ;
7120 int ecode3 = 0 ;
7121 PyObject * obj0 = 0 ;
7122 PyObject * obj1 = 0 ;
7123 PyObject * obj2 = 0 ;
7124 char * kwnames[] = {
7125 (char *) "self",(char *) "text",(char *) "show", NULL
7126 };
7127
7128 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7129 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7130 if (!SWIG_IsOK(res1)) {
7131 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7132 }
7133 arg1 = reinterpret_cast< wxFrame * >(argp1);
7134 {
7135 arg2 = wxString_in_helper(obj1);
7136 if (arg2 == NULL) SWIG_fail;
7137 temp2 = true;
7138 }
7139 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7140 if (!SWIG_IsOK(ecode3)) {
7141 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7142 }
7143 arg3 = static_cast< bool >(val3);
7144 {
7145 PyThreadState* __tstate = wxPyBeginAllowThreads();
7146 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
7147 wxPyEndAllowThreads(__tstate);
7148 if (PyErr_Occurred()) SWIG_fail;
7149 }
7150 resultobj = SWIG_Py_Void();
7151 {
7152 if (temp2)
7153 delete arg2;
7154 }
7155 return resultobj;
7156 fail:
7157 {
7158 if (temp2)
7159 delete arg2;
7160 }
7161 return NULL;
7162 }
7163
7164
7165 SWIGINTERN PyObject *_wrap_Frame_DoMenuUpdates(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7166 PyObject *resultobj = 0;
7167 wxFrame *arg1 = (wxFrame *) 0 ;
7168 wxMenu *arg2 = (wxMenu *) NULL ;
7169 void *argp1 = 0 ;
7170 int res1 = 0 ;
7171 void *argp2 = 0 ;
7172 int res2 = 0 ;
7173 PyObject * obj0 = 0 ;
7174 PyObject * obj1 = 0 ;
7175 char * kwnames[] = {
7176 (char *) "self",(char *) "menu", NULL
7177 };
7178
7179 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) SWIG_fail;
7180 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7181 if (!SWIG_IsOK(res1)) {
7182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7183 }
7184 arg1 = reinterpret_cast< wxFrame * >(argp1);
7185 if (obj1) {
7186 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
7187 if (!SWIG_IsOK(res2)) {
7188 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7189 }
7190 arg2 = reinterpret_cast< wxMenu * >(argp2);
7191 }
7192 {
7193 PyThreadState* __tstate = wxPyBeginAllowThreads();
7194 (arg1)->DoMenuUpdates(arg2);
7195 wxPyEndAllowThreads(__tstate);
7196 if (PyErr_Occurred()) SWIG_fail;
7197 }
7198 resultobj = SWIG_Py_Void();
7199 return resultobj;
7200 fail:
7201 return NULL;
7202 }
7203
7204
7205 SWIGINTERN PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7206 PyObject *resultobj = 0;
7207 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7208 SwigValueWrapper<wxVisualAttributes > result;
7209 int val1 ;
7210 int ecode1 = 0 ;
7211 PyObject * obj0 = 0 ;
7212 char * kwnames[] = {
7213 (char *) "variant", NULL
7214 };
7215
7216 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7217 if (obj0) {
7218 ecode1 = SWIG_AsVal_int(obj0, &val1);
7219 if (!SWIG_IsOK(ecode1)) {
7220 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7221 }
7222 arg1 = static_cast< wxWindowVariant >(val1);
7223 }
7224 {
7225 if (!wxPyCheckForApp()) SWIG_fail;
7226 PyThreadState* __tstate = wxPyBeginAllowThreads();
7227 result = wxFrame::GetClassDefaultAttributes(arg1);
7228 wxPyEndAllowThreads(__tstate);
7229 if (PyErr_Occurred()) SWIG_fail;
7230 }
7231 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7232 return resultobj;
7233 fail:
7234 return NULL;
7235 }
7236
7237
7238 SWIGINTERN PyObject *Frame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7239 PyObject *obj;
7240 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7241 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame, SWIG_NewClientData(obj));
7242 return SWIG_Py_Void();
7243 }
7244
7245 SWIGINTERN PyObject *Frame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7246 return SWIG_Python_InitShadowInstance(args);
7247 }
7248
7249 SWIGINTERN PyObject *_wrap_new_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7250 PyObject *resultobj = 0;
7251 wxWindow *arg1 = (wxWindow *) 0 ;
7252 int arg2 = (int) (int)-1 ;
7253 wxString const &arg3_defvalue = wxPyEmptyString ;
7254 wxString *arg3 = (wxString *) &arg3_defvalue ;
7255 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7256 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7257 wxSize const &arg5_defvalue = wxDefaultSize ;
7258 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7259 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
7260 wxString const &arg7_defvalue = wxPyDialogNameStr ;
7261 wxString *arg7 = (wxString *) &arg7_defvalue ;
7262 wxDialog *result = 0 ;
7263 void *argp1 = 0 ;
7264 int res1 = 0 ;
7265 int val2 ;
7266 int ecode2 = 0 ;
7267 bool temp3 = false ;
7268 wxPoint temp4 ;
7269 wxSize temp5 ;
7270 long val6 ;
7271 int ecode6 = 0 ;
7272 bool temp7 = false ;
7273 PyObject * obj0 = 0 ;
7274 PyObject * obj1 = 0 ;
7275 PyObject * obj2 = 0 ;
7276 PyObject * obj3 = 0 ;
7277 PyObject * obj4 = 0 ;
7278 PyObject * obj5 = 0 ;
7279 PyObject * obj6 = 0 ;
7280 char * kwnames[] = {
7281 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7282 };
7283
7284 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7285 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7286 if (!SWIG_IsOK(res1)) {
7287 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7288 }
7289 arg1 = reinterpret_cast< wxWindow * >(argp1);
7290 if (obj1) {
7291 ecode2 = SWIG_AsVal_int(obj1, &val2);
7292 if (!SWIG_IsOK(ecode2)) {
7293 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7294 }
7295 arg2 = static_cast< int >(val2);
7296 }
7297 if (obj2) {
7298 {
7299 arg3 = wxString_in_helper(obj2);
7300 if (arg3 == NULL) SWIG_fail;
7301 temp3 = true;
7302 }
7303 }
7304 if (obj3) {
7305 {
7306 arg4 = &temp4;
7307 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7308 }
7309 }
7310 if (obj4) {
7311 {
7312 arg5 = &temp5;
7313 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7314 }
7315 }
7316 if (obj5) {
7317 ecode6 = SWIG_AsVal_long(obj5, &val6);
7318 if (!SWIG_IsOK(ecode6)) {
7319 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7320 }
7321 arg6 = static_cast< long >(val6);
7322 }
7323 if (obj6) {
7324 {
7325 arg7 = wxString_in_helper(obj6);
7326 if (arg7 == NULL) SWIG_fail;
7327 temp7 = true;
7328 }
7329 }
7330 {
7331 if (!wxPyCheckForApp()) SWIG_fail;
7332 PyThreadState* __tstate = wxPyBeginAllowThreads();
7333 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7334 wxPyEndAllowThreads(__tstate);
7335 if (PyErr_Occurred()) SWIG_fail;
7336 }
7337 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_NEW | 0 );
7338 {
7339 if (temp3)
7340 delete arg3;
7341 }
7342 {
7343 if (temp7)
7344 delete arg7;
7345 }
7346 return resultobj;
7347 fail:
7348 {
7349 if (temp3)
7350 delete arg3;
7351 }
7352 {
7353 if (temp7)
7354 delete arg7;
7355 }
7356 return NULL;
7357 }
7358
7359
7360 SWIGINTERN PyObject *_wrap_new_PreDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7361 PyObject *resultobj = 0;
7362 wxDialog *result = 0 ;
7363
7364 if (!SWIG_Python_UnpackTuple(args,"new_PreDialog",0,0,0)) SWIG_fail;
7365 {
7366 if (!wxPyCheckForApp()) SWIG_fail;
7367 PyThreadState* __tstate = wxPyBeginAllowThreads();
7368 result = (wxDialog *)new wxDialog();
7369 wxPyEndAllowThreads(__tstate);
7370 if (PyErr_Occurred()) SWIG_fail;
7371 }
7372 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_OWN | 0 );
7373 return resultobj;
7374 fail:
7375 return NULL;
7376 }
7377
7378
7379 SWIGINTERN PyObject *_wrap_Dialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7380 PyObject *resultobj = 0;
7381 wxDialog *arg1 = (wxDialog *) 0 ;
7382 wxWindow *arg2 = (wxWindow *) 0 ;
7383 int arg3 = (int) (int)-1 ;
7384 wxString const &arg4_defvalue = wxPyEmptyString ;
7385 wxString *arg4 = (wxString *) &arg4_defvalue ;
7386 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7387 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7388 wxSize const &arg6_defvalue = wxDefaultSize ;
7389 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7390 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
7391 wxString const &arg8_defvalue = wxPyDialogNameStr ;
7392 wxString *arg8 = (wxString *) &arg8_defvalue ;
7393 bool result;
7394 void *argp1 = 0 ;
7395 int res1 = 0 ;
7396 void *argp2 = 0 ;
7397 int res2 = 0 ;
7398 int val3 ;
7399 int ecode3 = 0 ;
7400 bool temp4 = false ;
7401 wxPoint temp5 ;
7402 wxSize temp6 ;
7403 long val7 ;
7404 int ecode7 = 0 ;
7405 bool temp8 = false ;
7406 PyObject * obj0 = 0 ;
7407 PyObject * obj1 = 0 ;
7408 PyObject * obj2 = 0 ;
7409 PyObject * obj3 = 0 ;
7410 PyObject * obj4 = 0 ;
7411 PyObject * obj5 = 0 ;
7412 PyObject * obj6 = 0 ;
7413 PyObject * obj7 = 0 ;
7414 char * kwnames[] = {
7415 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7416 };
7417
7418 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7419 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7420 if (!SWIG_IsOK(res1)) {
7421 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7422 }
7423 arg1 = reinterpret_cast< wxDialog * >(argp1);
7424 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7425 if (!SWIG_IsOK(res2)) {
7426 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7427 }
7428 arg2 = reinterpret_cast< wxWindow * >(argp2);
7429 if (obj2) {
7430 ecode3 = SWIG_AsVal_int(obj2, &val3);
7431 if (!SWIG_IsOK(ecode3)) {
7432 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7433 }
7434 arg3 = static_cast< int >(val3);
7435 }
7436 if (obj3) {
7437 {
7438 arg4 = wxString_in_helper(obj3);
7439 if (arg4 == NULL) SWIG_fail;
7440 temp4 = true;
7441 }
7442 }
7443 if (obj4) {
7444 {
7445 arg5 = &temp5;
7446 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7447 }
7448 }
7449 if (obj5) {
7450 {
7451 arg6 = &temp6;
7452 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7453 }
7454 }
7455 if (obj6) {
7456 ecode7 = SWIG_AsVal_long(obj6, &val7);
7457 if (!SWIG_IsOK(ecode7)) {
7458 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7459 }
7460 arg7 = static_cast< long >(val7);
7461 }
7462 if (obj7) {
7463 {
7464 arg8 = wxString_in_helper(obj7);
7465 if (arg8 == NULL) SWIG_fail;
7466 temp8 = true;
7467 }
7468 }
7469 {
7470 PyThreadState* __tstate = wxPyBeginAllowThreads();
7471 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7472 wxPyEndAllowThreads(__tstate);
7473 if (PyErr_Occurred()) SWIG_fail;
7474 }
7475 {
7476 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7477 }
7478 {
7479 if (temp4)
7480 delete arg4;
7481 }
7482 {
7483 if (temp8)
7484 delete arg8;
7485 }
7486 return resultobj;
7487 fail:
7488 {
7489 if (temp4)
7490 delete arg4;
7491 }
7492 {
7493 if (temp8)
7494 delete arg8;
7495 }
7496 return NULL;
7497 }
7498
7499
7500 SWIGINTERN PyObject *_wrap_Dialog_SetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7501 PyObject *resultobj = 0;
7502 wxDialog *arg1 = (wxDialog *) 0 ;
7503 int arg2 ;
7504 void *argp1 = 0 ;
7505 int res1 = 0 ;
7506 int val2 ;
7507 int ecode2 = 0 ;
7508 PyObject * obj0 = 0 ;
7509 PyObject * obj1 = 0 ;
7510 char * kwnames[] = {
7511 (char *) "self",(char *) "returnCode", NULL
7512 };
7513
7514 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) SWIG_fail;
7515 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7516 if (!SWIG_IsOK(res1)) {
7517 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7518 }
7519 arg1 = reinterpret_cast< wxDialog * >(argp1);
7520 ecode2 = SWIG_AsVal_int(obj1, &val2);
7521 if (!SWIG_IsOK(ecode2)) {
7522 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7523 }
7524 arg2 = static_cast< int >(val2);
7525 {
7526 PyThreadState* __tstate = wxPyBeginAllowThreads();
7527 (arg1)->SetReturnCode(arg2);
7528 wxPyEndAllowThreads(__tstate);
7529 if (PyErr_Occurred()) SWIG_fail;
7530 }
7531 resultobj = SWIG_Py_Void();
7532 return resultobj;
7533 fail:
7534 return NULL;
7535 }
7536
7537
7538 SWIGINTERN PyObject *_wrap_Dialog_GetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7539 PyObject *resultobj = 0;
7540 wxDialog *arg1 = (wxDialog *) 0 ;
7541 int result;
7542 void *argp1 = 0 ;
7543 int res1 = 0 ;
7544 PyObject *swig_obj[1] ;
7545
7546 if (!args) SWIG_fail;
7547 swig_obj[0] = args;
7548 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7549 if (!SWIG_IsOK(res1)) {
7550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7551 }
7552 arg1 = reinterpret_cast< wxDialog * >(argp1);
7553 {
7554 PyThreadState* __tstate = wxPyBeginAllowThreads();
7555 result = (int)((wxDialog const *)arg1)->GetReturnCode();
7556 wxPyEndAllowThreads(__tstate);
7557 if (PyErr_Occurred()) SWIG_fail;
7558 }
7559 resultobj = SWIG_From_int(static_cast< int >(result));
7560 return resultobj;
7561 fail:
7562 return NULL;
7563 }
7564
7565
7566 SWIGINTERN PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7567 PyObject *resultobj = 0;
7568 wxDialog *arg1 = (wxDialog *) 0 ;
7569 int arg2 ;
7570 void *argp1 = 0 ;
7571 int res1 = 0 ;
7572 int val2 ;
7573 int ecode2 = 0 ;
7574 PyObject * obj0 = 0 ;
7575 PyObject * obj1 = 0 ;
7576 char * kwnames[] = {
7577 (char *) "self",(char *) "affirmativeId", NULL
7578 };
7579
7580 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) SWIG_fail;
7581 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7582 if (!SWIG_IsOK(res1)) {
7583 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7584 }
7585 arg1 = reinterpret_cast< wxDialog * >(argp1);
7586 ecode2 = SWIG_AsVal_int(obj1, &val2);
7587 if (!SWIG_IsOK(ecode2)) {
7588 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7589 }
7590 arg2 = static_cast< int >(val2);
7591 {
7592 PyThreadState* __tstate = wxPyBeginAllowThreads();
7593 (arg1)->SetAffirmativeId(arg2);
7594 wxPyEndAllowThreads(__tstate);
7595 if (PyErr_Occurred()) SWIG_fail;
7596 }
7597 resultobj = SWIG_Py_Void();
7598 return resultobj;
7599 fail:
7600 return NULL;
7601 }
7602
7603
7604 SWIGINTERN PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7605 PyObject *resultobj = 0;
7606 wxDialog *arg1 = (wxDialog *) 0 ;
7607 int result;
7608 void *argp1 = 0 ;
7609 int res1 = 0 ;
7610 PyObject *swig_obj[1] ;
7611
7612 if (!args) SWIG_fail;
7613 swig_obj[0] = args;
7614 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7615 if (!SWIG_IsOK(res1)) {
7616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7617 }
7618 arg1 = reinterpret_cast< wxDialog * >(argp1);
7619 {
7620 PyThreadState* __tstate = wxPyBeginAllowThreads();
7621 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
7622 wxPyEndAllowThreads(__tstate);
7623 if (PyErr_Occurred()) SWIG_fail;
7624 }
7625 resultobj = SWIG_From_int(static_cast< int >(result));
7626 return resultobj;
7627 fail:
7628 return NULL;
7629 }
7630
7631
7632 SWIGINTERN PyObject *_wrap_Dialog_SetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7633 PyObject *resultobj = 0;
7634 wxDialog *arg1 = (wxDialog *) 0 ;
7635 int arg2 ;
7636 void *argp1 = 0 ;
7637 int res1 = 0 ;
7638 int val2 ;
7639 int ecode2 = 0 ;
7640 PyObject * obj0 = 0 ;
7641 PyObject * obj1 = 0 ;
7642 char * kwnames[] = {
7643 (char *) "self",(char *) "escapeId", NULL
7644 };
7645
7646 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) SWIG_fail;
7647 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7648 if (!SWIG_IsOK(res1)) {
7649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7650 }
7651 arg1 = reinterpret_cast< wxDialog * >(argp1);
7652 ecode2 = SWIG_AsVal_int(obj1, &val2);
7653 if (!SWIG_IsOK(ecode2)) {
7654 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7655 }
7656 arg2 = static_cast< int >(val2);
7657 {
7658 PyThreadState* __tstate = wxPyBeginAllowThreads();
7659 (arg1)->SetEscapeId(arg2);
7660 wxPyEndAllowThreads(__tstate);
7661 if (PyErr_Occurred()) SWIG_fail;
7662 }
7663 resultobj = SWIG_Py_Void();
7664 return resultobj;
7665 fail:
7666 return NULL;
7667 }
7668
7669
7670 SWIGINTERN PyObject *_wrap_Dialog_GetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7671 PyObject *resultobj = 0;
7672 wxDialog *arg1 = (wxDialog *) 0 ;
7673 int result;
7674 void *argp1 = 0 ;
7675 int res1 = 0 ;
7676 PyObject *swig_obj[1] ;
7677
7678 if (!args) SWIG_fail;
7679 swig_obj[0] = args;
7680 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7681 if (!SWIG_IsOK(res1)) {
7682 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7683 }
7684 arg1 = reinterpret_cast< wxDialog * >(argp1);
7685 {
7686 PyThreadState* __tstate = wxPyBeginAllowThreads();
7687 result = (int)((wxDialog const *)arg1)->GetEscapeId();
7688 wxPyEndAllowThreads(__tstate);
7689 if (PyErr_Occurred()) SWIG_fail;
7690 }
7691 resultobj = SWIG_From_int(static_cast< int >(result));
7692 return resultobj;
7693 fail:
7694 return NULL;
7695 }
7696
7697
7698 SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7699 PyObject *resultobj = 0;
7700 wxDialog *arg1 = (wxDialog *) 0 ;
7701 wxString *arg2 = 0 ;
7702 wxSizer *result = 0 ;
7703 void *argp1 = 0 ;
7704 int res1 = 0 ;
7705 bool temp2 = false ;
7706 PyObject * obj0 = 0 ;
7707 PyObject * obj1 = 0 ;
7708 char * kwnames[] = {
7709 (char *) "self",(char *) "message", NULL
7710 };
7711
7712 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7713 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7714 if (!SWIG_IsOK(res1)) {
7715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7716 }
7717 arg1 = reinterpret_cast< wxDialog * >(argp1);
7718 {
7719 arg2 = wxString_in_helper(obj1);
7720 if (arg2 == NULL) SWIG_fail;
7721 temp2 = true;
7722 }
7723 {
7724 PyThreadState* __tstate = wxPyBeginAllowThreads();
7725 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
7726 wxPyEndAllowThreads(__tstate);
7727 if (PyErr_Occurred()) SWIG_fail;
7728 }
7729 {
7730 resultobj = wxPyMake_wxObject(result, (bool)0);
7731 }
7732 {
7733 if (temp2)
7734 delete arg2;
7735 }
7736 return resultobj;
7737 fail:
7738 {
7739 if (temp2)
7740 delete arg2;
7741 }
7742 return NULL;
7743 }
7744
7745
7746 SWIGINTERN PyObject *_wrap_Dialog__CreateButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7747 PyObject *resultobj = 0;
7748 wxDialog *arg1 = (wxDialog *) 0 ;
7749 long arg2 ;
7750 wxSizer *result = 0 ;
7751 void *argp1 = 0 ;
7752 int res1 = 0 ;
7753 long val2 ;
7754 int ecode2 = 0 ;
7755 PyObject * obj0 = 0 ;
7756 PyObject * obj1 = 0 ;
7757 char * kwnames[] = {
7758 (char *) "self",(char *) "flags", NULL
7759 };
7760
7761 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog__CreateButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7762 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7763 if (!SWIG_IsOK(res1)) {
7764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7765 }
7766 arg1 = reinterpret_cast< wxDialog * >(argp1);
7767 ecode2 = SWIG_AsVal_long(obj1, &val2);
7768 if (!SWIG_IsOK(ecode2)) {
7769 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7770 }
7771 arg2 = static_cast< long >(val2);
7772 {
7773 PyThreadState* __tstate = wxPyBeginAllowThreads();
7774 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
7775 wxPyEndAllowThreads(__tstate);
7776 if (PyErr_Occurred()) SWIG_fail;
7777 }
7778 {
7779 resultobj = wxPyMake_wxObject(result, (bool)0);
7780 }
7781 return resultobj;
7782 fail:
7783 return NULL;
7784 }
7785
7786
7787 SWIGINTERN PyObject *_wrap_Dialog_CreateSeparatedButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7788 PyObject *resultobj = 0;
7789 wxDialog *arg1 = (wxDialog *) 0 ;
7790 long arg2 ;
7791 wxSizer *result = 0 ;
7792 void *argp1 = 0 ;
7793 int res1 = 0 ;
7794 long val2 ;
7795 int ecode2 = 0 ;
7796 PyObject * obj0 = 0 ;
7797 PyObject * obj1 = 0 ;
7798 char * kwnames[] = {
7799 (char *) "self",(char *) "flags", NULL
7800 };
7801
7802 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateSeparatedButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7803 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7804 if (!SWIG_IsOK(res1)) {
7805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7806 }
7807 arg1 = reinterpret_cast< wxDialog * >(argp1);
7808 ecode2 = SWIG_AsVal_long(obj1, &val2);
7809 if (!SWIG_IsOK(ecode2)) {
7810 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "2"" of type '" "long""'");
7811 }
7812 arg2 = static_cast< long >(val2);
7813 {
7814 PyThreadState* __tstate = wxPyBeginAllowThreads();
7815 result = (wxSizer *)(arg1)->CreateSeparatedButtonSizer(arg2);
7816 wxPyEndAllowThreads(__tstate);
7817 if (PyErr_Occurred()) SWIG_fail;
7818 }
7819 {
7820 resultobj = wxPyMake_wxObject(result, (bool)0);
7821 }
7822 return resultobj;
7823 fail:
7824 return NULL;
7825 }
7826
7827
7828 SWIGINTERN PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7829 PyObject *resultobj = 0;
7830 wxDialog *arg1 = (wxDialog *) 0 ;
7831 long arg2 ;
7832 wxStdDialogButtonSizer *result = 0 ;
7833 void *argp1 = 0 ;
7834 int res1 = 0 ;
7835 long val2 ;
7836 int ecode2 = 0 ;
7837 PyObject * obj0 = 0 ;
7838 PyObject * obj1 = 0 ;
7839 char * kwnames[] = {
7840 (char *) "self",(char *) "flags", NULL
7841 };
7842
7843 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7844 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7845 if (!SWIG_IsOK(res1)) {
7846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7847 }
7848 arg1 = reinterpret_cast< wxDialog * >(argp1);
7849 ecode2 = SWIG_AsVal_long(obj1, &val2);
7850 if (!SWIG_IsOK(ecode2)) {
7851 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7852 }
7853 arg2 = static_cast< long >(val2);
7854 {
7855 PyThreadState* __tstate = wxPyBeginAllowThreads();
7856 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
7857 wxPyEndAllowThreads(__tstate);
7858 if (PyErr_Occurred()) SWIG_fail;
7859 }
7860 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0 | 0 );
7861 return resultobj;
7862 fail:
7863 return NULL;
7864 }
7865
7866
7867 SWIGINTERN PyObject *_wrap_Dialog_IsModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7868 PyObject *resultobj = 0;
7869 wxDialog *arg1 = (wxDialog *) 0 ;
7870 bool result;
7871 void *argp1 = 0 ;
7872 int res1 = 0 ;
7873 PyObject *swig_obj[1] ;
7874
7875 if (!args) SWIG_fail;
7876 swig_obj[0] = args;
7877 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7878 if (!SWIG_IsOK(res1)) {
7879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7880 }
7881 arg1 = reinterpret_cast< wxDialog * >(argp1);
7882 {
7883 PyThreadState* __tstate = wxPyBeginAllowThreads();
7884 result = (bool)((wxDialog const *)arg1)->IsModal();
7885 wxPyEndAllowThreads(__tstate);
7886 if (PyErr_Occurred()) SWIG_fail;
7887 }
7888 {
7889 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7890 }
7891 return resultobj;
7892 fail:
7893 return NULL;
7894 }
7895
7896
7897 SWIGINTERN PyObject *_wrap_Dialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7898 PyObject *resultobj = 0;
7899 wxDialog *arg1 = (wxDialog *) 0 ;
7900 int result;
7901 void *argp1 = 0 ;
7902 int res1 = 0 ;
7903 PyObject *swig_obj[1] ;
7904
7905 if (!args) SWIG_fail;
7906 swig_obj[0] = args;
7907 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7908 if (!SWIG_IsOK(res1)) {
7909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7910 }
7911 arg1 = reinterpret_cast< wxDialog * >(argp1);
7912 {
7913 PyThreadState* __tstate = wxPyBeginAllowThreads();
7914 result = (int)(arg1)->ShowModal();
7915 wxPyEndAllowThreads(__tstate);
7916 if (PyErr_Occurred()) SWIG_fail;
7917 }
7918 resultobj = SWIG_From_int(static_cast< int >(result));
7919 return resultobj;
7920 fail:
7921 return NULL;
7922 }
7923
7924
7925 SWIGINTERN PyObject *_wrap_Dialog_EndModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7926 PyObject *resultobj = 0;
7927 wxDialog *arg1 = (wxDialog *) 0 ;
7928 int arg2 ;
7929 void *argp1 = 0 ;
7930 int res1 = 0 ;
7931 int val2 ;
7932 int ecode2 = 0 ;
7933 PyObject * obj0 = 0 ;
7934 PyObject * obj1 = 0 ;
7935 char * kwnames[] = {
7936 (char *) "self",(char *) "retCode", NULL
7937 };
7938
7939 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) SWIG_fail;
7940 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7941 if (!SWIG_IsOK(res1)) {
7942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7943 }
7944 arg1 = reinterpret_cast< wxDialog * >(argp1);
7945 ecode2 = SWIG_AsVal_int(obj1, &val2);
7946 if (!SWIG_IsOK(ecode2)) {
7947 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7948 }
7949 arg2 = static_cast< int >(val2);
7950 {
7951 PyThreadState* __tstate = wxPyBeginAllowThreads();
7952 (arg1)->EndModal(arg2);
7953 wxPyEndAllowThreads(__tstate);
7954 if (PyErr_Occurred()) SWIG_fail;
7955 }
7956 resultobj = SWIG_Py_Void();
7957 return resultobj;
7958 fail:
7959 return NULL;
7960 }
7961
7962
7963 SWIGINTERN PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7964 PyObject *resultobj = 0;
7965 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7966 SwigValueWrapper<wxVisualAttributes > result;
7967 int val1 ;
7968 int ecode1 = 0 ;
7969 PyObject * obj0 = 0 ;
7970 char * kwnames[] = {
7971 (char *) "variant", NULL
7972 };
7973
7974 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7975 if (obj0) {
7976 ecode1 = SWIG_AsVal_int(obj0, &val1);
7977 if (!SWIG_IsOK(ecode1)) {
7978 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7979 }
7980 arg1 = static_cast< wxWindowVariant >(val1);
7981 }
7982 {
7983 if (!wxPyCheckForApp()) SWIG_fail;
7984 PyThreadState* __tstate = wxPyBeginAllowThreads();
7985 result = wxDialog::GetClassDefaultAttributes(arg1);
7986 wxPyEndAllowThreads(__tstate);
7987 if (PyErr_Occurred()) SWIG_fail;
7988 }
7989 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7990 return resultobj;
7991 fail:
7992 return NULL;
7993 }
7994
7995
7996 SWIGINTERN PyObject *Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7997 PyObject *obj;
7998 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7999 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog, SWIG_NewClientData(obj));
8000 return SWIG_Py_Void();
8001 }
8002
8003 SWIGINTERN PyObject *Dialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8004 return SWIG_Python_InitShadowInstance(args);
8005 }
8006
8007 SWIGINTERN PyObject *_wrap_new_MiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8008 PyObject *resultobj = 0;
8009 wxWindow *arg1 = (wxWindow *) 0 ;
8010 int arg2 = (int) (int)-1 ;
8011 wxString const &arg3_defvalue = wxPyEmptyString ;
8012 wxString *arg3 = (wxString *) &arg3_defvalue ;
8013 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8014 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8015 wxSize const &arg5_defvalue = wxDefaultSize ;
8016 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8017 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
8018 wxString const &arg7_defvalue = wxPyFrameNameStr ;
8019 wxString *arg7 = (wxString *) &arg7_defvalue ;
8020 wxMiniFrame *result = 0 ;
8021 void *argp1 = 0 ;
8022 int res1 = 0 ;
8023 int val2 ;
8024 int ecode2 = 0 ;
8025 bool temp3 = false ;
8026 wxPoint temp4 ;
8027 wxSize temp5 ;
8028 long val6 ;
8029 int ecode6 = 0 ;
8030 bool temp7 = false ;
8031 PyObject * obj0 = 0 ;
8032 PyObject * obj1 = 0 ;
8033 PyObject * obj2 = 0 ;
8034 PyObject * obj3 = 0 ;
8035 PyObject * obj4 = 0 ;
8036 PyObject * obj5 = 0 ;
8037 PyObject * obj6 = 0 ;
8038 char * kwnames[] = {
8039 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8040 };
8041
8042 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8043 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8044 if (!SWIG_IsOK(res1)) {
8045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8046 }
8047 arg1 = reinterpret_cast< wxWindow * >(argp1);
8048 if (obj1) {
8049 ecode2 = SWIG_AsVal_int(obj1, &val2);
8050 if (!SWIG_IsOK(ecode2)) {
8051 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8052 }
8053 arg2 = static_cast< int >(val2);
8054 }
8055 if (obj2) {
8056 {
8057 arg3 = wxString_in_helper(obj2);
8058 if (arg3 == NULL) SWIG_fail;
8059 temp3 = true;
8060 }
8061 }
8062 if (obj3) {
8063 {
8064 arg4 = &temp4;
8065 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8066 }
8067 }
8068 if (obj4) {
8069 {
8070 arg5 = &temp5;
8071 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8072 }
8073 }
8074 if (obj5) {
8075 ecode6 = SWIG_AsVal_long(obj5, &val6);
8076 if (!SWIG_IsOK(ecode6)) {
8077 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8078 }
8079 arg6 = static_cast< long >(val6);
8080 }
8081 if (obj6) {
8082 {
8083 arg7 = wxString_in_helper(obj6);
8084 if (arg7 == NULL) SWIG_fail;
8085 temp7 = true;
8086 }
8087 }
8088 {
8089 if (!wxPyCheckForApp()) SWIG_fail;
8090 PyThreadState* __tstate = wxPyBeginAllowThreads();
8091 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8092 wxPyEndAllowThreads(__tstate);
8093 if (PyErr_Occurred()) SWIG_fail;
8094 }
8095 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_NEW | 0 );
8096 {
8097 if (temp3)
8098 delete arg3;
8099 }
8100 {
8101 if (temp7)
8102 delete arg7;
8103 }
8104 return resultobj;
8105 fail:
8106 {
8107 if (temp3)
8108 delete arg3;
8109 }
8110 {
8111 if (temp7)
8112 delete arg7;
8113 }
8114 return NULL;
8115 }
8116
8117
8118 SWIGINTERN PyObject *_wrap_new_PreMiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8119 PyObject *resultobj = 0;
8120 wxMiniFrame *result = 0 ;
8121
8122 if (!SWIG_Python_UnpackTuple(args,"new_PreMiniFrame",0,0,0)) SWIG_fail;
8123 {
8124 if (!wxPyCheckForApp()) SWIG_fail;
8125 PyThreadState* __tstate = wxPyBeginAllowThreads();
8126 result = (wxMiniFrame *)new wxMiniFrame();
8127 wxPyEndAllowThreads(__tstate);
8128 if (PyErr_Occurred()) SWIG_fail;
8129 }
8130 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_OWN | 0 );
8131 return resultobj;
8132 fail:
8133 return NULL;
8134 }
8135
8136
8137 SWIGINTERN PyObject *_wrap_MiniFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8138 PyObject *resultobj = 0;
8139 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
8140 wxWindow *arg2 = (wxWindow *) 0 ;
8141 int arg3 = (int) (int)-1 ;
8142 wxString const &arg4_defvalue = wxPyEmptyString ;
8143 wxString *arg4 = (wxString *) &arg4_defvalue ;
8144 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8145 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8146 wxSize const &arg6_defvalue = wxDefaultSize ;
8147 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8148 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
8149 wxString const &arg8_defvalue = wxPyFrameNameStr ;
8150 wxString *arg8 = (wxString *) &arg8_defvalue ;
8151 bool result;
8152 void *argp1 = 0 ;
8153 int res1 = 0 ;
8154 void *argp2 = 0 ;
8155 int res2 = 0 ;
8156 int val3 ;
8157 int ecode3 = 0 ;
8158 bool temp4 = false ;
8159 wxPoint temp5 ;
8160 wxSize temp6 ;
8161 long val7 ;
8162 int ecode7 = 0 ;
8163 bool temp8 = false ;
8164 PyObject * obj0 = 0 ;
8165 PyObject * obj1 = 0 ;
8166 PyObject * obj2 = 0 ;
8167 PyObject * obj3 = 0 ;
8168 PyObject * obj4 = 0 ;
8169 PyObject * obj5 = 0 ;
8170 PyObject * obj6 = 0 ;
8171 PyObject * obj7 = 0 ;
8172 char * kwnames[] = {
8173 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8174 };
8175
8176 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8177 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMiniFrame, 0 | 0 );
8178 if (!SWIG_IsOK(res1)) {
8179 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8180 }
8181 arg1 = reinterpret_cast< wxMiniFrame * >(argp1);
8182 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8183 if (!SWIG_IsOK(res2)) {
8184 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8185 }
8186 arg2 = reinterpret_cast< wxWindow * >(argp2);
8187 if (obj2) {
8188 ecode3 = SWIG_AsVal_int(obj2, &val3);
8189 if (!SWIG_IsOK(ecode3)) {
8190 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8191 }
8192 arg3 = static_cast< int >(val3);
8193 }
8194 if (obj3) {
8195 {
8196 arg4 = wxString_in_helper(obj3);
8197 if (arg4 == NULL) SWIG_fail;
8198 temp4 = true;
8199 }
8200 }
8201 if (obj4) {
8202 {
8203 arg5 = &temp5;
8204 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8205 }
8206 }
8207 if (obj5) {
8208 {
8209 arg6 = &temp6;
8210 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8211 }
8212 }
8213 if (obj6) {
8214 ecode7 = SWIG_AsVal_long(obj6, &val7);
8215 if (!SWIG_IsOK(ecode7)) {
8216 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8217 }
8218 arg7 = static_cast< long >(val7);
8219 }
8220 if (obj7) {
8221 {
8222 arg8 = wxString_in_helper(obj7);
8223 if (arg8 == NULL) SWIG_fail;
8224 temp8 = true;
8225 }
8226 }
8227 {
8228 PyThreadState* __tstate = wxPyBeginAllowThreads();
8229 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8230 wxPyEndAllowThreads(__tstate);
8231 if (PyErr_Occurred()) SWIG_fail;
8232 }
8233 {
8234 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8235 }
8236 {
8237 if (temp4)
8238 delete arg4;
8239 }
8240 {
8241 if (temp8)
8242 delete arg8;
8243 }
8244 return resultobj;
8245 fail:
8246 {
8247 if (temp4)
8248 delete arg4;
8249 }
8250 {
8251 if (temp8)
8252 delete arg8;
8253 }
8254 return NULL;
8255 }
8256
8257
8258 SWIGINTERN PyObject *MiniFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8259 PyObject *obj;
8260 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8261 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame, SWIG_NewClientData(obj));
8262 return SWIG_Py_Void();
8263 }
8264
8265 SWIGINTERN PyObject *MiniFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8266 return SWIG_Python_InitShadowInstance(args);
8267 }
8268
8269 SWIGINTERN PyObject *_wrap_new_SplashScreenWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8270 PyObject *resultobj = 0;
8271 wxBitmap *arg1 = 0 ;
8272 wxWindow *arg2 = (wxWindow *) 0 ;
8273 int arg3 ;
8274 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8275 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8276 wxSize const &arg5_defvalue = wxDefaultSize ;
8277 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8278 long arg6 = (long) wxNO_BORDER ;
8279 wxSplashScreenWindow *result = 0 ;
8280 void *argp1 = 0 ;
8281 int res1 = 0 ;
8282 void *argp2 = 0 ;
8283 int res2 = 0 ;
8284 int val3 ;
8285 int ecode3 = 0 ;
8286 wxPoint temp4 ;
8287 wxSize temp5 ;
8288 long val6 ;
8289 int ecode6 = 0 ;
8290 PyObject * obj0 = 0 ;
8291 PyObject * obj1 = 0 ;
8292 PyObject * obj2 = 0 ;
8293 PyObject * obj3 = 0 ;
8294 PyObject * obj4 = 0 ;
8295 PyObject * obj5 = 0 ;
8296 char * kwnames[] = {
8297 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8298 };
8299
8300 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8301 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8302 if (!SWIG_IsOK(res1)) {
8303 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8304 }
8305 if (!argp1) {
8306 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8307 }
8308 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8309 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8310 if (!SWIG_IsOK(res2)) {
8311 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8312 }
8313 arg2 = reinterpret_cast< wxWindow * >(argp2);
8314 ecode3 = SWIG_AsVal_int(obj2, &val3);
8315 if (!SWIG_IsOK(ecode3)) {
8316 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8317 }
8318 arg3 = static_cast< int >(val3);
8319 if (obj3) {
8320 {
8321 arg4 = &temp4;
8322 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8323 }
8324 }
8325 if (obj4) {
8326 {
8327 arg5 = &temp5;
8328 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8329 }
8330 }
8331 if (obj5) {
8332 ecode6 = SWIG_AsVal_long(obj5, &val6);
8333 if (!SWIG_IsOK(ecode6)) {
8334 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8335 }
8336 arg6 = static_cast< long >(val6);
8337 }
8338 {
8339 if (!wxPyCheckForApp()) SWIG_fail;
8340 PyThreadState* __tstate = wxPyBeginAllowThreads();
8341 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
8342 wxPyEndAllowThreads(__tstate);
8343 if (PyErr_Occurred()) SWIG_fail;
8344 }
8345 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_NEW | 0 );
8346 return resultobj;
8347 fail:
8348 return NULL;
8349 }
8350
8351
8352 SWIGINTERN PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8353 PyObject *resultobj = 0;
8354 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8355 wxBitmap *arg2 = 0 ;
8356 void *argp1 = 0 ;
8357 int res1 = 0 ;
8358 void *argp2 = 0 ;
8359 int res2 = 0 ;
8360 PyObject * obj0 = 0 ;
8361 PyObject * obj1 = 0 ;
8362 char * kwnames[] = {
8363 (char *) "self",(char *) "bitmap", NULL
8364 };
8365
8366 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8367 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8368 if (!SWIG_IsOK(res1)) {
8369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8370 }
8371 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8372 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8373 if (!SWIG_IsOK(res2)) {
8374 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8375 }
8376 if (!argp2) {
8377 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8378 }
8379 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8380 {
8381 PyThreadState* __tstate = wxPyBeginAllowThreads();
8382 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8383 wxPyEndAllowThreads(__tstate);
8384 if (PyErr_Occurred()) SWIG_fail;
8385 }
8386 resultobj = SWIG_Py_Void();
8387 return resultobj;
8388 fail:
8389 return NULL;
8390 }
8391
8392
8393 SWIGINTERN PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8394 PyObject *resultobj = 0;
8395 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8396 wxBitmap *result = 0 ;
8397 void *argp1 = 0 ;
8398 int res1 = 0 ;
8399 PyObject *swig_obj[1] ;
8400
8401 if (!args) SWIG_fail;
8402 swig_obj[0] = args;
8403 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8404 if (!SWIG_IsOK(res1)) {
8405 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8406 }
8407 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8408 {
8409 PyThreadState* __tstate = wxPyBeginAllowThreads();
8410 {
8411 wxBitmap &_result_ref = (arg1)->GetBitmap();
8412 result = (wxBitmap *) &_result_ref;
8413 }
8414 wxPyEndAllowThreads(__tstate);
8415 if (PyErr_Occurred()) SWIG_fail;
8416 }
8417 {
8418 wxBitmap* resultptr = new wxBitmap(*result);
8419 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8420 }
8421 return resultobj;
8422 fail:
8423 return NULL;
8424 }
8425
8426
8427 SWIGINTERN PyObject *SplashScreenWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8428 PyObject *obj;
8429 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8430 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow, SWIG_NewClientData(obj));
8431 return SWIG_Py_Void();
8432 }
8433
8434 SWIGINTERN PyObject *SplashScreenWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8435 return SWIG_Python_InitShadowInstance(args);
8436 }
8437
8438 SWIGINTERN PyObject *_wrap_new_SplashScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8439 PyObject *resultobj = 0;
8440 wxBitmap *arg1 = 0 ;
8441 long arg2 ;
8442 int arg3 ;
8443 wxWindow *arg4 = (wxWindow *) 0 ;
8444 int arg5 = (int) -1 ;
8445 wxPoint const &arg6_defvalue = wxDefaultPosition ;
8446 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
8447 wxSize const &arg7_defvalue = wxDefaultSize ;
8448 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
8449 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
8450 wxSplashScreen *result = 0 ;
8451 void *argp1 = 0 ;
8452 int res1 = 0 ;
8453 long val2 ;
8454 int ecode2 = 0 ;
8455 int val3 ;
8456 int ecode3 = 0 ;
8457 void *argp4 = 0 ;
8458 int res4 = 0 ;
8459 int val5 ;
8460 int ecode5 = 0 ;
8461 wxPoint temp6 ;
8462 wxSize temp7 ;
8463 long val8 ;
8464 int ecode8 = 0 ;
8465 PyObject * obj0 = 0 ;
8466 PyObject * obj1 = 0 ;
8467 PyObject * obj2 = 0 ;
8468 PyObject * obj3 = 0 ;
8469 PyObject * obj4 = 0 ;
8470 PyObject * obj5 = 0 ;
8471 PyObject * obj6 = 0 ;
8472 PyObject * obj7 = 0 ;
8473 char * kwnames[] = {
8474 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8475 };
8476
8477 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8478 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8479 if (!SWIG_IsOK(res1)) {
8480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8481 }
8482 if (!argp1) {
8483 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8484 }
8485 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8486 ecode2 = SWIG_AsVal_long(obj1, &val2);
8487 if (!SWIG_IsOK(ecode2)) {
8488 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8489 }
8490 arg2 = static_cast< long >(val2);
8491 ecode3 = SWIG_AsVal_int(obj2, &val3);
8492 if (!SWIG_IsOK(ecode3)) {
8493 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8494 }
8495 arg3 = static_cast< int >(val3);
8496 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
8497 if (!SWIG_IsOK(res4)) {
8498 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8499 }
8500 arg4 = reinterpret_cast< wxWindow * >(argp4);
8501 if (obj4) {
8502 ecode5 = SWIG_AsVal_int(obj4, &val5);
8503 if (!SWIG_IsOK(ecode5)) {
8504 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8505 }
8506 arg5 = static_cast< int >(val5);
8507 }
8508 if (obj5) {
8509 {
8510 arg6 = &temp6;
8511 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
8512 }
8513 }
8514 if (obj6) {
8515 {
8516 arg7 = &temp7;
8517 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
8518 }
8519 }
8520 if (obj7) {
8521 ecode8 = SWIG_AsVal_long(obj7, &val8);
8522 if (!SWIG_IsOK(ecode8)) {
8523 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8524 }
8525 arg8 = static_cast< long >(val8);
8526 }
8527 {
8528 if (!wxPyCheckForApp()) SWIG_fail;
8529 PyThreadState* __tstate = wxPyBeginAllowThreads();
8530 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
8531 wxPyEndAllowThreads(__tstate);
8532 if (PyErr_Occurred()) SWIG_fail;
8533 }
8534 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_NEW | 0 );
8535 return resultobj;
8536 fail:
8537 return NULL;
8538 }
8539
8540
8541 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8542 PyObject *resultobj = 0;
8543 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8544 long result;
8545 void *argp1 = 0 ;
8546 int res1 = 0 ;
8547 PyObject *swig_obj[1] ;
8548
8549 if (!args) SWIG_fail;
8550 swig_obj[0] = args;
8551 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8552 if (!SWIG_IsOK(res1)) {
8553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8554 }
8555 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8556 {
8557 PyThreadState* __tstate = wxPyBeginAllowThreads();
8558 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
8559 wxPyEndAllowThreads(__tstate);
8560 if (PyErr_Occurred()) SWIG_fail;
8561 }
8562 resultobj = SWIG_From_long(static_cast< long >(result));
8563 return resultobj;
8564 fail:
8565 return NULL;
8566 }
8567
8568
8569 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8570 PyObject *resultobj = 0;
8571 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8572 wxSplashScreenWindow *result = 0 ;
8573 void *argp1 = 0 ;
8574 int res1 = 0 ;
8575 PyObject *swig_obj[1] ;
8576
8577 if (!args) SWIG_fail;
8578 swig_obj[0] = args;
8579 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8580 if (!SWIG_IsOK(res1)) {
8581 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8582 }
8583 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8584 {
8585 PyThreadState* __tstate = wxPyBeginAllowThreads();
8586 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
8587 wxPyEndAllowThreads(__tstate);
8588 if (PyErr_Occurred()) SWIG_fail;
8589 }
8590 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8591 return resultobj;
8592 fail:
8593 return NULL;
8594 }
8595
8596
8597 SWIGINTERN PyObject *_wrap_SplashScreen_GetTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8598 PyObject *resultobj = 0;
8599 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8600 int result;
8601 void *argp1 = 0 ;
8602 int res1 = 0 ;
8603 PyObject *swig_obj[1] ;
8604
8605 if (!args) SWIG_fail;
8606 swig_obj[0] = args;
8607 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8608 if (!SWIG_IsOK(res1)) {
8609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8610 }
8611 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8612 {
8613 PyThreadState* __tstate = wxPyBeginAllowThreads();
8614 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
8615 wxPyEndAllowThreads(__tstate);
8616 if (PyErr_Occurred()) SWIG_fail;
8617 }
8618 resultobj = SWIG_From_int(static_cast< int >(result));
8619 return resultobj;
8620 fail:
8621 return NULL;
8622 }
8623
8624
8625 SWIGINTERN PyObject *SplashScreen_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8626 PyObject *obj;
8627 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8628 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen, SWIG_NewClientData(obj));
8629 return SWIG_Py_Void();
8630 }
8631
8632 SWIGINTERN PyObject *SplashScreen_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8633 return SWIG_Python_InitShadowInstance(args);
8634 }
8635
8636 SWIGINTERN PyObject *_wrap_new_StatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8637 PyObject *resultobj = 0;
8638 wxWindow *arg1 = (wxWindow *) 0 ;
8639 int arg2 = (int) -1 ;
8640 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
8641 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
8642 wxString *arg4 = (wxString *) &arg4_defvalue ;
8643 wxStatusBar *result = 0 ;
8644 void *argp1 = 0 ;
8645 int res1 = 0 ;
8646 int val2 ;
8647 int ecode2 = 0 ;
8648 long val3 ;
8649 int ecode3 = 0 ;
8650 bool temp4 = false ;
8651 PyObject * obj0 = 0 ;
8652 PyObject * obj1 = 0 ;
8653 PyObject * obj2 = 0 ;
8654 PyObject * obj3 = 0 ;
8655 char * kwnames[] = {
8656 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8657 };
8658
8659 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8660 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8661 if (!SWIG_IsOK(res1)) {
8662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8663 }
8664 arg1 = reinterpret_cast< wxWindow * >(argp1);
8665 if (obj1) {
8666 ecode2 = SWIG_AsVal_int(obj1, &val2);
8667 if (!SWIG_IsOK(ecode2)) {
8668 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8669 }
8670 arg2 = static_cast< int >(val2);
8671 }
8672 if (obj2) {
8673 ecode3 = SWIG_AsVal_long(obj2, &val3);
8674 if (!SWIG_IsOK(ecode3)) {
8675 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8676 }
8677 arg3 = static_cast< long >(val3);
8678 }
8679 if (obj3) {
8680 {
8681 arg4 = wxString_in_helper(obj3);
8682 if (arg4 == NULL) SWIG_fail;
8683 temp4 = true;
8684 }
8685 }
8686 {
8687 if (!wxPyCheckForApp()) SWIG_fail;
8688 PyThreadState* __tstate = wxPyBeginAllowThreads();
8689 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
8690 wxPyEndAllowThreads(__tstate);
8691 if (PyErr_Occurred()) SWIG_fail;
8692 }
8693 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_NEW | 0 );
8694 {
8695 if (temp4)
8696 delete arg4;
8697 }
8698 return resultobj;
8699 fail:
8700 {
8701 if (temp4)
8702 delete arg4;
8703 }
8704 return NULL;
8705 }
8706
8707
8708 SWIGINTERN PyObject *_wrap_new_PreStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8709 PyObject *resultobj = 0;
8710 wxStatusBar *result = 0 ;
8711
8712 if (!SWIG_Python_UnpackTuple(args,"new_PreStatusBar",0,0,0)) SWIG_fail;
8713 {
8714 if (!wxPyCheckForApp()) SWIG_fail;
8715 PyThreadState* __tstate = wxPyBeginAllowThreads();
8716 result = (wxStatusBar *)new wxStatusBar();
8717 wxPyEndAllowThreads(__tstate);
8718 if (PyErr_Occurred()) SWIG_fail;
8719 }
8720 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_OWN | 0 );
8721 return resultobj;
8722 fail:
8723 return NULL;
8724 }
8725
8726
8727 SWIGINTERN PyObject *_wrap_StatusBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8728 PyObject *resultobj = 0;
8729 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8730 wxWindow *arg2 = (wxWindow *) 0 ;
8731 int arg3 = (int) -1 ;
8732 long arg4 = (long) wxST_SIZEGRIP ;
8733 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
8734 wxString *arg5 = (wxString *) &arg5_defvalue ;
8735 bool result;
8736 void *argp1 = 0 ;
8737 int res1 = 0 ;
8738 void *argp2 = 0 ;
8739 int res2 = 0 ;
8740 int val3 ;
8741 int ecode3 = 0 ;
8742 long val4 ;
8743 int ecode4 = 0 ;
8744 bool temp5 = false ;
8745 PyObject * obj0 = 0 ;
8746 PyObject * obj1 = 0 ;
8747 PyObject * obj2 = 0 ;
8748 PyObject * obj3 = 0 ;
8749 PyObject * obj4 = 0 ;
8750 char * kwnames[] = {
8751 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8752 };
8753
8754 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8755 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8756 if (!SWIG_IsOK(res1)) {
8757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8758 }
8759 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8760 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8761 if (!SWIG_IsOK(res2)) {
8762 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8763 }
8764 arg2 = reinterpret_cast< wxWindow * >(argp2);
8765 if (obj2) {
8766 ecode3 = SWIG_AsVal_int(obj2, &val3);
8767 if (!SWIG_IsOK(ecode3)) {
8768 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8769 }
8770 arg3 = static_cast< int >(val3);
8771 }
8772 if (obj3) {
8773 ecode4 = SWIG_AsVal_long(obj3, &val4);
8774 if (!SWIG_IsOK(ecode4)) {
8775 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8776 }
8777 arg4 = static_cast< long >(val4);
8778 }
8779 if (obj4) {
8780 {
8781 arg5 = wxString_in_helper(obj4);
8782 if (arg5 == NULL) SWIG_fail;
8783 temp5 = true;
8784 }
8785 }
8786 {
8787 PyThreadState* __tstate = wxPyBeginAllowThreads();
8788 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
8789 wxPyEndAllowThreads(__tstate);
8790 if (PyErr_Occurred()) SWIG_fail;
8791 }
8792 {
8793 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8794 }
8795 {
8796 if (temp5)
8797 delete arg5;
8798 }
8799 return resultobj;
8800 fail:
8801 {
8802 if (temp5)
8803 delete arg5;
8804 }
8805 return NULL;
8806 }
8807
8808
8809 SWIGINTERN PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8810 PyObject *resultobj = 0;
8811 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8812 int arg2 = (int) 1 ;
8813 void *argp1 = 0 ;
8814 int res1 = 0 ;
8815 int val2 ;
8816 int ecode2 = 0 ;
8817 PyObject * obj0 = 0 ;
8818 PyObject * obj1 = 0 ;
8819 char * kwnames[] = {
8820 (char *) "self",(char *) "number", NULL
8821 };
8822
8823 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) SWIG_fail;
8824 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8825 if (!SWIG_IsOK(res1)) {
8826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8827 }
8828 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8829 if (obj1) {
8830 ecode2 = SWIG_AsVal_int(obj1, &val2);
8831 if (!SWIG_IsOK(ecode2)) {
8832 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8833 }
8834 arg2 = static_cast< int >(val2);
8835 }
8836 {
8837 PyThreadState* __tstate = wxPyBeginAllowThreads();
8838 (arg1)->SetFieldsCount(arg2);
8839 wxPyEndAllowThreads(__tstate);
8840 if (PyErr_Occurred()) SWIG_fail;
8841 }
8842 resultobj = SWIG_Py_Void();
8843 return resultobj;
8844 fail:
8845 return NULL;
8846 }
8847
8848
8849 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8850 PyObject *resultobj = 0;
8851 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8852 int result;
8853 void *argp1 = 0 ;
8854 int res1 = 0 ;
8855 PyObject *swig_obj[1] ;
8856
8857 if (!args) SWIG_fail;
8858 swig_obj[0] = args;
8859 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8860 if (!SWIG_IsOK(res1)) {
8861 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8862 }
8863 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8864 {
8865 PyThreadState* __tstate = wxPyBeginAllowThreads();
8866 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
8867 wxPyEndAllowThreads(__tstate);
8868 if (PyErr_Occurred()) SWIG_fail;
8869 }
8870 resultobj = SWIG_From_int(static_cast< int >(result));
8871 return resultobj;
8872 fail:
8873 return NULL;
8874 }
8875
8876
8877 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8878 PyObject *resultobj = 0;
8879 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8880 wxString *arg2 = 0 ;
8881 int arg3 = (int) 0 ;
8882 void *argp1 = 0 ;
8883 int res1 = 0 ;
8884 bool temp2 = false ;
8885 int val3 ;
8886 int ecode3 = 0 ;
8887 PyObject * obj0 = 0 ;
8888 PyObject * obj1 = 0 ;
8889 PyObject * obj2 = 0 ;
8890 char * kwnames[] = {
8891 (char *) "self",(char *) "text",(char *) "number", NULL
8892 };
8893
8894 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8895 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8896 if (!SWIG_IsOK(res1)) {
8897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8898 }
8899 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8900 {
8901 arg2 = wxString_in_helper(obj1);
8902 if (arg2 == NULL) SWIG_fail;
8903 temp2 = true;
8904 }
8905 if (obj2) {
8906 ecode3 = SWIG_AsVal_int(obj2, &val3);
8907 if (!SWIG_IsOK(ecode3)) {
8908 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8909 }
8910 arg3 = static_cast< int >(val3);
8911 }
8912 {
8913 PyThreadState* __tstate = wxPyBeginAllowThreads();
8914 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
8915 wxPyEndAllowThreads(__tstate);
8916 if (PyErr_Occurred()) SWIG_fail;
8917 }
8918 resultobj = SWIG_Py_Void();
8919 {
8920 if (temp2)
8921 delete arg2;
8922 }
8923 return resultobj;
8924 fail:
8925 {
8926 if (temp2)
8927 delete arg2;
8928 }
8929 return NULL;
8930 }
8931
8932
8933 SWIGINTERN PyObject *_wrap_StatusBar_GetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8934 PyObject *resultobj = 0;
8935 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8936 int arg2 = (int) 0 ;
8937 wxString result;
8938 void *argp1 = 0 ;
8939 int res1 = 0 ;
8940 int val2 ;
8941 int ecode2 = 0 ;
8942 PyObject * obj0 = 0 ;
8943 PyObject * obj1 = 0 ;
8944 char * kwnames[] = {
8945 (char *) "self",(char *) "number", NULL
8946 };
8947
8948 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
8949 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8950 if (!SWIG_IsOK(res1)) {
8951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8952 }
8953 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8954 if (obj1) {
8955 ecode2 = SWIG_AsVal_int(obj1, &val2);
8956 if (!SWIG_IsOK(ecode2)) {
8957 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8958 }
8959 arg2 = static_cast< int >(val2);
8960 }
8961 {
8962 PyThreadState* __tstate = wxPyBeginAllowThreads();
8963 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
8964 wxPyEndAllowThreads(__tstate);
8965 if (PyErr_Occurred()) SWIG_fail;
8966 }
8967 {
8968 #if wxUSE_UNICODE
8969 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8970 #else
8971 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8972 #endif
8973 }
8974 return resultobj;
8975 fail:
8976 return NULL;
8977 }
8978
8979
8980 SWIGINTERN PyObject *_wrap_StatusBar_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8981 PyObject *resultobj = 0;
8982 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8983 wxString *arg2 = 0 ;
8984 int arg3 = (int) 0 ;
8985 void *argp1 = 0 ;
8986 int res1 = 0 ;
8987 bool temp2 = false ;
8988 int val3 ;
8989 int ecode3 = 0 ;
8990 PyObject * obj0 = 0 ;
8991 PyObject * obj1 = 0 ;
8992 PyObject * obj2 = 0 ;
8993 char * kwnames[] = {
8994 (char *) "self",(char *) "text",(char *) "number", NULL
8995 };
8996
8997 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8998 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8999 if (!SWIG_IsOK(res1)) {
9000 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9001 }
9002 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9003 {
9004 arg2 = wxString_in_helper(obj1);
9005 if (arg2 == NULL) SWIG_fail;
9006 temp2 = true;
9007 }
9008 if (obj2) {
9009 ecode3 = SWIG_AsVal_int(obj2, &val3);
9010 if (!SWIG_IsOK(ecode3)) {
9011 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9012 }
9013 arg3 = static_cast< int >(val3);
9014 }
9015 {
9016 PyThreadState* __tstate = wxPyBeginAllowThreads();
9017 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
9018 wxPyEndAllowThreads(__tstate);
9019 if (PyErr_Occurred()) SWIG_fail;
9020 }
9021 resultobj = SWIG_Py_Void();
9022 {
9023 if (temp2)
9024 delete arg2;
9025 }
9026 return resultobj;
9027 fail:
9028 {
9029 if (temp2)
9030 delete arg2;
9031 }
9032 return NULL;
9033 }
9034
9035
9036 SWIGINTERN PyObject *_wrap_StatusBar_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9037 PyObject *resultobj = 0;
9038 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9039 int arg2 = (int) 0 ;
9040 void *argp1 = 0 ;
9041 int res1 = 0 ;
9042 int val2 ;
9043 int ecode2 = 0 ;
9044 PyObject * obj0 = 0 ;
9045 PyObject * obj1 = 0 ;
9046 char * kwnames[] = {
9047 (char *) "self",(char *) "number", NULL
9048 };
9049
9050 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9051 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9052 if (!SWIG_IsOK(res1)) {
9053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9054 }
9055 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9056 if (obj1) {
9057 ecode2 = SWIG_AsVal_int(obj1, &val2);
9058 if (!SWIG_IsOK(ecode2)) {
9059 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9060 }
9061 arg2 = static_cast< int >(val2);
9062 }
9063 {
9064 PyThreadState* __tstate = wxPyBeginAllowThreads();
9065 (arg1)->PopStatusText(arg2);
9066 wxPyEndAllowThreads(__tstate);
9067 if (PyErr_Occurred()) SWIG_fail;
9068 }
9069 resultobj = SWIG_Py_Void();
9070 return resultobj;
9071 fail:
9072 return NULL;
9073 }
9074
9075
9076 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9077 PyObject *resultobj = 0;
9078 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9079 int arg2 ;
9080 int *arg3 = (int *) 0 ;
9081 void *argp1 = 0 ;
9082 int res1 = 0 ;
9083 PyObject * obj0 = 0 ;
9084 PyObject * obj1 = 0 ;
9085 char * kwnames[] = {
9086 (char *) "self",(char *) "widths", NULL
9087 };
9088
9089 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
9090 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9091 if (!SWIG_IsOK(res1)) {
9092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9093 }
9094 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9095 {
9096 arg2 = PyList_Size(obj1);
9097 arg3 = int_LIST_helper(obj1);
9098 if (arg3 == NULL) SWIG_fail;
9099 }
9100 {
9101 PyThreadState* __tstate = wxPyBeginAllowThreads();
9102 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
9103 wxPyEndAllowThreads(__tstate);
9104 if (PyErr_Occurred()) SWIG_fail;
9105 }
9106 resultobj = SWIG_Py_Void();
9107 {
9108 if (arg3) delete [] arg3;
9109 }
9110 return resultobj;
9111 fail:
9112 {
9113 if (arg3) delete [] arg3;
9114 }
9115 return NULL;
9116 }
9117
9118
9119 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9120 PyObject *resultobj = 0;
9121 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9122 int arg2 ;
9123 int *arg3 = (int *) 0 ;
9124 void *argp1 = 0 ;
9125 int res1 = 0 ;
9126 PyObject * obj0 = 0 ;
9127 PyObject * obj1 = 0 ;
9128 char * kwnames[] = {
9129 (char *) "self",(char *) "styles", NULL
9130 };
9131
9132 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) SWIG_fail;
9133 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9134 if (!SWIG_IsOK(res1)) {
9135 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9136 }
9137 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9138 {
9139 arg2 = PyList_Size(obj1);
9140 arg3 = int_LIST_helper(obj1);
9141 if (arg3 == NULL) SWIG_fail;
9142 }
9143 {
9144 PyThreadState* __tstate = wxPyBeginAllowThreads();
9145 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
9146 wxPyEndAllowThreads(__tstate);
9147 if (PyErr_Occurred()) SWIG_fail;
9148 }
9149 resultobj = SWIG_Py_Void();
9150 {
9151 if (arg3) delete [] arg3;
9152 }
9153 return resultobj;
9154 fail:
9155 {
9156 if (arg3) delete [] arg3;
9157 }
9158 return NULL;
9159 }
9160
9161
9162 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9163 PyObject *resultobj = 0;
9164 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9165 int arg2 ;
9166 wxRect result;
9167 void *argp1 = 0 ;
9168 int res1 = 0 ;
9169 int val2 ;
9170 int ecode2 = 0 ;
9171 PyObject * obj0 = 0 ;
9172 PyObject * obj1 = 0 ;
9173 char * kwnames[] = {
9174 (char *) "self",(char *) "i", NULL
9175 };
9176
9177 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) SWIG_fail;
9178 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9179 if (!SWIG_IsOK(res1)) {
9180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9181 }
9182 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9183 ecode2 = SWIG_AsVal_int(obj1, &val2);
9184 if (!SWIG_IsOK(ecode2)) {
9185 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9186 }
9187 arg2 = static_cast< int >(val2);
9188 {
9189 PyThreadState* __tstate = wxPyBeginAllowThreads();
9190 result = wxStatusBar_GetFieldRect(arg1,arg2);
9191 wxPyEndAllowThreads(__tstate);
9192 if (PyErr_Occurred()) SWIG_fail;
9193 }
9194 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
9195 return resultobj;
9196 fail:
9197 return NULL;
9198 }
9199
9200
9201 SWIGINTERN PyObject *_wrap_StatusBar_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9202 PyObject *resultobj = 0;
9203 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9204 int arg2 ;
9205 void *argp1 = 0 ;
9206 int res1 = 0 ;
9207 int val2 ;
9208 int ecode2 = 0 ;
9209 PyObject * obj0 = 0 ;
9210 PyObject * obj1 = 0 ;
9211 char * kwnames[] = {
9212 (char *) "self",(char *) "height", NULL
9213 };
9214
9215 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) SWIG_fail;
9216 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9217 if (!SWIG_IsOK(res1)) {
9218 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9219 }
9220 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9221 ecode2 = SWIG_AsVal_int(obj1, &val2);
9222 if (!SWIG_IsOK(ecode2)) {
9223 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9224 }
9225 arg2 = static_cast< int >(val2);
9226 {
9227 PyThreadState* __tstate = wxPyBeginAllowThreads();
9228 (arg1)->SetMinHeight(arg2);
9229 wxPyEndAllowThreads(__tstate);
9230 if (PyErr_Occurred()) SWIG_fail;
9231 }
9232 resultobj = SWIG_Py_Void();
9233 return resultobj;
9234 fail:
9235 return NULL;
9236 }
9237
9238
9239 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9240 PyObject *resultobj = 0;
9241 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9242 int result;
9243 void *argp1 = 0 ;
9244 int res1 = 0 ;
9245 PyObject *swig_obj[1] ;
9246
9247 if (!args) SWIG_fail;
9248 swig_obj[0] = args;
9249 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9250 if (!SWIG_IsOK(res1)) {
9251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9252 }
9253 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9254 {
9255 PyThreadState* __tstate = wxPyBeginAllowThreads();
9256 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
9257 wxPyEndAllowThreads(__tstate);
9258 if (PyErr_Occurred()) SWIG_fail;
9259 }
9260 resultobj = SWIG_From_int(static_cast< int >(result));
9261 return resultobj;
9262 fail:
9263 return NULL;
9264 }
9265
9266
9267 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9268 PyObject *resultobj = 0;
9269 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9270 int result;
9271 void *argp1 = 0 ;
9272 int res1 = 0 ;
9273 PyObject *swig_obj[1] ;
9274
9275 if (!args) SWIG_fail;
9276 swig_obj[0] = args;
9277 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9278 if (!SWIG_IsOK(res1)) {
9279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9280 }
9281 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9282 {
9283 PyThreadState* __tstate = wxPyBeginAllowThreads();
9284 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
9285 wxPyEndAllowThreads(__tstate);
9286 if (PyErr_Occurred()) SWIG_fail;
9287 }
9288 resultobj = SWIG_From_int(static_cast< int >(result));
9289 return resultobj;
9290 fail:
9291 return NULL;
9292 }
9293
9294
9295 SWIGINTERN PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9296 PyObject *resultobj = 0;
9297 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9298 SwigValueWrapper<wxVisualAttributes > result;
9299 int val1 ;
9300 int ecode1 = 0 ;
9301 PyObject * obj0 = 0 ;
9302 char * kwnames[] = {
9303 (char *) "variant", NULL
9304 };
9305
9306 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9307 if (obj0) {
9308 ecode1 = SWIG_AsVal_int(obj0, &val1);
9309 if (!SWIG_IsOK(ecode1)) {
9310 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9311 }
9312 arg1 = static_cast< wxWindowVariant >(val1);
9313 }
9314 {
9315 if (!wxPyCheckForApp()) SWIG_fail;
9316 PyThreadState* __tstate = wxPyBeginAllowThreads();
9317 result = wxStatusBar::GetClassDefaultAttributes(arg1);
9318 wxPyEndAllowThreads(__tstate);
9319 if (PyErr_Occurred()) SWIG_fail;
9320 }
9321 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9322 return resultobj;
9323 fail:
9324 return NULL;
9325 }
9326
9327
9328 SWIGINTERN PyObject *StatusBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9329 PyObject *obj;
9330 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9331 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar, SWIG_NewClientData(obj));
9332 return SWIG_Py_Void();
9333 }
9334
9335 SWIGINTERN PyObject *StatusBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9336 return SWIG_Python_InitShadowInstance(args);
9337 }
9338
9339 SWIGINTERN int SplitterNameStr_set(PyObject *) {
9340 SWIG_Error(SWIG_AttributeError,"Variable SplitterNameStr is read-only.");
9341 return 1;
9342 }
9343
9344
9345 SWIGINTERN PyObject *SplitterNameStr_get(void) {
9346 PyObject *pyobj = 0;
9347
9348 {
9349 #if wxUSE_UNICODE
9350 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9351 #else
9352 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9353 #endif
9354 }
9355 return pyobj;
9356 }
9357
9358
9359 SWIGINTERN PyObject *_wrap_new_SplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9360 PyObject *resultobj = 0;
9361 wxWindow *arg1 = (wxWindow *) 0 ;
9362 int arg2 = (int) -1 ;
9363 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9364 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9365 wxSize const &arg4_defvalue = wxDefaultSize ;
9366 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9367 long arg5 = (long) wxSP_3D ;
9368 wxString const &arg6_defvalue = wxPySplitterNameStr ;
9369 wxString *arg6 = (wxString *) &arg6_defvalue ;
9370 wxSplitterWindow *result = 0 ;
9371 void *argp1 = 0 ;
9372 int res1 = 0 ;
9373 int val2 ;
9374 int ecode2 = 0 ;
9375 wxPoint temp3 ;
9376 wxSize temp4 ;
9377 long val5 ;
9378 int ecode5 = 0 ;
9379 bool temp6 = false ;
9380 PyObject * obj0 = 0 ;
9381 PyObject * obj1 = 0 ;
9382 PyObject * obj2 = 0 ;
9383 PyObject * obj3 = 0 ;
9384 PyObject * obj4 = 0 ;
9385 PyObject * obj5 = 0 ;
9386 char * kwnames[] = {
9387 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9388 };
9389
9390 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9391 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9392 if (!SWIG_IsOK(res1)) {
9393 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9394 }
9395 arg1 = reinterpret_cast< wxWindow * >(argp1);
9396 if (obj1) {
9397 ecode2 = SWIG_AsVal_int(obj1, &val2);
9398 if (!SWIG_IsOK(ecode2)) {
9399 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9400 }
9401 arg2 = static_cast< int >(val2);
9402 }
9403 if (obj2) {
9404 {
9405 arg3 = &temp3;
9406 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9407 }
9408 }
9409 if (obj3) {
9410 {
9411 arg4 = &temp4;
9412 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9413 }
9414 }
9415 if (obj4) {
9416 ecode5 = SWIG_AsVal_long(obj4, &val5);
9417 if (!SWIG_IsOK(ecode5)) {
9418 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9419 }
9420 arg5 = static_cast< long >(val5);
9421 }
9422 if (obj5) {
9423 {
9424 arg6 = wxString_in_helper(obj5);
9425 if (arg6 == NULL) SWIG_fail;
9426 temp6 = true;
9427 }
9428 }
9429 {
9430 if (!wxPyCheckForApp()) SWIG_fail;
9431 PyThreadState* __tstate = wxPyBeginAllowThreads();
9432 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9433 wxPyEndAllowThreads(__tstate);
9434 if (PyErr_Occurred()) SWIG_fail;
9435 }
9436 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_NEW | 0 );
9437 {
9438 if (temp6)
9439 delete arg6;
9440 }
9441 return resultobj;
9442 fail:
9443 {
9444 if (temp6)
9445 delete arg6;
9446 }
9447 return NULL;
9448 }
9449
9450
9451 SWIGINTERN PyObject *_wrap_new_PreSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9452 PyObject *resultobj = 0;
9453 wxSplitterWindow *result = 0 ;
9454
9455 if (!SWIG_Python_UnpackTuple(args,"new_PreSplitterWindow",0,0,0)) SWIG_fail;
9456 {
9457 if (!wxPyCheckForApp()) SWIG_fail;
9458 PyThreadState* __tstate = wxPyBeginAllowThreads();
9459 result = (wxSplitterWindow *)new wxSplitterWindow();
9460 wxPyEndAllowThreads(__tstate);
9461 if (PyErr_Occurred()) SWIG_fail;
9462 }
9463 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_OWN | 0 );
9464 return resultobj;
9465 fail:
9466 return NULL;
9467 }
9468
9469
9470 SWIGINTERN PyObject *_wrap_SplitterWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9471 PyObject *resultobj = 0;
9472 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9473 wxWindow *arg2 = (wxWindow *) 0 ;
9474 int arg3 = (int) -1 ;
9475 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9476 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9477 wxSize const &arg5_defvalue = wxDefaultSize ;
9478 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9479 long arg6 = (long) wxSP_3D ;
9480 wxString const &arg7_defvalue = wxPySplitterNameStr ;
9481 wxString *arg7 = (wxString *) &arg7_defvalue ;
9482 bool result;
9483 void *argp1 = 0 ;
9484 int res1 = 0 ;
9485 void *argp2 = 0 ;
9486 int res2 = 0 ;
9487 int val3 ;
9488 int ecode3 = 0 ;
9489 wxPoint temp4 ;
9490 wxSize temp5 ;
9491 long val6 ;
9492 int ecode6 = 0 ;
9493 bool temp7 = false ;
9494 PyObject * obj0 = 0 ;
9495 PyObject * obj1 = 0 ;
9496 PyObject * obj2 = 0 ;
9497 PyObject * obj3 = 0 ;
9498 PyObject * obj4 = 0 ;
9499 PyObject * obj5 = 0 ;
9500 PyObject * obj6 = 0 ;
9501 char * kwnames[] = {
9502 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9503 };
9504
9505 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) 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_Create" "', 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_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9514 }
9515 arg2 = reinterpret_cast< wxWindow * >(argp2);
9516 if (obj2) {
9517 ecode3 = SWIG_AsVal_int(obj2, &val3);
9518 if (!SWIG_IsOK(ecode3)) {
9519 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9520 }
9521 arg3 = static_cast< int >(val3);
9522 }
9523 if (obj3) {
9524 {
9525 arg4 = &temp4;
9526 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9527 }
9528 }
9529 if (obj4) {
9530 {
9531 arg5 = &temp5;
9532 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9533 }
9534 }
9535 if (obj5) {
9536 ecode6 = SWIG_AsVal_long(obj5, &val6);
9537 if (!SWIG_IsOK(ecode6)) {
9538 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9539 }
9540 arg6 = static_cast< long >(val6);
9541 }
9542 if (obj6) {
9543 {
9544 arg7 = wxString_in_helper(obj6);
9545 if (arg7 == NULL) SWIG_fail;
9546 temp7 = true;
9547 }
9548 }
9549 {
9550 PyThreadState* __tstate = wxPyBeginAllowThreads();
9551 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9552 wxPyEndAllowThreads(__tstate);
9553 if (PyErr_Occurred()) SWIG_fail;
9554 }
9555 {
9556 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9557 }
9558 {
9559 if (temp7)
9560 delete arg7;
9561 }
9562 return resultobj;
9563 fail:
9564 {
9565 if (temp7)
9566 delete arg7;
9567 }
9568 return NULL;
9569 }
9570
9571
9572 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9573 PyObject *resultobj = 0;
9574 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9575 wxWindow *result = 0 ;
9576 void *argp1 = 0 ;
9577 int res1 = 0 ;
9578 PyObject *swig_obj[1] ;
9579
9580 if (!args) SWIG_fail;
9581 swig_obj[0] = args;
9582 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9583 if (!SWIG_IsOK(res1)) {
9584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9585 }
9586 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9587 {
9588 PyThreadState* __tstate = wxPyBeginAllowThreads();
9589 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
9590 wxPyEndAllowThreads(__tstate);
9591 if (PyErr_Occurred()) SWIG_fail;
9592 }
9593 {
9594 resultobj = wxPyMake_wxObject(result, 0);
9595 }
9596 return resultobj;
9597 fail:
9598 return NULL;
9599 }
9600
9601
9602 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9603 PyObject *resultobj = 0;
9604 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9605 wxWindow *result = 0 ;
9606 void *argp1 = 0 ;
9607 int res1 = 0 ;
9608 PyObject *swig_obj[1] ;
9609
9610 if (!args) SWIG_fail;
9611 swig_obj[0] = args;
9612 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9613 if (!SWIG_IsOK(res1)) {
9614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9615 }
9616 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9617 {
9618 PyThreadState* __tstate = wxPyBeginAllowThreads();
9619 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
9620 wxPyEndAllowThreads(__tstate);
9621 if (PyErr_Occurred()) SWIG_fail;
9622 }
9623 {
9624 resultobj = wxPyMake_wxObject(result, 0);
9625 }
9626 return resultobj;
9627 fail:
9628 return NULL;
9629 }
9630
9631
9632 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9633 PyObject *resultobj = 0;
9634 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9635 int arg2 ;
9636 void *argp1 = 0 ;
9637 int res1 = 0 ;
9638 int val2 ;
9639 int ecode2 = 0 ;
9640 PyObject * obj0 = 0 ;
9641 PyObject * obj1 = 0 ;
9642 char * kwnames[] = {
9643 (char *) "self",(char *) "mode", NULL
9644 };
9645
9646 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) SWIG_fail;
9647 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9648 if (!SWIG_IsOK(res1)) {
9649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9650 }
9651 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9652 ecode2 = SWIG_AsVal_int(obj1, &val2);
9653 if (!SWIG_IsOK(ecode2)) {
9654 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9655 }
9656 arg2 = static_cast< int >(val2);
9657 {
9658 PyThreadState* __tstate = wxPyBeginAllowThreads();
9659 (arg1)->SetSplitMode(arg2);
9660 wxPyEndAllowThreads(__tstate);
9661 if (PyErr_Occurred()) SWIG_fail;
9662 }
9663 resultobj = SWIG_Py_Void();
9664 return resultobj;
9665 fail:
9666 return NULL;
9667 }
9668
9669
9670 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9671 PyObject *resultobj = 0;
9672 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9673 wxSplitMode result;
9674 void *argp1 = 0 ;
9675 int res1 = 0 ;
9676 PyObject *swig_obj[1] ;
9677
9678 if (!args) SWIG_fail;
9679 swig_obj[0] = args;
9680 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9681 if (!SWIG_IsOK(res1)) {
9682 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9683 }
9684 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9685 {
9686 PyThreadState* __tstate = wxPyBeginAllowThreads();
9687 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
9688 wxPyEndAllowThreads(__tstate);
9689 if (PyErr_Occurred()) SWIG_fail;
9690 }
9691 resultobj = SWIG_From_int(static_cast< int >(result));
9692 return resultobj;
9693 fail:
9694 return NULL;
9695 }
9696
9697
9698 SWIGINTERN PyObject *_wrap_SplitterWindow_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9699 PyObject *resultobj = 0;
9700 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9701 wxWindow *arg2 = (wxWindow *) 0 ;
9702 void *argp1 = 0 ;
9703 int res1 = 0 ;
9704 void *argp2 = 0 ;
9705 int res2 = 0 ;
9706 PyObject * obj0 = 0 ;
9707 PyObject * obj1 = 0 ;
9708 char * kwnames[] = {
9709 (char *) "self",(char *) "window", NULL
9710 };
9711
9712 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) SWIG_fail;
9713 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9714 if (!SWIG_IsOK(res1)) {
9715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9716 }
9717 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9718 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9719 if (!SWIG_IsOK(res2)) {
9720 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9721 }
9722 arg2 = reinterpret_cast< wxWindow * >(argp2);
9723 {
9724 PyThreadState* __tstate = wxPyBeginAllowThreads();
9725 (arg1)->Initialize(arg2);
9726 wxPyEndAllowThreads(__tstate);
9727 if (PyErr_Occurred()) SWIG_fail;
9728 }
9729 resultobj = SWIG_Py_Void();
9730 return resultobj;
9731 fail:
9732 return NULL;
9733 }
9734
9735
9736 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9737 PyObject *resultobj = 0;
9738 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9739 wxWindow *arg2 = (wxWindow *) 0 ;
9740 wxWindow *arg3 = (wxWindow *) 0 ;
9741 int arg4 = (int) 0 ;
9742 bool result;
9743 void *argp1 = 0 ;
9744 int res1 = 0 ;
9745 void *argp2 = 0 ;
9746 int res2 = 0 ;
9747 void *argp3 = 0 ;
9748 int res3 = 0 ;
9749 int val4 ;
9750 int ecode4 = 0 ;
9751 PyObject * obj0 = 0 ;
9752 PyObject * obj1 = 0 ;
9753 PyObject * obj2 = 0 ;
9754 PyObject * obj3 = 0 ;
9755 char * kwnames[] = {
9756 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9757 };
9758
9759 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9760 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9761 if (!SWIG_IsOK(res1)) {
9762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9763 }
9764 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9765 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9766 if (!SWIG_IsOK(res2)) {
9767 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9768 }
9769 arg2 = reinterpret_cast< wxWindow * >(argp2);
9770 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9771 if (!SWIG_IsOK(res3)) {
9772 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9773 }
9774 arg3 = reinterpret_cast< wxWindow * >(argp3);
9775 if (obj3) {
9776 ecode4 = SWIG_AsVal_int(obj3, &val4);
9777 if (!SWIG_IsOK(ecode4)) {
9778 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9779 }
9780 arg4 = static_cast< int >(val4);
9781 }
9782 {
9783 PyThreadState* __tstate = wxPyBeginAllowThreads();
9784 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
9785 wxPyEndAllowThreads(__tstate);
9786 if (PyErr_Occurred()) SWIG_fail;
9787 }
9788 {
9789 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9790 }
9791 return resultobj;
9792 fail:
9793 return NULL;
9794 }
9795
9796
9797 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9798 PyObject *resultobj = 0;
9799 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9800 wxWindow *arg2 = (wxWindow *) 0 ;
9801 wxWindow *arg3 = (wxWindow *) 0 ;
9802 int arg4 = (int) 0 ;
9803 bool result;
9804 void *argp1 = 0 ;
9805 int res1 = 0 ;
9806 void *argp2 = 0 ;
9807 int res2 = 0 ;
9808 void *argp3 = 0 ;
9809 int res3 = 0 ;
9810 int val4 ;
9811 int ecode4 = 0 ;
9812 PyObject * obj0 = 0 ;
9813 PyObject * obj1 = 0 ;
9814 PyObject * obj2 = 0 ;
9815 PyObject * obj3 = 0 ;
9816 char * kwnames[] = {
9817 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9818 };
9819
9820 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9821 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9822 if (!SWIG_IsOK(res1)) {
9823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9824 }
9825 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9826 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9827 if (!SWIG_IsOK(res2)) {
9828 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9829 }
9830 arg2 = reinterpret_cast< wxWindow * >(argp2);
9831 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9832 if (!SWIG_IsOK(res3)) {
9833 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9834 }
9835 arg3 = reinterpret_cast< wxWindow * >(argp3);
9836 if (obj3) {
9837 ecode4 = SWIG_AsVal_int(obj3, &val4);
9838 if (!SWIG_IsOK(ecode4)) {
9839 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9840 }
9841 arg4 = static_cast< int >(val4);
9842 }
9843 {
9844 PyThreadState* __tstate = wxPyBeginAllowThreads();
9845 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
9846 wxPyEndAllowThreads(__tstate);
9847 if (PyErr_Occurred()) SWIG_fail;
9848 }
9849 {
9850 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9851 }
9852 return resultobj;
9853 fail:
9854 return NULL;
9855 }
9856
9857
9858 SWIGINTERN PyObject *_wrap_SplitterWindow_Unsplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9859 PyObject *resultobj = 0;
9860 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9861 wxWindow *arg2 = (wxWindow *) NULL ;
9862 bool result;
9863 void *argp1 = 0 ;
9864 int res1 = 0 ;
9865 void *argp2 = 0 ;
9866 int res2 = 0 ;
9867 PyObject * obj0 = 0 ;
9868 PyObject * obj1 = 0 ;
9869 char * kwnames[] = {
9870 (char *) "self",(char *) "toRemove", NULL
9871 };
9872
9873 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) SWIG_fail;
9874 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9875 if (!SWIG_IsOK(res1)) {
9876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9877 }
9878 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9879 if (obj1) {
9880 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9881 if (!SWIG_IsOK(res2)) {
9882 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9883 }
9884 arg2 = reinterpret_cast< wxWindow * >(argp2);
9885 }
9886 {
9887 PyThreadState* __tstate = wxPyBeginAllowThreads();
9888 result = (bool)(arg1)->Unsplit(arg2);
9889 wxPyEndAllowThreads(__tstate);
9890 if (PyErr_Occurred()) SWIG_fail;
9891 }
9892 {
9893 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9894 }
9895 return resultobj;
9896 fail:
9897 return NULL;
9898 }
9899
9900
9901 SWIGINTERN PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9902 PyObject *resultobj = 0;
9903 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9904 wxWindow *arg2 = (wxWindow *) 0 ;
9905 wxWindow *arg3 = (wxWindow *) 0 ;
9906 bool result;
9907 void *argp1 = 0 ;
9908 int res1 = 0 ;
9909 void *argp2 = 0 ;
9910 int res2 = 0 ;
9911 void *argp3 = 0 ;
9912 int res3 = 0 ;
9913 PyObject * obj0 = 0 ;
9914 PyObject * obj1 = 0 ;
9915 PyObject * obj2 = 0 ;
9916 char * kwnames[] = {
9917 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9918 };
9919
9920 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9921 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9922 if (!SWIG_IsOK(res1)) {
9923 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9924 }
9925 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9926 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9927 if (!SWIG_IsOK(res2)) {
9928 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9929 }
9930 arg2 = reinterpret_cast< wxWindow * >(argp2);
9931 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9932 if (!SWIG_IsOK(res3)) {
9933 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9934 }
9935 arg3 = reinterpret_cast< wxWindow * >(argp3);
9936 {
9937 PyThreadState* __tstate = wxPyBeginAllowThreads();
9938 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
9939 wxPyEndAllowThreads(__tstate);
9940 if (PyErr_Occurred()) SWIG_fail;
9941 }
9942 {
9943 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9944 }
9945 return resultobj;
9946 fail:
9947 return NULL;
9948 }
9949
9950
9951 SWIGINTERN PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9952 PyObject *resultobj = 0;
9953 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9954 void *argp1 = 0 ;
9955 int res1 = 0 ;
9956 PyObject *swig_obj[1] ;
9957
9958 if (!args) SWIG_fail;
9959 swig_obj[0] = args;
9960 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9961 if (!SWIG_IsOK(res1)) {
9962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9963 }
9964 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9965 {
9966 PyThreadState* __tstate = wxPyBeginAllowThreads();
9967 (arg1)->UpdateSize();
9968 wxPyEndAllowThreads(__tstate);
9969 if (PyErr_Occurred()) SWIG_fail;
9970 }
9971 resultobj = SWIG_Py_Void();
9972 return resultobj;
9973 fail:
9974 return NULL;
9975 }
9976
9977
9978 SWIGINTERN PyObject *_wrap_SplitterWindow_IsSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9979 PyObject *resultobj = 0;
9980 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9981 bool result;
9982 void *argp1 = 0 ;
9983 int res1 = 0 ;
9984 PyObject *swig_obj[1] ;
9985
9986 if (!args) SWIG_fail;
9987 swig_obj[0] = args;
9988 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9989 if (!SWIG_IsOK(res1)) {
9990 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9991 }
9992 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9993 {
9994 PyThreadState* __tstate = wxPyBeginAllowThreads();
9995 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
9996 wxPyEndAllowThreads(__tstate);
9997 if (PyErr_Occurred()) SWIG_fail;
9998 }
9999 {
10000 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10001 }
10002 return resultobj;
10003 fail:
10004 return NULL;
10005 }
10006
10007
10008 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10009 PyObject *resultobj = 0;
10010 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10011 int arg2 ;
10012 void *argp1 = 0 ;
10013 int res1 = 0 ;
10014 int val2 ;
10015 int ecode2 = 0 ;
10016 PyObject * obj0 = 0 ;
10017 PyObject * obj1 = 0 ;
10018 char * kwnames[] = {
10019 (char *) "self",(char *) "width", NULL
10020 };
10021
10022 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) SWIG_fail;
10023 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10024 if (!SWIG_IsOK(res1)) {
10025 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10026 }
10027 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10028 ecode2 = SWIG_AsVal_int(obj1, &val2);
10029 if (!SWIG_IsOK(ecode2)) {
10030 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10031 }
10032 arg2 = static_cast< int >(val2);
10033 {
10034 PyThreadState* __tstate = wxPyBeginAllowThreads();
10035 (arg1)->SetSashSize(arg2);
10036 wxPyEndAllowThreads(__tstate);
10037 if (PyErr_Occurred()) SWIG_fail;
10038 }
10039 resultobj = SWIG_Py_Void();
10040 return resultobj;
10041 fail:
10042 return NULL;
10043 }
10044
10045
10046 SWIGINTERN PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10047 PyObject *resultobj = 0;
10048 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10049 int arg2 ;
10050 void *argp1 = 0 ;
10051 int res1 = 0 ;
10052 int val2 ;
10053 int ecode2 = 0 ;
10054 PyObject * obj0 = 0 ;
10055 PyObject * obj1 = 0 ;
10056 char * kwnames[] = {
10057 (char *) "self",(char *) "width", NULL
10058 };
10059
10060 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
10061 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10062 if (!SWIG_IsOK(res1)) {
10063 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10064 }
10065 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10066 ecode2 = SWIG_AsVal_int(obj1, &val2);
10067 if (!SWIG_IsOK(ecode2)) {
10068 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10069 }
10070 arg2 = static_cast< int >(val2);
10071 {
10072 PyThreadState* __tstate = wxPyBeginAllowThreads();
10073 (arg1)->SetBorderSize(arg2);
10074 wxPyEndAllowThreads(__tstate);
10075 if (PyErr_Occurred()) SWIG_fail;
10076 }
10077 resultobj = SWIG_Py_Void();
10078 return resultobj;
10079 fail:
10080 return NULL;
10081 }
10082
10083
10084 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10085 PyObject *resultobj = 0;
10086 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10087 int result;
10088 void *argp1 = 0 ;
10089 int res1 = 0 ;
10090 PyObject *swig_obj[1] ;
10091
10092 if (!args) SWIG_fail;
10093 swig_obj[0] = args;
10094 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10095 if (!SWIG_IsOK(res1)) {
10096 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10097 }
10098 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10099 {
10100 PyThreadState* __tstate = wxPyBeginAllowThreads();
10101 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
10102 wxPyEndAllowThreads(__tstate);
10103 if (PyErr_Occurred()) SWIG_fail;
10104 }
10105 resultobj = SWIG_From_int(static_cast< int >(result));
10106 return resultobj;
10107 fail:
10108 return NULL;
10109 }
10110
10111
10112 SWIGINTERN PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10113 PyObject *resultobj = 0;
10114 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10115 int result;
10116 void *argp1 = 0 ;
10117 int res1 = 0 ;
10118 PyObject *swig_obj[1] ;
10119
10120 if (!args) SWIG_fail;
10121 swig_obj[0] = args;
10122 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10123 if (!SWIG_IsOK(res1)) {
10124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10125 }
10126 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10127 {
10128 PyThreadState* __tstate = wxPyBeginAllowThreads();
10129 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
10130 wxPyEndAllowThreads(__tstate);
10131 if (PyErr_Occurred()) SWIG_fail;
10132 }
10133 resultobj = SWIG_From_int(static_cast< int >(result));
10134 return resultobj;
10135 fail:
10136 return NULL;
10137 }
10138
10139
10140 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10141 PyObject *resultobj = 0;
10142 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10143 int arg2 ;
10144 bool arg3 = (bool) true ;
10145 void *argp1 = 0 ;
10146 int res1 = 0 ;
10147 int val2 ;
10148 int ecode2 = 0 ;
10149 bool val3 ;
10150 int ecode3 = 0 ;
10151 PyObject * obj0 = 0 ;
10152 PyObject * obj1 = 0 ;
10153 PyObject * obj2 = 0 ;
10154 char * kwnames[] = {
10155 (char *) "self",(char *) "position",(char *) "redraw", NULL
10156 };
10157
10158 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10159 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10160 if (!SWIG_IsOK(res1)) {
10161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10162 }
10163 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10164 ecode2 = SWIG_AsVal_int(obj1, &val2);
10165 if (!SWIG_IsOK(ecode2)) {
10166 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10167 }
10168 arg2 = static_cast< int >(val2);
10169 if (obj2) {
10170 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10171 if (!SWIG_IsOK(ecode3)) {
10172 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10173 }
10174 arg3 = static_cast< bool >(val3);
10175 }
10176 {
10177 PyThreadState* __tstate = wxPyBeginAllowThreads();
10178 (arg1)->SetSashPosition(arg2,arg3);
10179 wxPyEndAllowThreads(__tstate);
10180 if (PyErr_Occurred()) SWIG_fail;
10181 }
10182 resultobj = SWIG_Py_Void();
10183 return resultobj;
10184 fail:
10185 return NULL;
10186 }
10187
10188
10189 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10190 PyObject *resultobj = 0;
10191 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10192 int result;
10193 void *argp1 = 0 ;
10194 int res1 = 0 ;
10195 PyObject *swig_obj[1] ;
10196
10197 if (!args) SWIG_fail;
10198 swig_obj[0] = args;
10199 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10200 if (!SWIG_IsOK(res1)) {
10201 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10202 }
10203 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10204 {
10205 PyThreadState* __tstate = wxPyBeginAllowThreads();
10206 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
10207 wxPyEndAllowThreads(__tstate);
10208 if (PyErr_Occurred()) SWIG_fail;
10209 }
10210 resultobj = SWIG_From_int(static_cast< int >(result));
10211 return resultobj;
10212 fail:
10213 return NULL;
10214 }
10215
10216
10217 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10218 PyObject *resultobj = 0;
10219 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10220 double arg2 ;
10221 void *argp1 = 0 ;
10222 int res1 = 0 ;
10223 double val2 ;
10224 int ecode2 = 0 ;
10225 PyObject * obj0 = 0 ;
10226 PyObject * obj1 = 0 ;
10227 char * kwnames[] = {
10228 (char *) "self",(char *) "gravity", NULL
10229 };
10230
10231 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) SWIG_fail;
10232 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10233 if (!SWIG_IsOK(res1)) {
10234 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10235 }
10236 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10237 ecode2 = SWIG_AsVal_double(obj1, &val2);
10238 if (!SWIG_IsOK(ecode2)) {
10239 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10240 }
10241 arg2 = static_cast< double >(val2);
10242 {
10243 PyThreadState* __tstate = wxPyBeginAllowThreads();
10244 (arg1)->SetSashGravity(arg2);
10245 wxPyEndAllowThreads(__tstate);
10246 if (PyErr_Occurred()) SWIG_fail;
10247 }
10248 resultobj = SWIG_Py_Void();
10249 return resultobj;
10250 fail:
10251 return NULL;
10252 }
10253
10254
10255 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10256 PyObject *resultobj = 0;
10257 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10258 double result;
10259 void *argp1 = 0 ;
10260 int res1 = 0 ;
10261 PyObject *swig_obj[1] ;
10262
10263 if (!args) SWIG_fail;
10264 swig_obj[0] = args;
10265 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10266 if (!SWIG_IsOK(res1)) {
10267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10268 }
10269 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10270 {
10271 PyThreadState* __tstate = wxPyBeginAllowThreads();
10272 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
10273 wxPyEndAllowThreads(__tstate);
10274 if (PyErr_Occurred()) SWIG_fail;
10275 }
10276 resultobj = SWIG_From_double(static_cast< double >(result));
10277 return resultobj;
10278 fail:
10279 return NULL;
10280 }
10281
10282
10283 SWIGINTERN PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10284 PyObject *resultobj = 0;
10285 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10286 int arg2 ;
10287 void *argp1 = 0 ;
10288 int res1 = 0 ;
10289 int val2 ;
10290 int ecode2 = 0 ;
10291 PyObject * obj0 = 0 ;
10292 PyObject * obj1 = 0 ;
10293 char * kwnames[] = {
10294 (char *) "self",(char *) "min", NULL
10295 };
10296
10297 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) SWIG_fail;
10298 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10299 if (!SWIG_IsOK(res1)) {
10300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10301 }
10302 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10303 ecode2 = SWIG_AsVal_int(obj1, &val2);
10304 if (!SWIG_IsOK(ecode2)) {
10305 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10306 }
10307 arg2 = static_cast< int >(val2);
10308 {
10309 PyThreadState* __tstate = wxPyBeginAllowThreads();
10310 (arg1)->SetMinimumPaneSize(arg2);
10311 wxPyEndAllowThreads(__tstate);
10312 if (PyErr_Occurred()) SWIG_fail;
10313 }
10314 resultobj = SWIG_Py_Void();
10315 return resultobj;
10316 fail:
10317 return NULL;
10318 }
10319
10320
10321 SWIGINTERN PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10322 PyObject *resultobj = 0;
10323 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10324 int result;
10325 void *argp1 = 0 ;
10326 int res1 = 0 ;
10327 PyObject *swig_obj[1] ;
10328
10329 if (!args) SWIG_fail;
10330 swig_obj[0] = args;
10331 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10332 if (!SWIG_IsOK(res1)) {
10333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10334 }
10335 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10336 {
10337 PyThreadState* __tstate = wxPyBeginAllowThreads();
10338 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
10339 wxPyEndAllowThreads(__tstate);
10340 if (PyErr_Occurred()) SWIG_fail;
10341 }
10342 resultobj = SWIG_From_int(static_cast< int >(result));
10343 return resultobj;
10344 fail:
10345 return NULL;
10346 }
10347
10348
10349 SWIGINTERN PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10350 PyObject *resultobj = 0;
10351 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10352 int arg2 ;
10353 int arg3 ;
10354 int arg4 = (int) 5 ;
10355 bool result;
10356 void *argp1 = 0 ;
10357 int res1 = 0 ;
10358 int val2 ;
10359 int ecode2 = 0 ;
10360 int val3 ;
10361 int ecode3 = 0 ;
10362 int val4 ;
10363 int ecode4 = 0 ;
10364 PyObject * obj0 = 0 ;
10365 PyObject * obj1 = 0 ;
10366 PyObject * obj2 = 0 ;
10367 PyObject * obj3 = 0 ;
10368 char * kwnames[] = {
10369 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10370 };
10371
10372 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10373 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10374 if (!SWIG_IsOK(res1)) {
10375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10376 }
10377 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10378 ecode2 = SWIG_AsVal_int(obj1, &val2);
10379 if (!SWIG_IsOK(ecode2)) {
10380 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10381 }
10382 arg2 = static_cast< int >(val2);
10383 ecode3 = SWIG_AsVal_int(obj2, &val3);
10384 if (!SWIG_IsOK(ecode3)) {
10385 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10386 }
10387 arg3 = static_cast< int >(val3);
10388 if (obj3) {
10389 ecode4 = SWIG_AsVal_int(obj3, &val4);
10390 if (!SWIG_IsOK(ecode4)) {
10391 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10392 }
10393 arg4 = static_cast< int >(val4);
10394 }
10395 {
10396 PyThreadState* __tstate = wxPyBeginAllowThreads();
10397 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
10398 wxPyEndAllowThreads(__tstate);
10399 if (PyErr_Occurred()) SWIG_fail;
10400 }
10401 {
10402 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10403 }
10404 return resultobj;
10405 fail:
10406 return NULL;
10407 }
10408
10409
10410 SWIGINTERN PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10411 PyObject *resultobj = 0;
10412 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10413 void *argp1 = 0 ;
10414 int res1 = 0 ;
10415 PyObject *swig_obj[1] ;
10416
10417 if (!args) SWIG_fail;
10418 swig_obj[0] = args;
10419 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10420 if (!SWIG_IsOK(res1)) {
10421 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10422 }
10423 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10424 {
10425 PyThreadState* __tstate = wxPyBeginAllowThreads();
10426 (arg1)->SizeWindows();
10427 wxPyEndAllowThreads(__tstate);
10428 if (PyErr_Occurred()) SWIG_fail;
10429 }
10430 resultobj = SWIG_Py_Void();
10431 return resultobj;
10432 fail:
10433 return NULL;
10434 }
10435
10436
10437 SWIGINTERN PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10438 PyObject *resultobj = 0;
10439 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10440 bool arg2 ;
10441 void *argp1 = 0 ;
10442 int res1 = 0 ;
10443 bool val2 ;
10444 int ecode2 = 0 ;
10445 PyObject * obj0 = 0 ;
10446 PyObject * obj1 = 0 ;
10447 char * kwnames[] = {
10448 (char *) "self",(char *) "needUpdating", NULL
10449 };
10450
10451 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) SWIG_fail;
10452 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10453 if (!SWIG_IsOK(res1)) {
10454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10455 }
10456 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10457 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10458 if (!SWIG_IsOK(ecode2)) {
10459 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10460 }
10461 arg2 = static_cast< bool >(val2);
10462 {
10463 PyThreadState* __tstate = wxPyBeginAllowThreads();
10464 (arg1)->SetNeedUpdating(arg2);
10465 wxPyEndAllowThreads(__tstate);
10466 if (PyErr_Occurred()) SWIG_fail;
10467 }
10468 resultobj = SWIG_Py_Void();
10469 return resultobj;
10470 fail:
10471 return NULL;
10472 }
10473
10474
10475 SWIGINTERN PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10476 PyObject *resultobj = 0;
10477 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10478 bool result;
10479 void *argp1 = 0 ;
10480 int res1 = 0 ;
10481 PyObject *swig_obj[1] ;
10482
10483 if (!args) SWIG_fail;
10484 swig_obj[0] = args;
10485 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10486 if (!SWIG_IsOK(res1)) {
10487 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10488 }
10489 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10490 {
10491 PyThreadState* __tstate = wxPyBeginAllowThreads();
10492 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
10493 wxPyEndAllowThreads(__tstate);
10494 if (PyErr_Occurred()) SWIG_fail;
10495 }
10496 {
10497 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10498 }
10499 return resultobj;
10500 fail:
10501 return NULL;
10502 }
10503
10504
10505 SWIGINTERN PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10506 PyObject *resultobj = 0;
10507 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10508 SwigValueWrapper<wxVisualAttributes > result;
10509 int val1 ;
10510 int ecode1 = 0 ;
10511 PyObject * obj0 = 0 ;
10512 char * kwnames[] = {
10513 (char *) "variant", NULL
10514 };
10515
10516 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10517 if (obj0) {
10518 ecode1 = SWIG_AsVal_int(obj0, &val1);
10519 if (!SWIG_IsOK(ecode1)) {
10520 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10521 }
10522 arg1 = static_cast< wxWindowVariant >(val1);
10523 }
10524 {
10525 if (!wxPyCheckForApp()) SWIG_fail;
10526 PyThreadState* __tstate = wxPyBeginAllowThreads();
10527 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
10528 wxPyEndAllowThreads(__tstate);
10529 if (PyErr_Occurred()) SWIG_fail;
10530 }
10531 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10532 return resultobj;
10533 fail:
10534 return NULL;
10535 }
10536
10537
10538 SWIGINTERN PyObject *SplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10539 PyObject *obj;
10540 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10541 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow, SWIG_NewClientData(obj));
10542 return SWIG_Py_Void();
10543 }
10544
10545 SWIGINTERN PyObject *SplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10546 return SWIG_Python_InitShadowInstance(args);
10547 }
10548
10549 SWIGINTERN PyObject *_wrap_new_SplitterEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10550 PyObject *resultobj = 0;
10551 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10552 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
10553 wxSplitterEvent *result = 0 ;
10554 int val1 ;
10555 int ecode1 = 0 ;
10556 void *argp2 = 0 ;
10557 int res2 = 0 ;
10558 PyObject * obj0 = 0 ;
10559 PyObject * obj1 = 0 ;
10560 char * kwnames[] = {
10561 (char *) "type",(char *) "splitter", NULL
10562 };
10563
10564 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10565 if (obj0) {
10566 ecode1 = SWIG_AsVal_int(obj0, &val1);
10567 if (!SWIG_IsOK(ecode1)) {
10568 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10569 }
10570 arg1 = static_cast< wxEventType >(val1);
10571 }
10572 if (obj1) {
10573 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10574 if (!SWIG_IsOK(res2)) {
10575 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10576 }
10577 arg2 = reinterpret_cast< wxSplitterWindow * >(argp2);
10578 }
10579 {
10580 PyThreadState* __tstate = wxPyBeginAllowThreads();
10581 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
10582 wxPyEndAllowThreads(__tstate);
10583 if (PyErr_Occurred()) SWIG_fail;
10584 }
10585 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_NEW | 0 );
10586 return resultobj;
10587 fail:
10588 return NULL;
10589 }
10590
10591
10592 SWIGINTERN PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10593 PyObject *resultobj = 0;
10594 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10595 int arg2 ;
10596 void *argp1 = 0 ;
10597 int res1 = 0 ;
10598 int val2 ;
10599 int ecode2 = 0 ;
10600 PyObject * obj0 = 0 ;
10601 PyObject * obj1 = 0 ;
10602 char * kwnames[] = {
10603 (char *) "self",(char *) "pos", NULL
10604 };
10605
10606 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10607 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10608 if (!SWIG_IsOK(res1)) {
10609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10610 }
10611 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10612 ecode2 = SWIG_AsVal_int(obj1, &val2);
10613 if (!SWIG_IsOK(ecode2)) {
10614 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10615 }
10616 arg2 = static_cast< int >(val2);
10617 {
10618 PyThreadState* __tstate = wxPyBeginAllowThreads();
10619 (arg1)->SetSashPosition(arg2);
10620 wxPyEndAllowThreads(__tstate);
10621 if (PyErr_Occurred()) SWIG_fail;
10622 }
10623 resultobj = SWIG_Py_Void();
10624 return resultobj;
10625 fail:
10626 return NULL;
10627 }
10628
10629
10630 SWIGINTERN PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10631 PyObject *resultobj = 0;
10632 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10633 int result;
10634 void *argp1 = 0 ;
10635 int res1 = 0 ;
10636 PyObject *swig_obj[1] ;
10637
10638 if (!args) SWIG_fail;
10639 swig_obj[0] = args;
10640 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10641 if (!SWIG_IsOK(res1)) {
10642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10643 }
10644 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10645 {
10646 PyThreadState* __tstate = wxPyBeginAllowThreads();
10647 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
10648 wxPyEndAllowThreads(__tstate);
10649 if (PyErr_Occurred()) SWIG_fail;
10650 }
10651 resultobj = SWIG_From_int(static_cast< int >(result));
10652 return resultobj;
10653 fail:
10654 return NULL;
10655 }
10656
10657
10658 SWIGINTERN PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10659 PyObject *resultobj = 0;
10660 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10661 wxWindow *result = 0 ;
10662 void *argp1 = 0 ;
10663 int res1 = 0 ;
10664 PyObject *swig_obj[1] ;
10665
10666 if (!args) SWIG_fail;
10667 swig_obj[0] = args;
10668 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10669 if (!SWIG_IsOK(res1)) {
10670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10671 }
10672 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10673 {
10674 PyThreadState* __tstate = wxPyBeginAllowThreads();
10675 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
10676 wxPyEndAllowThreads(__tstate);
10677 if (PyErr_Occurred()) SWIG_fail;
10678 }
10679 {
10680 resultobj = wxPyMake_wxObject(result, 0);
10681 }
10682 return resultobj;
10683 fail:
10684 return NULL;
10685 }
10686
10687
10688 SWIGINTERN PyObject *_wrap_SplitterEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10689 PyObject *resultobj = 0;
10690 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10691 int result;
10692 void *argp1 = 0 ;
10693 int res1 = 0 ;
10694 PyObject *swig_obj[1] ;
10695
10696 if (!args) SWIG_fail;
10697 swig_obj[0] = args;
10698 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10699 if (!SWIG_IsOK(res1)) {
10700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10701 }
10702 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10703 {
10704 PyThreadState* __tstate = wxPyBeginAllowThreads();
10705 result = (int)((wxSplitterEvent const *)arg1)->GetX();
10706 wxPyEndAllowThreads(__tstate);
10707 if (PyErr_Occurred()) SWIG_fail;
10708 }
10709 resultobj = SWIG_From_int(static_cast< int >(result));
10710 return resultobj;
10711 fail:
10712 return NULL;
10713 }
10714
10715
10716 SWIGINTERN PyObject *_wrap_SplitterEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10717 PyObject *resultobj = 0;
10718 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10719 int result;
10720 void *argp1 = 0 ;
10721 int res1 = 0 ;
10722 PyObject *swig_obj[1] ;
10723
10724 if (!args) SWIG_fail;
10725 swig_obj[0] = args;
10726 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10727 if (!SWIG_IsOK(res1)) {
10728 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10729 }
10730 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10731 {
10732 PyThreadState* __tstate = wxPyBeginAllowThreads();
10733 result = (int)((wxSplitterEvent const *)arg1)->GetY();
10734 wxPyEndAllowThreads(__tstate);
10735 if (PyErr_Occurred()) SWIG_fail;
10736 }
10737 resultobj = SWIG_From_int(static_cast< int >(result));
10738 return resultobj;
10739 fail:
10740 return NULL;
10741 }
10742
10743
10744 SWIGINTERN PyObject *SplitterEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10745 PyObject *obj;
10746 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10747 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent, SWIG_NewClientData(obj));
10748 return SWIG_Py_Void();
10749 }
10750
10751 SWIGINTERN PyObject *SplitterEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10752 return SWIG_Python_InitShadowInstance(args);
10753 }
10754
10755 SWIGINTERN int SashNameStr_set(PyObject *) {
10756 SWIG_Error(SWIG_AttributeError,"Variable SashNameStr is read-only.");
10757 return 1;
10758 }
10759
10760
10761 SWIGINTERN PyObject *SashNameStr_get(void) {
10762 PyObject *pyobj = 0;
10763
10764 {
10765 #if wxUSE_UNICODE
10766 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10767 #else
10768 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10769 #endif
10770 }
10771 return pyobj;
10772 }
10773
10774
10775 SWIGINTERN int SashLayoutNameStr_set(PyObject *) {
10776 SWIG_Error(SWIG_AttributeError,"Variable SashLayoutNameStr is read-only.");
10777 return 1;
10778 }
10779
10780
10781 SWIGINTERN PyObject *SashLayoutNameStr_get(void) {
10782 PyObject *pyobj = 0;
10783
10784 {
10785 #if wxUSE_UNICODE
10786 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10787 #else
10788 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10789 #endif
10790 }
10791 return pyobj;
10792 }
10793
10794
10795 SWIGINTERN PyObject *_wrap_new_SashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10796 PyObject *resultobj = 0;
10797 wxWindow *arg1 = (wxWindow *) 0 ;
10798 int arg2 = (int) -1 ;
10799 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10800 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10801 wxSize const &arg4_defvalue = wxDefaultSize ;
10802 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10803 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10804 wxString const &arg6_defvalue = wxPySashNameStr ;
10805 wxString *arg6 = (wxString *) &arg6_defvalue ;
10806 wxSashWindow *result = 0 ;
10807 void *argp1 = 0 ;
10808 int res1 = 0 ;
10809 int val2 ;
10810 int ecode2 = 0 ;
10811 wxPoint temp3 ;
10812 wxSize temp4 ;
10813 long val5 ;
10814 int ecode5 = 0 ;
10815 bool temp6 = false ;
10816 PyObject * obj0 = 0 ;
10817 PyObject * obj1 = 0 ;
10818 PyObject * obj2 = 0 ;
10819 PyObject * obj3 = 0 ;
10820 PyObject * obj4 = 0 ;
10821 PyObject * obj5 = 0 ;
10822 char * kwnames[] = {
10823 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10824 };
10825
10826 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10827 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10828 if (!SWIG_IsOK(res1)) {
10829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10830 }
10831 arg1 = reinterpret_cast< wxWindow * >(argp1);
10832 if (obj1) {
10833 ecode2 = SWIG_AsVal_int(obj1, &val2);
10834 if (!SWIG_IsOK(ecode2)) {
10835 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10836 }
10837 arg2 = static_cast< int >(val2);
10838 }
10839 if (obj2) {
10840 {
10841 arg3 = &temp3;
10842 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10843 }
10844 }
10845 if (obj3) {
10846 {
10847 arg4 = &temp4;
10848 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10849 }
10850 }
10851 if (obj4) {
10852 ecode5 = SWIG_AsVal_long(obj4, &val5);
10853 if (!SWIG_IsOK(ecode5)) {
10854 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10855 }
10856 arg5 = static_cast< long >(val5);
10857 }
10858 if (obj5) {
10859 {
10860 arg6 = wxString_in_helper(obj5);
10861 if (arg6 == NULL) SWIG_fail;
10862 temp6 = true;
10863 }
10864 }
10865 {
10866 if (!wxPyCheckForApp()) SWIG_fail;
10867 PyThreadState* __tstate = wxPyBeginAllowThreads();
10868 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10869 wxPyEndAllowThreads(__tstate);
10870 if (PyErr_Occurred()) SWIG_fail;
10871 }
10872 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_NEW | 0 );
10873 {
10874 if (temp6)
10875 delete arg6;
10876 }
10877 return resultobj;
10878 fail:
10879 {
10880 if (temp6)
10881 delete arg6;
10882 }
10883 return NULL;
10884 }
10885
10886
10887 SWIGINTERN PyObject *_wrap_new_PreSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10888 PyObject *resultobj = 0;
10889 wxSashWindow *result = 0 ;
10890
10891 if (!SWIG_Python_UnpackTuple(args,"new_PreSashWindow",0,0,0)) SWIG_fail;
10892 {
10893 if (!wxPyCheckForApp()) SWIG_fail;
10894 PyThreadState* __tstate = wxPyBeginAllowThreads();
10895 result = (wxSashWindow *)new wxSashWindow();
10896 wxPyEndAllowThreads(__tstate);
10897 if (PyErr_Occurred()) SWIG_fail;
10898 }
10899 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_OWN | 0 );
10900 return resultobj;
10901 fail:
10902 return NULL;
10903 }
10904
10905
10906 SWIGINTERN PyObject *_wrap_SashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10907 PyObject *resultobj = 0;
10908 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10909 wxWindow *arg2 = (wxWindow *) 0 ;
10910 int arg3 = (int) -1 ;
10911 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10912 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10913 wxSize const &arg5_defvalue = wxDefaultSize ;
10914 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10915 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10916 wxString const &arg7_defvalue = wxPySashNameStr ;
10917 wxString *arg7 = (wxString *) &arg7_defvalue ;
10918 bool result;
10919 void *argp1 = 0 ;
10920 int res1 = 0 ;
10921 void *argp2 = 0 ;
10922 int res2 = 0 ;
10923 int val3 ;
10924 int ecode3 = 0 ;
10925 wxPoint temp4 ;
10926 wxSize temp5 ;
10927 long val6 ;
10928 int ecode6 = 0 ;
10929 bool temp7 = false ;
10930 PyObject * obj0 = 0 ;
10931 PyObject * obj1 = 0 ;
10932 PyObject * obj2 = 0 ;
10933 PyObject * obj3 = 0 ;
10934 PyObject * obj4 = 0 ;
10935 PyObject * obj5 = 0 ;
10936 PyObject * obj6 = 0 ;
10937 char * kwnames[] = {
10938 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10939 };
10940
10941 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
10942 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10943 if (!SWIG_IsOK(res1)) {
10944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10945 }
10946 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10947 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10948 if (!SWIG_IsOK(res2)) {
10949 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10950 }
10951 arg2 = reinterpret_cast< wxWindow * >(argp2);
10952 if (obj2) {
10953 ecode3 = SWIG_AsVal_int(obj2, &val3);
10954 if (!SWIG_IsOK(ecode3)) {
10955 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10956 }
10957 arg3 = static_cast< int >(val3);
10958 }
10959 if (obj3) {
10960 {
10961 arg4 = &temp4;
10962 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10963 }
10964 }
10965 if (obj4) {
10966 {
10967 arg5 = &temp5;
10968 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10969 }
10970 }
10971 if (obj5) {
10972 ecode6 = SWIG_AsVal_long(obj5, &val6);
10973 if (!SWIG_IsOK(ecode6)) {
10974 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10975 }
10976 arg6 = static_cast< long >(val6);
10977 }
10978 if (obj6) {
10979 {
10980 arg7 = wxString_in_helper(obj6);
10981 if (arg7 == NULL) SWIG_fail;
10982 temp7 = true;
10983 }
10984 }
10985 {
10986 PyThreadState* __tstate = wxPyBeginAllowThreads();
10987 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10988 wxPyEndAllowThreads(__tstate);
10989 if (PyErr_Occurred()) SWIG_fail;
10990 }
10991 {
10992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10993 }
10994 {
10995 if (temp7)
10996 delete arg7;
10997 }
10998 return resultobj;
10999 fail:
11000 {
11001 if (temp7)
11002 delete arg7;
11003 }
11004 return NULL;
11005 }
11006
11007
11008 SWIGINTERN PyObject *_wrap_SashWindow_SetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11009 PyObject *resultobj = 0;
11010 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11011 wxSashEdgePosition arg2 ;
11012 bool arg3 ;
11013 void *argp1 = 0 ;
11014 int res1 = 0 ;
11015 int val2 ;
11016 int ecode2 = 0 ;
11017 bool val3 ;
11018 int ecode3 = 0 ;
11019 PyObject * obj0 = 0 ;
11020 PyObject * obj1 = 0 ;
11021 PyObject * obj2 = 0 ;
11022 char * kwnames[] = {
11023 (char *) "self",(char *) "edge",(char *) "sash", NULL
11024 };
11025
11026 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11027 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11028 if (!SWIG_IsOK(res1)) {
11029 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11030 }
11031 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11032 ecode2 = SWIG_AsVal_int(obj1, &val2);
11033 if (!SWIG_IsOK(ecode2)) {
11034 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11035 }
11036 arg2 = static_cast< wxSashEdgePosition >(val2);
11037 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11038 if (!SWIG_IsOK(ecode3)) {
11039 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11040 }
11041 arg3 = static_cast< bool >(val3);
11042 {
11043 PyThreadState* __tstate = wxPyBeginAllowThreads();
11044 (arg1)->SetSashVisible(arg2,arg3);
11045 wxPyEndAllowThreads(__tstate);
11046 if (PyErr_Occurred()) SWIG_fail;
11047 }
11048 resultobj = SWIG_Py_Void();
11049 return resultobj;
11050 fail:
11051 return NULL;
11052 }
11053
11054
11055 SWIGINTERN PyObject *_wrap_SashWindow_GetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11056 PyObject *resultobj = 0;
11057 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11058 wxSashEdgePosition arg2 ;
11059 bool result;
11060 void *argp1 = 0 ;
11061 int res1 = 0 ;
11062 int val2 ;
11063 int ecode2 = 0 ;
11064 PyObject * obj0 = 0 ;
11065 PyObject * obj1 = 0 ;
11066 char * kwnames[] = {
11067 (char *) "self",(char *) "edge", NULL
11068 };
11069
11070 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) SWIG_fail;
11071 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11072 if (!SWIG_IsOK(res1)) {
11073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11074 }
11075 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11076 ecode2 = SWIG_AsVal_int(obj1, &val2);
11077 if (!SWIG_IsOK(ecode2)) {
11078 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11079 }
11080 arg2 = static_cast< wxSashEdgePosition >(val2);
11081 {
11082 PyThreadState* __tstate = wxPyBeginAllowThreads();
11083 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
11084 wxPyEndAllowThreads(__tstate);
11085 if (PyErr_Occurred()) SWIG_fail;
11086 }
11087 {
11088 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11089 }
11090 return resultobj;
11091 fail:
11092 return NULL;
11093 }
11094
11095
11096 SWIGINTERN PyObject *_wrap_SashWindow_SetSashBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11097 PyObject *resultobj = 0;
11098 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11099 wxSashEdgePosition arg2 ;
11100 bool arg3 ;
11101 void *argp1 = 0 ;
11102 int res1 = 0 ;
11103 int val2 ;
11104 int ecode2 = 0 ;
11105 bool val3 ;
11106 int ecode3 = 0 ;
11107 PyObject * obj0 = 0 ;
11108 PyObject * obj1 = 0 ;
11109 PyObject * obj2 = 0 ;
11110 char * kwnames[] = {
11111 (char *) "self",(char *) "edge",(char *) "border", NULL
11112 };
11113
11114 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11115 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11116 if (!SWIG_IsOK(res1)) {
11117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11118 }
11119 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11120 ecode2 = SWIG_AsVal_int(obj1, &val2);
11121 if (!SWIG_IsOK(ecode2)) {
11122 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11123 }
11124 arg2 = static_cast< wxSashEdgePosition >(val2);
11125 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11126 if (!SWIG_IsOK(ecode3)) {
11127 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11128 }
11129 arg3 = static_cast< bool >(val3);
11130 {
11131 PyThreadState* __tstate = wxPyBeginAllowThreads();
11132 (arg1)->SetSashBorder(arg2,arg3);
11133 wxPyEndAllowThreads(__tstate);
11134 if (PyErr_Occurred()) SWIG_fail;
11135 }
11136 resultobj = SWIG_Py_Void();
11137 return resultobj;
11138 fail:
11139 return NULL;
11140 }
11141
11142
11143 SWIGINTERN PyObject *_wrap_SashWindow_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11144 PyObject *resultobj = 0;
11145 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11146 wxSashEdgePosition arg2 ;
11147 bool result;
11148 void *argp1 = 0 ;
11149 int res1 = 0 ;
11150 int val2 ;
11151 int ecode2 = 0 ;
11152 PyObject * obj0 = 0 ;
11153 PyObject * obj1 = 0 ;
11154 char * kwnames[] = {
11155 (char *) "self",(char *) "edge", NULL
11156 };
11157
11158 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) SWIG_fail;
11159 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11160 if (!SWIG_IsOK(res1)) {
11161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11162 }
11163 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11164 ecode2 = SWIG_AsVal_int(obj1, &val2);
11165 if (!SWIG_IsOK(ecode2)) {
11166 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11167 }
11168 arg2 = static_cast< wxSashEdgePosition >(val2);
11169 {
11170 PyThreadState* __tstate = wxPyBeginAllowThreads();
11171 result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2);
11172 wxPyEndAllowThreads(__tstate);
11173 if (PyErr_Occurred()) SWIG_fail;
11174 }
11175 {
11176 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11177 }
11178 return resultobj;
11179 fail:
11180 return NULL;
11181 }
11182
11183
11184 SWIGINTERN PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11185 PyObject *resultobj = 0;
11186 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11187 wxSashEdgePosition arg2 ;
11188 int result;
11189 void *argp1 = 0 ;
11190 int res1 = 0 ;
11191 int val2 ;
11192 int ecode2 = 0 ;
11193 PyObject * obj0 = 0 ;
11194 PyObject * obj1 = 0 ;
11195 char * kwnames[] = {
11196 (char *) "self",(char *) "edge", NULL
11197 };
11198
11199 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) SWIG_fail;
11200 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11201 if (!SWIG_IsOK(res1)) {
11202 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11203 }
11204 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11205 ecode2 = SWIG_AsVal_int(obj1, &val2);
11206 if (!SWIG_IsOK(ecode2)) {
11207 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11208 }
11209 arg2 = static_cast< wxSashEdgePosition >(val2);
11210 {
11211 PyThreadState* __tstate = wxPyBeginAllowThreads();
11212 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
11213 wxPyEndAllowThreads(__tstate);
11214 if (PyErr_Occurred()) SWIG_fail;
11215 }
11216 resultobj = SWIG_From_int(static_cast< int >(result));
11217 return resultobj;
11218 fail:
11219 return NULL;
11220 }
11221
11222
11223 SWIGINTERN PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11224 PyObject *resultobj = 0;
11225 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11226 int arg2 ;
11227 void *argp1 = 0 ;
11228 int res1 = 0 ;
11229 int val2 ;
11230 int ecode2 = 0 ;
11231 PyObject * obj0 = 0 ;
11232 PyObject * obj1 = 0 ;
11233 char * kwnames[] = {
11234 (char *) "self",(char *) "width", NULL
11235 };
11236
11237 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11238 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11239 if (!SWIG_IsOK(res1)) {
11240 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11241 }
11242 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11243 ecode2 = SWIG_AsVal_int(obj1, &val2);
11244 if (!SWIG_IsOK(ecode2)) {
11245 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11246 }
11247 arg2 = static_cast< int >(val2);
11248 {
11249 PyThreadState* __tstate = wxPyBeginAllowThreads();
11250 (arg1)->SetDefaultBorderSize(arg2);
11251 wxPyEndAllowThreads(__tstate);
11252 if (PyErr_Occurred()) SWIG_fail;
11253 }
11254 resultobj = SWIG_Py_Void();
11255 return resultobj;
11256 fail:
11257 return NULL;
11258 }
11259
11260
11261 SWIGINTERN PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11262 PyObject *resultobj = 0;
11263 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11264 int result;
11265 void *argp1 = 0 ;
11266 int res1 = 0 ;
11267 PyObject *swig_obj[1] ;
11268
11269 if (!args) SWIG_fail;
11270 swig_obj[0] = args;
11271 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11272 if (!SWIG_IsOK(res1)) {
11273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11274 }
11275 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11276 {
11277 PyThreadState* __tstate = wxPyBeginAllowThreads();
11278 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
11279 wxPyEndAllowThreads(__tstate);
11280 if (PyErr_Occurred()) SWIG_fail;
11281 }
11282 resultobj = SWIG_From_int(static_cast< int >(result));
11283 return resultobj;
11284 fail:
11285 return NULL;
11286 }
11287
11288
11289 SWIGINTERN PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11290 PyObject *resultobj = 0;
11291 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11292 int arg2 ;
11293 void *argp1 = 0 ;
11294 int res1 = 0 ;
11295 int val2 ;
11296 int ecode2 = 0 ;
11297 PyObject * obj0 = 0 ;
11298 PyObject * obj1 = 0 ;
11299 char * kwnames[] = {
11300 (char *) "self",(char *) "width", NULL
11301 };
11302
11303 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11304 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11305 if (!SWIG_IsOK(res1)) {
11306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11307 }
11308 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11309 ecode2 = SWIG_AsVal_int(obj1, &val2);
11310 if (!SWIG_IsOK(ecode2)) {
11311 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11312 }
11313 arg2 = static_cast< int >(val2);
11314 {
11315 PyThreadState* __tstate = wxPyBeginAllowThreads();
11316 (arg1)->SetExtraBorderSize(arg2);
11317 wxPyEndAllowThreads(__tstate);
11318 if (PyErr_Occurred()) SWIG_fail;
11319 }
11320 resultobj = SWIG_Py_Void();
11321 return resultobj;
11322 fail:
11323 return NULL;
11324 }
11325
11326
11327 SWIGINTERN PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11328 PyObject *resultobj = 0;
11329 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11330 int result;
11331 void *argp1 = 0 ;
11332 int res1 = 0 ;
11333 PyObject *swig_obj[1] ;
11334
11335 if (!args) SWIG_fail;
11336 swig_obj[0] = args;
11337 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11338 if (!SWIG_IsOK(res1)) {
11339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11340 }
11341 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11342 {
11343 PyThreadState* __tstate = wxPyBeginAllowThreads();
11344 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
11345 wxPyEndAllowThreads(__tstate);
11346 if (PyErr_Occurred()) SWIG_fail;
11347 }
11348 resultobj = SWIG_From_int(static_cast< int >(result));
11349 return resultobj;
11350 fail:
11351 return NULL;
11352 }
11353
11354
11355 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11356 PyObject *resultobj = 0;
11357 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11358 int arg2 ;
11359 void *argp1 = 0 ;
11360 int res1 = 0 ;
11361 int val2 ;
11362 int ecode2 = 0 ;
11363 PyObject * obj0 = 0 ;
11364 PyObject * obj1 = 0 ;
11365 char * kwnames[] = {
11366 (char *) "self",(char *) "min", NULL
11367 };
11368
11369 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11370 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11371 if (!SWIG_IsOK(res1)) {
11372 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11373 }
11374 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11375 ecode2 = SWIG_AsVal_int(obj1, &val2);
11376 if (!SWIG_IsOK(ecode2)) {
11377 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11378 }
11379 arg2 = static_cast< int >(val2);
11380 {
11381 PyThreadState* __tstate = wxPyBeginAllowThreads();
11382 (arg1)->SetMinimumSizeX(arg2);
11383 wxPyEndAllowThreads(__tstate);
11384 if (PyErr_Occurred()) SWIG_fail;
11385 }
11386 resultobj = SWIG_Py_Void();
11387 return resultobj;
11388 fail:
11389 return NULL;
11390 }
11391
11392
11393 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11394 PyObject *resultobj = 0;
11395 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11396 int arg2 ;
11397 void *argp1 = 0 ;
11398 int res1 = 0 ;
11399 int val2 ;
11400 int ecode2 = 0 ;
11401 PyObject * obj0 = 0 ;
11402 PyObject * obj1 = 0 ;
11403 char * kwnames[] = {
11404 (char *) "self",(char *) "min", NULL
11405 };
11406
11407 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11408 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11409 if (!SWIG_IsOK(res1)) {
11410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11411 }
11412 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11413 ecode2 = SWIG_AsVal_int(obj1, &val2);
11414 if (!SWIG_IsOK(ecode2)) {
11415 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11416 }
11417 arg2 = static_cast< int >(val2);
11418 {
11419 PyThreadState* __tstate = wxPyBeginAllowThreads();
11420 (arg1)->SetMinimumSizeY(arg2);
11421 wxPyEndAllowThreads(__tstate);
11422 if (PyErr_Occurred()) SWIG_fail;
11423 }
11424 resultobj = SWIG_Py_Void();
11425 return resultobj;
11426 fail:
11427 return NULL;
11428 }
11429
11430
11431 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11432 PyObject *resultobj = 0;
11433 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11434 int result;
11435 void *argp1 = 0 ;
11436 int res1 = 0 ;
11437 PyObject *swig_obj[1] ;
11438
11439 if (!args) SWIG_fail;
11440 swig_obj[0] = args;
11441 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11442 if (!SWIG_IsOK(res1)) {
11443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11444 }
11445 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11446 {
11447 PyThreadState* __tstate = wxPyBeginAllowThreads();
11448 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
11449 wxPyEndAllowThreads(__tstate);
11450 if (PyErr_Occurred()) SWIG_fail;
11451 }
11452 resultobj = SWIG_From_int(static_cast< int >(result));
11453 return resultobj;
11454 fail:
11455 return NULL;
11456 }
11457
11458
11459 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11460 PyObject *resultobj = 0;
11461 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11462 int result;
11463 void *argp1 = 0 ;
11464 int res1 = 0 ;
11465 PyObject *swig_obj[1] ;
11466
11467 if (!args) SWIG_fail;
11468 swig_obj[0] = args;
11469 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11470 if (!SWIG_IsOK(res1)) {
11471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11472 }
11473 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11474 {
11475 PyThreadState* __tstate = wxPyBeginAllowThreads();
11476 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
11477 wxPyEndAllowThreads(__tstate);
11478 if (PyErr_Occurred()) SWIG_fail;
11479 }
11480 resultobj = SWIG_From_int(static_cast< int >(result));
11481 return resultobj;
11482 fail:
11483 return NULL;
11484 }
11485
11486
11487 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11488 PyObject *resultobj = 0;
11489 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11490 int arg2 ;
11491 void *argp1 = 0 ;
11492 int res1 = 0 ;
11493 int val2 ;
11494 int ecode2 = 0 ;
11495 PyObject * obj0 = 0 ;
11496 PyObject * obj1 = 0 ;
11497 char * kwnames[] = {
11498 (char *) "self",(char *) "max", NULL
11499 };
11500
11501 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11502 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11503 if (!SWIG_IsOK(res1)) {
11504 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11505 }
11506 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11507 ecode2 = SWIG_AsVal_int(obj1, &val2);
11508 if (!SWIG_IsOK(ecode2)) {
11509 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11510 }
11511 arg2 = static_cast< int >(val2);
11512 {
11513 PyThreadState* __tstate = wxPyBeginAllowThreads();
11514 (arg1)->SetMaximumSizeX(arg2);
11515 wxPyEndAllowThreads(__tstate);
11516 if (PyErr_Occurred()) SWIG_fail;
11517 }
11518 resultobj = SWIG_Py_Void();
11519 return resultobj;
11520 fail:
11521 return NULL;
11522 }
11523
11524
11525 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11526 PyObject *resultobj = 0;
11527 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11528 int arg2 ;
11529 void *argp1 = 0 ;
11530 int res1 = 0 ;
11531 int val2 ;
11532 int ecode2 = 0 ;
11533 PyObject * obj0 = 0 ;
11534 PyObject * obj1 = 0 ;
11535 char * kwnames[] = {
11536 (char *) "self",(char *) "max", NULL
11537 };
11538
11539 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11540 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11541 if (!SWIG_IsOK(res1)) {
11542 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11543 }
11544 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11545 ecode2 = SWIG_AsVal_int(obj1, &val2);
11546 if (!SWIG_IsOK(ecode2)) {
11547 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11548 }
11549 arg2 = static_cast< int >(val2);
11550 {
11551 PyThreadState* __tstate = wxPyBeginAllowThreads();
11552 (arg1)->SetMaximumSizeY(arg2);
11553 wxPyEndAllowThreads(__tstate);
11554 if (PyErr_Occurred()) SWIG_fail;
11555 }
11556 resultobj = SWIG_Py_Void();
11557 return resultobj;
11558 fail:
11559 return NULL;
11560 }
11561
11562
11563 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11564 PyObject *resultobj = 0;
11565 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11566 int result;
11567 void *argp1 = 0 ;
11568 int res1 = 0 ;
11569 PyObject *swig_obj[1] ;
11570
11571 if (!args) SWIG_fail;
11572 swig_obj[0] = args;
11573 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11574 if (!SWIG_IsOK(res1)) {
11575 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11576 }
11577 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11578 {
11579 PyThreadState* __tstate = wxPyBeginAllowThreads();
11580 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
11581 wxPyEndAllowThreads(__tstate);
11582 if (PyErr_Occurred()) SWIG_fail;
11583 }
11584 resultobj = SWIG_From_int(static_cast< int >(result));
11585 return resultobj;
11586 fail:
11587 return NULL;
11588 }
11589
11590
11591 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11592 PyObject *resultobj = 0;
11593 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11594 int result;
11595 void *argp1 = 0 ;
11596 int res1 = 0 ;
11597 PyObject *swig_obj[1] ;
11598
11599 if (!args) SWIG_fail;
11600 swig_obj[0] = args;
11601 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11602 if (!SWIG_IsOK(res1)) {
11603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11604 }
11605 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11606 {
11607 PyThreadState* __tstate = wxPyBeginAllowThreads();
11608 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
11609 wxPyEndAllowThreads(__tstate);
11610 if (PyErr_Occurred()) SWIG_fail;
11611 }
11612 resultobj = SWIG_From_int(static_cast< int >(result));
11613 return resultobj;
11614 fail:
11615 return NULL;
11616 }
11617
11618
11619 SWIGINTERN PyObject *_wrap_SashWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11620 PyObject *resultobj = 0;
11621 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11622 int arg2 ;
11623 int arg3 ;
11624 int arg4 = (int) 2 ;
11625 wxSashEdgePosition result;
11626 void *argp1 = 0 ;
11627 int res1 = 0 ;
11628 int val2 ;
11629 int ecode2 = 0 ;
11630 int val3 ;
11631 int ecode3 = 0 ;
11632 int val4 ;
11633 int ecode4 = 0 ;
11634 PyObject * obj0 = 0 ;
11635 PyObject * obj1 = 0 ;
11636 PyObject * obj2 = 0 ;
11637 PyObject * obj3 = 0 ;
11638 char * kwnames[] = {
11639 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11640 };
11641
11642 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11643 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11644 if (!SWIG_IsOK(res1)) {
11645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11646 }
11647 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11648 ecode2 = SWIG_AsVal_int(obj1, &val2);
11649 if (!SWIG_IsOK(ecode2)) {
11650 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11651 }
11652 arg2 = static_cast< int >(val2);
11653 ecode3 = SWIG_AsVal_int(obj2, &val3);
11654 if (!SWIG_IsOK(ecode3)) {
11655 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11656 }
11657 arg3 = static_cast< int >(val3);
11658 if (obj3) {
11659 ecode4 = SWIG_AsVal_int(obj3, &val4);
11660 if (!SWIG_IsOK(ecode4)) {
11661 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11662 }
11663 arg4 = static_cast< int >(val4);
11664 }
11665 {
11666 PyThreadState* __tstate = wxPyBeginAllowThreads();
11667 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
11668 wxPyEndAllowThreads(__tstate);
11669 if (PyErr_Occurred()) SWIG_fail;
11670 }
11671 resultobj = SWIG_From_int(static_cast< int >(result));
11672 return resultobj;
11673 fail:
11674 return NULL;
11675 }
11676
11677
11678 SWIGINTERN PyObject *_wrap_SashWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11679 PyObject *resultobj = 0;
11680 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11681 void *argp1 = 0 ;
11682 int res1 = 0 ;
11683 PyObject *swig_obj[1] ;
11684
11685 if (!args) SWIG_fail;
11686 swig_obj[0] = args;
11687 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11688 if (!SWIG_IsOK(res1)) {
11689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11690 }
11691 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11692 {
11693 PyThreadState* __tstate = wxPyBeginAllowThreads();
11694 (arg1)->SizeWindows();
11695 wxPyEndAllowThreads(__tstate);
11696 if (PyErr_Occurred()) SWIG_fail;
11697 }
11698 resultobj = SWIG_Py_Void();
11699 return resultobj;
11700 fail:
11701 return NULL;
11702 }
11703
11704
11705 SWIGINTERN PyObject *SashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11706 PyObject *obj;
11707 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11708 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow, SWIG_NewClientData(obj));
11709 return SWIG_Py_Void();
11710 }
11711
11712 SWIGINTERN PyObject *SashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11713 return SWIG_Python_InitShadowInstance(args);
11714 }
11715
11716 SWIGINTERN PyObject *_wrap_new_SashEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11717 PyObject *resultobj = 0;
11718 int arg1 = (int) 0 ;
11719 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
11720 wxSashEvent *result = 0 ;
11721 int val1 ;
11722 int ecode1 = 0 ;
11723 int val2 ;
11724 int ecode2 = 0 ;
11725 PyObject * obj0 = 0 ;
11726 PyObject * obj1 = 0 ;
11727 char * kwnames[] = {
11728 (char *) "id",(char *) "edge", NULL
11729 };
11730
11731 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11732 if (obj0) {
11733 ecode1 = SWIG_AsVal_int(obj0, &val1);
11734 if (!SWIG_IsOK(ecode1)) {
11735 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11736 }
11737 arg1 = static_cast< int >(val1);
11738 }
11739 if (obj1) {
11740 ecode2 = SWIG_AsVal_int(obj1, &val2);
11741 if (!SWIG_IsOK(ecode2)) {
11742 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11743 }
11744 arg2 = static_cast< wxSashEdgePosition >(val2);
11745 }
11746 {
11747 PyThreadState* __tstate = wxPyBeginAllowThreads();
11748 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
11749 wxPyEndAllowThreads(__tstate);
11750 if (PyErr_Occurred()) SWIG_fail;
11751 }
11752 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashEvent, SWIG_POINTER_NEW | 0 );
11753 return resultobj;
11754 fail:
11755 return NULL;
11756 }
11757
11758
11759 SWIGINTERN PyObject *_wrap_SashEvent_SetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11760 PyObject *resultobj = 0;
11761 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11762 wxSashEdgePosition arg2 ;
11763 void *argp1 = 0 ;
11764 int res1 = 0 ;
11765 int val2 ;
11766 int ecode2 = 0 ;
11767 PyObject * obj0 = 0 ;
11768 PyObject * obj1 = 0 ;
11769 char * kwnames[] = {
11770 (char *) "self",(char *) "edge", NULL
11771 };
11772
11773 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) SWIG_fail;
11774 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11775 if (!SWIG_IsOK(res1)) {
11776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11777 }
11778 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11779 ecode2 = SWIG_AsVal_int(obj1, &val2);
11780 if (!SWIG_IsOK(ecode2)) {
11781 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11782 }
11783 arg2 = static_cast< wxSashEdgePosition >(val2);
11784 {
11785 PyThreadState* __tstate = wxPyBeginAllowThreads();
11786 (arg1)->SetEdge(arg2);
11787 wxPyEndAllowThreads(__tstate);
11788 if (PyErr_Occurred()) SWIG_fail;
11789 }
11790 resultobj = SWIG_Py_Void();
11791 return resultobj;
11792 fail:
11793 return NULL;
11794 }
11795
11796
11797 SWIGINTERN PyObject *_wrap_SashEvent_GetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11798 PyObject *resultobj = 0;
11799 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11800 wxSashEdgePosition result;
11801 void *argp1 = 0 ;
11802 int res1 = 0 ;
11803 PyObject *swig_obj[1] ;
11804
11805 if (!args) SWIG_fail;
11806 swig_obj[0] = args;
11807 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11808 if (!SWIG_IsOK(res1)) {
11809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11810 }
11811 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11812 {
11813 PyThreadState* __tstate = wxPyBeginAllowThreads();
11814 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
11815 wxPyEndAllowThreads(__tstate);
11816 if (PyErr_Occurred()) SWIG_fail;
11817 }
11818 resultobj = SWIG_From_int(static_cast< int >(result));
11819 return resultobj;
11820 fail:
11821 return NULL;
11822 }
11823
11824
11825 SWIGINTERN PyObject *_wrap_SashEvent_SetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11826 PyObject *resultobj = 0;
11827 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11828 wxRect *arg2 = 0 ;
11829 void *argp1 = 0 ;
11830 int res1 = 0 ;
11831 wxRect temp2 ;
11832 PyObject * obj0 = 0 ;
11833 PyObject * obj1 = 0 ;
11834 char * kwnames[] = {
11835 (char *) "self",(char *) "rect", NULL
11836 };
11837
11838 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) SWIG_fail;
11839 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11840 if (!SWIG_IsOK(res1)) {
11841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11842 }
11843 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11844 {
11845 arg2 = &temp2;
11846 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11847 }
11848 {
11849 PyThreadState* __tstate = wxPyBeginAllowThreads();
11850 (arg1)->SetDragRect((wxRect const &)*arg2);
11851 wxPyEndAllowThreads(__tstate);
11852 if (PyErr_Occurred()) SWIG_fail;
11853 }
11854 resultobj = SWIG_Py_Void();
11855 return resultobj;
11856 fail:
11857 return NULL;
11858 }
11859
11860
11861 SWIGINTERN PyObject *_wrap_SashEvent_GetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11862 PyObject *resultobj = 0;
11863 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11864 wxRect result;
11865 void *argp1 = 0 ;
11866 int res1 = 0 ;
11867 PyObject *swig_obj[1] ;
11868
11869 if (!args) SWIG_fail;
11870 swig_obj[0] = args;
11871 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11872 if (!SWIG_IsOK(res1)) {
11873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11874 }
11875 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11876 {
11877 PyThreadState* __tstate = wxPyBeginAllowThreads();
11878 result = ((wxSashEvent const *)arg1)->GetDragRect();
11879 wxPyEndAllowThreads(__tstate);
11880 if (PyErr_Occurred()) SWIG_fail;
11881 }
11882 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
11883 return resultobj;
11884 fail:
11885 return NULL;
11886 }
11887
11888
11889 SWIGINTERN PyObject *_wrap_SashEvent_SetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11890 PyObject *resultobj = 0;
11891 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11892 wxSashDragStatus arg2 ;
11893 void *argp1 = 0 ;
11894 int res1 = 0 ;
11895 int val2 ;
11896 int ecode2 = 0 ;
11897 PyObject * obj0 = 0 ;
11898 PyObject * obj1 = 0 ;
11899 char * kwnames[] = {
11900 (char *) "self",(char *) "status", NULL
11901 };
11902
11903 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) SWIG_fail;
11904 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11905 if (!SWIG_IsOK(res1)) {
11906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11907 }
11908 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11909 ecode2 = SWIG_AsVal_int(obj1, &val2);
11910 if (!SWIG_IsOK(ecode2)) {
11911 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11912 }
11913 arg2 = static_cast< wxSashDragStatus >(val2);
11914 {
11915 PyThreadState* __tstate = wxPyBeginAllowThreads();
11916 (arg1)->SetDragStatus(arg2);
11917 wxPyEndAllowThreads(__tstate);
11918 if (PyErr_Occurred()) SWIG_fail;
11919 }
11920 resultobj = SWIG_Py_Void();
11921 return resultobj;
11922 fail:
11923 return NULL;
11924 }
11925
11926
11927 SWIGINTERN PyObject *_wrap_SashEvent_GetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11928 PyObject *resultobj = 0;
11929 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11930 wxSashDragStatus result;
11931 void *argp1 = 0 ;
11932 int res1 = 0 ;
11933 PyObject *swig_obj[1] ;
11934
11935 if (!args) SWIG_fail;
11936 swig_obj[0] = args;
11937 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11938 if (!SWIG_IsOK(res1)) {
11939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11940 }
11941 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11942 {
11943 PyThreadState* __tstate = wxPyBeginAllowThreads();
11944 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
11945 wxPyEndAllowThreads(__tstate);
11946 if (PyErr_Occurred()) SWIG_fail;
11947 }
11948 resultobj = SWIG_From_int(static_cast< int >(result));
11949 return resultobj;
11950 fail:
11951 return NULL;
11952 }
11953
11954
11955 SWIGINTERN PyObject *SashEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11956 PyObject *obj;
11957 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11958 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent, SWIG_NewClientData(obj));
11959 return SWIG_Py_Void();
11960 }
11961
11962 SWIGINTERN PyObject *SashEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11963 return SWIG_Python_InitShadowInstance(args);
11964 }
11965
11966 SWIGINTERN PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11967 PyObject *resultobj = 0;
11968 int arg1 = (int) 0 ;
11969 wxQueryLayoutInfoEvent *result = 0 ;
11970 int val1 ;
11971 int ecode1 = 0 ;
11972 PyObject * obj0 = 0 ;
11973 char * kwnames[] = {
11974 (char *) "id", NULL
11975 };
11976
11977 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) SWIG_fail;
11978 if (obj0) {
11979 ecode1 = SWIG_AsVal_int(obj0, &val1);
11980 if (!SWIG_IsOK(ecode1)) {
11981 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11982 }
11983 arg1 = static_cast< int >(val1);
11984 }
11985 {
11986 PyThreadState* __tstate = wxPyBeginAllowThreads();
11987 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
11988 wxPyEndAllowThreads(__tstate);
11989 if (PyErr_Occurred()) SWIG_fail;
11990 }
11991 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_NEW | 0 );
11992 return resultobj;
11993 fail:
11994 return NULL;
11995 }
11996
11997
11998 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11999 PyObject *resultobj = 0;
12000 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12001 int arg2 ;
12002 void *argp1 = 0 ;
12003 int res1 = 0 ;
12004 int val2 ;
12005 int ecode2 = 0 ;
12006 PyObject * obj0 = 0 ;
12007 PyObject * obj1 = 0 ;
12008 char * kwnames[] = {
12009 (char *) "self",(char *) "length", NULL
12010 };
12011
12012 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) SWIG_fail;
12013 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12014 if (!SWIG_IsOK(res1)) {
12015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12016 }
12017 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12018 ecode2 = SWIG_AsVal_int(obj1, &val2);
12019 if (!SWIG_IsOK(ecode2)) {
12020 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12021 }
12022 arg2 = static_cast< int >(val2);
12023 {
12024 PyThreadState* __tstate = wxPyBeginAllowThreads();
12025 (arg1)->SetRequestedLength(arg2);
12026 wxPyEndAllowThreads(__tstate);
12027 if (PyErr_Occurred()) SWIG_fail;
12028 }
12029 resultobj = SWIG_Py_Void();
12030 return resultobj;
12031 fail:
12032 return NULL;
12033 }
12034
12035
12036 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12037 PyObject *resultobj = 0;
12038 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12039 int result;
12040 void *argp1 = 0 ;
12041 int res1 = 0 ;
12042 PyObject *swig_obj[1] ;
12043
12044 if (!args) SWIG_fail;
12045 swig_obj[0] = args;
12046 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12047 if (!SWIG_IsOK(res1)) {
12048 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12049 }
12050 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12051 {
12052 PyThreadState* __tstate = wxPyBeginAllowThreads();
12053 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
12054 wxPyEndAllowThreads(__tstate);
12055 if (PyErr_Occurred()) SWIG_fail;
12056 }
12057 resultobj = SWIG_From_int(static_cast< int >(result));
12058 return resultobj;
12059 fail:
12060 return NULL;
12061 }
12062
12063
12064 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12065 PyObject *resultobj = 0;
12066 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12067 int arg2 ;
12068 void *argp1 = 0 ;
12069 int res1 = 0 ;
12070 int val2 ;
12071 int ecode2 = 0 ;
12072 PyObject * obj0 = 0 ;
12073 PyObject * obj1 = 0 ;
12074 char * kwnames[] = {
12075 (char *) "self",(char *) "flags", NULL
12076 };
12077
12078 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12079 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12080 if (!SWIG_IsOK(res1)) {
12081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12082 }
12083 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12084 ecode2 = SWIG_AsVal_int(obj1, &val2);
12085 if (!SWIG_IsOK(ecode2)) {
12086 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12087 }
12088 arg2 = static_cast< int >(val2);
12089 {
12090 PyThreadState* __tstate = wxPyBeginAllowThreads();
12091 (arg1)->SetFlags(arg2);
12092 wxPyEndAllowThreads(__tstate);
12093 if (PyErr_Occurred()) SWIG_fail;
12094 }
12095 resultobj = SWIG_Py_Void();
12096 return resultobj;
12097 fail:
12098 return NULL;
12099 }
12100
12101
12102 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12103 PyObject *resultobj = 0;
12104 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12105 int result;
12106 void *argp1 = 0 ;
12107 int res1 = 0 ;
12108 PyObject *swig_obj[1] ;
12109
12110 if (!args) SWIG_fail;
12111 swig_obj[0] = args;
12112 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12113 if (!SWIG_IsOK(res1)) {
12114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12115 }
12116 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12117 {
12118 PyThreadState* __tstate = wxPyBeginAllowThreads();
12119 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
12120 wxPyEndAllowThreads(__tstate);
12121 if (PyErr_Occurred()) SWIG_fail;
12122 }
12123 resultobj = SWIG_From_int(static_cast< int >(result));
12124 return resultobj;
12125 fail:
12126 return NULL;
12127 }
12128
12129
12130 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12131 PyObject *resultobj = 0;
12132 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12133 wxSize *arg2 = 0 ;
12134 void *argp1 = 0 ;
12135 int res1 = 0 ;
12136 wxSize temp2 ;
12137 PyObject * obj0 = 0 ;
12138 PyObject * obj1 = 0 ;
12139 char * kwnames[] = {
12140 (char *) "self",(char *) "size", NULL
12141 };
12142
12143 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
12144 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12145 if (!SWIG_IsOK(res1)) {
12146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12147 }
12148 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12149 {
12150 arg2 = &temp2;
12151 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12152 }
12153 {
12154 PyThreadState* __tstate = wxPyBeginAllowThreads();
12155 (arg1)->SetSize((wxSize const &)*arg2);
12156 wxPyEndAllowThreads(__tstate);
12157 if (PyErr_Occurred()) SWIG_fail;
12158 }
12159 resultobj = SWIG_Py_Void();
12160 return resultobj;
12161 fail:
12162 return NULL;
12163 }
12164
12165
12166 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12167 PyObject *resultobj = 0;
12168 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12169 wxSize result;
12170 void *argp1 = 0 ;
12171 int res1 = 0 ;
12172 PyObject *swig_obj[1] ;
12173
12174 if (!args) SWIG_fail;
12175 swig_obj[0] = args;
12176 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12177 if (!SWIG_IsOK(res1)) {
12178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12179 }
12180 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12181 {
12182 PyThreadState* __tstate = wxPyBeginAllowThreads();
12183 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
12184 wxPyEndAllowThreads(__tstate);
12185 if (PyErr_Occurred()) SWIG_fail;
12186 }
12187 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
12188 return resultobj;
12189 fail:
12190 return NULL;
12191 }
12192
12193
12194 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12195 PyObject *resultobj = 0;
12196 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12197 wxLayoutOrientation arg2 ;
12198 void *argp1 = 0 ;
12199 int res1 = 0 ;
12200 int val2 ;
12201 int ecode2 = 0 ;
12202 PyObject * obj0 = 0 ;
12203 PyObject * obj1 = 0 ;
12204 char * kwnames[] = {
12205 (char *) "self",(char *) "orient", NULL
12206 };
12207
12208 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12209 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12210 if (!SWIG_IsOK(res1)) {
12211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12212 }
12213 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12214 ecode2 = SWIG_AsVal_int(obj1, &val2);
12215 if (!SWIG_IsOK(ecode2)) {
12216 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12217 }
12218 arg2 = static_cast< wxLayoutOrientation >(val2);
12219 {
12220 PyThreadState* __tstate = wxPyBeginAllowThreads();
12221 (arg1)->SetOrientation(arg2);
12222 wxPyEndAllowThreads(__tstate);
12223 if (PyErr_Occurred()) SWIG_fail;
12224 }
12225 resultobj = SWIG_Py_Void();
12226 return resultobj;
12227 fail:
12228 return NULL;
12229 }
12230
12231
12232 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12233 PyObject *resultobj = 0;
12234 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12235 wxLayoutOrientation result;
12236 void *argp1 = 0 ;
12237 int res1 = 0 ;
12238 PyObject *swig_obj[1] ;
12239
12240 if (!args) SWIG_fail;
12241 swig_obj[0] = args;
12242 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12243 if (!SWIG_IsOK(res1)) {
12244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12245 }
12246 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12247 {
12248 PyThreadState* __tstate = wxPyBeginAllowThreads();
12249 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
12250 wxPyEndAllowThreads(__tstate);
12251 if (PyErr_Occurred()) SWIG_fail;
12252 }
12253 resultobj = SWIG_From_int(static_cast< int >(result));
12254 return resultobj;
12255 fail:
12256 return NULL;
12257 }
12258
12259
12260 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12261 PyObject *resultobj = 0;
12262 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12263 wxLayoutAlignment arg2 ;
12264 void *argp1 = 0 ;
12265 int res1 = 0 ;
12266 int val2 ;
12267 int ecode2 = 0 ;
12268 PyObject * obj0 = 0 ;
12269 PyObject * obj1 = 0 ;
12270 char * kwnames[] = {
12271 (char *) "self",(char *) "align", NULL
12272 };
12273
12274 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12275 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12276 if (!SWIG_IsOK(res1)) {
12277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12278 }
12279 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12280 ecode2 = SWIG_AsVal_int(obj1, &val2);
12281 if (!SWIG_IsOK(ecode2)) {
12282 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12283 }
12284 arg2 = static_cast< wxLayoutAlignment >(val2);
12285 {
12286 PyThreadState* __tstate = wxPyBeginAllowThreads();
12287 (arg1)->SetAlignment(arg2);
12288 wxPyEndAllowThreads(__tstate);
12289 if (PyErr_Occurred()) SWIG_fail;
12290 }
12291 resultobj = SWIG_Py_Void();
12292 return resultobj;
12293 fail:
12294 return NULL;
12295 }
12296
12297
12298 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12299 PyObject *resultobj = 0;
12300 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12301 wxLayoutAlignment result;
12302 void *argp1 = 0 ;
12303 int res1 = 0 ;
12304 PyObject *swig_obj[1] ;
12305
12306 if (!args) SWIG_fail;
12307 swig_obj[0] = args;
12308 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12309 if (!SWIG_IsOK(res1)) {
12310 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12311 }
12312 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12313 {
12314 PyThreadState* __tstate = wxPyBeginAllowThreads();
12315 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
12316 wxPyEndAllowThreads(__tstate);
12317 if (PyErr_Occurred()) SWIG_fail;
12318 }
12319 resultobj = SWIG_From_int(static_cast< int >(result));
12320 return resultobj;
12321 fail:
12322 return NULL;
12323 }
12324
12325
12326 SWIGINTERN PyObject *QueryLayoutInfoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12327 PyObject *obj;
12328 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12329 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_NewClientData(obj));
12330 return SWIG_Py_Void();
12331 }
12332
12333 SWIGINTERN PyObject *QueryLayoutInfoEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12334 return SWIG_Python_InitShadowInstance(args);
12335 }
12336
12337 SWIGINTERN PyObject *_wrap_new_CalculateLayoutEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12338 PyObject *resultobj = 0;
12339 int arg1 = (int) 0 ;
12340 wxCalculateLayoutEvent *result = 0 ;
12341 int val1 ;
12342 int ecode1 = 0 ;
12343 PyObject * obj0 = 0 ;
12344 char * kwnames[] = {
12345 (char *) "id", NULL
12346 };
12347
12348 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) SWIG_fail;
12349 if (obj0) {
12350 ecode1 = SWIG_AsVal_int(obj0, &val1);
12351 if (!SWIG_IsOK(ecode1)) {
12352 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12353 }
12354 arg1 = static_cast< int >(val1);
12355 }
12356 {
12357 PyThreadState* __tstate = wxPyBeginAllowThreads();
12358 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
12359 wxPyEndAllowThreads(__tstate);
12360 if (PyErr_Occurred()) SWIG_fail;
12361 }
12362 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_NEW | 0 );
12363 return resultobj;
12364 fail:
12365 return NULL;
12366 }
12367
12368
12369 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12370 PyObject *resultobj = 0;
12371 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12372 int arg2 ;
12373 void *argp1 = 0 ;
12374 int res1 = 0 ;
12375 int val2 ;
12376 int ecode2 = 0 ;
12377 PyObject * obj0 = 0 ;
12378 PyObject * obj1 = 0 ;
12379 char * kwnames[] = {
12380 (char *) "self",(char *) "flags", NULL
12381 };
12382
12383 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12384 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12385 if (!SWIG_IsOK(res1)) {
12386 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12387 }
12388 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12389 ecode2 = SWIG_AsVal_int(obj1, &val2);
12390 if (!SWIG_IsOK(ecode2)) {
12391 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12392 }
12393 arg2 = static_cast< int >(val2);
12394 {
12395 PyThreadState* __tstate = wxPyBeginAllowThreads();
12396 (arg1)->SetFlags(arg2);
12397 wxPyEndAllowThreads(__tstate);
12398 if (PyErr_Occurred()) SWIG_fail;
12399 }
12400 resultobj = SWIG_Py_Void();
12401 return resultobj;
12402 fail:
12403 return NULL;
12404 }
12405
12406
12407 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12408 PyObject *resultobj = 0;
12409 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12410 int result;
12411 void *argp1 = 0 ;
12412 int res1 = 0 ;
12413 PyObject *swig_obj[1] ;
12414
12415 if (!args) SWIG_fail;
12416 swig_obj[0] = args;
12417 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12418 if (!SWIG_IsOK(res1)) {
12419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12420 }
12421 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12422 {
12423 PyThreadState* __tstate = wxPyBeginAllowThreads();
12424 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
12425 wxPyEndAllowThreads(__tstate);
12426 if (PyErr_Occurred()) SWIG_fail;
12427 }
12428 resultobj = SWIG_From_int(static_cast< int >(result));
12429 return resultobj;
12430 fail:
12431 return NULL;
12432 }
12433
12434
12435 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12436 PyObject *resultobj = 0;
12437 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12438 wxRect *arg2 = 0 ;
12439 void *argp1 = 0 ;
12440 int res1 = 0 ;
12441 wxRect temp2 ;
12442 PyObject * obj0 = 0 ;
12443 PyObject * obj1 = 0 ;
12444 char * kwnames[] = {
12445 (char *) "self",(char *) "rect", NULL
12446 };
12447
12448 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12449 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12450 if (!SWIG_IsOK(res1)) {
12451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12452 }
12453 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12454 {
12455 arg2 = &temp2;
12456 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12457 }
12458 {
12459 PyThreadState* __tstate = wxPyBeginAllowThreads();
12460 (arg1)->SetRect((wxRect const &)*arg2);
12461 wxPyEndAllowThreads(__tstate);
12462 if (PyErr_Occurred()) SWIG_fail;
12463 }
12464 resultobj = SWIG_Py_Void();
12465 return resultobj;
12466 fail:
12467 return NULL;
12468 }
12469
12470
12471 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12472 PyObject *resultobj = 0;
12473 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12474 wxRect result;
12475 void *argp1 = 0 ;
12476 int res1 = 0 ;
12477 PyObject *swig_obj[1] ;
12478
12479 if (!args) SWIG_fail;
12480 swig_obj[0] = args;
12481 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12482 if (!SWIG_IsOK(res1)) {
12483 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12484 }
12485 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12486 {
12487 PyThreadState* __tstate = wxPyBeginAllowThreads();
12488 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
12489 wxPyEndAllowThreads(__tstate);
12490 if (PyErr_Occurred()) SWIG_fail;
12491 }
12492 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12493 return resultobj;
12494 fail:
12495 return NULL;
12496 }
12497
12498
12499 SWIGINTERN PyObject *CalculateLayoutEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12500 PyObject *obj;
12501 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12502 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_NewClientData(obj));
12503 return SWIG_Py_Void();
12504 }
12505
12506 SWIGINTERN PyObject *CalculateLayoutEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12507 return SWIG_Python_InitShadowInstance(args);
12508 }
12509
12510 SWIGINTERN PyObject *_wrap_new_SashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12511 PyObject *resultobj = 0;
12512 wxWindow *arg1 = (wxWindow *) 0 ;
12513 int arg2 = (int) -1 ;
12514 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12515 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12516 wxSize const &arg4_defvalue = wxDefaultSize ;
12517 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12518 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12519 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
12520 wxString *arg6 = (wxString *) &arg6_defvalue ;
12521 wxSashLayoutWindow *result = 0 ;
12522 void *argp1 = 0 ;
12523 int res1 = 0 ;
12524 int val2 ;
12525 int ecode2 = 0 ;
12526 wxPoint temp3 ;
12527 wxSize temp4 ;
12528 long val5 ;
12529 int ecode5 = 0 ;
12530 bool temp6 = false ;
12531 PyObject * obj0 = 0 ;
12532 PyObject * obj1 = 0 ;
12533 PyObject * obj2 = 0 ;
12534 PyObject * obj3 = 0 ;
12535 PyObject * obj4 = 0 ;
12536 PyObject * obj5 = 0 ;
12537 char * kwnames[] = {
12538 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12539 };
12540
12541 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12542 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12543 if (!SWIG_IsOK(res1)) {
12544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12545 }
12546 arg1 = reinterpret_cast< wxWindow * >(argp1);
12547 if (obj1) {
12548 ecode2 = SWIG_AsVal_int(obj1, &val2);
12549 if (!SWIG_IsOK(ecode2)) {
12550 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12551 }
12552 arg2 = static_cast< int >(val2);
12553 }
12554 if (obj2) {
12555 {
12556 arg3 = &temp3;
12557 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12558 }
12559 }
12560 if (obj3) {
12561 {
12562 arg4 = &temp4;
12563 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12564 }
12565 }
12566 if (obj4) {
12567 ecode5 = SWIG_AsVal_long(obj4, &val5);
12568 if (!SWIG_IsOK(ecode5)) {
12569 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12570 }
12571 arg5 = static_cast< long >(val5);
12572 }
12573 if (obj5) {
12574 {
12575 arg6 = wxString_in_helper(obj5);
12576 if (arg6 == NULL) SWIG_fail;
12577 temp6 = true;
12578 }
12579 }
12580 {
12581 if (!wxPyCheckForApp()) SWIG_fail;
12582 PyThreadState* __tstate = wxPyBeginAllowThreads();
12583 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12584 wxPyEndAllowThreads(__tstate);
12585 if (PyErr_Occurred()) SWIG_fail;
12586 }
12587 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_NEW | 0 );
12588 {
12589 if (temp6)
12590 delete arg6;
12591 }
12592 return resultobj;
12593 fail:
12594 {
12595 if (temp6)
12596 delete arg6;
12597 }
12598 return NULL;
12599 }
12600
12601
12602 SWIGINTERN PyObject *_wrap_new_PreSashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12603 PyObject *resultobj = 0;
12604 wxSashLayoutWindow *result = 0 ;
12605
12606 if (!SWIG_Python_UnpackTuple(args,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail;
12607 {
12608 if (!wxPyCheckForApp()) SWIG_fail;
12609 PyThreadState* __tstate = wxPyBeginAllowThreads();
12610 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
12611 wxPyEndAllowThreads(__tstate);
12612 if (PyErr_Occurred()) SWIG_fail;
12613 }
12614 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_OWN | 0 );
12615 return resultobj;
12616 fail:
12617 return NULL;
12618 }
12619
12620
12621 SWIGINTERN PyObject *_wrap_SashLayoutWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12622 PyObject *resultobj = 0;
12623 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12624 wxWindow *arg2 = (wxWindow *) 0 ;
12625 int arg3 = (int) -1 ;
12626 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12627 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12628 wxSize const &arg5_defvalue = wxDefaultSize ;
12629 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12630 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12631 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
12632 wxString *arg7 = (wxString *) &arg7_defvalue ;
12633 bool result;
12634 void *argp1 = 0 ;
12635 int res1 = 0 ;
12636 void *argp2 = 0 ;
12637 int res2 = 0 ;
12638 int val3 ;
12639 int ecode3 = 0 ;
12640 wxPoint temp4 ;
12641 wxSize temp5 ;
12642 long val6 ;
12643 int ecode6 = 0 ;
12644 bool temp7 = false ;
12645 PyObject * obj0 = 0 ;
12646 PyObject * obj1 = 0 ;
12647 PyObject * obj2 = 0 ;
12648 PyObject * obj3 = 0 ;
12649 PyObject * obj4 = 0 ;
12650 PyObject * obj5 = 0 ;
12651 PyObject * obj6 = 0 ;
12652 char * kwnames[] = {
12653 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12654 };
12655
12656 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
12657 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12658 if (!SWIG_IsOK(res1)) {
12659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12660 }
12661 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12662 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12663 if (!SWIG_IsOK(res2)) {
12664 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12665 }
12666 arg2 = reinterpret_cast< wxWindow * >(argp2);
12667 if (obj2) {
12668 ecode3 = SWIG_AsVal_int(obj2, &val3);
12669 if (!SWIG_IsOK(ecode3)) {
12670 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12671 }
12672 arg3 = static_cast< int >(val3);
12673 }
12674 if (obj3) {
12675 {
12676 arg4 = &temp4;
12677 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12678 }
12679 }
12680 if (obj4) {
12681 {
12682 arg5 = &temp5;
12683 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12684 }
12685 }
12686 if (obj5) {
12687 ecode6 = SWIG_AsVal_long(obj5, &val6);
12688 if (!SWIG_IsOK(ecode6)) {
12689 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12690 }
12691 arg6 = static_cast< long >(val6);
12692 }
12693 if (obj6) {
12694 {
12695 arg7 = wxString_in_helper(obj6);
12696 if (arg7 == NULL) SWIG_fail;
12697 temp7 = true;
12698 }
12699 }
12700 {
12701 PyThreadState* __tstate = wxPyBeginAllowThreads();
12702 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12703 wxPyEndAllowThreads(__tstate);
12704 if (PyErr_Occurred()) SWIG_fail;
12705 }
12706 {
12707 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12708 }
12709 {
12710 if (temp7)
12711 delete arg7;
12712 }
12713 return resultobj;
12714 fail:
12715 {
12716 if (temp7)
12717 delete arg7;
12718 }
12719 return NULL;
12720 }
12721
12722
12723 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12724 PyObject *resultobj = 0;
12725 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12726 wxLayoutAlignment result;
12727 void *argp1 = 0 ;
12728 int res1 = 0 ;
12729 PyObject *swig_obj[1] ;
12730
12731 if (!args) SWIG_fail;
12732 swig_obj[0] = args;
12733 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12734 if (!SWIG_IsOK(res1)) {
12735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12736 }
12737 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12738 {
12739 PyThreadState* __tstate = wxPyBeginAllowThreads();
12740 result = (wxLayoutAlignment)(arg1)->GetAlignment();
12741 wxPyEndAllowThreads(__tstate);
12742 if (PyErr_Occurred()) SWIG_fail;
12743 }
12744 resultobj = SWIG_From_int(static_cast< int >(result));
12745 return resultobj;
12746 fail:
12747 return NULL;
12748 }
12749
12750
12751 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12752 PyObject *resultobj = 0;
12753 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12754 wxLayoutOrientation result;
12755 void *argp1 = 0 ;
12756 int res1 = 0 ;
12757 PyObject *swig_obj[1] ;
12758
12759 if (!args) SWIG_fail;
12760 swig_obj[0] = args;
12761 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12762 if (!SWIG_IsOK(res1)) {
12763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12764 }
12765 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12766 {
12767 PyThreadState* __tstate = wxPyBeginAllowThreads();
12768 result = (wxLayoutOrientation)(arg1)->GetOrientation();
12769 wxPyEndAllowThreads(__tstate);
12770 if (PyErr_Occurred()) SWIG_fail;
12771 }
12772 resultobj = SWIG_From_int(static_cast< int >(result));
12773 return resultobj;
12774 fail:
12775 return NULL;
12776 }
12777
12778
12779 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12780 PyObject *resultobj = 0;
12781 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12782 wxLayoutAlignment arg2 ;
12783 void *argp1 = 0 ;
12784 int res1 = 0 ;
12785 int val2 ;
12786 int ecode2 = 0 ;
12787 PyObject * obj0 = 0 ;
12788 PyObject * obj1 = 0 ;
12789 char * kwnames[] = {
12790 (char *) "self",(char *) "alignment", NULL
12791 };
12792
12793 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12794 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12795 if (!SWIG_IsOK(res1)) {
12796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12797 }
12798 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12799 ecode2 = SWIG_AsVal_int(obj1, &val2);
12800 if (!SWIG_IsOK(ecode2)) {
12801 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12802 }
12803 arg2 = static_cast< wxLayoutAlignment >(val2);
12804 {
12805 PyThreadState* __tstate = wxPyBeginAllowThreads();
12806 (arg1)->SetAlignment(arg2);
12807 wxPyEndAllowThreads(__tstate);
12808 if (PyErr_Occurred()) SWIG_fail;
12809 }
12810 resultobj = SWIG_Py_Void();
12811 return resultobj;
12812 fail:
12813 return NULL;
12814 }
12815
12816
12817 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12818 PyObject *resultobj = 0;
12819 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12820 wxSize *arg2 = 0 ;
12821 void *argp1 = 0 ;
12822 int res1 = 0 ;
12823 wxSize temp2 ;
12824 PyObject * obj0 = 0 ;
12825 PyObject * obj1 = 0 ;
12826 char * kwnames[] = {
12827 (char *) "self",(char *) "size", NULL
12828 };
12829
12830 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) SWIG_fail;
12831 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12832 if (!SWIG_IsOK(res1)) {
12833 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12834 }
12835 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12836 {
12837 arg2 = &temp2;
12838 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12839 }
12840 {
12841 PyThreadState* __tstate = wxPyBeginAllowThreads();
12842 (arg1)->SetDefaultSize((wxSize const &)*arg2);
12843 wxPyEndAllowThreads(__tstate);
12844 if (PyErr_Occurred()) SWIG_fail;
12845 }
12846 resultobj = SWIG_Py_Void();
12847 return resultobj;
12848 fail:
12849 return NULL;
12850 }
12851
12852
12853 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12854 PyObject *resultobj = 0;
12855 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12856 wxLayoutOrientation arg2 ;
12857 void *argp1 = 0 ;
12858 int res1 = 0 ;
12859 int val2 ;
12860 int ecode2 = 0 ;
12861 PyObject * obj0 = 0 ;
12862 PyObject * obj1 = 0 ;
12863 char * kwnames[] = {
12864 (char *) "self",(char *) "orientation", NULL
12865 };
12866
12867 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12868 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12869 if (!SWIG_IsOK(res1)) {
12870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12871 }
12872 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12873 ecode2 = SWIG_AsVal_int(obj1, &val2);
12874 if (!SWIG_IsOK(ecode2)) {
12875 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12876 }
12877 arg2 = static_cast< wxLayoutOrientation >(val2);
12878 {
12879 PyThreadState* __tstate = wxPyBeginAllowThreads();
12880 (arg1)->SetOrientation(arg2);
12881 wxPyEndAllowThreads(__tstate);
12882 if (PyErr_Occurred()) SWIG_fail;
12883 }
12884 resultobj = SWIG_Py_Void();
12885 return resultobj;
12886 fail:
12887 return NULL;
12888 }
12889
12890
12891 SWIGINTERN PyObject *SashLayoutWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12892 PyObject *obj;
12893 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12894 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow, SWIG_NewClientData(obj));
12895 return SWIG_Py_Void();
12896 }
12897
12898 SWIGINTERN PyObject *SashLayoutWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12899 return SWIG_Python_InitShadowInstance(args);
12900 }
12901
12902 SWIGINTERN PyObject *_wrap_new_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12903 PyObject *resultobj = 0;
12904 wxLayoutAlgorithm *result = 0 ;
12905
12906 if (!SWIG_Python_UnpackTuple(args,"new_LayoutAlgorithm",0,0,0)) SWIG_fail;
12907 {
12908 PyThreadState* __tstate = wxPyBeginAllowThreads();
12909 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
12910 wxPyEndAllowThreads(__tstate);
12911 if (PyErr_Occurred()) SWIG_fail;
12912 }
12913 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_NEW | 0 );
12914 return resultobj;
12915 fail:
12916 return NULL;
12917 }
12918
12919
12920 SWIGINTERN PyObject *_wrap_delete_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12921 PyObject *resultobj = 0;
12922 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12923 void *argp1 = 0 ;
12924 int res1 = 0 ;
12925 PyObject *swig_obj[1] ;
12926
12927 if (!args) SWIG_fail;
12928 swig_obj[0] = args;
12929 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_DISOWN | 0 );
12930 if (!SWIG_IsOK(res1)) {
12931 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12932 }
12933 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12934 {
12935 PyThreadState* __tstate = wxPyBeginAllowThreads();
12936 delete arg1;
12937
12938 wxPyEndAllowThreads(__tstate);
12939 if (PyErr_Occurred()) SWIG_fail;
12940 }
12941 resultobj = SWIG_Py_Void();
12942 return resultobj;
12943 fail:
12944 return NULL;
12945 }
12946
12947
12948 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12949 PyObject *resultobj = 0;
12950 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12951 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
12952 wxRect *arg3 = (wxRect *) NULL ;
12953 bool result;
12954 void *argp1 = 0 ;
12955 int res1 = 0 ;
12956 void *argp2 = 0 ;
12957 int res2 = 0 ;
12958 void *argp3 = 0 ;
12959 int res3 = 0 ;
12960 PyObject * obj0 = 0 ;
12961 PyObject * obj1 = 0 ;
12962 PyObject * obj2 = 0 ;
12963 char * kwnames[] = {
12964 (char *) "self",(char *) "frame",(char *) "rect", NULL
12965 };
12966
12967 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12968 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12969 if (!SWIG_IsOK(res1)) {
12970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12971 }
12972 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12973 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
12974 if (!SWIG_IsOK(res2)) {
12975 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12976 }
12977 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
12978 if (obj2) {
12979 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRect, 0 | 0 );
12980 if (!SWIG_IsOK(res3)) {
12981 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12982 }
12983 arg3 = reinterpret_cast< wxRect * >(argp3);
12984 }
12985 {
12986 PyThreadState* __tstate = wxPyBeginAllowThreads();
12987 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
12988 wxPyEndAllowThreads(__tstate);
12989 if (PyErr_Occurred()) SWIG_fail;
12990 }
12991 {
12992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12993 }
12994 return resultobj;
12995 fail:
12996 return NULL;
12997 }
12998
12999
13000 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13001 PyObject *resultobj = 0;
13002 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13003 wxFrame *arg2 = (wxFrame *) 0 ;
13004 wxWindow *arg3 = (wxWindow *) NULL ;
13005 bool result;
13006 void *argp1 = 0 ;
13007 int res1 = 0 ;
13008 void *argp2 = 0 ;
13009 int res2 = 0 ;
13010 void *argp3 = 0 ;
13011 int res3 = 0 ;
13012 PyObject * obj0 = 0 ;
13013 PyObject * obj1 = 0 ;
13014 PyObject * obj2 = 0 ;
13015 char * kwnames[] = {
13016 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13017 };
13018
13019 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13020 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13021 if (!SWIG_IsOK(res1)) {
13022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13023 }
13024 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13025 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
13026 if (!SWIG_IsOK(res2)) {
13027 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13028 }
13029 arg2 = reinterpret_cast< wxFrame * >(argp2);
13030 if (obj2) {
13031 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13032 if (!SWIG_IsOK(res3)) {
13033 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13034 }
13035 arg3 = reinterpret_cast< wxWindow * >(argp3);
13036 }
13037 {
13038 PyThreadState* __tstate = wxPyBeginAllowThreads();
13039 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
13040 wxPyEndAllowThreads(__tstate);
13041 if (PyErr_Occurred()) SWIG_fail;
13042 }
13043 {
13044 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13045 }
13046 return resultobj;
13047 fail:
13048 return NULL;
13049 }
13050
13051
13052 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13053 PyObject *resultobj = 0;
13054 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13055 wxWindow *arg2 = (wxWindow *) 0 ;
13056 wxWindow *arg3 = (wxWindow *) NULL ;
13057 bool result;
13058 void *argp1 = 0 ;
13059 int res1 = 0 ;
13060 void *argp2 = 0 ;
13061 int res2 = 0 ;
13062 void *argp3 = 0 ;
13063 int res3 = 0 ;
13064 PyObject * obj0 = 0 ;
13065 PyObject * obj1 = 0 ;
13066 PyObject * obj2 = 0 ;
13067 char * kwnames[] = {
13068 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13069 };
13070
13071 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13072 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13073 if (!SWIG_IsOK(res1)) {
13074 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13075 }
13076 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13077 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13078 if (!SWIG_IsOK(res2)) {
13079 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13080 }
13081 arg2 = reinterpret_cast< wxWindow * >(argp2);
13082 if (obj2) {
13083 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13084 if (!SWIG_IsOK(res3)) {
13085 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13086 }
13087 arg3 = reinterpret_cast< wxWindow * >(argp3);
13088 }
13089 {
13090 PyThreadState* __tstate = wxPyBeginAllowThreads();
13091 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
13092 wxPyEndAllowThreads(__tstate);
13093 if (PyErr_Occurred()) SWIG_fail;
13094 }
13095 {
13096 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13097 }
13098 return resultobj;
13099 fail:
13100 return NULL;
13101 }
13102
13103
13104 SWIGINTERN PyObject *LayoutAlgorithm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13105 PyObject *obj;
13106 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13107 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm, SWIG_NewClientData(obj));
13108 return SWIG_Py_Void();
13109 }
13110
13111 SWIGINTERN PyObject *LayoutAlgorithm_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13112 return SWIG_Python_InitShadowInstance(args);
13113 }
13114
13115 SWIGINTERN PyObject *_wrap_new_PopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13116 PyObject *resultobj = 0;
13117 wxWindow *arg1 = (wxWindow *) 0 ;
13118 int arg2 = (int) wxBORDER_NONE ;
13119 wxPopupWindow *result = 0 ;
13120 void *argp1 = 0 ;
13121 int res1 = 0 ;
13122 int val2 ;
13123 int ecode2 = 0 ;
13124 PyObject * obj0 = 0 ;
13125 PyObject * obj1 = 0 ;
13126 char * kwnames[] = {
13127 (char *) "parent",(char *) "flags", NULL
13128 };
13129
13130 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13131 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13132 if (!SWIG_IsOK(res1)) {
13133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13134 }
13135 arg1 = reinterpret_cast< wxWindow * >(argp1);
13136 if (obj1) {
13137 ecode2 = SWIG_AsVal_int(obj1, &val2);
13138 if (!SWIG_IsOK(ecode2)) {
13139 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13140 }
13141 arg2 = static_cast< int >(val2);
13142 }
13143 {
13144 if (!wxPyCheckForApp()) SWIG_fail;
13145 PyThreadState* __tstate = wxPyBeginAllowThreads();
13146 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
13147 wxPyEndAllowThreads(__tstate);
13148 if (PyErr_Occurred()) SWIG_fail;
13149 }
13150 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_NEW | 0 );
13151 return resultobj;
13152 fail:
13153 return NULL;
13154 }
13155
13156
13157 SWIGINTERN PyObject *_wrap_new_PrePopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13158 PyObject *resultobj = 0;
13159 wxPopupWindow *result = 0 ;
13160
13161 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupWindow",0,0,0)) SWIG_fail;
13162 {
13163 if (!wxPyCheckForApp()) SWIG_fail;
13164 PyThreadState* __tstate = wxPyBeginAllowThreads();
13165 result = (wxPopupWindow *)new wxPopupWindow();
13166 wxPyEndAllowThreads(__tstate);
13167 if (PyErr_Occurred()) SWIG_fail;
13168 }
13169 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
13170 return resultobj;
13171 fail:
13172 return NULL;
13173 }
13174
13175
13176 SWIGINTERN PyObject *_wrap_PopupWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13177 PyObject *resultobj = 0;
13178 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13179 wxWindow *arg2 = (wxWindow *) 0 ;
13180 int arg3 = (int) wxBORDER_NONE ;
13181 bool result;
13182 void *argp1 = 0 ;
13183 int res1 = 0 ;
13184 void *argp2 = 0 ;
13185 int res2 = 0 ;
13186 int val3 ;
13187 int ecode3 = 0 ;
13188 PyObject * obj0 = 0 ;
13189 PyObject * obj1 = 0 ;
13190 PyObject * obj2 = 0 ;
13191 char * kwnames[] = {
13192 (char *) "self",(char *) "parent",(char *) "flags", NULL
13193 };
13194
13195 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13196 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13197 if (!SWIG_IsOK(res1)) {
13198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13199 }
13200 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13201 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13202 if (!SWIG_IsOK(res2)) {
13203 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13204 }
13205 arg2 = reinterpret_cast< wxWindow * >(argp2);
13206 if (obj2) {
13207 ecode3 = SWIG_AsVal_int(obj2, &val3);
13208 if (!SWIG_IsOK(ecode3)) {
13209 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13210 }
13211 arg3 = static_cast< int >(val3);
13212 }
13213 {
13214 PyThreadState* __tstate = wxPyBeginAllowThreads();
13215 result = (bool)(arg1)->Create(arg2,arg3);
13216 wxPyEndAllowThreads(__tstate);
13217 if (PyErr_Occurred()) SWIG_fail;
13218 }
13219 {
13220 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13221 }
13222 return resultobj;
13223 fail:
13224 return NULL;
13225 }
13226
13227
13228 SWIGINTERN PyObject *_wrap_PopupWindow_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13229 PyObject *resultobj = 0;
13230 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13231 wxPoint *arg2 = 0 ;
13232 wxSize *arg3 = 0 ;
13233 void *argp1 = 0 ;
13234 int res1 = 0 ;
13235 wxPoint temp2 ;
13236 wxSize temp3 ;
13237 PyObject * obj0 = 0 ;
13238 PyObject * obj1 = 0 ;
13239 PyObject * obj2 = 0 ;
13240 char * kwnames[] = {
13241 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13242 };
13243
13244 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13245 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13246 if (!SWIG_IsOK(res1)) {
13247 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13248 }
13249 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13250 {
13251 arg2 = &temp2;
13252 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13253 }
13254 {
13255 arg3 = &temp3;
13256 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13257 }
13258 {
13259 PyThreadState* __tstate = wxPyBeginAllowThreads();
13260 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
13261 wxPyEndAllowThreads(__tstate);
13262 if (PyErr_Occurred()) SWIG_fail;
13263 }
13264 resultobj = SWIG_Py_Void();
13265 return resultobj;
13266 fail:
13267 return NULL;
13268 }
13269
13270
13271 SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13272 PyObject *obj;
13273 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13274 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
13275 return SWIG_Py_Void();
13276 }
13277
13278 SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13279 return SWIG_Python_InitShadowInstance(args);
13280 }
13281
13282 SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13283 PyObject *resultobj = 0;
13284 wxWindow *arg1 = (wxWindow *) 0 ;
13285 int arg2 = (int) wxBORDER_NONE ;
13286 wxPyPopupTransientWindow *result = 0 ;
13287 void *argp1 = 0 ;
13288 int res1 = 0 ;
13289 int val2 ;
13290 int ecode2 = 0 ;
13291 PyObject * obj0 = 0 ;
13292 PyObject * obj1 = 0 ;
13293 char * kwnames[] = {
13294 (char *) "parent",(char *) "style", NULL
13295 };
13296
13297 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13298 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13299 if (!SWIG_IsOK(res1)) {
13300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13301 }
13302 arg1 = reinterpret_cast< wxWindow * >(argp1);
13303 if (obj1) {
13304 ecode2 = SWIG_AsVal_int(obj1, &val2);
13305 if (!SWIG_IsOK(ecode2)) {
13306 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13307 }
13308 arg2 = static_cast< int >(val2);
13309 }
13310 {
13311 if (!wxPyCheckForApp()) SWIG_fail;
13312 PyThreadState* __tstate = wxPyBeginAllowThreads();
13313 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13314 wxPyEndAllowThreads(__tstate);
13315 if (PyErr_Occurred()) SWIG_fail;
13316 }
13317 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13318 return resultobj;
13319 fail:
13320 return NULL;
13321 }
13322
13323
13324 SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13325 PyObject *resultobj = 0;
13326 wxPyPopupTransientWindow *result = 0 ;
13327
13328 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13329 {
13330 if (!wxPyCheckForApp()) SWIG_fail;
13331 PyThreadState* __tstate = wxPyBeginAllowThreads();
13332 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13333 wxPyEndAllowThreads(__tstate);
13334 if (PyErr_Occurred()) SWIG_fail;
13335 }
13336 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13337 return resultobj;
13338 fail:
13339 return NULL;
13340 }
13341
13342
13343 SWIGINTERN PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13344 PyObject *resultobj = 0;
13345 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13346 PyObject *arg2 = (PyObject *) 0 ;
13347 PyObject *arg3 = (PyObject *) 0 ;
13348 void *argp1 = 0 ;
13349 int res1 = 0 ;
13350 PyObject * obj0 = 0 ;
13351 PyObject * obj1 = 0 ;
13352 PyObject * obj2 = 0 ;
13353 char * kwnames[] = {
13354 (char *) "self",(char *) "self",(char *) "_class", NULL
13355 };
13356
13357 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13358 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13359 if (!SWIG_IsOK(res1)) {
13360 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13361 }
13362 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13363 arg2 = obj1;
13364 arg3 = obj2;
13365 {
13366 PyThreadState* __tstate = wxPyBeginAllowThreads();
13367 (arg1)->_setCallbackInfo(arg2,arg3);
13368 wxPyEndAllowThreads(__tstate);
13369 if (PyErr_Occurred()) SWIG_fail;
13370 }
13371 resultobj = SWIG_Py_Void();
13372 return resultobj;
13373 fail:
13374 return NULL;
13375 }
13376
13377
13378 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Popup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13379 PyObject *resultobj = 0;
13380 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13381 wxWindow *arg2 = (wxWindow *) NULL ;
13382 void *argp1 = 0 ;
13383 int res1 = 0 ;
13384 void *argp2 = 0 ;
13385 int res2 = 0 ;
13386 PyObject * obj0 = 0 ;
13387 PyObject * obj1 = 0 ;
13388 char * kwnames[] = {
13389 (char *) "self",(char *) "focus", NULL
13390 };
13391
13392 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) SWIG_fail;
13393 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13394 if (!SWIG_IsOK(res1)) {
13395 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13396 }
13397 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13398 if (obj1) {
13399 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13400 if (!SWIG_IsOK(res2)) {
13401 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13402 }
13403 arg2 = reinterpret_cast< wxWindow * >(argp2);
13404 }
13405 {
13406 PyThreadState* __tstate = wxPyBeginAllowThreads();
13407 (arg1)->Popup(arg2);
13408 wxPyEndAllowThreads(__tstate);
13409 if (PyErr_Occurred()) SWIG_fail;
13410 }
13411 resultobj = SWIG_Py_Void();
13412 return resultobj;
13413 fail:
13414 return NULL;
13415 }
13416
13417
13418 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13419 PyObject *resultobj = 0;
13420 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13421 void *argp1 = 0 ;
13422 int res1 = 0 ;
13423 PyObject *swig_obj[1] ;
13424
13425 if (!args) SWIG_fail;
13426 swig_obj[0] = args;
13427 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13428 if (!SWIG_IsOK(res1)) {
13429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13430 }
13431 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13432 {
13433 PyThreadState* __tstate = wxPyBeginAllowThreads();
13434 (arg1)->Dismiss();
13435 wxPyEndAllowThreads(__tstate);
13436 if (PyErr_Occurred()) SWIG_fail;
13437 }
13438 resultobj = SWIG_Py_Void();
13439 return resultobj;
13440 fail:
13441 return NULL;
13442 }
13443
13444
13445 SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13446 PyObject *obj;
13447 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13448 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13449 return SWIG_Py_Void();
13450 }
13451
13452 SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13453 return SWIG_Python_InitShadowInstance(args);
13454 }
13455
13456 SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13457 PyObject *resultobj = 0;
13458 wxWindow *arg1 = (wxWindow *) 0 ;
13459 wxString *arg2 = 0 ;
13460 int arg3 = (int) 100 ;
13461 wxRect *arg4 = (wxRect *) NULL ;
13462 wxTipWindow *result = 0 ;
13463 void *argp1 = 0 ;
13464 int res1 = 0 ;
13465 bool temp2 = false ;
13466 int val3 ;
13467 int ecode3 = 0 ;
13468 void *argp4 = 0 ;
13469 int res4 = 0 ;
13470 PyObject * obj0 = 0 ;
13471 PyObject * obj1 = 0 ;
13472 PyObject * obj2 = 0 ;
13473 PyObject * obj3 = 0 ;
13474 char * kwnames[] = {
13475 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13476 };
13477
13478 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13479 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13480 if (!SWIG_IsOK(res1)) {
13481 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13482 }
13483 arg1 = reinterpret_cast< wxWindow * >(argp1);
13484 {
13485 arg2 = wxString_in_helper(obj1);
13486 if (arg2 == NULL) SWIG_fail;
13487 temp2 = true;
13488 }
13489 if (obj2) {
13490 ecode3 = SWIG_AsVal_int(obj2, &val3);
13491 if (!SWIG_IsOK(ecode3)) {
13492 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13493 }
13494 arg3 = static_cast< int >(val3);
13495 }
13496 if (obj3) {
13497 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13498 if (!SWIG_IsOK(res4)) {
13499 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13500 }
13501 arg4 = reinterpret_cast< wxRect * >(argp4);
13502 }
13503 {
13504 if (!wxPyCheckForApp()) SWIG_fail;
13505 PyThreadState* __tstate = wxPyBeginAllowThreads();
13506 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13507 wxPyEndAllowThreads(__tstate);
13508 if (PyErr_Occurred()) SWIG_fail;
13509 }
13510 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13511 {
13512 if (temp2)
13513 delete arg2;
13514 }
13515 return resultobj;
13516 fail:
13517 {
13518 if (temp2)
13519 delete arg2;
13520 }
13521 return NULL;
13522 }
13523
13524
13525 SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13526 PyObject *resultobj = 0;
13527 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13528 wxRect *arg2 = 0 ;
13529 void *argp1 = 0 ;
13530 int res1 = 0 ;
13531 wxRect temp2 ;
13532 PyObject * obj0 = 0 ;
13533 PyObject * obj1 = 0 ;
13534 char * kwnames[] = {
13535 (char *) "self",(char *) "rectBound", NULL
13536 };
13537
13538 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13539 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13540 if (!SWIG_IsOK(res1)) {
13541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13542 }
13543 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13544 {
13545 arg2 = &temp2;
13546 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13547 }
13548 {
13549 PyThreadState* __tstate = wxPyBeginAllowThreads();
13550 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13551 wxPyEndAllowThreads(__tstate);
13552 if (PyErr_Occurred()) SWIG_fail;
13553 }
13554 resultobj = SWIG_Py_Void();
13555 return resultobj;
13556 fail:
13557 return NULL;
13558 }
13559
13560
13561 SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13562 PyObject *resultobj = 0;
13563 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13564 void *argp1 = 0 ;
13565 int res1 = 0 ;
13566 PyObject *swig_obj[1] ;
13567
13568 if (!args) SWIG_fail;
13569 swig_obj[0] = args;
13570 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13571 if (!SWIG_IsOK(res1)) {
13572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13573 }
13574 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13575 {
13576 PyThreadState* __tstate = wxPyBeginAllowThreads();
13577 (arg1)->Close();
13578 wxPyEndAllowThreads(__tstate);
13579 if (PyErr_Occurred()) SWIG_fail;
13580 }
13581 resultobj = SWIG_Py_Void();
13582 return resultobj;
13583 fail:
13584 return NULL;
13585 }
13586
13587
13588 SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13589 PyObject *obj;
13590 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13591 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13592 return SWIG_Py_Void();
13593 }
13594
13595 SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13596 return SWIG_Python_InitShadowInstance(args);
13597 }
13598
13599 SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13600 PyObject *resultobj = 0;
13601 wxWindow *arg1 = (wxWindow *) 0 ;
13602 int arg2 = (int) wxID_ANY ;
13603 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13604 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13605 wxSize const &arg4_defvalue = wxDefaultSize ;
13606 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13607 long arg5 = (long) 0 ;
13608 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13609 wxString *arg6 = (wxString *) &arg6_defvalue ;
13610 wxPyVScrolledWindow *result = 0 ;
13611 void *argp1 = 0 ;
13612 int res1 = 0 ;
13613 int val2 ;
13614 int ecode2 = 0 ;
13615 wxPoint temp3 ;
13616 wxSize temp4 ;
13617 long val5 ;
13618 int ecode5 = 0 ;
13619 bool temp6 = false ;
13620 PyObject * obj0 = 0 ;
13621 PyObject * obj1 = 0 ;
13622 PyObject * obj2 = 0 ;
13623 PyObject * obj3 = 0 ;
13624 PyObject * obj4 = 0 ;
13625 PyObject * obj5 = 0 ;
13626 char * kwnames[] = {
13627 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13628 };
13629
13630 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
13631 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13632 if (!SWIG_IsOK(res1)) {
13633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13634 }
13635 arg1 = reinterpret_cast< wxWindow * >(argp1);
13636 if (obj1) {
13637 ecode2 = SWIG_AsVal_int(obj1, &val2);
13638 if (!SWIG_IsOK(ecode2)) {
13639 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13640 }
13641 arg2 = static_cast< int >(val2);
13642 }
13643 if (obj2) {
13644 {
13645 arg3 = &temp3;
13646 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13647 }
13648 }
13649 if (obj3) {
13650 {
13651 arg4 = &temp4;
13652 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13653 }
13654 }
13655 if (obj4) {
13656 ecode5 = SWIG_AsVal_long(obj4, &val5);
13657 if (!SWIG_IsOK(ecode5)) {
13658 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13659 }
13660 arg5 = static_cast< long >(val5);
13661 }
13662 if (obj5) {
13663 {
13664 arg6 = wxString_in_helper(obj5);
13665 if (arg6 == NULL) SWIG_fail;
13666 temp6 = true;
13667 }
13668 }
13669 {
13670 if (!wxPyCheckForApp()) SWIG_fail;
13671 PyThreadState* __tstate = wxPyBeginAllowThreads();
13672 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13673 wxPyEndAllowThreads(__tstate);
13674 if (PyErr_Occurred()) SWIG_fail;
13675 }
13676 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
13677 {
13678 if (temp6)
13679 delete arg6;
13680 }
13681 return resultobj;
13682 fail:
13683 {
13684 if (temp6)
13685 delete arg6;
13686 }
13687 return NULL;
13688 }
13689
13690
13691 SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13692 PyObject *resultobj = 0;
13693 wxPyVScrolledWindow *result = 0 ;
13694
13695 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
13696 {
13697 if (!wxPyCheckForApp()) SWIG_fail;
13698 PyThreadState* __tstate = wxPyBeginAllowThreads();
13699 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
13700 wxPyEndAllowThreads(__tstate);
13701 if (PyErr_Occurred()) SWIG_fail;
13702 }
13703 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
13704 return resultobj;
13705 fail:
13706 return NULL;
13707 }
13708
13709
13710 SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13711 PyObject *resultobj = 0;
13712 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13713 PyObject *arg2 = (PyObject *) 0 ;
13714 PyObject *arg3 = (PyObject *) 0 ;
13715 void *argp1 = 0 ;
13716 int res1 = 0 ;
13717 PyObject * obj0 = 0 ;
13718 PyObject * obj1 = 0 ;
13719 PyObject * obj2 = 0 ;
13720 char * kwnames[] = {
13721 (char *) "self",(char *) "self",(char *) "_class", NULL
13722 };
13723
13724 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13725 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13726 if (!SWIG_IsOK(res1)) {
13727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13728 }
13729 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13730 arg2 = obj1;
13731 arg3 = obj2;
13732 {
13733 PyThreadState* __tstate = wxPyBeginAllowThreads();
13734 (arg1)->_setCallbackInfo(arg2,arg3);
13735 wxPyEndAllowThreads(__tstate);
13736 if (PyErr_Occurred()) SWIG_fail;
13737 }
13738 resultobj = SWIG_Py_Void();
13739 return resultobj;
13740 fail:
13741 return NULL;
13742 }
13743
13744
13745 SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13746 PyObject *resultobj = 0;
13747 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13748 wxWindow *arg2 = (wxWindow *) 0 ;
13749 int arg3 = (int) wxID_ANY ;
13750 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13751 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13752 wxSize const &arg5_defvalue = wxDefaultSize ;
13753 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13754 long arg6 = (long) 0 ;
13755 wxString const &arg7_defvalue = wxPyPanelNameStr ;
13756 wxString *arg7 = (wxString *) &arg7_defvalue ;
13757 bool result;
13758 void *argp1 = 0 ;
13759 int res1 = 0 ;
13760 void *argp2 = 0 ;
13761 int res2 = 0 ;
13762 int val3 ;
13763 int ecode3 = 0 ;
13764 wxPoint temp4 ;
13765 wxSize temp5 ;
13766 long val6 ;
13767 int ecode6 = 0 ;
13768 bool temp7 = false ;
13769 PyObject * obj0 = 0 ;
13770 PyObject * obj1 = 0 ;
13771 PyObject * obj2 = 0 ;
13772 PyObject * obj3 = 0 ;
13773 PyObject * obj4 = 0 ;
13774 PyObject * obj5 = 0 ;
13775 PyObject * obj6 = 0 ;
13776 char * kwnames[] = {
13777 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13778 };
13779
13780 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
13781 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13782 if (!SWIG_IsOK(res1)) {
13783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13784 }
13785 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13786 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13787 if (!SWIG_IsOK(res2)) {
13788 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13789 }
13790 arg2 = reinterpret_cast< wxWindow * >(argp2);
13791 if (obj2) {
13792 ecode3 = SWIG_AsVal_int(obj2, &val3);
13793 if (!SWIG_IsOK(ecode3)) {
13794 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13795 }
13796 arg3 = static_cast< int >(val3);
13797 }
13798 if (obj3) {
13799 {
13800 arg4 = &temp4;
13801 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13802 }
13803 }
13804 if (obj4) {
13805 {
13806 arg5 = &temp5;
13807 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13808 }
13809 }
13810 if (obj5) {
13811 ecode6 = SWIG_AsVal_long(obj5, &val6);
13812 if (!SWIG_IsOK(ecode6)) {
13813 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13814 }
13815 arg6 = static_cast< long >(val6);
13816 }
13817 if (obj6) {
13818 {
13819 arg7 = wxString_in_helper(obj6);
13820 if (arg7 == NULL) SWIG_fail;
13821 temp7 = true;
13822 }
13823 }
13824 {
13825 PyThreadState* __tstate = wxPyBeginAllowThreads();
13826 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13827 wxPyEndAllowThreads(__tstate);
13828 if (PyErr_Occurred()) SWIG_fail;
13829 }
13830 {
13831 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13832 }
13833 {
13834 if (temp7)
13835 delete arg7;
13836 }
13837 return resultobj;
13838 fail:
13839 {
13840 if (temp7)
13841 delete arg7;
13842 }
13843 return NULL;
13844 }
13845
13846
13847 SWIGINTERN PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13848 PyObject *resultobj = 0;
13849 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13850 size_t arg2 ;
13851 void *argp1 = 0 ;
13852 int res1 = 0 ;
13853 size_t val2 ;
13854 int ecode2 = 0 ;
13855 PyObject * obj0 = 0 ;
13856 PyObject * obj1 = 0 ;
13857 char * kwnames[] = {
13858 (char *) "self",(char *) "count", NULL
13859 };
13860
13861 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) SWIG_fail;
13862 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13863 if (!SWIG_IsOK(res1)) {
13864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13865 }
13866 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13867 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13868 if (!SWIG_IsOK(ecode2)) {
13869 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13870 }
13871 arg2 = static_cast< size_t >(val2);
13872 {
13873 PyThreadState* __tstate = wxPyBeginAllowThreads();
13874 (arg1)->SetLineCount(arg2);
13875 wxPyEndAllowThreads(__tstate);
13876 if (PyErr_Occurred()) SWIG_fail;
13877 }
13878 resultobj = SWIG_Py_Void();
13879 return resultobj;
13880 fail:
13881 return NULL;
13882 }
13883
13884
13885 SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13886 PyObject *resultobj = 0;
13887 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13888 size_t arg2 ;
13889 bool result;
13890 void *argp1 = 0 ;
13891 int res1 = 0 ;
13892 size_t val2 ;
13893 int ecode2 = 0 ;
13894 PyObject * obj0 = 0 ;
13895 PyObject * obj1 = 0 ;
13896 char * kwnames[] = {
13897 (char *) "self",(char *) "line", NULL
13898 };
13899
13900 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
13901 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13902 if (!SWIG_IsOK(res1)) {
13903 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13904 }
13905 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13906 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13907 if (!SWIG_IsOK(ecode2)) {
13908 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13909 }
13910 arg2 = static_cast< size_t >(val2);
13911 {
13912 PyThreadState* __tstate = wxPyBeginAllowThreads();
13913 result = (bool)(arg1)->ScrollToLine(arg2);
13914 wxPyEndAllowThreads(__tstate);
13915 if (PyErr_Occurred()) SWIG_fail;
13916 }
13917 {
13918 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13919 }
13920 return resultobj;
13921 fail:
13922 return NULL;
13923 }
13924
13925
13926 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13927 PyObject *resultobj = 0;
13928 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13929 size_t arg2 ;
13930 void *argp1 = 0 ;
13931 int res1 = 0 ;
13932 size_t val2 ;
13933 int ecode2 = 0 ;
13934 PyObject * obj0 = 0 ;
13935 PyObject * obj1 = 0 ;
13936 char * kwnames[] = {
13937 (char *) "self",(char *) "line", NULL
13938 };
13939
13940 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) SWIG_fail;
13941 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13942 if (!SWIG_IsOK(res1)) {
13943 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13944 }
13945 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13946 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13947 if (!SWIG_IsOK(ecode2)) {
13948 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13949 }
13950 arg2 = static_cast< size_t >(val2);
13951 {
13952 PyThreadState* __tstate = wxPyBeginAllowThreads();
13953 (arg1)->RefreshLine(arg2);
13954 wxPyEndAllowThreads(__tstate);
13955 if (PyErr_Occurred()) SWIG_fail;
13956 }
13957 resultobj = SWIG_Py_Void();
13958 return resultobj;
13959 fail:
13960 return NULL;
13961 }
13962
13963
13964 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13965 PyObject *resultobj = 0;
13966 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13967 size_t arg2 ;
13968 size_t arg3 ;
13969 void *argp1 = 0 ;
13970 int res1 = 0 ;
13971 size_t val2 ;
13972 int ecode2 = 0 ;
13973 size_t val3 ;
13974 int ecode3 = 0 ;
13975 PyObject * obj0 = 0 ;
13976 PyObject * obj1 = 0 ;
13977 PyObject * obj2 = 0 ;
13978 char * kwnames[] = {
13979 (char *) "self",(char *) "from",(char *) "to", NULL
13980 };
13981
13982 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13983 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13984 if (!SWIG_IsOK(res1)) {
13985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13986 }
13987 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13988 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13989 if (!SWIG_IsOK(ecode2)) {
13990 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13991 }
13992 arg2 = static_cast< size_t >(val2);
13993 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
13994 if (!SWIG_IsOK(ecode3)) {
13995 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13996 }
13997 arg3 = static_cast< size_t >(val3);
13998 {
13999 PyThreadState* __tstate = wxPyBeginAllowThreads();
14000 (arg1)->RefreshLines(arg2,arg3);
14001 wxPyEndAllowThreads(__tstate);
14002 if (PyErr_Occurred()) SWIG_fail;
14003 }
14004 resultobj = SWIG_Py_Void();
14005 return resultobj;
14006 fail:
14007 return NULL;
14008 }
14009
14010
14011 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14012 PyObject *resultobj = 0;
14013 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14014 int arg2 ;
14015 int arg3 ;
14016 int result;
14017 void *argp1 = 0 ;
14018 int res1 = 0 ;
14019 int val2 ;
14020 int ecode2 = 0 ;
14021 int val3 ;
14022 int ecode3 = 0 ;
14023 PyObject * obj0 = 0 ;
14024 PyObject * obj1 = 0 ;
14025 PyObject * obj2 = 0 ;
14026 char * kwnames[] = {
14027 (char *) "self",(char *) "x",(char *) "y", NULL
14028 };
14029
14030 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14031 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14032 if (!SWIG_IsOK(res1)) {
14033 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14034 }
14035 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14036 ecode2 = SWIG_AsVal_int(obj1, &val2);
14037 if (!SWIG_IsOK(ecode2)) {
14038 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
14039 }
14040 arg2 = static_cast< int >(val2);
14041 ecode3 = SWIG_AsVal_int(obj2, &val3);
14042 if (!SWIG_IsOK(ecode3)) {
14043 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
14044 }
14045 arg3 = static_cast< int >(val3);
14046 {
14047 PyThreadState* __tstate = wxPyBeginAllowThreads();
14048 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
14049 wxPyEndAllowThreads(__tstate);
14050 if (PyErr_Occurred()) SWIG_fail;
14051 }
14052 resultobj = SWIG_From_int(static_cast< int >(result));
14053 return resultobj;
14054 fail:
14055 return NULL;
14056 }
14057
14058
14059 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14060 PyObject *resultobj = 0;
14061 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14062 wxPoint *arg2 = 0 ;
14063 int result;
14064 void *argp1 = 0 ;
14065 int res1 = 0 ;
14066 wxPoint temp2 ;
14067 PyObject * obj0 = 0 ;
14068 PyObject * obj1 = 0 ;
14069 char * kwnames[] = {
14070 (char *) "self",(char *) "pt", NULL
14071 };
14072
14073 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
14074 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14075 if (!SWIG_IsOK(res1)) {
14076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14077 }
14078 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14079 {
14080 arg2 = &temp2;
14081 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14082 }
14083 {
14084 PyThreadState* __tstate = wxPyBeginAllowThreads();
14085 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
14086 wxPyEndAllowThreads(__tstate);
14087 if (PyErr_Occurred()) SWIG_fail;
14088 }
14089 resultobj = SWIG_From_int(static_cast< int >(result));
14090 return resultobj;
14091 fail:
14092 return NULL;
14093 }
14094
14095
14096 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14097 PyObject *resultobj = 0;
14098 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14099 void *argp1 = 0 ;
14100 int res1 = 0 ;
14101 PyObject *swig_obj[1] ;
14102
14103 if (!args) SWIG_fail;
14104 swig_obj[0] = args;
14105 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14106 if (!SWIG_IsOK(res1)) {
14107 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14108 }
14109 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14110 {
14111 PyThreadState* __tstate = wxPyBeginAllowThreads();
14112 (arg1)->RefreshAll();
14113 wxPyEndAllowThreads(__tstate);
14114 if (PyErr_Occurred()) SWIG_fail;
14115 }
14116 resultobj = SWIG_Py_Void();
14117 return resultobj;
14118 fail:
14119 return NULL;
14120 }
14121
14122
14123 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14124 PyObject *resultobj = 0;
14125 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14126 size_t result;
14127 void *argp1 = 0 ;
14128 int res1 = 0 ;
14129 PyObject *swig_obj[1] ;
14130
14131 if (!args) SWIG_fail;
14132 swig_obj[0] = args;
14133 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14134 if (!SWIG_IsOK(res1)) {
14135 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14136 }
14137 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14138 {
14139 PyThreadState* __tstate = wxPyBeginAllowThreads();
14140 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
14141 wxPyEndAllowThreads(__tstate);
14142 if (PyErr_Occurred()) SWIG_fail;
14143 }
14144 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14145 return resultobj;
14146 fail:
14147 return NULL;
14148 }
14149
14150
14151 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14152 PyObject *resultobj = 0;
14153 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14154 size_t result;
14155 void *argp1 = 0 ;
14156 int res1 = 0 ;
14157 PyObject *swig_obj[1] ;
14158
14159 if (!args) SWIG_fail;
14160 swig_obj[0] = args;
14161 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14162 if (!SWIG_IsOK(res1)) {
14163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14164 }
14165 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14166 {
14167 PyThreadState* __tstate = wxPyBeginAllowThreads();
14168 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
14169 wxPyEndAllowThreads(__tstate);
14170 if (PyErr_Occurred()) SWIG_fail;
14171 }
14172 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14173 return resultobj;
14174 fail:
14175 return NULL;
14176 }
14177
14178
14179 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14180 PyObject *resultobj = 0;
14181 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14182 size_t result;
14183 void *argp1 = 0 ;
14184 int res1 = 0 ;
14185 PyObject *swig_obj[1] ;
14186
14187 if (!args) SWIG_fail;
14188 swig_obj[0] = args;
14189 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14190 if (!SWIG_IsOK(res1)) {
14191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14192 }
14193 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14194 {
14195 PyThreadState* __tstate = wxPyBeginAllowThreads();
14196 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
14197 wxPyEndAllowThreads(__tstate);
14198 if (PyErr_Occurred()) SWIG_fail;
14199 }
14200 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14201 return resultobj;
14202 fail:
14203 return NULL;
14204 }
14205
14206
14207 SWIGINTERN PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14208 PyObject *resultobj = 0;
14209 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14210 size_t arg2 ;
14211 bool result;
14212 void *argp1 = 0 ;
14213 int res1 = 0 ;
14214 size_t val2 ;
14215 int ecode2 = 0 ;
14216 PyObject * obj0 = 0 ;
14217 PyObject * obj1 = 0 ;
14218 char * kwnames[] = {
14219 (char *) "self",(char *) "line", NULL
14220 };
14221
14222 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
14223 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14224 if (!SWIG_IsOK(res1)) {
14225 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14226 }
14227 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14228 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14229 if (!SWIG_IsOK(ecode2)) {
14230 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14231 }
14232 arg2 = static_cast< size_t >(val2);
14233 {
14234 PyThreadState* __tstate = wxPyBeginAllowThreads();
14235 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
14236 wxPyEndAllowThreads(__tstate);
14237 if (PyErr_Occurred()) SWIG_fail;
14238 }
14239 {
14240 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14241 }
14242 return resultobj;
14243 fail:
14244 return NULL;
14245 }
14246
14247
14248 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14249 PyObject *resultobj = 0;
14250 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14251 size_t result;
14252 void *argp1 = 0 ;
14253 int res1 = 0 ;
14254 PyObject *swig_obj[1] ;
14255
14256 if (!args) SWIG_fail;
14257 swig_obj[0] = args;
14258 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14259 if (!SWIG_IsOK(res1)) {
14260 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14261 }
14262 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14263 {
14264 PyThreadState* __tstate = wxPyBeginAllowThreads();
14265 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
14266 wxPyEndAllowThreads(__tstate);
14267 if (PyErr_Occurred()) SWIG_fail;
14268 }
14269 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14270 return resultobj;
14271 fail:
14272 return NULL;
14273 }
14274
14275
14276 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14277 PyObject *resultobj = 0;
14278 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14279 size_t result;
14280 void *argp1 = 0 ;
14281 int res1 = 0 ;
14282 PyObject *swig_obj[1] ;
14283
14284 if (!args) SWIG_fail;
14285 swig_obj[0] = args;
14286 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14287 if (!SWIG_IsOK(res1)) {
14288 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14289 }
14290 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14291 {
14292 PyThreadState* __tstate = wxPyBeginAllowThreads();
14293 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
14294 wxPyEndAllowThreads(__tstate);
14295 if (PyErr_Occurred()) SWIG_fail;
14296 }
14297 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14298 return resultobj;
14299 fail:
14300 return NULL;
14301 }
14302
14303
14304 SWIGINTERN PyObject *_wrap_VScrolledWindow_FindFirstFromBottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14305 PyObject *resultobj = 0;
14306 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14307 size_t arg2 ;
14308 bool arg3 = (bool) false ;
14309 size_t result;
14310 void *argp1 = 0 ;
14311 int res1 = 0 ;
14312 size_t val2 ;
14313 int ecode2 = 0 ;
14314 bool val3 ;
14315 int ecode3 = 0 ;
14316 PyObject * obj0 = 0 ;
14317 PyObject * obj1 = 0 ;
14318 PyObject * obj2 = 0 ;
14319 char * kwnames[] = {
14320 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14321 };
14322
14323 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14324 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14325 if (!SWIG_IsOK(res1)) {
14326 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14327 }
14328 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14329 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14330 if (!SWIG_IsOK(ecode2)) {
14331 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14332 }
14333 arg2 = static_cast< size_t >(val2);
14334 if (obj2) {
14335 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14336 if (!SWIG_IsOK(ecode3)) {
14337 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14338 }
14339 arg3 = static_cast< bool >(val3);
14340 }
14341 {
14342 PyThreadState* __tstate = wxPyBeginAllowThreads();
14343 result = (size_t)(arg1)->FindFirstFromBottom(arg2,arg3);
14344 wxPyEndAllowThreads(__tstate);
14345 if (PyErr_Occurred()) SWIG_fail;
14346 }
14347 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14348 return resultobj;
14349 fail:
14350 return NULL;
14351 }
14352
14353
14354 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLinesHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14355 PyObject *resultobj = 0;
14356 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14357 size_t arg2 ;
14358 size_t arg3 ;
14359 int result;
14360 void *argp1 = 0 ;
14361 int res1 = 0 ;
14362 size_t val2 ;
14363 int ecode2 = 0 ;
14364 size_t val3 ;
14365 int ecode3 = 0 ;
14366 PyObject * obj0 = 0 ;
14367 PyObject * obj1 = 0 ;
14368 PyObject * obj2 = 0 ;
14369 char * kwnames[] = {
14370 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14371 };
14372
14373 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14374 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14375 if (!SWIG_IsOK(res1)) {
14376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14377 }
14378 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14379 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14380 if (!SWIG_IsOK(ecode2)) {
14381 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14382 }
14383 arg2 = static_cast< size_t >(val2);
14384 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14385 if (!SWIG_IsOK(ecode3)) {
14386 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14387 }
14388 arg3 = static_cast< size_t >(val3);
14389 {
14390 PyThreadState* __tstate = wxPyBeginAllowThreads();
14391 result = (int)((wxPyVScrolledWindow const *)arg1)->GetLinesHeight(arg2,arg3);
14392 wxPyEndAllowThreads(__tstate);
14393 if (PyErr_Occurred()) SWIG_fail;
14394 }
14395 resultobj = SWIG_From_int(static_cast< int >(result));
14396 return resultobj;
14397 fail:
14398 return NULL;
14399 }
14400
14401
14402 SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14403 PyObject *obj;
14404 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14405 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
14406 return SWIG_Py_Void();
14407 }
14408
14409 SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14410 return SWIG_Python_InitShadowInstance(args);
14411 }
14412
14413 SWIGINTERN int VListBoxNameStr_set(PyObject *) {
14414 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
14415 return 1;
14416 }
14417
14418
14419 SWIGINTERN PyObject *VListBoxNameStr_get(void) {
14420 PyObject *pyobj = 0;
14421
14422 {
14423 #if wxUSE_UNICODE
14424 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14425 #else
14426 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14427 #endif
14428 }
14429 return pyobj;
14430 }
14431
14432
14433 SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14434 PyObject *resultobj = 0;
14435 wxWindow *arg1 = (wxWindow *) 0 ;
14436 int arg2 = (int) wxID_ANY ;
14437 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14438 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14439 wxSize const &arg4_defvalue = wxDefaultSize ;
14440 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14441 long arg5 = (long) 0 ;
14442 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
14443 wxString *arg6 = (wxString *) &arg6_defvalue ;
14444 wxPyVListBox *result = 0 ;
14445 void *argp1 = 0 ;
14446 int res1 = 0 ;
14447 int val2 ;
14448 int ecode2 = 0 ;
14449 wxPoint temp3 ;
14450 wxSize temp4 ;
14451 long val5 ;
14452 int ecode5 = 0 ;
14453 bool temp6 = false ;
14454 PyObject * obj0 = 0 ;
14455 PyObject * obj1 = 0 ;
14456 PyObject * obj2 = 0 ;
14457 PyObject * obj3 = 0 ;
14458 PyObject * obj4 = 0 ;
14459 PyObject * obj5 = 0 ;
14460 char * kwnames[] = {
14461 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14462 };
14463
14464 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14465 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14466 if (!SWIG_IsOK(res1)) {
14467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14468 }
14469 arg1 = reinterpret_cast< wxWindow * >(argp1);
14470 if (obj1) {
14471 ecode2 = SWIG_AsVal_int(obj1, &val2);
14472 if (!SWIG_IsOK(ecode2)) {
14473 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14474 }
14475 arg2 = static_cast< int >(val2);
14476 }
14477 if (obj2) {
14478 {
14479 arg3 = &temp3;
14480 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14481 }
14482 }
14483 if (obj3) {
14484 {
14485 arg4 = &temp4;
14486 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14487 }
14488 }
14489 if (obj4) {
14490 ecode5 = SWIG_AsVal_long(obj4, &val5);
14491 if (!SWIG_IsOK(ecode5)) {
14492 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14493 }
14494 arg5 = static_cast< long >(val5);
14495 }
14496 if (obj5) {
14497 {
14498 arg6 = wxString_in_helper(obj5);
14499 if (arg6 == NULL) SWIG_fail;
14500 temp6 = true;
14501 }
14502 }
14503 {
14504 if (!wxPyCheckForApp()) SWIG_fail;
14505 PyThreadState* __tstate = wxPyBeginAllowThreads();
14506 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14507 wxPyEndAllowThreads(__tstate);
14508 if (PyErr_Occurred()) SWIG_fail;
14509 }
14510 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
14511 {
14512 if (temp6)
14513 delete arg6;
14514 }
14515 return resultobj;
14516 fail:
14517 {
14518 if (temp6)
14519 delete arg6;
14520 }
14521 return NULL;
14522 }
14523
14524
14525 SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14526 PyObject *resultobj = 0;
14527 wxPyVListBox *result = 0 ;
14528
14529 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
14530 {
14531 if (!wxPyCheckForApp()) SWIG_fail;
14532 PyThreadState* __tstate = wxPyBeginAllowThreads();
14533 result = (wxPyVListBox *)new wxPyVListBox();
14534 wxPyEndAllowThreads(__tstate);
14535 if (PyErr_Occurred()) SWIG_fail;
14536 }
14537 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
14538 return resultobj;
14539 fail:
14540 return NULL;
14541 }
14542
14543
14544 SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14545 PyObject *resultobj = 0;
14546 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14547 PyObject *arg2 = (PyObject *) 0 ;
14548 PyObject *arg3 = (PyObject *) 0 ;
14549 void *argp1 = 0 ;
14550 int res1 = 0 ;
14551 PyObject * obj0 = 0 ;
14552 PyObject * obj1 = 0 ;
14553 PyObject * obj2 = 0 ;
14554 char * kwnames[] = {
14555 (char *) "self",(char *) "self",(char *) "_class", NULL
14556 };
14557
14558 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14559 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14560 if (!SWIG_IsOK(res1)) {
14561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14562 }
14563 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14564 arg2 = obj1;
14565 arg3 = obj2;
14566 {
14567 PyThreadState* __tstate = wxPyBeginAllowThreads();
14568 (arg1)->_setCallbackInfo(arg2,arg3);
14569 wxPyEndAllowThreads(__tstate);
14570 if (PyErr_Occurred()) SWIG_fail;
14571 }
14572 resultobj = SWIG_Py_Void();
14573 return resultobj;
14574 fail:
14575 return NULL;
14576 }
14577
14578
14579 SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14580 PyObject *resultobj = 0;
14581 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14582 wxWindow *arg2 = (wxWindow *) 0 ;
14583 int arg3 = (int) wxID_ANY ;
14584 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14585 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14586 wxSize const &arg5_defvalue = wxDefaultSize ;
14587 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14588 long arg6 = (long) 0 ;
14589 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
14590 wxString *arg7 = (wxString *) &arg7_defvalue ;
14591 bool result;
14592 void *argp1 = 0 ;
14593 int res1 = 0 ;
14594 void *argp2 = 0 ;
14595 int res2 = 0 ;
14596 int val3 ;
14597 int ecode3 = 0 ;
14598 wxPoint temp4 ;
14599 wxSize temp5 ;
14600 long val6 ;
14601 int ecode6 = 0 ;
14602 bool temp7 = false ;
14603 PyObject * obj0 = 0 ;
14604 PyObject * obj1 = 0 ;
14605 PyObject * obj2 = 0 ;
14606 PyObject * obj3 = 0 ;
14607 PyObject * obj4 = 0 ;
14608 PyObject * obj5 = 0 ;
14609 PyObject * obj6 = 0 ;
14610 char * kwnames[] = {
14611 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14612 };
14613
14614 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14615 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14616 if (!SWIG_IsOK(res1)) {
14617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14618 }
14619 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14620 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14621 if (!SWIG_IsOK(res2)) {
14622 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14623 }
14624 arg2 = reinterpret_cast< wxWindow * >(argp2);
14625 if (obj2) {
14626 ecode3 = SWIG_AsVal_int(obj2, &val3);
14627 if (!SWIG_IsOK(ecode3)) {
14628 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14629 }
14630 arg3 = static_cast< int >(val3);
14631 }
14632 if (obj3) {
14633 {
14634 arg4 = &temp4;
14635 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14636 }
14637 }
14638 if (obj4) {
14639 {
14640 arg5 = &temp5;
14641 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14642 }
14643 }
14644 if (obj5) {
14645 ecode6 = SWIG_AsVal_long(obj5, &val6);
14646 if (!SWIG_IsOK(ecode6)) {
14647 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14648 }
14649 arg6 = static_cast< long >(val6);
14650 }
14651 if (obj6) {
14652 {
14653 arg7 = wxString_in_helper(obj6);
14654 if (arg7 == NULL) SWIG_fail;
14655 temp7 = true;
14656 }
14657 }
14658 {
14659 PyThreadState* __tstate = wxPyBeginAllowThreads();
14660 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14661 wxPyEndAllowThreads(__tstate);
14662 if (PyErr_Occurred()) SWIG_fail;
14663 }
14664 {
14665 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14666 }
14667 {
14668 if (temp7)
14669 delete arg7;
14670 }
14671 return resultobj;
14672 fail:
14673 {
14674 if (temp7)
14675 delete arg7;
14676 }
14677 return NULL;
14678 }
14679
14680
14681 SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14682 PyObject *resultobj = 0;
14683 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14684 size_t result;
14685 void *argp1 = 0 ;
14686 int res1 = 0 ;
14687 PyObject *swig_obj[1] ;
14688
14689 if (!args) SWIG_fail;
14690 swig_obj[0] = args;
14691 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14692 if (!SWIG_IsOK(res1)) {
14693 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14694 }
14695 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14696 {
14697 PyThreadState* __tstate = wxPyBeginAllowThreads();
14698 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
14699 wxPyEndAllowThreads(__tstate);
14700 if (PyErr_Occurred()) SWIG_fail;
14701 }
14702 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14703 return resultobj;
14704 fail:
14705 return NULL;
14706 }
14707
14708
14709 SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14710 PyObject *resultobj = 0;
14711 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14712 bool result;
14713 void *argp1 = 0 ;
14714 int res1 = 0 ;
14715 PyObject *swig_obj[1] ;
14716
14717 if (!args) SWIG_fail;
14718 swig_obj[0] = args;
14719 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14720 if (!SWIG_IsOK(res1)) {
14721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14722 }
14723 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14724 {
14725 PyThreadState* __tstate = wxPyBeginAllowThreads();
14726 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
14727 wxPyEndAllowThreads(__tstate);
14728 if (PyErr_Occurred()) SWIG_fail;
14729 }
14730 {
14731 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14732 }
14733 return resultobj;
14734 fail:
14735 return NULL;
14736 }
14737
14738
14739 SWIGINTERN PyObject *_wrap_VListBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14740 PyObject *resultobj = 0;
14741 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14742 int result;
14743 void *argp1 = 0 ;
14744 int res1 = 0 ;
14745 PyObject *swig_obj[1] ;
14746
14747 if (!args) SWIG_fail;
14748 swig_obj[0] = args;
14749 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14750 if (!SWIG_IsOK(res1)) {
14751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14752 }
14753 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14754 {
14755 PyThreadState* __tstate = wxPyBeginAllowThreads();
14756 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
14757 wxPyEndAllowThreads(__tstate);
14758 if (PyErr_Occurred()) SWIG_fail;
14759 }
14760 resultobj = SWIG_From_int(static_cast< int >(result));
14761 return resultobj;
14762 fail:
14763 return NULL;
14764 }
14765
14766
14767 SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14768 PyObject *resultobj = 0;
14769 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14770 size_t arg2 ;
14771 bool result;
14772 void *argp1 = 0 ;
14773 int res1 = 0 ;
14774 size_t val2 ;
14775 int ecode2 = 0 ;
14776 PyObject * obj0 = 0 ;
14777 PyObject * obj1 = 0 ;
14778 char * kwnames[] = {
14779 (char *) "self",(char *) "item", NULL
14780 };
14781
14782 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
14783 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14784 if (!SWIG_IsOK(res1)) {
14785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14786 }
14787 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14788 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14789 if (!SWIG_IsOK(ecode2)) {
14790 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14791 }
14792 arg2 = static_cast< size_t >(val2);
14793 {
14794 PyThreadState* __tstate = wxPyBeginAllowThreads();
14795 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
14796 wxPyEndAllowThreads(__tstate);
14797 if (PyErr_Occurred()) SWIG_fail;
14798 }
14799 {
14800 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14801 }
14802 return resultobj;
14803 fail:
14804 return NULL;
14805 }
14806
14807
14808 SWIGINTERN PyObject *_wrap_VListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14809 PyObject *resultobj = 0;
14810 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14811 size_t arg2 ;
14812 bool result;
14813 void *argp1 = 0 ;
14814 int res1 = 0 ;
14815 size_t val2 ;
14816 int ecode2 = 0 ;
14817 PyObject * obj0 = 0 ;
14818 PyObject * obj1 = 0 ;
14819 char * kwnames[] = {
14820 (char *) "self",(char *) "item", NULL
14821 };
14822
14823 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14824 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14825 if (!SWIG_IsOK(res1)) {
14826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14827 }
14828 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14829 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14830 if (!SWIG_IsOK(ecode2)) {
14831 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14832 }
14833 arg2 = static_cast< size_t >(val2);
14834 {
14835 PyThreadState* __tstate = wxPyBeginAllowThreads();
14836 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
14837 wxPyEndAllowThreads(__tstate);
14838 if (PyErr_Occurred()) SWIG_fail;
14839 }
14840 {
14841 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14842 }
14843 return resultobj;
14844 fail:
14845 return NULL;
14846 }
14847
14848
14849 SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14850 PyObject *resultobj = 0;
14851 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14852 size_t result;
14853 void *argp1 = 0 ;
14854 int res1 = 0 ;
14855 PyObject *swig_obj[1] ;
14856
14857 if (!args) SWIG_fail;
14858 swig_obj[0] = args;
14859 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14860 if (!SWIG_IsOK(res1)) {
14861 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14862 }
14863 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14864 {
14865 PyThreadState* __tstate = wxPyBeginAllowThreads();
14866 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
14867 wxPyEndAllowThreads(__tstate);
14868 if (PyErr_Occurred()) SWIG_fail;
14869 }
14870 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14871 return resultobj;
14872 fail:
14873 return NULL;
14874 }
14875
14876
14877 SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14878 PyObject *resultobj = 0;
14879 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14880 PyObject *result = 0 ;
14881 void *argp1 = 0 ;
14882 int res1 = 0 ;
14883 PyObject *swig_obj[1] ;
14884
14885 if (!args) SWIG_fail;
14886 swig_obj[0] = args;
14887 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14888 if (!SWIG_IsOK(res1)) {
14889 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14890 }
14891 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14892 {
14893 PyThreadState* __tstate = wxPyBeginAllowThreads();
14894 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
14895 wxPyEndAllowThreads(__tstate);
14896 if (PyErr_Occurred()) SWIG_fail;
14897 }
14898 resultobj = result;
14899 return resultobj;
14900 fail:
14901 return NULL;
14902 }
14903
14904
14905 SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14906 PyObject *resultobj = 0;
14907 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14908 unsigned long arg2 ;
14909 PyObject *result = 0 ;
14910 void *argp1 = 0 ;
14911 int res1 = 0 ;
14912 unsigned long val2 ;
14913 int ecode2 = 0 ;
14914 PyObject * obj0 = 0 ;
14915 PyObject * obj1 = 0 ;
14916 char * kwnames[] = {
14917 (char *) "self",(char *) "cookie", NULL
14918 };
14919
14920 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14921 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14922 if (!SWIG_IsOK(res1)) {
14923 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14924 }
14925 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14926 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
14927 if (!SWIG_IsOK(ecode2)) {
14928 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14929 }
14930 arg2 = static_cast< unsigned long >(val2);
14931 {
14932 PyThreadState* __tstate = wxPyBeginAllowThreads();
14933 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
14934 wxPyEndAllowThreads(__tstate);
14935 if (PyErr_Occurred()) SWIG_fail;
14936 }
14937 resultobj = result;
14938 return resultobj;
14939 fail:
14940 return NULL;
14941 }
14942
14943
14944 SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14945 PyObject *resultobj = 0;
14946 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14947 wxPoint result;
14948 void *argp1 = 0 ;
14949 int res1 = 0 ;
14950 PyObject *swig_obj[1] ;
14951
14952 if (!args) SWIG_fail;
14953 swig_obj[0] = args;
14954 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14955 if (!SWIG_IsOK(res1)) {
14956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14957 }
14958 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14959 {
14960 PyThreadState* __tstate = wxPyBeginAllowThreads();
14961 result = ((wxPyVListBox const *)arg1)->GetMargins();
14962 wxPyEndAllowThreads(__tstate);
14963 if (PyErr_Occurred()) SWIG_fail;
14964 }
14965 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
14966 return resultobj;
14967 fail:
14968 return NULL;
14969 }
14970
14971
14972 SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14973 PyObject *resultobj = 0;
14974 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14975 wxColour *result = 0 ;
14976 void *argp1 = 0 ;
14977 int res1 = 0 ;
14978 PyObject *swig_obj[1] ;
14979
14980 if (!args) SWIG_fail;
14981 swig_obj[0] = args;
14982 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14983 if (!SWIG_IsOK(res1)) {
14984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14985 }
14986 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14987 {
14988 PyThreadState* __tstate = wxPyBeginAllowThreads();
14989 {
14990 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
14991 result = (wxColour *) &_result_ref;
14992 }
14993 wxPyEndAllowThreads(__tstate);
14994 if (PyErr_Occurred()) SWIG_fail;
14995 }
14996 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
14997 return resultobj;
14998 fail:
14999 return NULL;
15000 }
15001
15002
15003 SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15004 PyObject *resultobj = 0;
15005 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15006 size_t arg2 ;
15007 void *argp1 = 0 ;
15008 int res1 = 0 ;
15009 size_t val2 ;
15010 int ecode2 = 0 ;
15011 PyObject * obj0 = 0 ;
15012 PyObject * obj1 = 0 ;
15013 char * kwnames[] = {
15014 (char *) "self",(char *) "count", NULL
15015 };
15016
15017 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15018 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15019 if (!SWIG_IsOK(res1)) {
15020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15021 }
15022 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15023 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15024 if (!SWIG_IsOK(ecode2)) {
15025 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15026 }
15027 arg2 = static_cast< size_t >(val2);
15028 {
15029 PyThreadState* __tstate = wxPyBeginAllowThreads();
15030 (arg1)->SetItemCount(arg2);
15031 wxPyEndAllowThreads(__tstate);
15032 if (PyErr_Occurred()) SWIG_fail;
15033 }
15034 resultobj = SWIG_Py_Void();
15035 return resultobj;
15036 fail:
15037 return NULL;
15038 }
15039
15040
15041 SWIGINTERN PyObject *_wrap_VListBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15042 PyObject *resultobj = 0;
15043 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15044 void *argp1 = 0 ;
15045 int res1 = 0 ;
15046 PyObject *swig_obj[1] ;
15047
15048 if (!args) SWIG_fail;
15049 swig_obj[0] = args;
15050 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15051 if (!SWIG_IsOK(res1)) {
15052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15053 }
15054 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15055 {
15056 PyThreadState* __tstate = wxPyBeginAllowThreads();
15057 (arg1)->Clear();
15058 wxPyEndAllowThreads(__tstate);
15059 if (PyErr_Occurred()) SWIG_fail;
15060 }
15061 resultobj = SWIG_Py_Void();
15062 return resultobj;
15063 fail:
15064 return NULL;
15065 }
15066
15067
15068 SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15069 PyObject *resultobj = 0;
15070 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15071 int arg2 ;
15072 void *argp1 = 0 ;
15073 int res1 = 0 ;
15074 int val2 ;
15075 int ecode2 = 0 ;
15076 PyObject * obj0 = 0 ;
15077 PyObject * obj1 = 0 ;
15078 char * kwnames[] = {
15079 (char *) "self",(char *) "selection", NULL
15080 };
15081
15082 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
15083 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15084 if (!SWIG_IsOK(res1)) {
15085 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15086 }
15087 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15088 ecode2 = SWIG_AsVal_int(obj1, &val2);
15089 if (!SWIG_IsOK(ecode2)) {
15090 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
15091 }
15092 arg2 = static_cast< int >(val2);
15093 {
15094 PyThreadState* __tstate = wxPyBeginAllowThreads();
15095 (arg1)->SetSelection(arg2);
15096 wxPyEndAllowThreads(__tstate);
15097 if (PyErr_Occurred()) SWIG_fail;
15098 }
15099 resultobj = SWIG_Py_Void();
15100 return resultobj;
15101 fail:
15102 return NULL;
15103 }
15104
15105
15106 SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15107 PyObject *resultobj = 0;
15108 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15109 size_t arg2 ;
15110 bool arg3 = (bool) true ;
15111 bool result;
15112 void *argp1 = 0 ;
15113 int res1 = 0 ;
15114 size_t val2 ;
15115 int ecode2 = 0 ;
15116 bool val3 ;
15117 int ecode3 = 0 ;
15118 PyObject * obj0 = 0 ;
15119 PyObject * obj1 = 0 ;
15120 PyObject * obj2 = 0 ;
15121 char * kwnames[] = {
15122 (char *) "self",(char *) "item",(char *) "select", NULL
15123 };
15124
15125 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15126 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15127 if (!SWIG_IsOK(res1)) {
15128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15129 }
15130 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15131 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15132 if (!SWIG_IsOK(ecode2)) {
15133 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
15134 }
15135 arg2 = static_cast< size_t >(val2);
15136 if (obj2) {
15137 ecode3 = SWIG_AsVal_bool(obj2, &val3);
15138 if (!SWIG_IsOK(ecode3)) {
15139 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15140 }
15141 arg3 = static_cast< bool >(val3);
15142 }
15143 {
15144 PyThreadState* __tstate = wxPyBeginAllowThreads();
15145 result = (bool)(arg1)->Select(arg2,arg3);
15146 wxPyEndAllowThreads(__tstate);
15147 if (PyErr_Occurred()) SWIG_fail;
15148 }
15149 {
15150 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15151 }
15152 return resultobj;
15153 fail:
15154 return NULL;
15155 }
15156
15157
15158 SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15159 PyObject *resultobj = 0;
15160 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15161 size_t arg2 ;
15162 size_t arg3 ;
15163 bool result;
15164 void *argp1 = 0 ;
15165 int res1 = 0 ;
15166 size_t val2 ;
15167 int ecode2 = 0 ;
15168 size_t val3 ;
15169 int ecode3 = 0 ;
15170 PyObject * obj0 = 0 ;
15171 PyObject * obj1 = 0 ;
15172 PyObject * obj2 = 0 ;
15173 char * kwnames[] = {
15174 (char *) "self",(char *) "from",(char *) "to", NULL
15175 };
15176
15177 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15178 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15179 if (!SWIG_IsOK(res1)) {
15180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15181 }
15182 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15183 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15184 if (!SWIG_IsOK(ecode2)) {
15185 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15186 }
15187 arg2 = static_cast< size_t >(val2);
15188 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
15189 if (!SWIG_IsOK(ecode3)) {
15190 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15191 }
15192 arg3 = static_cast< size_t >(val3);
15193 {
15194 PyThreadState* __tstate = wxPyBeginAllowThreads();
15195 result = (bool)(arg1)->SelectRange(arg2,arg3);
15196 wxPyEndAllowThreads(__tstate);
15197 if (PyErr_Occurred()) SWIG_fail;
15198 }
15199 {
15200 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15201 }
15202 return resultobj;
15203 fail:
15204 return NULL;
15205 }
15206
15207
15208 SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15209 PyObject *resultobj = 0;
15210 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15211 size_t arg2 ;
15212 void *argp1 = 0 ;
15213 int res1 = 0 ;
15214 size_t val2 ;
15215 int ecode2 = 0 ;
15216 PyObject * obj0 = 0 ;
15217 PyObject * obj1 = 0 ;
15218 char * kwnames[] = {
15219 (char *) "self",(char *) "item", NULL
15220 };
15221
15222 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
15223 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15224 if (!SWIG_IsOK(res1)) {
15225 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15226 }
15227 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15228 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15229 if (!SWIG_IsOK(ecode2)) {
15230 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15231 }
15232 arg2 = static_cast< size_t >(val2);
15233 {
15234 PyThreadState* __tstate = wxPyBeginAllowThreads();
15235 (arg1)->Toggle(arg2);
15236 wxPyEndAllowThreads(__tstate);
15237 if (PyErr_Occurred()) SWIG_fail;
15238 }
15239 resultobj = SWIG_Py_Void();
15240 return resultobj;
15241 fail:
15242 return NULL;
15243 }
15244
15245
15246 SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15247 PyObject *resultobj = 0;
15248 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15249 bool result;
15250 void *argp1 = 0 ;
15251 int res1 = 0 ;
15252 PyObject *swig_obj[1] ;
15253
15254 if (!args) SWIG_fail;
15255 swig_obj[0] = args;
15256 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15257 if (!SWIG_IsOK(res1)) {
15258 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15259 }
15260 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15261 {
15262 PyThreadState* __tstate = wxPyBeginAllowThreads();
15263 result = (bool)(arg1)->SelectAll();
15264 wxPyEndAllowThreads(__tstate);
15265 if (PyErr_Occurred()) SWIG_fail;
15266 }
15267 {
15268 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15269 }
15270 return resultobj;
15271 fail:
15272 return NULL;
15273 }
15274
15275
15276 SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15277 PyObject *resultobj = 0;
15278 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15279 bool result;
15280 void *argp1 = 0 ;
15281 int res1 = 0 ;
15282 PyObject *swig_obj[1] ;
15283
15284 if (!args) SWIG_fail;
15285 swig_obj[0] = args;
15286 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15287 if (!SWIG_IsOK(res1)) {
15288 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15289 }
15290 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15291 {
15292 PyThreadState* __tstate = wxPyBeginAllowThreads();
15293 result = (bool)(arg1)->DeselectAll();
15294 wxPyEndAllowThreads(__tstate);
15295 if (PyErr_Occurred()) SWIG_fail;
15296 }
15297 {
15298 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15299 }
15300 return resultobj;
15301 fail:
15302 return NULL;
15303 }
15304
15305
15306 SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15307 PyObject *resultobj = 0;
15308 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15309 wxPoint *arg2 = 0 ;
15310 void *argp1 = 0 ;
15311 int res1 = 0 ;
15312 wxPoint temp2 ;
15313 PyObject * obj0 = 0 ;
15314 PyObject * obj1 = 0 ;
15315 char * kwnames[] = {
15316 (char *) "self",(char *) "pt", NULL
15317 };
15318
15319 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
15320 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15321 if (!SWIG_IsOK(res1)) {
15322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15323 }
15324 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15325 {
15326 arg2 = &temp2;
15327 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15328 }
15329 {
15330 PyThreadState* __tstate = wxPyBeginAllowThreads();
15331 (arg1)->SetMargins((wxPoint const &)*arg2);
15332 wxPyEndAllowThreads(__tstate);
15333 if (PyErr_Occurred()) SWIG_fail;
15334 }
15335 resultobj = SWIG_Py_Void();
15336 return resultobj;
15337 fail:
15338 return NULL;
15339 }
15340
15341
15342 SWIGINTERN PyObject *_wrap_VListBox_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15343 PyObject *resultobj = 0;
15344 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15345 int arg2 ;
15346 int arg3 ;
15347 void *argp1 = 0 ;
15348 int res1 = 0 ;
15349 int val2 ;
15350 int ecode2 = 0 ;
15351 int val3 ;
15352 int ecode3 = 0 ;
15353 PyObject * obj0 = 0 ;
15354 PyObject * obj1 = 0 ;
15355 PyObject * obj2 = 0 ;
15356 char * kwnames[] = {
15357 (char *) "self",(char *) "x",(char *) "y", NULL
15358 };
15359
15360 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15361 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15362 if (!SWIG_IsOK(res1)) {
15363 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15364 }
15365 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15366 ecode2 = SWIG_AsVal_int(obj1, &val2);
15367 if (!SWIG_IsOK(ecode2)) {
15368 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15369 }
15370 arg2 = static_cast< int >(val2);
15371 ecode3 = SWIG_AsVal_int(obj2, &val3);
15372 if (!SWIG_IsOK(ecode3)) {
15373 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15374 }
15375 arg3 = static_cast< int >(val3);
15376 {
15377 PyThreadState* __tstate = wxPyBeginAllowThreads();
15378 (arg1)->SetMargins(arg2,arg3);
15379 wxPyEndAllowThreads(__tstate);
15380 if (PyErr_Occurred()) SWIG_fail;
15381 }
15382 resultobj = SWIG_Py_Void();
15383 return resultobj;
15384 fail:
15385 return NULL;
15386 }
15387
15388
15389 SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15390 PyObject *resultobj = 0;
15391 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15392 wxColour *arg2 = 0 ;
15393 void *argp1 = 0 ;
15394 int res1 = 0 ;
15395 wxColour temp2 ;
15396 PyObject * obj0 = 0 ;
15397 PyObject * obj1 = 0 ;
15398 char * kwnames[] = {
15399 (char *) "self",(char *) "col", NULL
15400 };
15401
15402 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
15403 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15404 if (!SWIG_IsOK(res1)) {
15405 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15406 }
15407 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15408 {
15409 arg2 = &temp2;
15410 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15411 }
15412 {
15413 PyThreadState* __tstate = wxPyBeginAllowThreads();
15414 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
15415 wxPyEndAllowThreads(__tstate);
15416 if (PyErr_Occurred()) SWIG_fail;
15417 }
15418 resultobj = SWIG_Py_Void();
15419 return resultobj;
15420 fail:
15421 return NULL;
15422 }
15423
15424
15425 SWIGINTERN PyObject *_wrap_VListBox_OnDrawSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15426 PyObject *resultobj = 0;
15427 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15428 wxDC *arg2 = 0 ;
15429 wxRect *arg3 = 0 ;
15430 size_t arg4 ;
15431 void *argp1 = 0 ;
15432 int res1 = 0 ;
15433 void *argp2 = 0 ;
15434 int res2 = 0 ;
15435 wxRect temp3 ;
15436 size_t val4 ;
15437 int ecode4 = 0 ;
15438 PyObject * obj0 = 0 ;
15439 PyObject * obj1 = 0 ;
15440 PyObject * obj2 = 0 ;
15441 PyObject * obj3 = 0 ;
15442 char * kwnames[] = {
15443 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15444 };
15445
15446 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15447 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15448 if (!SWIG_IsOK(res1)) {
15449 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15450 }
15451 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15452 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15453 if (!SWIG_IsOK(res2)) {
15454 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15455 }
15456 if (!argp2) {
15457 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15458 }
15459 arg2 = reinterpret_cast< wxDC * >(argp2);
15460 {
15461 arg3 = &temp3;
15462 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15463 }
15464 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15465 if (!SWIG_IsOK(ecode4)) {
15466 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15467 }
15468 arg4 = static_cast< size_t >(val4);
15469 {
15470 PyThreadState* __tstate = wxPyBeginAllowThreads();
15471 ((wxPyVListBox const *)arg1)->OnDrawSeparator(*arg2,*arg3,arg4);
15472 wxPyEndAllowThreads(__tstate);
15473 if (PyErr_Occurred()) SWIG_fail;
15474 }
15475 resultobj = SWIG_Py_Void();
15476 return resultobj;
15477 fail:
15478 return NULL;
15479 }
15480
15481
15482 SWIGINTERN PyObject *_wrap_VListBox_OnDrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15483 PyObject *resultobj = 0;
15484 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15485 wxDC *arg2 = 0 ;
15486 wxRect *arg3 = 0 ;
15487 size_t arg4 ;
15488 void *argp1 = 0 ;
15489 int res1 = 0 ;
15490 void *argp2 = 0 ;
15491 int res2 = 0 ;
15492 wxRect temp3 ;
15493 size_t val4 ;
15494 int ecode4 = 0 ;
15495 PyObject * obj0 = 0 ;
15496 PyObject * obj1 = 0 ;
15497 PyObject * obj2 = 0 ;
15498 PyObject * obj3 = 0 ;
15499 char * kwnames[] = {
15500 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15501 };
15502
15503 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15504 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15505 if (!SWIG_IsOK(res1)) {
15506 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15507 }
15508 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15509 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15510 if (!SWIG_IsOK(res2)) {
15511 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15512 }
15513 if (!argp2) {
15514 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15515 }
15516 arg2 = reinterpret_cast< wxDC * >(argp2);
15517 {
15518 arg3 = &temp3;
15519 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15520 }
15521 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15522 if (!SWIG_IsOK(ecode4)) {
15523 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15524 }
15525 arg4 = static_cast< size_t >(val4);
15526 {
15527 PyThreadState* __tstate = wxPyBeginAllowThreads();
15528 ((wxPyVListBox const *)arg1)->OnDrawBackground(*arg2,(wxRect const &)*arg3,arg4);
15529 wxPyEndAllowThreads(__tstate);
15530 if (PyErr_Occurred()) SWIG_fail;
15531 }
15532 resultobj = SWIG_Py_Void();
15533 return resultobj;
15534 fail:
15535 return NULL;
15536 }
15537
15538
15539 SWIGINTERN PyObject *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15540 PyObject *obj;
15541 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15542 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
15543 return SWIG_Py_Void();
15544 }
15545
15546 SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15547 return SWIG_Python_InitShadowInstance(args);
15548 }
15549
15550 SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15551 PyObject *resultobj = 0;
15552 wxWindow *arg1 = (wxWindow *) 0 ;
15553 int arg2 = (int) wxID_ANY ;
15554 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15555 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15556 wxSize const &arg4_defvalue = wxDefaultSize ;
15557 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15558 long arg5 = (long) 0 ;
15559 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
15560 wxString *arg6 = (wxString *) &arg6_defvalue ;
15561 wxPyHtmlListBox *result = 0 ;
15562 void *argp1 = 0 ;
15563 int res1 = 0 ;
15564 int val2 ;
15565 int ecode2 = 0 ;
15566 wxPoint temp3 ;
15567 wxSize temp4 ;
15568 long val5 ;
15569 int ecode5 = 0 ;
15570 bool temp6 = false ;
15571 PyObject * obj0 = 0 ;
15572 PyObject * obj1 = 0 ;
15573 PyObject * obj2 = 0 ;
15574 PyObject * obj3 = 0 ;
15575 PyObject * obj4 = 0 ;
15576 PyObject * obj5 = 0 ;
15577 char * kwnames[] = {
15578 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15579 };
15580
15581 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15582 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15583 if (!SWIG_IsOK(res1)) {
15584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15585 }
15586 arg1 = reinterpret_cast< wxWindow * >(argp1);
15587 if (obj1) {
15588 ecode2 = SWIG_AsVal_int(obj1, &val2);
15589 if (!SWIG_IsOK(ecode2)) {
15590 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15591 }
15592 arg2 = static_cast< int >(val2);
15593 }
15594 if (obj2) {
15595 {
15596 arg3 = &temp3;
15597 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15598 }
15599 }
15600 if (obj3) {
15601 {
15602 arg4 = &temp4;
15603 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15604 }
15605 }
15606 if (obj4) {
15607 ecode5 = SWIG_AsVal_long(obj4, &val5);
15608 if (!SWIG_IsOK(ecode5)) {
15609 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15610 }
15611 arg5 = static_cast< long >(val5);
15612 }
15613 if (obj5) {
15614 {
15615 arg6 = wxString_in_helper(obj5);
15616 if (arg6 == NULL) SWIG_fail;
15617 temp6 = true;
15618 }
15619 }
15620 {
15621 if (!wxPyCheckForApp()) SWIG_fail;
15622 PyThreadState* __tstate = wxPyBeginAllowThreads();
15623 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15624 wxPyEndAllowThreads(__tstate);
15625 if (PyErr_Occurred()) SWIG_fail;
15626 }
15627 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
15628 {
15629 if (temp6)
15630 delete arg6;
15631 }
15632 return resultobj;
15633 fail:
15634 {
15635 if (temp6)
15636 delete arg6;
15637 }
15638 return NULL;
15639 }
15640
15641
15642 SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15643 PyObject *resultobj = 0;
15644 wxPyHtmlListBox *result = 0 ;
15645
15646 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
15647 {
15648 if (!wxPyCheckForApp()) SWIG_fail;
15649 PyThreadState* __tstate = wxPyBeginAllowThreads();
15650 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
15651 wxPyEndAllowThreads(__tstate);
15652 if (PyErr_Occurred()) SWIG_fail;
15653 }
15654 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
15655 return resultobj;
15656 fail:
15657 return NULL;
15658 }
15659
15660
15661 SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15662 PyObject *resultobj = 0;
15663 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15664 PyObject *arg2 = (PyObject *) 0 ;
15665 PyObject *arg3 = (PyObject *) 0 ;
15666 void *argp1 = 0 ;
15667 int res1 = 0 ;
15668 PyObject * obj0 = 0 ;
15669 PyObject * obj1 = 0 ;
15670 PyObject * obj2 = 0 ;
15671 char * kwnames[] = {
15672 (char *) "self",(char *) "self",(char *) "_class", NULL
15673 };
15674
15675 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15676 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15677 if (!SWIG_IsOK(res1)) {
15678 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15679 }
15680 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15681 arg2 = obj1;
15682 arg3 = obj2;
15683 {
15684 PyThreadState* __tstate = wxPyBeginAllowThreads();
15685 (arg1)->_setCallbackInfo(arg2,arg3);
15686 wxPyEndAllowThreads(__tstate);
15687 if (PyErr_Occurred()) SWIG_fail;
15688 }
15689 resultobj = SWIG_Py_Void();
15690 return resultobj;
15691 fail:
15692 return NULL;
15693 }
15694
15695
15696 SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15697 PyObject *resultobj = 0;
15698 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15699 wxWindow *arg2 = (wxWindow *) 0 ;
15700 int arg3 = (int) wxID_ANY ;
15701 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15702 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15703 wxSize const &arg5_defvalue = wxDefaultSize ;
15704 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15705 long arg6 = (long) 0 ;
15706 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
15707 wxString *arg7 = (wxString *) &arg7_defvalue ;
15708 bool result;
15709 void *argp1 = 0 ;
15710 int res1 = 0 ;
15711 void *argp2 = 0 ;
15712 int res2 = 0 ;
15713 int val3 ;
15714 int ecode3 = 0 ;
15715 wxPoint temp4 ;
15716 wxSize temp5 ;
15717 long val6 ;
15718 int ecode6 = 0 ;
15719 bool temp7 = false ;
15720 PyObject * obj0 = 0 ;
15721 PyObject * obj1 = 0 ;
15722 PyObject * obj2 = 0 ;
15723 PyObject * obj3 = 0 ;
15724 PyObject * obj4 = 0 ;
15725 PyObject * obj5 = 0 ;
15726 PyObject * obj6 = 0 ;
15727 char * kwnames[] = {
15728 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15729 };
15730
15731 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15732 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15733 if (!SWIG_IsOK(res1)) {
15734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15735 }
15736 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15737 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15738 if (!SWIG_IsOK(res2)) {
15739 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15740 }
15741 arg2 = reinterpret_cast< wxWindow * >(argp2);
15742 if (obj2) {
15743 ecode3 = SWIG_AsVal_int(obj2, &val3);
15744 if (!SWIG_IsOK(ecode3)) {
15745 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15746 }
15747 arg3 = static_cast< int >(val3);
15748 }
15749 if (obj3) {
15750 {
15751 arg4 = &temp4;
15752 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15753 }
15754 }
15755 if (obj4) {
15756 {
15757 arg5 = &temp5;
15758 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15759 }
15760 }
15761 if (obj5) {
15762 ecode6 = SWIG_AsVal_long(obj5, &val6);
15763 if (!SWIG_IsOK(ecode6)) {
15764 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15765 }
15766 arg6 = static_cast< long >(val6);
15767 }
15768 if (obj6) {
15769 {
15770 arg7 = wxString_in_helper(obj6);
15771 if (arg7 == NULL) SWIG_fail;
15772 temp7 = true;
15773 }
15774 }
15775 {
15776 PyThreadState* __tstate = wxPyBeginAllowThreads();
15777 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15778 wxPyEndAllowThreads(__tstate);
15779 if (PyErr_Occurred()) SWIG_fail;
15780 }
15781 {
15782 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15783 }
15784 {
15785 if (temp7)
15786 delete arg7;
15787 }
15788 return resultobj;
15789 fail:
15790 {
15791 if (temp7)
15792 delete arg7;
15793 }
15794 return NULL;
15795 }
15796
15797
15798 SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15799 PyObject *resultobj = 0;
15800 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15801 size_t arg2 ;
15802 void *argp1 = 0 ;
15803 int res1 = 0 ;
15804 size_t val2 ;
15805 int ecode2 = 0 ;
15806 PyObject * obj0 = 0 ;
15807 PyObject * obj1 = 0 ;
15808 char * kwnames[] = {
15809 (char *) "self",(char *) "count", NULL
15810 };
15811
15812 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15813 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15814 if (!SWIG_IsOK(res1)) {
15815 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15816 }
15817 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15818 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15819 if (!SWIG_IsOK(ecode2)) {
15820 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15821 }
15822 arg2 = static_cast< size_t >(val2);
15823 {
15824 PyThreadState* __tstate = wxPyBeginAllowThreads();
15825 (arg1)->SetItemCount(arg2);
15826 wxPyEndAllowThreads(__tstate);
15827 if (PyErr_Occurred()) SWIG_fail;
15828 }
15829 resultobj = SWIG_Py_Void();
15830 return resultobj;
15831 fail:
15832 return NULL;
15833 }
15834
15835
15836 SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15837 PyObject *resultobj = 0;
15838 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15839 wxFileSystem *result = 0 ;
15840 void *argp1 = 0 ;
15841 int res1 = 0 ;
15842 PyObject *swig_obj[1] ;
15843
15844 if (!args) SWIG_fail;
15845 swig_obj[0] = args;
15846 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15847 if (!SWIG_IsOK(res1)) {
15848 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15849 }
15850 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15851 {
15852 PyThreadState* __tstate = wxPyBeginAllowThreads();
15853 {
15854 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
15855 result = (wxFileSystem *) &_result_ref;
15856 }
15857 wxPyEndAllowThreads(__tstate);
15858 if (PyErr_Occurred()) SWIG_fail;
15859 }
15860 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
15861 return resultobj;
15862 fail:
15863 return NULL;
15864 }
15865
15866
15867 SWIGINTERN PyObject *_wrap_HtmlListBox_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15868 PyObject *resultobj = 0;
15869 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15870 size_t arg2 ;
15871 wxHtmlLinkInfo *arg3 = 0 ;
15872 void *argp1 = 0 ;
15873 int res1 = 0 ;
15874 size_t val2 ;
15875 int ecode2 = 0 ;
15876 void *argp3 = 0 ;
15877 int res3 = 0 ;
15878 PyObject * obj0 = 0 ;
15879 PyObject * obj1 = 0 ;
15880 PyObject * obj2 = 0 ;
15881 char * kwnames[] = {
15882 (char *) "self",(char *) "n",(char *) "link", NULL
15883 };
15884
15885 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15886 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15887 if (!SWIG_IsOK(res1)) {
15888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15889 }
15890 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15891 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15892 if (!SWIG_IsOK(ecode2)) {
15893 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15894 }
15895 arg2 = static_cast< size_t >(val2);
15896 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
15897 if (!SWIG_IsOK(res3)) {
15898 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15899 }
15900 if (!argp3) {
15901 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15902 }
15903 arg3 = reinterpret_cast< wxHtmlLinkInfo * >(argp3);
15904 {
15905 PyThreadState* __tstate = wxPyBeginAllowThreads();
15906 (arg1)->OnLinkClicked(arg2,(wxHtmlLinkInfo const &)*arg3);
15907 wxPyEndAllowThreads(__tstate);
15908 if (PyErr_Occurred()) SWIG_fail;
15909 }
15910 resultobj = SWIG_Py_Void();
15911 return resultobj;
15912 fail:
15913 return NULL;
15914 }
15915
15916
15917 SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15918 PyObject *obj;
15919 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15920 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
15921 return SWIG_Py_Void();
15922 }
15923
15924 SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15925 return SWIG_Python_InitShadowInstance(args);
15926 }
15927
15928 SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15929 PyObject *resultobj = 0;
15930 wxPyTaskBarIcon *result = 0 ;
15931
15932 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
15933 {
15934 if (!wxPyCheckForApp()) SWIG_fail;
15935 PyThreadState* __tstate = wxPyBeginAllowThreads();
15936 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
15937 wxPyEndAllowThreads(__tstate);
15938 if (PyErr_Occurred()) SWIG_fail;
15939 }
15940 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
15941 return resultobj;
15942 fail:
15943 return NULL;
15944 }
15945
15946
15947 SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15948 PyObject *resultobj = 0;
15949 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15950 void *argp1 = 0 ;
15951 int res1 = 0 ;
15952 PyObject *swig_obj[1] ;
15953
15954 if (!args) SWIG_fail;
15955 swig_obj[0] = args;
15956 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
15957 if (!SWIG_IsOK(res1)) {
15958 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15959 }
15960 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15961 {
15962 PyThreadState* __tstate = wxPyBeginAllowThreads();
15963 delete arg1;
15964
15965 wxPyEndAllowThreads(__tstate);
15966 if (PyErr_Occurred()) SWIG_fail;
15967 }
15968 resultobj = SWIG_Py_Void();
15969 return resultobj;
15970 fail:
15971 return NULL;
15972 }
15973
15974
15975 SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15976 PyObject *resultobj = 0;
15977 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15978 PyObject *arg2 = (PyObject *) 0 ;
15979 PyObject *arg3 = (PyObject *) 0 ;
15980 int arg4 ;
15981 void *argp1 = 0 ;
15982 int res1 = 0 ;
15983 int val4 ;
15984 int ecode4 = 0 ;
15985 PyObject * obj0 = 0 ;
15986 PyObject * obj1 = 0 ;
15987 PyObject * obj2 = 0 ;
15988 PyObject * obj3 = 0 ;
15989 char * kwnames[] = {
15990 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15991 };
15992
15993 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15994 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15995 if (!SWIG_IsOK(res1)) {
15996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15997 }
15998 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15999 arg2 = obj1;
16000 arg3 = obj2;
16001 ecode4 = SWIG_AsVal_int(obj3, &val4);
16002 if (!SWIG_IsOK(ecode4)) {
16003 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
16004 }
16005 arg4 = static_cast< int >(val4);
16006 {
16007 PyThreadState* __tstate = wxPyBeginAllowThreads();
16008 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
16009 wxPyEndAllowThreads(__tstate);
16010 if (PyErr_Occurred()) SWIG_fail;
16011 }
16012 resultobj = SWIG_Py_Void();
16013 return resultobj;
16014 fail:
16015 return NULL;
16016 }
16017
16018
16019 SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16020 PyObject *resultobj = 0;
16021 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16022 void *argp1 = 0 ;
16023 int res1 = 0 ;
16024 PyObject *swig_obj[1] ;
16025
16026 if (!args) SWIG_fail;
16027 swig_obj[0] = args;
16028 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16029 if (!SWIG_IsOK(res1)) {
16030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16031 }
16032 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16033 {
16034 PyThreadState* __tstate = wxPyBeginAllowThreads();
16035 wxPyTaskBarIcon_Destroy(arg1);
16036 wxPyEndAllowThreads(__tstate);
16037 if (PyErr_Occurred()) SWIG_fail;
16038 }
16039 resultobj = SWIG_Py_Void();
16040 return resultobj;
16041 fail:
16042 return NULL;
16043 }
16044
16045
16046 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16047 PyObject *resultobj = 0;
16048 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16049 bool result;
16050 void *argp1 = 0 ;
16051 int res1 = 0 ;
16052 PyObject *swig_obj[1] ;
16053
16054 if (!args) SWIG_fail;
16055 swig_obj[0] = args;
16056 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16057 if (!SWIG_IsOK(res1)) {
16058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16059 }
16060 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16061 {
16062 PyThreadState* __tstate = wxPyBeginAllowThreads();
16063 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
16064 wxPyEndAllowThreads(__tstate);
16065 if (PyErr_Occurred()) SWIG_fail;
16066 }
16067 {
16068 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16069 }
16070 return resultobj;
16071 fail:
16072 return NULL;
16073 }
16074
16075
16076 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16077 PyObject *resultobj = 0;
16078 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16079 bool result;
16080 void *argp1 = 0 ;
16081 int res1 = 0 ;
16082 PyObject *swig_obj[1] ;
16083
16084 if (!args) SWIG_fail;
16085 swig_obj[0] = args;
16086 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16087 if (!SWIG_IsOK(res1)) {
16088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16089 }
16090 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16091 {
16092 PyThreadState* __tstate = wxPyBeginAllowThreads();
16093 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
16094 wxPyEndAllowThreads(__tstate);
16095 if (PyErr_Occurred()) SWIG_fail;
16096 }
16097 {
16098 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16099 }
16100 return resultobj;
16101 fail:
16102 return NULL;
16103 }
16104
16105
16106 SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16107 PyObject *resultobj = 0;
16108 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16109 wxIcon *arg2 = 0 ;
16110 wxString const &arg3_defvalue = wxPyEmptyString ;
16111 wxString *arg3 = (wxString *) &arg3_defvalue ;
16112 bool result;
16113 void *argp1 = 0 ;
16114 int res1 = 0 ;
16115 void *argp2 = 0 ;
16116 int res2 = 0 ;
16117 bool temp3 = false ;
16118 PyObject * obj0 = 0 ;
16119 PyObject * obj1 = 0 ;
16120 PyObject * obj2 = 0 ;
16121 char * kwnames[] = {
16122 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
16123 };
16124
16125 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16126 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16127 if (!SWIG_IsOK(res1)) {
16128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16129 }
16130 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16131 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
16132 if (!SWIG_IsOK(res2)) {
16133 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16134 }
16135 if (!argp2) {
16136 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16137 }
16138 arg2 = reinterpret_cast< wxIcon * >(argp2);
16139 if (obj2) {
16140 {
16141 arg3 = wxString_in_helper(obj2);
16142 if (arg3 == NULL) SWIG_fail;
16143 temp3 = true;
16144 }
16145 }
16146 {
16147 PyThreadState* __tstate = wxPyBeginAllowThreads();
16148 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
16149 wxPyEndAllowThreads(__tstate);
16150 if (PyErr_Occurred()) SWIG_fail;
16151 }
16152 {
16153 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16154 }
16155 {
16156 if (temp3)
16157 delete arg3;
16158 }
16159 return resultobj;
16160 fail:
16161 {
16162 if (temp3)
16163 delete arg3;
16164 }
16165 return NULL;
16166 }
16167
16168
16169 SWIGINTERN PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16170 PyObject *resultobj = 0;
16171 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16172 bool result;
16173 void *argp1 = 0 ;
16174 int res1 = 0 ;
16175 PyObject *swig_obj[1] ;
16176
16177 if (!args) SWIG_fail;
16178 swig_obj[0] = args;
16179 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16180 if (!SWIG_IsOK(res1)) {
16181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16182 }
16183 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16184 {
16185 PyThreadState* __tstate = wxPyBeginAllowThreads();
16186 result = (bool)(arg1)->RemoveIcon();
16187 wxPyEndAllowThreads(__tstate);
16188 if (PyErr_Occurred()) SWIG_fail;
16189 }
16190 {
16191 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16192 }
16193 return resultobj;
16194 fail:
16195 return NULL;
16196 }
16197
16198
16199 SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16200 PyObject *resultobj = 0;
16201 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16202 wxMenu *arg2 = (wxMenu *) 0 ;
16203 bool result;
16204 void *argp1 = 0 ;
16205 int res1 = 0 ;
16206 void *argp2 = 0 ;
16207 int res2 = 0 ;
16208 PyObject * obj0 = 0 ;
16209 PyObject * obj1 = 0 ;
16210 char * kwnames[] = {
16211 (char *) "self",(char *) "menu", NULL
16212 };
16213
16214 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
16215 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16216 if (!SWIG_IsOK(res1)) {
16217 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16218 }
16219 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16220 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
16221 if (!SWIG_IsOK(res2)) {
16222 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16223 }
16224 arg2 = reinterpret_cast< wxMenu * >(argp2);
16225 {
16226 PyThreadState* __tstate = wxPyBeginAllowThreads();
16227 result = (bool)(arg1)->PopupMenu(arg2);
16228 wxPyEndAllowThreads(__tstate);
16229 if (PyErr_Occurred()) SWIG_fail;
16230 }
16231 {
16232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16233 }
16234 return resultobj;
16235 fail:
16236 return NULL;
16237 }
16238
16239
16240 SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16241 PyObject *obj;
16242 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16243 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
16244 return SWIG_Py_Void();
16245 }
16246
16247 SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16248 return SWIG_Python_InitShadowInstance(args);
16249 }
16250
16251 SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16252 PyObject *resultobj = 0;
16253 wxEventType arg1 ;
16254 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
16255 wxTaskBarIconEvent *result = 0 ;
16256 int val1 ;
16257 int ecode1 = 0 ;
16258 void *argp2 = 0 ;
16259 int res2 = 0 ;
16260 PyObject * obj0 = 0 ;
16261 PyObject * obj1 = 0 ;
16262 char * kwnames[] = {
16263 (char *) "evtType",(char *) "tbIcon", NULL
16264 };
16265
16266 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
16267 ecode1 = SWIG_AsVal_int(obj0, &val1);
16268 if (!SWIG_IsOK(ecode1)) {
16269 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16270 }
16271 arg1 = static_cast< wxEventType >(val1);
16272 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
16273 if (!SWIG_IsOK(res2)) {
16274 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16275 }
16276 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
16277 {
16278 PyThreadState* __tstate = wxPyBeginAllowThreads();
16279 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
16280 wxPyEndAllowThreads(__tstate);
16281 if (PyErr_Occurred()) SWIG_fail;
16282 }
16283 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
16284 return resultobj;
16285 fail:
16286 return NULL;
16287 }
16288
16289
16290 SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16291 PyObject *obj;
16292 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16293 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
16294 return SWIG_Py_Void();
16295 }
16296
16297 SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16298 return SWIG_Python_InitShadowInstance(args);
16299 }
16300
16301 SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
16302 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
16303 return 1;
16304 }
16305
16306
16307 SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
16308 PyObject *pyobj = 0;
16309
16310 {
16311 #if wxUSE_UNICODE
16312 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16313 #else
16314 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16315 #endif
16316 }
16317 return pyobj;
16318 }
16319
16320
16321 SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
16322 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
16323 return 1;
16324 }
16325
16326
16327 SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
16328 PyObject *pyobj = 0;
16329
16330 {
16331 #if wxUSE_UNICODE
16332 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16333 #else
16334 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16335 #endif
16336 }
16337 return pyobj;
16338 }
16339
16340
16341 SWIGINTERN int DirDialogNameStr_set(PyObject *) {
16342 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
16343 return 1;
16344 }
16345
16346
16347 SWIGINTERN PyObject *DirDialogNameStr_get(void) {
16348 PyObject *pyobj = 0;
16349
16350 {
16351 #if wxUSE_UNICODE
16352 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16353 #else
16354 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16355 #endif
16356 }
16357 return pyobj;
16358 }
16359
16360
16361 SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
16362 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
16363 return 1;
16364 }
16365
16366
16367 SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
16368 PyObject *pyobj = 0;
16369
16370 {
16371 #if wxUSE_UNICODE
16372 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16373 #else
16374 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16375 #endif
16376 }
16377 return pyobj;
16378 }
16379
16380
16381 SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
16382 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
16383 return 1;
16384 }
16385
16386
16387 SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
16388 PyObject *pyobj = 0;
16389
16390 {
16391 #if wxUSE_UNICODE
16392 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16393 #else
16394 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16395 #endif
16396 }
16397 return pyobj;
16398 }
16399
16400
16401 SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
16402 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
16403 return 1;
16404 }
16405
16406
16407 SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
16408 PyObject *pyobj = 0;
16409
16410 {
16411 #if wxUSE_UNICODE
16412 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16413 #else
16414 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16415 #endif
16416 }
16417 return pyobj;
16418 }
16419
16420
16421 SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16422 PyObject *resultobj = 0;
16423 wxColourData *result = 0 ;
16424
16425 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
16426 {
16427 PyThreadState* __tstate = wxPyBeginAllowThreads();
16428 result = (wxColourData *)new wxColourData();
16429 wxPyEndAllowThreads(__tstate);
16430 if (PyErr_Occurred()) SWIG_fail;
16431 }
16432 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
16433 return resultobj;
16434 fail:
16435 return NULL;
16436 }
16437
16438
16439 SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16440 PyObject *resultobj = 0;
16441 wxColourData *arg1 = (wxColourData *) 0 ;
16442 void *argp1 = 0 ;
16443 int res1 = 0 ;
16444 PyObject *swig_obj[1] ;
16445
16446 if (!args) SWIG_fail;
16447 swig_obj[0] = args;
16448 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, SWIG_POINTER_DISOWN | 0 );
16449 if (!SWIG_IsOK(res1)) {
16450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16451 }
16452 arg1 = reinterpret_cast< wxColourData * >(argp1);
16453 {
16454 PyThreadState* __tstate = wxPyBeginAllowThreads();
16455 delete arg1;
16456
16457 wxPyEndAllowThreads(__tstate);
16458 if (PyErr_Occurred()) SWIG_fail;
16459 }
16460 resultobj = SWIG_Py_Void();
16461 return resultobj;
16462 fail:
16463 return NULL;
16464 }
16465
16466
16467 SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16468 PyObject *resultobj = 0;
16469 wxColourData *arg1 = (wxColourData *) 0 ;
16470 bool result;
16471 void *argp1 = 0 ;
16472 int res1 = 0 ;
16473 PyObject *swig_obj[1] ;
16474
16475 if (!args) SWIG_fail;
16476 swig_obj[0] = args;
16477 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16478 if (!SWIG_IsOK(res1)) {
16479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16480 }
16481 arg1 = reinterpret_cast< wxColourData * >(argp1);
16482 {
16483 PyThreadState* __tstate = wxPyBeginAllowThreads();
16484 result = (bool)(arg1)->GetChooseFull();
16485 wxPyEndAllowThreads(__tstate);
16486 if (PyErr_Occurred()) SWIG_fail;
16487 }
16488 {
16489 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16490 }
16491 return resultobj;
16492 fail:
16493 return NULL;
16494 }
16495
16496
16497 SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16498 PyObject *resultobj = 0;
16499 wxColourData *arg1 = (wxColourData *) 0 ;
16500 wxColour result;
16501 void *argp1 = 0 ;
16502 int res1 = 0 ;
16503 PyObject *swig_obj[1] ;
16504
16505 if (!args) SWIG_fail;
16506 swig_obj[0] = args;
16507 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16508 if (!SWIG_IsOK(res1)) {
16509 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16510 }
16511 arg1 = reinterpret_cast< wxColourData * >(argp1);
16512 {
16513 PyThreadState* __tstate = wxPyBeginAllowThreads();
16514 result = (arg1)->GetColour();
16515 wxPyEndAllowThreads(__tstate);
16516 if (PyErr_Occurred()) SWIG_fail;
16517 }
16518 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16519 return resultobj;
16520 fail:
16521 return NULL;
16522 }
16523
16524
16525 SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16526 PyObject *resultobj = 0;
16527 wxColourData *arg1 = (wxColourData *) 0 ;
16528 int arg2 ;
16529 wxColour result;
16530 void *argp1 = 0 ;
16531 int res1 = 0 ;
16532 int val2 ;
16533 int ecode2 = 0 ;
16534 PyObject * obj0 = 0 ;
16535 PyObject * obj1 = 0 ;
16536 char * kwnames[] = {
16537 (char *) "self",(char *) "i", NULL
16538 };
16539
16540 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
16541 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16542 if (!SWIG_IsOK(res1)) {
16543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16544 }
16545 arg1 = reinterpret_cast< wxColourData * >(argp1);
16546 ecode2 = SWIG_AsVal_int(obj1, &val2);
16547 if (!SWIG_IsOK(ecode2)) {
16548 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16549 }
16550 arg2 = static_cast< int >(val2);
16551 {
16552 PyThreadState* __tstate = wxPyBeginAllowThreads();
16553 result = (arg1)->GetCustomColour(arg2);
16554 wxPyEndAllowThreads(__tstate);
16555 if (PyErr_Occurred()) SWIG_fail;
16556 }
16557 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16558 return resultobj;
16559 fail:
16560 return NULL;
16561 }
16562
16563
16564 SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16565 PyObject *resultobj = 0;
16566 wxColourData *arg1 = (wxColourData *) 0 ;
16567 int arg2 ;
16568 void *argp1 = 0 ;
16569 int res1 = 0 ;
16570 int val2 ;
16571 int ecode2 = 0 ;
16572 PyObject * obj0 = 0 ;
16573 PyObject * obj1 = 0 ;
16574 char * kwnames[] = {
16575 (char *) "self",(char *) "flag", NULL
16576 };
16577
16578 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
16579 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16580 if (!SWIG_IsOK(res1)) {
16581 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16582 }
16583 arg1 = reinterpret_cast< wxColourData * >(argp1);
16584 ecode2 = SWIG_AsVal_int(obj1, &val2);
16585 if (!SWIG_IsOK(ecode2)) {
16586 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16587 }
16588 arg2 = static_cast< int >(val2);
16589 {
16590 PyThreadState* __tstate = wxPyBeginAllowThreads();
16591 (arg1)->SetChooseFull(arg2);
16592 wxPyEndAllowThreads(__tstate);
16593 if (PyErr_Occurred()) SWIG_fail;
16594 }
16595 resultobj = SWIG_Py_Void();
16596 return resultobj;
16597 fail:
16598 return NULL;
16599 }
16600
16601
16602 SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16603 PyObject *resultobj = 0;
16604 wxColourData *arg1 = (wxColourData *) 0 ;
16605 wxColour *arg2 = 0 ;
16606 void *argp1 = 0 ;
16607 int res1 = 0 ;
16608 wxColour temp2 ;
16609 PyObject * obj0 = 0 ;
16610 PyObject * obj1 = 0 ;
16611 char * kwnames[] = {
16612 (char *) "self",(char *) "colour", NULL
16613 };
16614
16615 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
16616 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16617 if (!SWIG_IsOK(res1)) {
16618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16619 }
16620 arg1 = reinterpret_cast< wxColourData * >(argp1);
16621 {
16622 arg2 = &temp2;
16623 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16624 }
16625 {
16626 PyThreadState* __tstate = wxPyBeginAllowThreads();
16627 (arg1)->SetColour((wxColour const &)*arg2);
16628 wxPyEndAllowThreads(__tstate);
16629 if (PyErr_Occurred()) SWIG_fail;
16630 }
16631 resultobj = SWIG_Py_Void();
16632 return resultobj;
16633 fail:
16634 return NULL;
16635 }
16636
16637
16638 SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16639 PyObject *resultobj = 0;
16640 wxColourData *arg1 = (wxColourData *) 0 ;
16641 int arg2 ;
16642 wxColour *arg3 = 0 ;
16643 void *argp1 = 0 ;
16644 int res1 = 0 ;
16645 int val2 ;
16646 int ecode2 = 0 ;
16647 wxColour temp3 ;
16648 PyObject * obj0 = 0 ;
16649 PyObject * obj1 = 0 ;
16650 PyObject * obj2 = 0 ;
16651 char * kwnames[] = {
16652 (char *) "self",(char *) "i",(char *) "colour", NULL
16653 };
16654
16655 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16656 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16657 if (!SWIG_IsOK(res1)) {
16658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16659 }
16660 arg1 = reinterpret_cast< wxColourData * >(argp1);
16661 ecode2 = SWIG_AsVal_int(obj1, &val2);
16662 if (!SWIG_IsOK(ecode2)) {
16663 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16664 }
16665 arg2 = static_cast< int >(val2);
16666 {
16667 arg3 = &temp3;
16668 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16669 }
16670 {
16671 PyThreadState* __tstate = wxPyBeginAllowThreads();
16672 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
16673 wxPyEndAllowThreads(__tstate);
16674 if (PyErr_Occurred()) SWIG_fail;
16675 }
16676 resultobj = SWIG_Py_Void();
16677 return resultobj;
16678 fail:
16679 return NULL;
16680 }
16681
16682
16683 SWIGINTERN PyObject *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16684 PyObject *obj;
16685 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16686 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
16687 return SWIG_Py_Void();
16688 }
16689
16690 SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16691 return SWIG_Python_InitShadowInstance(args);
16692 }
16693
16694 SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16695 PyObject *resultobj = 0;
16696 wxWindow *arg1 = (wxWindow *) 0 ;
16697 wxColourData *arg2 = (wxColourData *) NULL ;
16698 wxColourDialog *result = 0 ;
16699 void *argp1 = 0 ;
16700 int res1 = 0 ;
16701 void *argp2 = 0 ;
16702 int res2 = 0 ;
16703 PyObject * obj0 = 0 ;
16704 PyObject * obj1 = 0 ;
16705 char * kwnames[] = {
16706 (char *) "parent",(char *) "data", NULL
16707 };
16708
16709 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
16710 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16711 if (!SWIG_IsOK(res1)) {
16712 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16713 }
16714 arg1 = reinterpret_cast< wxWindow * >(argp1);
16715 if (obj1) {
16716 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
16717 if (!SWIG_IsOK(res2)) {
16718 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16719 }
16720 arg2 = reinterpret_cast< wxColourData * >(argp2);
16721 }
16722 {
16723 if (!wxPyCheckForApp()) SWIG_fail;
16724 PyThreadState* __tstate = wxPyBeginAllowThreads();
16725 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
16726 wxPyEndAllowThreads(__tstate);
16727 if (PyErr_Occurred()) SWIG_fail;
16728 }
16729 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
16730 return resultobj;
16731 fail:
16732 return NULL;
16733 }
16734
16735
16736 SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16737 PyObject *resultobj = 0;
16738 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
16739 wxColourData *result = 0 ;
16740 void *argp1 = 0 ;
16741 int res1 = 0 ;
16742 PyObject *swig_obj[1] ;
16743
16744 if (!args) SWIG_fail;
16745 swig_obj[0] = args;
16746 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourDialog, 0 | 0 );
16747 if (!SWIG_IsOK(res1)) {
16748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16749 }
16750 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
16751 {
16752 PyThreadState* __tstate = wxPyBeginAllowThreads();
16753 {
16754 wxColourData &_result_ref = (arg1)->GetColourData();
16755 result = (wxColourData *) &_result_ref;
16756 }
16757 wxPyEndAllowThreads(__tstate);
16758 if (PyErr_Occurred()) SWIG_fail;
16759 }
16760 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
16761 return resultobj;
16762 fail:
16763 return NULL;
16764 }
16765
16766
16767 SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16768 PyObject *obj;
16769 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16770 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
16771 return SWIG_Py_Void();
16772 }
16773
16774 SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16775 return SWIG_Python_InitShadowInstance(args);
16776 }
16777
16778 SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16779 PyObject *resultobj = 0;
16780 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
16781 wxColour const &arg2_defvalue = wxNullColour ;
16782 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
16783 wxString const &arg3_defvalue = wxPyEmptyString ;
16784 wxString *arg3 = (wxString *) &arg3_defvalue ;
16785 wxColour result;
16786 void *argp1 = 0 ;
16787 int res1 = 0 ;
16788 wxColour temp2 ;
16789 bool temp3 = false ;
16790 PyObject * obj0 = 0 ;
16791 PyObject * obj1 = 0 ;
16792 PyObject * obj2 = 0 ;
16793 char * kwnames[] = {
16794 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16795 };
16796
16797 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16798 if (obj0) {
16799 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16800 if (!SWIG_IsOK(res1)) {
16801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16802 }
16803 arg1 = reinterpret_cast< wxWindow * >(argp1);
16804 }
16805 if (obj1) {
16806 {
16807 arg2 = &temp2;
16808 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16809 }
16810 }
16811 if (obj2) {
16812 {
16813 arg3 = wxString_in_helper(obj2);
16814 if (arg3 == NULL) SWIG_fail;
16815 temp3 = true;
16816 }
16817 }
16818 {
16819 PyThreadState* __tstate = wxPyBeginAllowThreads();
16820 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
16821 wxPyEndAllowThreads(__tstate);
16822 if (PyErr_Occurred()) SWIG_fail;
16823 }
16824 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16825 {
16826 if (temp3)
16827 delete arg3;
16828 }
16829 return resultobj;
16830 fail:
16831 {
16832 if (temp3)
16833 delete arg3;
16834 }
16835 return NULL;
16836 }
16837
16838
16839 SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16840 PyObject *resultobj = 0;
16841 wxWindow *arg1 = (wxWindow *) 0 ;
16842 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
16843 wxString *arg2 = (wxString *) &arg2_defvalue ;
16844 wxString const &arg3_defvalue = wxPyEmptyString ;
16845 wxString *arg3 = (wxString *) &arg3_defvalue ;
16846 long arg4 = (long) wxDD_DEFAULT_STYLE ;
16847 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16848 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16849 wxSize const &arg6_defvalue = wxDefaultSize ;
16850 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16851 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
16852 wxString *arg7 = (wxString *) &arg7_defvalue ;
16853 wxDirDialog *result = 0 ;
16854 void *argp1 = 0 ;
16855 int res1 = 0 ;
16856 bool temp2 = false ;
16857 bool temp3 = false ;
16858 long val4 ;
16859 int ecode4 = 0 ;
16860 wxPoint temp5 ;
16861 wxSize temp6 ;
16862 bool temp7 = false ;
16863 PyObject * obj0 = 0 ;
16864 PyObject * obj1 = 0 ;
16865 PyObject * obj2 = 0 ;
16866 PyObject * obj3 = 0 ;
16867 PyObject * obj4 = 0 ;
16868 PyObject * obj5 = 0 ;
16869 PyObject * obj6 = 0 ;
16870 char * kwnames[] = {
16871 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16872 };
16873
16874 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16875 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16876 if (!SWIG_IsOK(res1)) {
16877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16878 }
16879 arg1 = reinterpret_cast< wxWindow * >(argp1);
16880 if (obj1) {
16881 {
16882 arg2 = wxString_in_helper(obj1);
16883 if (arg2 == NULL) SWIG_fail;
16884 temp2 = true;
16885 }
16886 }
16887 if (obj2) {
16888 {
16889 arg3 = wxString_in_helper(obj2);
16890 if (arg3 == NULL) SWIG_fail;
16891 temp3 = true;
16892 }
16893 }
16894 if (obj3) {
16895 ecode4 = SWIG_AsVal_long(obj3, &val4);
16896 if (!SWIG_IsOK(ecode4)) {
16897 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16898 }
16899 arg4 = static_cast< long >(val4);
16900 }
16901 if (obj4) {
16902 {
16903 arg5 = &temp5;
16904 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16905 }
16906 }
16907 if (obj5) {
16908 {
16909 arg6 = &temp6;
16910 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16911 }
16912 }
16913 if (obj6) {
16914 {
16915 arg7 = wxString_in_helper(obj6);
16916 if (arg7 == NULL) SWIG_fail;
16917 temp7 = true;
16918 }
16919 }
16920 {
16921 if (!wxPyCheckForApp()) SWIG_fail;
16922 PyThreadState* __tstate = wxPyBeginAllowThreads();
16923 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
16924 wxPyEndAllowThreads(__tstate);
16925 if (PyErr_Occurred()) SWIG_fail;
16926 }
16927 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
16928 {
16929 if (temp2)
16930 delete arg2;
16931 }
16932 {
16933 if (temp3)
16934 delete arg3;
16935 }
16936 {
16937 if (temp7)
16938 delete arg7;
16939 }
16940 return resultobj;
16941 fail:
16942 {
16943 if (temp2)
16944 delete arg2;
16945 }
16946 {
16947 if (temp3)
16948 delete arg3;
16949 }
16950 {
16951 if (temp7)
16952 delete arg7;
16953 }
16954 return NULL;
16955 }
16956
16957
16958 SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16959 PyObject *resultobj = 0;
16960 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16961 wxString result;
16962 void *argp1 = 0 ;
16963 int res1 = 0 ;
16964 PyObject *swig_obj[1] ;
16965
16966 if (!args) SWIG_fail;
16967 swig_obj[0] = args;
16968 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16969 if (!SWIG_IsOK(res1)) {
16970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16971 }
16972 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16973 {
16974 PyThreadState* __tstate = wxPyBeginAllowThreads();
16975 result = (arg1)->GetPath();
16976 wxPyEndAllowThreads(__tstate);
16977 if (PyErr_Occurred()) SWIG_fail;
16978 }
16979 {
16980 #if wxUSE_UNICODE
16981 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16982 #else
16983 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16984 #endif
16985 }
16986 return resultobj;
16987 fail:
16988 return NULL;
16989 }
16990
16991
16992 SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16993 PyObject *resultobj = 0;
16994 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16995 wxString result;
16996 void *argp1 = 0 ;
16997 int res1 = 0 ;
16998 PyObject *swig_obj[1] ;
16999
17000 if (!args) SWIG_fail;
17001 swig_obj[0] = args;
17002 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17003 if (!SWIG_IsOK(res1)) {
17004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17005 }
17006 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17007 {
17008 PyThreadState* __tstate = wxPyBeginAllowThreads();
17009 result = (arg1)->GetMessage();
17010 wxPyEndAllowThreads(__tstate);
17011 if (PyErr_Occurred()) SWIG_fail;
17012 }
17013 {
17014 #if wxUSE_UNICODE
17015 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17016 #else
17017 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17018 #endif
17019 }
17020 return resultobj;
17021 fail:
17022 return NULL;
17023 }
17024
17025
17026 SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17027 PyObject *resultobj = 0;
17028 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17029 wxString *arg2 = 0 ;
17030 void *argp1 = 0 ;
17031 int res1 = 0 ;
17032 bool temp2 = false ;
17033 PyObject * obj0 = 0 ;
17034 PyObject * obj1 = 0 ;
17035 char * kwnames[] = {
17036 (char *) "self",(char *) "message", NULL
17037 };
17038
17039 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17040 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17041 if (!SWIG_IsOK(res1)) {
17042 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17043 }
17044 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17045 {
17046 arg2 = wxString_in_helper(obj1);
17047 if (arg2 == NULL) SWIG_fail;
17048 temp2 = true;
17049 }
17050 {
17051 PyThreadState* __tstate = wxPyBeginAllowThreads();
17052 (arg1)->SetMessage((wxString const &)*arg2);
17053 wxPyEndAllowThreads(__tstate);
17054 if (PyErr_Occurred()) SWIG_fail;
17055 }
17056 resultobj = SWIG_Py_Void();
17057 {
17058 if (temp2)
17059 delete arg2;
17060 }
17061 return resultobj;
17062 fail:
17063 {
17064 if (temp2)
17065 delete arg2;
17066 }
17067 return NULL;
17068 }
17069
17070
17071 SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17072 PyObject *resultobj = 0;
17073 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17074 wxString *arg2 = 0 ;
17075 void *argp1 = 0 ;
17076 int res1 = 0 ;
17077 bool temp2 = false ;
17078 PyObject * obj0 = 0 ;
17079 PyObject * obj1 = 0 ;
17080 char * kwnames[] = {
17081 (char *) "self",(char *) "path", NULL
17082 };
17083
17084 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17085 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17086 if (!SWIG_IsOK(res1)) {
17087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17088 }
17089 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17090 {
17091 arg2 = wxString_in_helper(obj1);
17092 if (arg2 == NULL) SWIG_fail;
17093 temp2 = true;
17094 }
17095 {
17096 PyThreadState* __tstate = wxPyBeginAllowThreads();
17097 (arg1)->SetPath((wxString const &)*arg2);
17098 wxPyEndAllowThreads(__tstate);
17099 if (PyErr_Occurred()) SWIG_fail;
17100 }
17101 resultobj = SWIG_Py_Void();
17102 {
17103 if (temp2)
17104 delete arg2;
17105 }
17106 return resultobj;
17107 fail:
17108 {
17109 if (temp2)
17110 delete arg2;
17111 }
17112 return NULL;
17113 }
17114
17115
17116 SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17117 PyObject *obj;
17118 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17119 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
17120 return SWIG_Py_Void();
17121 }
17122
17123 SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17124 return SWIG_Python_InitShadowInstance(args);
17125 }
17126
17127 SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17128 PyObject *resultobj = 0;
17129 wxWindow *arg1 = (wxWindow *) 0 ;
17130 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
17131 wxString *arg2 = (wxString *) &arg2_defvalue ;
17132 wxString const &arg3_defvalue = wxPyEmptyString ;
17133 wxString *arg3 = (wxString *) &arg3_defvalue ;
17134 wxString const &arg4_defvalue = wxPyEmptyString ;
17135 wxString *arg4 = (wxString *) &arg4_defvalue ;
17136 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
17137 wxString *arg5 = (wxString *) &arg5_defvalue ;
17138 long arg6 = (long) wxFD_DEFAULT_STYLE ;
17139 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17140 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17141 wxFileDialog *result = 0 ;
17142 void *argp1 = 0 ;
17143 int res1 = 0 ;
17144 bool temp2 = false ;
17145 bool temp3 = false ;
17146 bool temp4 = false ;
17147 bool temp5 = false ;
17148 long val6 ;
17149 int ecode6 = 0 ;
17150 wxPoint temp7 ;
17151 PyObject * obj0 = 0 ;
17152 PyObject * obj1 = 0 ;
17153 PyObject * obj2 = 0 ;
17154 PyObject * obj3 = 0 ;
17155 PyObject * obj4 = 0 ;
17156 PyObject * obj5 = 0 ;
17157 PyObject * obj6 = 0 ;
17158 char * kwnames[] = {
17159 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17160 };
17161
17162 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
17163 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17164 if (!SWIG_IsOK(res1)) {
17165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17166 }
17167 arg1 = reinterpret_cast< wxWindow * >(argp1);
17168 if (obj1) {
17169 {
17170 arg2 = wxString_in_helper(obj1);
17171 if (arg2 == NULL) SWIG_fail;
17172 temp2 = true;
17173 }
17174 }
17175 if (obj2) {
17176 {
17177 arg3 = wxString_in_helper(obj2);
17178 if (arg3 == NULL) SWIG_fail;
17179 temp3 = true;
17180 }
17181 }
17182 if (obj3) {
17183 {
17184 arg4 = wxString_in_helper(obj3);
17185 if (arg4 == NULL) SWIG_fail;
17186 temp4 = true;
17187 }
17188 }
17189 if (obj4) {
17190 {
17191 arg5 = wxString_in_helper(obj4);
17192 if (arg5 == NULL) SWIG_fail;
17193 temp5 = true;
17194 }
17195 }
17196 if (obj5) {
17197 ecode6 = SWIG_AsVal_long(obj5, &val6);
17198 if (!SWIG_IsOK(ecode6)) {
17199 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17200 }
17201 arg6 = static_cast< long >(val6);
17202 }
17203 if (obj6) {
17204 {
17205 arg7 = &temp7;
17206 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
17207 }
17208 }
17209 {
17210 if (!wxPyCheckForApp()) SWIG_fail;
17211 PyThreadState* __tstate = wxPyBeginAllowThreads();
17212 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
17213 wxPyEndAllowThreads(__tstate);
17214 if (PyErr_Occurred()) SWIG_fail;
17215 }
17216 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
17217 {
17218 if (temp2)
17219 delete arg2;
17220 }
17221 {
17222 if (temp3)
17223 delete arg3;
17224 }
17225 {
17226 if (temp4)
17227 delete arg4;
17228 }
17229 {
17230 if (temp5)
17231 delete arg5;
17232 }
17233 return resultobj;
17234 fail:
17235 {
17236 if (temp2)
17237 delete arg2;
17238 }
17239 {
17240 if (temp3)
17241 delete arg3;
17242 }
17243 {
17244 if (temp4)
17245 delete arg4;
17246 }
17247 {
17248 if (temp5)
17249 delete arg5;
17250 }
17251 return NULL;
17252 }
17253
17254
17255 SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17256 PyObject *resultobj = 0;
17257 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17258 wxString *arg2 = 0 ;
17259 void *argp1 = 0 ;
17260 int res1 = 0 ;
17261 bool temp2 = false ;
17262 PyObject * obj0 = 0 ;
17263 PyObject * obj1 = 0 ;
17264 char * kwnames[] = {
17265 (char *) "self",(char *) "message", NULL
17266 };
17267
17268 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17269 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17270 if (!SWIG_IsOK(res1)) {
17271 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17272 }
17273 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17274 {
17275 arg2 = wxString_in_helper(obj1);
17276 if (arg2 == NULL) SWIG_fail;
17277 temp2 = true;
17278 }
17279 {
17280 PyThreadState* __tstate = wxPyBeginAllowThreads();
17281 (arg1)->SetMessage((wxString const &)*arg2);
17282 wxPyEndAllowThreads(__tstate);
17283 if (PyErr_Occurred()) SWIG_fail;
17284 }
17285 resultobj = SWIG_Py_Void();
17286 {
17287 if (temp2)
17288 delete arg2;
17289 }
17290 return resultobj;
17291 fail:
17292 {
17293 if (temp2)
17294 delete arg2;
17295 }
17296 return NULL;
17297 }
17298
17299
17300 SWIGINTERN PyObject *_wrap_FileDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17301 PyObject *resultobj = 0;
17302 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17303 wxString *arg2 = 0 ;
17304 void *argp1 = 0 ;
17305 int res1 = 0 ;
17306 bool temp2 = false ;
17307 PyObject * obj0 = 0 ;
17308 PyObject * obj1 = 0 ;
17309 char * kwnames[] = {
17310 (char *) "self",(char *) "path", NULL
17311 };
17312
17313 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17314 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17315 if (!SWIG_IsOK(res1)) {
17316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17317 }
17318 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17319 {
17320 arg2 = wxString_in_helper(obj1);
17321 if (arg2 == NULL) SWIG_fail;
17322 temp2 = true;
17323 }
17324 {
17325 PyThreadState* __tstate = wxPyBeginAllowThreads();
17326 (arg1)->SetPath((wxString const &)*arg2);
17327 wxPyEndAllowThreads(__tstate);
17328 if (PyErr_Occurred()) SWIG_fail;
17329 }
17330 resultobj = SWIG_Py_Void();
17331 {
17332 if (temp2)
17333 delete arg2;
17334 }
17335 return resultobj;
17336 fail:
17337 {
17338 if (temp2)
17339 delete arg2;
17340 }
17341 return NULL;
17342 }
17343
17344
17345 SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17346 PyObject *resultobj = 0;
17347 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17348 wxString *arg2 = 0 ;
17349 void *argp1 = 0 ;
17350 int res1 = 0 ;
17351 bool temp2 = false ;
17352 PyObject * obj0 = 0 ;
17353 PyObject * obj1 = 0 ;
17354 char * kwnames[] = {
17355 (char *) "self",(char *) "dir", NULL
17356 };
17357
17358 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
17359 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17360 if (!SWIG_IsOK(res1)) {
17361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17362 }
17363 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17364 {
17365 arg2 = wxString_in_helper(obj1);
17366 if (arg2 == NULL) SWIG_fail;
17367 temp2 = true;
17368 }
17369 {
17370 PyThreadState* __tstate = wxPyBeginAllowThreads();
17371 (arg1)->SetDirectory((wxString const &)*arg2);
17372 wxPyEndAllowThreads(__tstate);
17373 if (PyErr_Occurred()) SWIG_fail;
17374 }
17375 resultobj = SWIG_Py_Void();
17376 {
17377 if (temp2)
17378 delete arg2;
17379 }
17380 return resultobj;
17381 fail:
17382 {
17383 if (temp2)
17384 delete arg2;
17385 }
17386 return NULL;
17387 }
17388
17389
17390 SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17391 PyObject *resultobj = 0;
17392 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17393 wxString *arg2 = 0 ;
17394 void *argp1 = 0 ;
17395 int res1 = 0 ;
17396 bool temp2 = false ;
17397 PyObject * obj0 = 0 ;
17398 PyObject * obj1 = 0 ;
17399 char * kwnames[] = {
17400 (char *) "self",(char *) "name", NULL
17401 };
17402
17403 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
17404 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17405 if (!SWIG_IsOK(res1)) {
17406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17407 }
17408 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17409 {
17410 arg2 = wxString_in_helper(obj1);
17411 if (arg2 == NULL) SWIG_fail;
17412 temp2 = true;
17413 }
17414 {
17415 PyThreadState* __tstate = wxPyBeginAllowThreads();
17416 (arg1)->SetFilename((wxString const &)*arg2);
17417 wxPyEndAllowThreads(__tstate);
17418 if (PyErr_Occurred()) SWIG_fail;
17419 }
17420 resultobj = SWIG_Py_Void();
17421 {
17422 if (temp2)
17423 delete arg2;
17424 }
17425 return resultobj;
17426 fail:
17427 {
17428 if (temp2)
17429 delete arg2;
17430 }
17431 return NULL;
17432 }
17433
17434
17435 SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17436 PyObject *resultobj = 0;
17437 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17438 wxString *arg2 = 0 ;
17439 void *argp1 = 0 ;
17440 int res1 = 0 ;
17441 bool temp2 = false ;
17442 PyObject * obj0 = 0 ;
17443 PyObject * obj1 = 0 ;
17444 char * kwnames[] = {
17445 (char *) "self",(char *) "wildCard", NULL
17446 };
17447
17448 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
17449 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17450 if (!SWIG_IsOK(res1)) {
17451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17452 }
17453 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17454 {
17455 arg2 = wxString_in_helper(obj1);
17456 if (arg2 == NULL) SWIG_fail;
17457 temp2 = true;
17458 }
17459 {
17460 PyThreadState* __tstate = wxPyBeginAllowThreads();
17461 (arg1)->SetWildcard((wxString const &)*arg2);
17462 wxPyEndAllowThreads(__tstate);
17463 if (PyErr_Occurred()) SWIG_fail;
17464 }
17465 resultobj = SWIG_Py_Void();
17466 {
17467 if (temp2)
17468 delete arg2;
17469 }
17470 return resultobj;
17471 fail:
17472 {
17473 if (temp2)
17474 delete arg2;
17475 }
17476 return NULL;
17477 }
17478
17479
17480 SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17481 PyObject *resultobj = 0;
17482 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17483 int arg2 ;
17484 void *argp1 = 0 ;
17485 int res1 = 0 ;
17486 int val2 ;
17487 int ecode2 = 0 ;
17488 PyObject * obj0 = 0 ;
17489 PyObject * obj1 = 0 ;
17490 char * kwnames[] = {
17491 (char *) "self",(char *) "filterIndex", NULL
17492 };
17493
17494 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
17495 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17496 if (!SWIG_IsOK(res1)) {
17497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17498 }
17499 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17500 ecode2 = SWIG_AsVal_int(obj1, &val2);
17501 if (!SWIG_IsOK(ecode2)) {
17502 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17503 }
17504 arg2 = static_cast< int >(val2);
17505 {
17506 PyThreadState* __tstate = wxPyBeginAllowThreads();
17507 (arg1)->SetFilterIndex(arg2);
17508 wxPyEndAllowThreads(__tstate);
17509 if (PyErr_Occurred()) SWIG_fail;
17510 }
17511 resultobj = SWIG_Py_Void();
17512 return resultobj;
17513 fail:
17514 return NULL;
17515 }
17516
17517
17518 SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17519 PyObject *resultobj = 0;
17520 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17521 wxString result;
17522 void *argp1 = 0 ;
17523 int res1 = 0 ;
17524 PyObject *swig_obj[1] ;
17525
17526 if (!args) SWIG_fail;
17527 swig_obj[0] = args;
17528 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17529 if (!SWIG_IsOK(res1)) {
17530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17531 }
17532 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17533 {
17534 PyThreadState* __tstate = wxPyBeginAllowThreads();
17535 result = ((wxFileDialog const *)arg1)->GetMessage();
17536 wxPyEndAllowThreads(__tstate);
17537 if (PyErr_Occurred()) SWIG_fail;
17538 }
17539 {
17540 #if wxUSE_UNICODE
17541 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17542 #else
17543 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17544 #endif
17545 }
17546 return resultobj;
17547 fail:
17548 return NULL;
17549 }
17550
17551
17552 SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17553 PyObject *resultobj = 0;
17554 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17555 wxString result;
17556 void *argp1 = 0 ;
17557 int res1 = 0 ;
17558 PyObject *swig_obj[1] ;
17559
17560 if (!args) SWIG_fail;
17561 swig_obj[0] = args;
17562 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17563 if (!SWIG_IsOK(res1)) {
17564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17565 }
17566 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17567 {
17568 PyThreadState* __tstate = wxPyBeginAllowThreads();
17569 result = ((wxFileDialog const *)arg1)->GetPath();
17570 wxPyEndAllowThreads(__tstate);
17571 if (PyErr_Occurred()) SWIG_fail;
17572 }
17573 {
17574 #if wxUSE_UNICODE
17575 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17576 #else
17577 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17578 #endif
17579 }
17580 return resultobj;
17581 fail:
17582 return NULL;
17583 }
17584
17585
17586 SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17587 PyObject *resultobj = 0;
17588 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17589 wxString result;
17590 void *argp1 = 0 ;
17591 int res1 = 0 ;
17592 PyObject *swig_obj[1] ;
17593
17594 if (!args) SWIG_fail;
17595 swig_obj[0] = args;
17596 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17597 if (!SWIG_IsOK(res1)) {
17598 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17599 }
17600 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17601 {
17602 PyThreadState* __tstate = wxPyBeginAllowThreads();
17603 result = ((wxFileDialog const *)arg1)->GetDirectory();
17604 wxPyEndAllowThreads(__tstate);
17605 if (PyErr_Occurred()) SWIG_fail;
17606 }
17607 {
17608 #if wxUSE_UNICODE
17609 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17610 #else
17611 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17612 #endif
17613 }
17614 return resultobj;
17615 fail:
17616 return NULL;
17617 }
17618
17619
17620 SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17621 PyObject *resultobj = 0;
17622 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17623 wxString result;
17624 void *argp1 = 0 ;
17625 int res1 = 0 ;
17626 PyObject *swig_obj[1] ;
17627
17628 if (!args) SWIG_fail;
17629 swig_obj[0] = args;
17630 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17631 if (!SWIG_IsOK(res1)) {
17632 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17633 }
17634 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17635 {
17636 PyThreadState* __tstate = wxPyBeginAllowThreads();
17637 result = ((wxFileDialog const *)arg1)->GetFilename();
17638 wxPyEndAllowThreads(__tstate);
17639 if (PyErr_Occurred()) SWIG_fail;
17640 }
17641 {
17642 #if wxUSE_UNICODE
17643 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17644 #else
17645 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17646 #endif
17647 }
17648 return resultobj;
17649 fail:
17650 return NULL;
17651 }
17652
17653
17654 SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17655 PyObject *resultobj = 0;
17656 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17657 wxString result;
17658 void *argp1 = 0 ;
17659 int res1 = 0 ;
17660 PyObject *swig_obj[1] ;
17661
17662 if (!args) SWIG_fail;
17663 swig_obj[0] = args;
17664 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17665 if (!SWIG_IsOK(res1)) {
17666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17667 }
17668 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17669 {
17670 PyThreadState* __tstate = wxPyBeginAllowThreads();
17671 result = ((wxFileDialog const *)arg1)->GetWildcard();
17672 wxPyEndAllowThreads(__tstate);
17673 if (PyErr_Occurred()) SWIG_fail;
17674 }
17675 {
17676 #if wxUSE_UNICODE
17677 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17678 #else
17679 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17680 #endif
17681 }
17682 return resultobj;
17683 fail:
17684 return NULL;
17685 }
17686
17687
17688 SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17689 PyObject *resultobj = 0;
17690 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17691 int result;
17692 void *argp1 = 0 ;
17693 int res1 = 0 ;
17694 PyObject *swig_obj[1] ;
17695
17696 if (!args) SWIG_fail;
17697 swig_obj[0] = args;
17698 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17699 if (!SWIG_IsOK(res1)) {
17700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17701 }
17702 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17703 {
17704 PyThreadState* __tstate = wxPyBeginAllowThreads();
17705 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
17706 wxPyEndAllowThreads(__tstate);
17707 if (PyErr_Occurred()) SWIG_fail;
17708 }
17709 resultobj = SWIG_From_int(static_cast< int >(result));
17710 return resultobj;
17711 fail:
17712 return NULL;
17713 }
17714
17715
17716 SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17717 PyObject *resultobj = 0;
17718 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17719 PyObject *result = 0 ;
17720 void *argp1 = 0 ;
17721 int res1 = 0 ;
17722 PyObject *swig_obj[1] ;
17723
17724 if (!args) SWIG_fail;
17725 swig_obj[0] = args;
17726 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17727 if (!SWIG_IsOK(res1)) {
17728 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17729 }
17730 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17731 {
17732 PyThreadState* __tstate = wxPyBeginAllowThreads();
17733 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
17734 wxPyEndAllowThreads(__tstate);
17735 if (PyErr_Occurred()) SWIG_fail;
17736 }
17737 resultobj = result;
17738 return resultobj;
17739 fail:
17740 return NULL;
17741 }
17742
17743
17744 SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17745 PyObject *resultobj = 0;
17746 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17747 PyObject *result = 0 ;
17748 void *argp1 = 0 ;
17749 int res1 = 0 ;
17750 PyObject *swig_obj[1] ;
17751
17752 if (!args) SWIG_fail;
17753 swig_obj[0] = args;
17754 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17755 if (!SWIG_IsOK(res1)) {
17756 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17757 }
17758 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17759 {
17760 PyThreadState* __tstate = wxPyBeginAllowThreads();
17761 result = (PyObject *)wxFileDialog_GetPaths(arg1);
17762 wxPyEndAllowThreads(__tstate);
17763 if (PyErr_Occurred()) SWIG_fail;
17764 }
17765 resultobj = result;
17766 return resultobj;
17767 fail:
17768 return NULL;
17769 }
17770
17771
17772 SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17773 PyObject *obj;
17774 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17775 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
17776 return SWIG_Py_Void();
17777 }
17778
17779 SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17780 return SWIG_Python_InitShadowInstance(args);
17781 }
17782
17783 SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17784 PyObject *resultobj = 0;
17785 wxWindow *arg1 = (wxWindow *) 0 ;
17786 wxString *arg2 = 0 ;
17787 wxString *arg3 = 0 ;
17788 int arg4 = (int) 0 ;
17789 wxString *arg5 = (wxString *) NULL ;
17790 long arg6 = (long) wxCHOICEDLG_STYLE ;
17791 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17792 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17793 wxMultiChoiceDialog *result = 0 ;
17794 void *argp1 = 0 ;
17795 int res1 = 0 ;
17796 bool temp2 = false ;
17797 bool temp3 = false ;
17798 long val6 ;
17799 int ecode6 = 0 ;
17800 wxPoint temp7 ;
17801 PyObject * obj0 = 0 ;
17802 PyObject * obj1 = 0 ;
17803 PyObject * obj2 = 0 ;
17804 PyObject * obj3 = 0 ;
17805 PyObject * obj4 = 0 ;
17806 PyObject * obj5 = 0 ;
17807 char * kwnames[] = {
17808 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17809 };
17810
17811 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17812 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17813 if (!SWIG_IsOK(res1)) {
17814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17815 }
17816 arg1 = reinterpret_cast< wxWindow * >(argp1);
17817 {
17818 arg2 = wxString_in_helper(obj1);
17819 if (arg2 == NULL) SWIG_fail;
17820 temp2 = true;
17821 }
17822 {
17823 arg3 = wxString_in_helper(obj2);
17824 if (arg3 == NULL) SWIG_fail;
17825 temp3 = true;
17826 }
17827 if (obj3) {
17828 {
17829 arg4 = PyList_Size(obj3);
17830 arg5 = wxString_LIST_helper(obj3);
17831 if (arg5 == NULL) SWIG_fail;
17832 }
17833 }
17834 if (obj4) {
17835 ecode6 = SWIG_AsVal_long(obj4, &val6);
17836 if (!SWIG_IsOK(ecode6)) {
17837 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17838 }
17839 arg6 = static_cast< long >(val6);
17840 }
17841 if (obj5) {
17842 {
17843 arg7 = &temp7;
17844 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
17845 }
17846 }
17847 {
17848 if (!wxPyCheckForApp()) SWIG_fail;
17849 PyThreadState* __tstate = wxPyBeginAllowThreads();
17850 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17851 wxPyEndAllowThreads(__tstate);
17852 if (PyErr_Occurred()) SWIG_fail;
17853 }
17854 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
17855 {
17856 if (temp2)
17857 delete arg2;
17858 }
17859 {
17860 if (temp3)
17861 delete arg3;
17862 }
17863 {
17864 if (arg5) delete [] arg5;
17865 }
17866 return resultobj;
17867 fail:
17868 {
17869 if (temp2)
17870 delete arg2;
17871 }
17872 {
17873 if (temp3)
17874 delete arg3;
17875 }
17876 {
17877 if (arg5) delete [] arg5;
17878 }
17879 return NULL;
17880 }
17881
17882
17883 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17884 PyObject *resultobj = 0;
17885 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17886 wxArrayInt *arg2 = 0 ;
17887 void *argp1 = 0 ;
17888 int res1 = 0 ;
17889 bool temp2 = false ;
17890 PyObject * obj0 = 0 ;
17891 PyObject * obj1 = 0 ;
17892 char * kwnames[] = {
17893 (char *) "self",(char *) "selections", NULL
17894 };
17895
17896 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
17897 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17898 if (!SWIG_IsOK(res1)) {
17899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17900 }
17901 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17902 {
17903 if (! PySequence_Check(obj1)) {
17904 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
17905 SWIG_fail;
17906 }
17907 arg2 = new wxArrayInt;
17908 temp2 = true;
17909 int i, len=PySequence_Length(obj1);
17910 for (i=0; i<len; i++) {
17911 PyObject* item = PySequence_GetItem(obj1, i);
17912 PyObject* number = PyNumber_Int(item);
17913 arg2->Add(PyInt_AS_LONG(number));
17914 Py_DECREF(item);
17915 Py_DECREF(number);
17916 }
17917 }
17918 {
17919 PyThreadState* __tstate = wxPyBeginAllowThreads();
17920 (arg1)->SetSelections((wxArrayInt const &)*arg2);
17921 wxPyEndAllowThreads(__tstate);
17922 if (PyErr_Occurred()) SWIG_fail;
17923 }
17924 resultobj = SWIG_Py_Void();
17925 {
17926 if (temp2) delete arg2;
17927 }
17928 return resultobj;
17929 fail:
17930 {
17931 if (temp2) delete arg2;
17932 }
17933 return NULL;
17934 }
17935
17936
17937 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17938 PyObject *resultobj = 0;
17939 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17940 PyObject *result = 0 ;
17941 void *argp1 = 0 ;
17942 int res1 = 0 ;
17943 PyObject *swig_obj[1] ;
17944
17945 if (!args) SWIG_fail;
17946 swig_obj[0] = args;
17947 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17948 if (!SWIG_IsOK(res1)) {
17949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17950 }
17951 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17952 {
17953 PyThreadState* __tstate = wxPyBeginAllowThreads();
17954 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
17955 wxPyEndAllowThreads(__tstate);
17956 if (PyErr_Occurred()) SWIG_fail;
17957 }
17958 resultobj = result;
17959 return resultobj;
17960 fail:
17961 return NULL;
17962 }
17963
17964
17965 SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17966 PyObject *obj;
17967 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17968 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
17969 return SWIG_Py_Void();
17970 }
17971
17972 SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17973 return SWIG_Python_InitShadowInstance(args);
17974 }
17975
17976 SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17977 PyObject *resultobj = 0;
17978 wxWindow *arg1 = (wxWindow *) 0 ;
17979 wxString *arg2 = 0 ;
17980 wxString *arg3 = 0 ;
17981 int arg4 ;
17982 wxString *arg5 = (wxString *) 0 ;
17983 long arg6 = (long) wxCHOICEDLG_STYLE ;
17984 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17985 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17986 wxSingleChoiceDialog *result = 0 ;
17987 void *argp1 = 0 ;
17988 int res1 = 0 ;
17989 bool temp2 = false ;
17990 bool temp3 = false ;
17991 long val6 ;
17992 int ecode6 = 0 ;
17993 wxPoint temp7 ;
17994 PyObject * obj0 = 0 ;
17995 PyObject * obj1 = 0 ;
17996 PyObject * obj2 = 0 ;
17997 PyObject * obj3 = 0 ;
17998 PyObject * obj4 = 0 ;
17999 PyObject * obj5 = 0 ;
18000 char * kwnames[] = {
18001 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18002 };
18003
18004 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18005 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18006 if (!SWIG_IsOK(res1)) {
18007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18008 }
18009 arg1 = reinterpret_cast< wxWindow * >(argp1);
18010 {
18011 arg2 = wxString_in_helper(obj1);
18012 if (arg2 == NULL) SWIG_fail;
18013 temp2 = true;
18014 }
18015 {
18016 arg3 = wxString_in_helper(obj2);
18017 if (arg3 == NULL) SWIG_fail;
18018 temp3 = true;
18019 }
18020 {
18021 arg4 = PyList_Size(obj3);
18022 arg5 = wxString_LIST_helper(obj3);
18023 if (arg5 == NULL) SWIG_fail;
18024 }
18025 if (obj4) {
18026 ecode6 = SWIG_AsVal_long(obj4, &val6);
18027 if (!SWIG_IsOK(ecode6)) {
18028 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18029 }
18030 arg6 = static_cast< long >(val6);
18031 }
18032 if (obj5) {
18033 {
18034 arg7 = &temp7;
18035 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
18036 }
18037 }
18038 {
18039 if (!wxPyCheckForApp()) SWIG_fail;
18040 PyThreadState* __tstate = wxPyBeginAllowThreads();
18041 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
18042 wxPyEndAllowThreads(__tstate);
18043 if (PyErr_Occurred()) SWIG_fail;
18044 }
18045 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
18046 {
18047 if (temp2)
18048 delete arg2;
18049 }
18050 {
18051 if (temp3)
18052 delete arg3;
18053 }
18054 {
18055 if (arg5) delete [] arg5;
18056 }
18057 return resultobj;
18058 fail:
18059 {
18060 if (temp2)
18061 delete arg2;
18062 }
18063 {
18064 if (temp3)
18065 delete arg3;
18066 }
18067 {
18068 if (arg5) delete [] arg5;
18069 }
18070 return NULL;
18071 }
18072
18073
18074 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18075 PyObject *resultobj = 0;
18076 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18077 int result;
18078 void *argp1 = 0 ;
18079 int res1 = 0 ;
18080 PyObject *swig_obj[1] ;
18081
18082 if (!args) SWIG_fail;
18083 swig_obj[0] = args;
18084 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18085 if (!SWIG_IsOK(res1)) {
18086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18087 }
18088 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18089 {
18090 PyThreadState* __tstate = wxPyBeginAllowThreads();
18091 result = (int)(arg1)->GetSelection();
18092 wxPyEndAllowThreads(__tstate);
18093 if (PyErr_Occurred()) SWIG_fail;
18094 }
18095 resultobj = SWIG_From_int(static_cast< int >(result));
18096 return resultobj;
18097 fail:
18098 return NULL;
18099 }
18100
18101
18102 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18103 PyObject *resultobj = 0;
18104 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18105 wxString result;
18106 void *argp1 = 0 ;
18107 int res1 = 0 ;
18108 PyObject *swig_obj[1] ;
18109
18110 if (!args) SWIG_fail;
18111 swig_obj[0] = args;
18112 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18113 if (!SWIG_IsOK(res1)) {
18114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18115 }
18116 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18117 {
18118 PyThreadState* __tstate = wxPyBeginAllowThreads();
18119 result = (arg1)->GetStringSelection();
18120 wxPyEndAllowThreads(__tstate);
18121 if (PyErr_Occurred()) SWIG_fail;
18122 }
18123 {
18124 #if wxUSE_UNICODE
18125 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18126 #else
18127 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18128 #endif
18129 }
18130 return resultobj;
18131 fail:
18132 return NULL;
18133 }
18134
18135
18136 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18137 PyObject *resultobj = 0;
18138 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18139 int arg2 ;
18140 void *argp1 = 0 ;
18141 int res1 = 0 ;
18142 int val2 ;
18143 int ecode2 = 0 ;
18144 PyObject * obj0 = 0 ;
18145 PyObject * obj1 = 0 ;
18146 char * kwnames[] = {
18147 (char *) "self",(char *) "sel", NULL
18148 };
18149
18150 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
18151 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18152 if (!SWIG_IsOK(res1)) {
18153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18154 }
18155 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18156 ecode2 = SWIG_AsVal_int(obj1, &val2);
18157 if (!SWIG_IsOK(ecode2)) {
18158 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18159 }
18160 arg2 = static_cast< int >(val2);
18161 {
18162 PyThreadState* __tstate = wxPyBeginAllowThreads();
18163 (arg1)->SetSelection(arg2);
18164 wxPyEndAllowThreads(__tstate);
18165 if (PyErr_Occurred()) SWIG_fail;
18166 }
18167 resultobj = SWIG_Py_Void();
18168 return resultobj;
18169 fail:
18170 return NULL;
18171 }
18172
18173
18174 SWIGINTERN PyObject *SingleChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18175 PyObject *obj;
18176 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18177 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog, SWIG_NewClientData(obj));
18178 return SWIG_Py_Void();
18179 }
18180
18181 SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18182 return SWIG_Python_InitShadowInstance(args);
18183 }
18184
18185 SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18186 PyObject *resultobj = 0;
18187 wxWindow *arg1 = (wxWindow *) 0 ;
18188 wxString *arg2 = 0 ;
18189 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
18190 wxString *arg3 = (wxString *) &arg3_defvalue ;
18191 wxString const &arg4_defvalue = wxPyEmptyString ;
18192 wxString *arg4 = (wxString *) &arg4_defvalue ;
18193 long arg5 = (long) wxTextEntryDialogStyle ;
18194 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18195 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18196 wxTextEntryDialog *result = 0 ;
18197 void *argp1 = 0 ;
18198 int res1 = 0 ;
18199 bool temp2 = false ;
18200 bool temp3 = false ;
18201 bool temp4 = false ;
18202 long val5 ;
18203 int ecode5 = 0 ;
18204 wxPoint temp6 ;
18205 PyObject * obj0 = 0 ;
18206 PyObject * obj1 = 0 ;
18207 PyObject * obj2 = 0 ;
18208 PyObject * obj3 = 0 ;
18209 PyObject * obj4 = 0 ;
18210 PyObject * obj5 = 0 ;
18211 char * kwnames[] = {
18212 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18213 };
18214
18215 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18216 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18217 if (!SWIG_IsOK(res1)) {
18218 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18219 }
18220 arg1 = reinterpret_cast< wxWindow * >(argp1);
18221 {
18222 arg2 = wxString_in_helper(obj1);
18223 if (arg2 == NULL) SWIG_fail;
18224 temp2 = true;
18225 }
18226 if (obj2) {
18227 {
18228 arg3 = wxString_in_helper(obj2);
18229 if (arg3 == NULL) SWIG_fail;
18230 temp3 = true;
18231 }
18232 }
18233 if (obj3) {
18234 {
18235 arg4 = wxString_in_helper(obj3);
18236 if (arg4 == NULL) SWIG_fail;
18237 temp4 = true;
18238 }
18239 }
18240 if (obj4) {
18241 ecode5 = SWIG_AsVal_long(obj4, &val5);
18242 if (!SWIG_IsOK(ecode5)) {
18243 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18244 }
18245 arg5 = static_cast< long >(val5);
18246 }
18247 if (obj5) {
18248 {
18249 arg6 = &temp6;
18250 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18251 }
18252 }
18253 {
18254 if (!wxPyCheckForApp()) SWIG_fail;
18255 PyThreadState* __tstate = wxPyBeginAllowThreads();
18256 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18257 wxPyEndAllowThreads(__tstate);
18258 if (PyErr_Occurred()) SWIG_fail;
18259 }
18260 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
18261 {
18262 if (temp2)
18263 delete arg2;
18264 }
18265 {
18266 if (temp3)
18267 delete arg3;
18268 }
18269 {
18270 if (temp4)
18271 delete arg4;
18272 }
18273 return resultobj;
18274 fail:
18275 {
18276 if (temp2)
18277 delete arg2;
18278 }
18279 {
18280 if (temp3)
18281 delete arg3;
18282 }
18283 {
18284 if (temp4)
18285 delete arg4;
18286 }
18287 return NULL;
18288 }
18289
18290
18291 SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18292 PyObject *resultobj = 0;
18293 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18294 wxString result;
18295 void *argp1 = 0 ;
18296 int res1 = 0 ;
18297 PyObject *swig_obj[1] ;
18298
18299 if (!args) SWIG_fail;
18300 swig_obj[0] = args;
18301 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18302 if (!SWIG_IsOK(res1)) {
18303 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18304 }
18305 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18306 {
18307 PyThreadState* __tstate = wxPyBeginAllowThreads();
18308 result = (arg1)->GetValue();
18309 wxPyEndAllowThreads(__tstate);
18310 if (PyErr_Occurred()) SWIG_fail;
18311 }
18312 {
18313 #if wxUSE_UNICODE
18314 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18315 #else
18316 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18317 #endif
18318 }
18319 return resultobj;
18320 fail:
18321 return NULL;
18322 }
18323
18324
18325 SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18326 PyObject *resultobj = 0;
18327 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18328 wxString *arg2 = 0 ;
18329 void *argp1 = 0 ;
18330 int res1 = 0 ;
18331 bool temp2 = false ;
18332 PyObject * obj0 = 0 ;
18333 PyObject * obj1 = 0 ;
18334 char * kwnames[] = {
18335 (char *) "self",(char *) "value", NULL
18336 };
18337
18338 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18339 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18340 if (!SWIG_IsOK(res1)) {
18341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18342 }
18343 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18344 {
18345 arg2 = wxString_in_helper(obj1);
18346 if (arg2 == NULL) SWIG_fail;
18347 temp2 = true;
18348 }
18349 {
18350 PyThreadState* __tstate = wxPyBeginAllowThreads();
18351 (arg1)->SetValue((wxString const &)*arg2);
18352 wxPyEndAllowThreads(__tstate);
18353 if (PyErr_Occurred()) SWIG_fail;
18354 }
18355 resultobj = SWIG_Py_Void();
18356 {
18357 if (temp2)
18358 delete arg2;
18359 }
18360 return resultobj;
18361 fail:
18362 {
18363 if (temp2)
18364 delete arg2;
18365 }
18366 return NULL;
18367 }
18368
18369
18370 SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18371 PyObject *obj;
18372 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18373 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
18374 return SWIG_Py_Void();
18375 }
18376
18377 SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18378 return SWIG_Python_InitShadowInstance(args);
18379 }
18380
18381 SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
18382 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
18383 return 1;
18384 }
18385
18386
18387 SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
18388 PyObject *pyobj = 0;
18389
18390 {
18391 #if wxUSE_UNICODE
18392 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18393 #else
18394 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18395 #endif
18396 }
18397 return pyobj;
18398 }
18399
18400
18401 SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18402 PyObject *resultobj = 0;
18403 wxWindow *arg1 = (wxWindow *) 0 ;
18404 wxString *arg2 = 0 ;
18405 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
18406 wxString *arg3 = (wxString *) &arg3_defvalue ;
18407 wxString const &arg4_defvalue = wxPyEmptyString ;
18408 wxString *arg4 = (wxString *) &arg4_defvalue ;
18409 long arg5 = (long) wxTextEntryDialogStyle ;
18410 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18411 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18412 wxPasswordEntryDialog *result = 0 ;
18413 void *argp1 = 0 ;
18414 int res1 = 0 ;
18415 bool temp2 = false ;
18416 bool temp3 = false ;
18417 bool temp4 = false ;
18418 long val5 ;
18419 int ecode5 = 0 ;
18420 wxPoint temp6 ;
18421 PyObject * obj0 = 0 ;
18422 PyObject * obj1 = 0 ;
18423 PyObject * obj2 = 0 ;
18424 PyObject * obj3 = 0 ;
18425 PyObject * obj4 = 0 ;
18426 PyObject * obj5 = 0 ;
18427 char * kwnames[] = {
18428 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18429 };
18430
18431 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18432 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18433 if (!SWIG_IsOK(res1)) {
18434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18435 }
18436 arg1 = reinterpret_cast< wxWindow * >(argp1);
18437 {
18438 arg2 = wxString_in_helper(obj1);
18439 if (arg2 == NULL) SWIG_fail;
18440 temp2 = true;
18441 }
18442 if (obj2) {
18443 {
18444 arg3 = wxString_in_helper(obj2);
18445 if (arg3 == NULL) SWIG_fail;
18446 temp3 = true;
18447 }
18448 }
18449 if (obj3) {
18450 {
18451 arg4 = wxString_in_helper(obj3);
18452 if (arg4 == NULL) SWIG_fail;
18453 temp4 = true;
18454 }
18455 }
18456 if (obj4) {
18457 ecode5 = SWIG_AsVal_long(obj4, &val5);
18458 if (!SWIG_IsOK(ecode5)) {
18459 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18460 }
18461 arg5 = static_cast< long >(val5);
18462 }
18463 if (obj5) {
18464 {
18465 arg6 = &temp6;
18466 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18467 }
18468 }
18469 {
18470 PyThreadState* __tstate = wxPyBeginAllowThreads();
18471 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18472 wxPyEndAllowThreads(__tstate);
18473 if (PyErr_Occurred()) SWIG_fail;
18474 }
18475 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
18476 {
18477 if (temp2)
18478 delete arg2;
18479 }
18480 {
18481 if (temp3)
18482 delete arg3;
18483 }
18484 {
18485 if (temp4)
18486 delete arg4;
18487 }
18488 return resultobj;
18489 fail:
18490 {
18491 if (temp2)
18492 delete arg2;
18493 }
18494 {
18495 if (temp3)
18496 delete arg3;
18497 }
18498 {
18499 if (temp4)
18500 delete arg4;
18501 }
18502 return NULL;
18503 }
18504
18505
18506 SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18507 PyObject *obj;
18508 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18509 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
18510 return SWIG_Py_Void();
18511 }
18512
18513 SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18514 return SWIG_Python_InitShadowInstance(args);
18515 }
18516
18517 SWIGINTERN PyObject *_wrap_new_NumberEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18518 PyObject *resultobj = 0;
18519 wxWindow *arg1 = (wxWindow *) 0 ;
18520 wxString *arg2 = 0 ;
18521 wxString *arg3 = 0 ;
18522 wxString *arg4 = 0 ;
18523 long arg5 ;
18524 long arg6 ;
18525 long arg7 ;
18526 wxPoint const &arg8_defvalue = wxDefaultPosition ;
18527 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
18528 wxNumberEntryDialog *result = 0 ;
18529 void *argp1 = 0 ;
18530 int res1 = 0 ;
18531 bool temp2 = false ;
18532 bool temp3 = false ;
18533 bool temp4 = false ;
18534 long val5 ;
18535 int ecode5 = 0 ;
18536 long val6 ;
18537 int ecode6 = 0 ;
18538 long val7 ;
18539 int ecode7 = 0 ;
18540 wxPoint temp8 ;
18541 PyObject * obj0 = 0 ;
18542 PyObject * obj1 = 0 ;
18543 PyObject * obj2 = 0 ;
18544 PyObject * obj3 = 0 ;
18545 PyObject * obj4 = 0 ;
18546 PyObject * obj5 = 0 ;
18547 PyObject * obj6 = 0 ;
18548 PyObject * obj7 = 0 ;
18549 char * kwnames[] = {
18550 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18551 };
18552
18553 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18554 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18555 if (!SWIG_IsOK(res1)) {
18556 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18557 }
18558 arg1 = reinterpret_cast< wxWindow * >(argp1);
18559 {
18560 arg2 = wxString_in_helper(obj1);
18561 if (arg2 == NULL) SWIG_fail;
18562 temp2 = true;
18563 }
18564 {
18565 arg3 = wxString_in_helper(obj2);
18566 if (arg3 == NULL) SWIG_fail;
18567 temp3 = true;
18568 }
18569 {
18570 arg4 = wxString_in_helper(obj3);
18571 if (arg4 == NULL) SWIG_fail;
18572 temp4 = true;
18573 }
18574 ecode5 = SWIG_AsVal_long(obj4, &val5);
18575 if (!SWIG_IsOK(ecode5)) {
18576 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18577 }
18578 arg5 = static_cast< long >(val5);
18579 ecode6 = SWIG_AsVal_long(obj5, &val6);
18580 if (!SWIG_IsOK(ecode6)) {
18581 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18582 }
18583 arg6 = static_cast< long >(val6);
18584 ecode7 = SWIG_AsVal_long(obj6, &val7);
18585 if (!SWIG_IsOK(ecode7)) {
18586 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18587 }
18588 arg7 = static_cast< long >(val7);
18589 if (obj7) {
18590 {
18591 arg8 = &temp8;
18592 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
18593 }
18594 }
18595 {
18596 if (!wxPyCheckForApp()) SWIG_fail;
18597 PyThreadState* __tstate = wxPyBeginAllowThreads();
18598 result = (wxNumberEntryDialog *)new wxNumberEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
18599 wxPyEndAllowThreads(__tstate);
18600 if (PyErr_Occurred()) SWIG_fail;
18601 }
18602 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNumberEntryDialog, SWIG_POINTER_NEW | 0 );
18603 {
18604 if (temp2)
18605 delete arg2;
18606 }
18607 {
18608 if (temp3)
18609 delete arg3;
18610 }
18611 {
18612 if (temp4)
18613 delete arg4;
18614 }
18615 return resultobj;
18616 fail:
18617 {
18618 if (temp2)
18619 delete arg2;
18620 }
18621 {
18622 if (temp3)
18623 delete arg3;
18624 }
18625 {
18626 if (temp4)
18627 delete arg4;
18628 }
18629 return NULL;
18630 }
18631
18632
18633 SWIGINTERN PyObject *_wrap_NumberEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18634 PyObject *resultobj = 0;
18635 wxNumberEntryDialog *arg1 = (wxNumberEntryDialog *) 0 ;
18636 long result;
18637 void *argp1 = 0 ;
18638 int res1 = 0 ;
18639 PyObject *swig_obj[1] ;
18640
18641 if (!args) SWIG_fail;
18642 swig_obj[0] = args;
18643 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNumberEntryDialog, 0 | 0 );
18644 if (!SWIG_IsOK(res1)) {
18645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18646 }
18647 arg1 = reinterpret_cast< wxNumberEntryDialog * >(argp1);
18648 {
18649 PyThreadState* __tstate = wxPyBeginAllowThreads();
18650 result = (long)(arg1)->GetValue();
18651 wxPyEndAllowThreads(__tstate);
18652 if (PyErr_Occurred()) SWIG_fail;
18653 }
18654 resultobj = SWIG_From_long(static_cast< long >(result));
18655 return resultobj;
18656 fail:
18657 return NULL;
18658 }
18659
18660
18661 SWIGINTERN PyObject *NumberEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18662 PyObject *obj;
18663 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18664 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog, SWIG_NewClientData(obj));
18665 return SWIG_Py_Void();
18666 }
18667
18668 SWIGINTERN PyObject *NumberEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18669 return SWIG_Python_InitShadowInstance(args);
18670 }
18671
18672 SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18673 PyObject *resultobj = 0;
18674 wxFontData *result = 0 ;
18675
18676 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
18677 {
18678 PyThreadState* __tstate = wxPyBeginAllowThreads();
18679 result = (wxFontData *)new wxFontData();
18680 wxPyEndAllowThreads(__tstate);
18681 if (PyErr_Occurred()) SWIG_fail;
18682 }
18683 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
18684 return resultobj;
18685 fail:
18686 return NULL;
18687 }
18688
18689
18690 SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18691 PyObject *resultobj = 0;
18692 wxFontData *arg1 = (wxFontData *) 0 ;
18693 void *argp1 = 0 ;
18694 int res1 = 0 ;
18695 PyObject *swig_obj[1] ;
18696
18697 if (!args) SWIG_fail;
18698 swig_obj[0] = args;
18699 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
18700 if (!SWIG_IsOK(res1)) {
18701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18702 }
18703 arg1 = reinterpret_cast< wxFontData * >(argp1);
18704 {
18705 PyThreadState* __tstate = wxPyBeginAllowThreads();
18706 delete arg1;
18707
18708 wxPyEndAllowThreads(__tstate);
18709 if (PyErr_Occurred()) SWIG_fail;
18710 }
18711 resultobj = SWIG_Py_Void();
18712 return resultobj;
18713 fail:
18714 return NULL;
18715 }
18716
18717
18718 SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18719 PyObject *resultobj = 0;
18720 wxFontData *arg1 = (wxFontData *) 0 ;
18721 bool arg2 ;
18722 void *argp1 = 0 ;
18723 int res1 = 0 ;
18724 bool val2 ;
18725 int ecode2 = 0 ;
18726 PyObject * obj0 = 0 ;
18727 PyObject * obj1 = 0 ;
18728 char * kwnames[] = {
18729 (char *) "self",(char *) "enable", NULL
18730 };
18731
18732 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
18733 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18734 if (!SWIG_IsOK(res1)) {
18735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18736 }
18737 arg1 = reinterpret_cast< wxFontData * >(argp1);
18738 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18739 if (!SWIG_IsOK(ecode2)) {
18740 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18741 }
18742 arg2 = static_cast< bool >(val2);
18743 {
18744 PyThreadState* __tstate = wxPyBeginAllowThreads();
18745 (arg1)->EnableEffects(arg2);
18746 wxPyEndAllowThreads(__tstate);
18747 if (PyErr_Occurred()) SWIG_fail;
18748 }
18749 resultobj = SWIG_Py_Void();
18750 return resultobj;
18751 fail:
18752 return NULL;
18753 }
18754
18755
18756 SWIGINTERN PyObject *_wrap_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18757 PyObject *resultobj = 0;
18758 wxFontData *arg1 = (wxFontData *) 0 ;
18759 bool result;
18760 void *argp1 = 0 ;
18761 int res1 = 0 ;
18762 PyObject *swig_obj[1] ;
18763
18764 if (!args) SWIG_fail;
18765 swig_obj[0] = args;
18766 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18767 if (!SWIG_IsOK(res1)) {
18768 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18769 }
18770 arg1 = reinterpret_cast< wxFontData * >(argp1);
18771 {
18772 PyThreadState* __tstate = wxPyBeginAllowThreads();
18773 result = (bool)(arg1)->GetAllowSymbols();
18774 wxPyEndAllowThreads(__tstate);
18775 if (PyErr_Occurred()) SWIG_fail;
18776 }
18777 {
18778 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18779 }
18780 return resultobj;
18781 fail:
18782 return NULL;
18783 }
18784
18785
18786 SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18787 PyObject *resultobj = 0;
18788 wxFontData *arg1 = (wxFontData *) 0 ;
18789 wxColour result;
18790 void *argp1 = 0 ;
18791 int res1 = 0 ;
18792 PyObject *swig_obj[1] ;
18793
18794 if (!args) SWIG_fail;
18795 swig_obj[0] = args;
18796 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18797 if (!SWIG_IsOK(res1)) {
18798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18799 }
18800 arg1 = reinterpret_cast< wxFontData * >(argp1);
18801 {
18802 PyThreadState* __tstate = wxPyBeginAllowThreads();
18803 result = (arg1)->GetColour();
18804 wxPyEndAllowThreads(__tstate);
18805 if (PyErr_Occurred()) SWIG_fail;
18806 }
18807 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
18808 return resultobj;
18809 fail:
18810 return NULL;
18811 }
18812
18813
18814 SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18815 PyObject *resultobj = 0;
18816 wxFontData *arg1 = (wxFontData *) 0 ;
18817 wxFont result;
18818 void *argp1 = 0 ;
18819 int res1 = 0 ;
18820 PyObject *swig_obj[1] ;
18821
18822 if (!args) SWIG_fail;
18823 swig_obj[0] = args;
18824 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18825 if (!SWIG_IsOK(res1)) {
18826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18827 }
18828 arg1 = reinterpret_cast< wxFontData * >(argp1);
18829 {
18830 PyThreadState* __tstate = wxPyBeginAllowThreads();
18831 result = (arg1)->GetChosenFont();
18832 wxPyEndAllowThreads(__tstate);
18833 if (PyErr_Occurred()) SWIG_fail;
18834 }
18835 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18836 return resultobj;
18837 fail:
18838 return NULL;
18839 }
18840
18841
18842 SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18843 PyObject *resultobj = 0;
18844 wxFontData *arg1 = (wxFontData *) 0 ;
18845 bool result;
18846 void *argp1 = 0 ;
18847 int res1 = 0 ;
18848 PyObject *swig_obj[1] ;
18849
18850 if (!args) SWIG_fail;
18851 swig_obj[0] = args;
18852 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18853 if (!SWIG_IsOK(res1)) {
18854 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18855 }
18856 arg1 = reinterpret_cast< wxFontData * >(argp1);
18857 {
18858 PyThreadState* __tstate = wxPyBeginAllowThreads();
18859 result = (bool)(arg1)->GetEnableEffects();
18860 wxPyEndAllowThreads(__tstate);
18861 if (PyErr_Occurred()) SWIG_fail;
18862 }
18863 {
18864 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18865 }
18866 return resultobj;
18867 fail:
18868 return NULL;
18869 }
18870
18871
18872 SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18873 PyObject *resultobj = 0;
18874 wxFontData *arg1 = (wxFontData *) 0 ;
18875 wxFont result;
18876 void *argp1 = 0 ;
18877 int res1 = 0 ;
18878 PyObject *swig_obj[1] ;
18879
18880 if (!args) SWIG_fail;
18881 swig_obj[0] = args;
18882 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18883 if (!SWIG_IsOK(res1)) {
18884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18885 }
18886 arg1 = reinterpret_cast< wxFontData * >(argp1);
18887 {
18888 PyThreadState* __tstate = wxPyBeginAllowThreads();
18889 result = (arg1)->GetInitialFont();
18890 wxPyEndAllowThreads(__tstate);
18891 if (PyErr_Occurred()) SWIG_fail;
18892 }
18893 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18894 return resultobj;
18895 fail:
18896 return NULL;
18897 }
18898
18899
18900 SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18901 PyObject *resultobj = 0;
18902 wxFontData *arg1 = (wxFontData *) 0 ;
18903 bool result;
18904 void *argp1 = 0 ;
18905 int res1 = 0 ;
18906 PyObject *swig_obj[1] ;
18907
18908 if (!args) SWIG_fail;
18909 swig_obj[0] = args;
18910 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18911 if (!SWIG_IsOK(res1)) {
18912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18913 }
18914 arg1 = reinterpret_cast< wxFontData * >(argp1);
18915 {
18916 PyThreadState* __tstate = wxPyBeginAllowThreads();
18917 result = (bool)(arg1)->GetShowHelp();
18918 wxPyEndAllowThreads(__tstate);
18919 if (PyErr_Occurred()) SWIG_fail;
18920 }
18921 {
18922 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18923 }
18924 return resultobj;
18925 fail:
18926 return NULL;
18927 }
18928
18929
18930 SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18931 PyObject *resultobj = 0;
18932 wxFontData *arg1 = (wxFontData *) 0 ;
18933 bool arg2 ;
18934 void *argp1 = 0 ;
18935 int res1 = 0 ;
18936 bool val2 ;
18937 int ecode2 = 0 ;
18938 PyObject * obj0 = 0 ;
18939 PyObject * obj1 = 0 ;
18940 char * kwnames[] = {
18941 (char *) "self",(char *) "allowSymbols", NULL
18942 };
18943
18944 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) SWIG_fail;
18945 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18946 if (!SWIG_IsOK(res1)) {
18947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18948 }
18949 arg1 = reinterpret_cast< wxFontData * >(argp1);
18950 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18951 if (!SWIG_IsOK(ecode2)) {
18952 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18953 }
18954 arg2 = static_cast< bool >(val2);
18955 {
18956 PyThreadState* __tstate = wxPyBeginAllowThreads();
18957 (arg1)->SetAllowSymbols(arg2);
18958 wxPyEndAllowThreads(__tstate);
18959 if (PyErr_Occurred()) SWIG_fail;
18960 }
18961 resultobj = SWIG_Py_Void();
18962 return resultobj;
18963 fail:
18964 return NULL;
18965 }
18966
18967
18968 SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18969 PyObject *resultobj = 0;
18970 wxFontData *arg1 = (wxFontData *) 0 ;
18971 wxFont *arg2 = 0 ;
18972 void *argp1 = 0 ;
18973 int res1 = 0 ;
18974 void *argp2 = 0 ;
18975 int res2 = 0 ;
18976 PyObject * obj0 = 0 ;
18977 PyObject * obj1 = 0 ;
18978 char * kwnames[] = {
18979 (char *) "self",(char *) "font", NULL
18980 };
18981
18982 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
18983 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18984 if (!SWIG_IsOK(res1)) {
18985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18986 }
18987 arg1 = reinterpret_cast< wxFontData * >(argp1);
18988 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18989 if (!SWIG_IsOK(res2)) {
18990 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18991 }
18992 if (!argp2) {
18993 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18994 }
18995 arg2 = reinterpret_cast< wxFont * >(argp2);
18996 {
18997 PyThreadState* __tstate = wxPyBeginAllowThreads();
18998 (arg1)->SetChosenFont((wxFont const &)*arg2);
18999 wxPyEndAllowThreads(__tstate);
19000 if (PyErr_Occurred()) SWIG_fail;
19001 }
19002 resultobj = SWIG_Py_Void();
19003 return resultobj;
19004 fail:
19005 return NULL;
19006 }
19007
19008
19009 SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19010 PyObject *resultobj = 0;
19011 wxFontData *arg1 = (wxFontData *) 0 ;
19012 wxColour *arg2 = 0 ;
19013 void *argp1 = 0 ;
19014 int res1 = 0 ;
19015 wxColour temp2 ;
19016 PyObject * obj0 = 0 ;
19017 PyObject * obj1 = 0 ;
19018 char * kwnames[] = {
19019 (char *) "self",(char *) "colour", NULL
19020 };
19021
19022 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
19023 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19024 if (!SWIG_IsOK(res1)) {
19025 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19026 }
19027 arg1 = reinterpret_cast< wxFontData * >(argp1);
19028 {
19029 arg2 = &temp2;
19030 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19031 }
19032 {
19033 PyThreadState* __tstate = wxPyBeginAllowThreads();
19034 (arg1)->SetColour((wxColour const &)*arg2);
19035 wxPyEndAllowThreads(__tstate);
19036 if (PyErr_Occurred()) SWIG_fail;
19037 }
19038 resultobj = SWIG_Py_Void();
19039 return resultobj;
19040 fail:
19041 return NULL;
19042 }
19043
19044
19045 SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19046 PyObject *resultobj = 0;
19047 wxFontData *arg1 = (wxFontData *) 0 ;
19048 wxFont *arg2 = 0 ;
19049 void *argp1 = 0 ;
19050 int res1 = 0 ;
19051 void *argp2 = 0 ;
19052 int res2 = 0 ;
19053 PyObject * obj0 = 0 ;
19054 PyObject * obj1 = 0 ;
19055 char * kwnames[] = {
19056 (char *) "self",(char *) "font", NULL
19057 };
19058
19059 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
19060 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19061 if (!SWIG_IsOK(res1)) {
19062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19063 }
19064 arg1 = reinterpret_cast< wxFontData * >(argp1);
19065 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19066 if (!SWIG_IsOK(res2)) {
19067 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19068 }
19069 if (!argp2) {
19070 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19071 }
19072 arg2 = reinterpret_cast< wxFont * >(argp2);
19073 {
19074 PyThreadState* __tstate = wxPyBeginAllowThreads();
19075 (arg1)->SetInitialFont((wxFont const &)*arg2);
19076 wxPyEndAllowThreads(__tstate);
19077 if (PyErr_Occurred()) SWIG_fail;
19078 }
19079 resultobj = SWIG_Py_Void();
19080 return resultobj;
19081 fail:
19082 return NULL;
19083 }
19084
19085
19086 SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19087 PyObject *resultobj = 0;
19088 wxFontData *arg1 = (wxFontData *) 0 ;
19089 int arg2 ;
19090 int arg3 ;
19091 void *argp1 = 0 ;
19092 int res1 = 0 ;
19093 int val2 ;
19094 int ecode2 = 0 ;
19095 int val3 ;
19096 int ecode3 = 0 ;
19097 PyObject * obj0 = 0 ;
19098 PyObject * obj1 = 0 ;
19099 PyObject * obj2 = 0 ;
19100 char * kwnames[] = {
19101 (char *) "self",(char *) "min",(char *) "max", NULL
19102 };
19103
19104 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19105 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19106 if (!SWIG_IsOK(res1)) {
19107 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
19108 }
19109 arg1 = reinterpret_cast< wxFontData * >(argp1);
19110 ecode2 = SWIG_AsVal_int(obj1, &val2);
19111 if (!SWIG_IsOK(ecode2)) {
19112 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
19113 }
19114 arg2 = static_cast< int >(val2);
19115 ecode3 = SWIG_AsVal_int(obj2, &val3);
19116 if (!SWIG_IsOK(ecode3)) {
19117 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
19118 }
19119 arg3 = static_cast< int >(val3);
19120 {
19121 PyThreadState* __tstate = wxPyBeginAllowThreads();
19122 (arg1)->SetRange(arg2,arg3);
19123 wxPyEndAllowThreads(__tstate);
19124 if (PyErr_Occurred()) SWIG_fail;
19125 }
19126 resultobj = SWIG_Py_Void();
19127 return resultobj;
19128 fail:
19129 return NULL;
19130 }
19131
19132
19133 SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19134 PyObject *resultobj = 0;
19135 wxFontData *arg1 = (wxFontData *) 0 ;
19136 bool arg2 ;
19137 void *argp1 = 0 ;
19138 int res1 = 0 ;
19139 bool val2 ;
19140 int ecode2 = 0 ;
19141 PyObject * obj0 = 0 ;
19142 PyObject * obj1 = 0 ;
19143 char * kwnames[] = {
19144 (char *) "self",(char *) "showHelp", NULL
19145 };
19146
19147 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
19148 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19149 if (!SWIG_IsOK(res1)) {
19150 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19151 }
19152 arg1 = reinterpret_cast< wxFontData * >(argp1);
19153 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19154 if (!SWIG_IsOK(ecode2)) {
19155 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19156 }
19157 arg2 = static_cast< bool >(val2);
19158 {
19159 PyThreadState* __tstate = wxPyBeginAllowThreads();
19160 (arg1)->SetShowHelp(arg2);
19161 wxPyEndAllowThreads(__tstate);
19162 if (PyErr_Occurred()) SWIG_fail;
19163 }
19164 resultobj = SWIG_Py_Void();
19165 return resultobj;
19166 fail:
19167 return NULL;
19168 }
19169
19170
19171 SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19172 PyObject *obj;
19173 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19174 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
19175 return SWIG_Py_Void();
19176 }
19177
19178 SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19179 return SWIG_Python_InitShadowInstance(args);
19180 }
19181
19182 SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19183 PyObject *resultobj = 0;
19184 wxWindow *arg1 = (wxWindow *) 0 ;
19185 wxFontData *arg2 = 0 ;
19186 wxFontDialog *result = 0 ;
19187 void *argp1 = 0 ;
19188 int res1 = 0 ;
19189 void *argp2 = 0 ;
19190 int res2 = 0 ;
19191 PyObject * obj0 = 0 ;
19192 PyObject * obj1 = 0 ;
19193 char * kwnames[] = {
19194 (char *) "parent",(char *) "data", NULL
19195 };
19196
19197 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
19198 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19199 if (!SWIG_IsOK(res1)) {
19200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19201 }
19202 arg1 = reinterpret_cast< wxWindow * >(argp1);
19203 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
19204 if (!SWIG_IsOK(res2)) {
19205 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19206 }
19207 if (!argp2) {
19208 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19209 }
19210 arg2 = reinterpret_cast< wxFontData * >(argp2);
19211 {
19212 if (!wxPyCheckForApp()) SWIG_fail;
19213 PyThreadState* __tstate = wxPyBeginAllowThreads();
19214 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
19215 wxPyEndAllowThreads(__tstate);
19216 if (PyErr_Occurred()) SWIG_fail;
19217 }
19218 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
19219 return resultobj;
19220 fail:
19221 return NULL;
19222 }
19223
19224
19225 SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19226 PyObject *resultobj = 0;
19227 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
19228 wxFontData *result = 0 ;
19229 void *argp1 = 0 ;
19230 int res1 = 0 ;
19231 PyObject *swig_obj[1] ;
19232
19233 if (!args) SWIG_fail;
19234 swig_obj[0] = args;
19235 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontDialog, 0 | 0 );
19236 if (!SWIG_IsOK(res1)) {
19237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19238 }
19239 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
19240 {
19241 PyThreadState* __tstate = wxPyBeginAllowThreads();
19242 {
19243 wxFontData &_result_ref = (arg1)->GetFontData();
19244 result = (wxFontData *) &_result_ref;
19245 }
19246 wxPyEndAllowThreads(__tstate);
19247 if (PyErr_Occurred()) SWIG_fail;
19248 }
19249 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
19250 return resultobj;
19251 fail:
19252 return NULL;
19253 }
19254
19255
19256 SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19257 PyObject *obj;
19258 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19259 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
19260 return SWIG_Py_Void();
19261 }
19262
19263 SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19264 return SWIG_Python_InitShadowInstance(args);
19265 }
19266
19267 SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19268 PyObject *resultobj = 0;
19269 wxWindow *arg1 = (wxWindow *) NULL ;
19270 wxFont const &arg2_defvalue = wxNullFont ;
19271 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
19272 wxString const &arg3_defvalue = wxPyEmptyString ;
19273 wxString *arg3 = (wxString *) &arg3_defvalue ;
19274 wxFont result;
19275 void *argp1 = 0 ;
19276 int res1 = 0 ;
19277 void *argp2 = 0 ;
19278 int res2 = 0 ;
19279 bool temp3 = false ;
19280 PyObject * obj0 = 0 ;
19281 PyObject * obj1 = 0 ;
19282 PyObject * obj2 = 0 ;
19283 char * kwnames[] = {
19284 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19285 };
19286
19287 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19288 if (obj0) {
19289 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19290 if (!SWIG_IsOK(res1)) {
19291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19292 }
19293 arg1 = reinterpret_cast< wxWindow * >(argp1);
19294 }
19295 if (obj1) {
19296 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19297 if (!SWIG_IsOK(res2)) {
19298 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19299 }
19300 if (!argp2) {
19301 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19302 }
19303 arg2 = reinterpret_cast< wxFont * >(argp2);
19304 }
19305 if (obj2) {
19306 {
19307 arg3 = wxString_in_helper(obj2);
19308 if (arg3 == NULL) SWIG_fail;
19309 temp3 = true;
19310 }
19311 }
19312 {
19313 PyThreadState* __tstate = wxPyBeginAllowThreads();
19314 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
19315 wxPyEndAllowThreads(__tstate);
19316 if (PyErr_Occurred()) SWIG_fail;
19317 }
19318 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19319 {
19320 if (temp3)
19321 delete arg3;
19322 }
19323 return resultobj;
19324 fail:
19325 {
19326 if (temp3)
19327 delete arg3;
19328 }
19329 return NULL;
19330 }
19331
19332
19333 SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19334 PyObject *resultobj = 0;
19335 wxWindow *arg1 = (wxWindow *) 0 ;
19336 wxString *arg2 = 0 ;
19337 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
19338 wxString *arg3 = (wxString *) &arg3_defvalue ;
19339 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
19340 wxPoint const &arg5_defvalue = wxDefaultPosition ;
19341 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
19342 wxMessageDialog *result = 0 ;
19343 void *argp1 = 0 ;
19344 int res1 = 0 ;
19345 bool temp2 = false ;
19346 bool temp3 = false ;
19347 long val4 ;
19348 int ecode4 = 0 ;
19349 wxPoint temp5 ;
19350 PyObject * obj0 = 0 ;
19351 PyObject * obj1 = 0 ;
19352 PyObject * obj2 = 0 ;
19353 PyObject * obj3 = 0 ;
19354 PyObject * obj4 = 0 ;
19355 char * kwnames[] = {
19356 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19357 };
19358
19359 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19360 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19361 if (!SWIG_IsOK(res1)) {
19362 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19363 }
19364 arg1 = reinterpret_cast< wxWindow * >(argp1);
19365 {
19366 arg2 = wxString_in_helper(obj1);
19367 if (arg2 == NULL) SWIG_fail;
19368 temp2 = true;
19369 }
19370 if (obj2) {
19371 {
19372 arg3 = wxString_in_helper(obj2);
19373 if (arg3 == NULL) SWIG_fail;
19374 temp3 = true;
19375 }
19376 }
19377 if (obj3) {
19378 ecode4 = SWIG_AsVal_long(obj3, &val4);
19379 if (!SWIG_IsOK(ecode4)) {
19380 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19381 }
19382 arg4 = static_cast< long >(val4);
19383 }
19384 if (obj4) {
19385 {
19386 arg5 = &temp5;
19387 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
19388 }
19389 }
19390 {
19391 if (!wxPyCheckForApp()) SWIG_fail;
19392 PyThreadState* __tstate = wxPyBeginAllowThreads();
19393 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
19394 wxPyEndAllowThreads(__tstate);
19395 if (PyErr_Occurred()) SWIG_fail;
19396 }
19397 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
19398 {
19399 if (temp2)
19400 delete arg2;
19401 }
19402 {
19403 if (temp3)
19404 delete arg3;
19405 }
19406 return resultobj;
19407 fail:
19408 {
19409 if (temp2)
19410 delete arg2;
19411 }
19412 {
19413 if (temp3)
19414 delete arg3;
19415 }
19416 return NULL;
19417 }
19418
19419
19420 SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19421 PyObject *obj;
19422 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19423 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
19424 return SWIG_Py_Void();
19425 }
19426
19427 SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19428 return SWIG_Python_InitShadowInstance(args);
19429 }
19430
19431 SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19432 PyObject *resultobj = 0;
19433 wxString *arg1 = 0 ;
19434 wxString *arg2 = 0 ;
19435 int arg3 = (int) 100 ;
19436 wxWindow *arg4 = (wxWindow *) NULL ;
19437 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
19438 wxProgressDialog *result = 0 ;
19439 bool temp1 = false ;
19440 bool temp2 = false ;
19441 int val3 ;
19442 int ecode3 = 0 ;
19443 void *argp4 = 0 ;
19444 int res4 = 0 ;
19445 int val5 ;
19446 int ecode5 = 0 ;
19447 PyObject * obj0 = 0 ;
19448 PyObject * obj1 = 0 ;
19449 PyObject * obj2 = 0 ;
19450 PyObject * obj3 = 0 ;
19451 PyObject * obj4 = 0 ;
19452 char * kwnames[] = {
19453 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19454 };
19455
19456 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19457 {
19458 arg1 = wxString_in_helper(obj0);
19459 if (arg1 == NULL) SWIG_fail;
19460 temp1 = true;
19461 }
19462 {
19463 arg2 = wxString_in_helper(obj1);
19464 if (arg2 == NULL) SWIG_fail;
19465 temp2 = true;
19466 }
19467 if (obj2) {
19468 ecode3 = SWIG_AsVal_int(obj2, &val3);
19469 if (!SWIG_IsOK(ecode3)) {
19470 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19471 }
19472 arg3 = static_cast< int >(val3);
19473 }
19474 if (obj3) {
19475 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
19476 if (!SWIG_IsOK(res4)) {
19477 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19478 }
19479 arg4 = reinterpret_cast< wxWindow * >(argp4);
19480 }
19481 if (obj4) {
19482 ecode5 = SWIG_AsVal_int(obj4, &val5);
19483 if (!SWIG_IsOK(ecode5)) {
19484 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19485 }
19486 arg5 = static_cast< int >(val5);
19487 }
19488 {
19489 if (!wxPyCheckForApp()) SWIG_fail;
19490 PyThreadState* __tstate = wxPyBeginAllowThreads();
19491 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
19492 wxPyEndAllowThreads(__tstate);
19493 if (PyErr_Occurred()) SWIG_fail;
19494 }
19495 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
19496 {
19497 if (temp1)
19498 delete arg1;
19499 }
19500 {
19501 if (temp2)
19502 delete arg2;
19503 }
19504 return resultobj;
19505 fail:
19506 {
19507 if (temp1)
19508 delete arg1;
19509 }
19510 {
19511 if (temp2)
19512 delete arg2;
19513 }
19514 return NULL;
19515 }
19516
19517
19518 SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19519 PyObject *resultobj = 0;
19520 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19521 int arg2 ;
19522 wxString const &arg3_defvalue = wxPyEmptyString ;
19523 wxString *arg3 = (wxString *) &arg3_defvalue ;
19524 bool *arg4 = (bool *) 0 ;
19525 bool result;
19526 void *argp1 = 0 ;
19527 int res1 = 0 ;
19528 int val2 ;
19529 int ecode2 = 0 ;
19530 bool temp3 = false ;
19531 bool temp4 ;
19532 int res4 = SWIG_TMPOBJ ;
19533 PyObject * obj0 = 0 ;
19534 PyObject * obj1 = 0 ;
19535 PyObject * obj2 = 0 ;
19536 char * kwnames[] = {
19537 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19538 };
19539
19540 arg4 = &temp4;
19541 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19542 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19543 if (!SWIG_IsOK(res1)) {
19544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19545 }
19546 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19547 ecode2 = SWIG_AsVal_int(obj1, &val2);
19548 if (!SWIG_IsOK(ecode2)) {
19549 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19550 }
19551 arg2 = static_cast< int >(val2);
19552 if (obj2) {
19553 {
19554 arg3 = wxString_in_helper(obj2);
19555 if (arg3 == NULL) SWIG_fail;
19556 temp3 = true;
19557 }
19558 }
19559 {
19560 PyThreadState* __tstate = wxPyBeginAllowThreads();
19561 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3,arg4);
19562 wxPyEndAllowThreads(__tstate);
19563 if (PyErr_Occurred()) SWIG_fail;
19564 }
19565 {
19566 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19567 }
19568 if (SWIG_IsTmpObj(res4)) {
19569 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
19570 } else {
19571 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19572 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
19573 }
19574 {
19575 if (temp3)
19576 delete arg3;
19577 }
19578 return resultobj;
19579 fail:
19580 {
19581 if (temp3)
19582 delete arg3;
19583 }
19584 return NULL;
19585 }
19586
19587
19588 SWIGINTERN PyObject *_wrap_ProgressDialog_Pulse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19589 PyObject *resultobj = 0;
19590 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19591 wxString const &arg2_defvalue = wxPyEmptyString ;
19592 wxString *arg2 = (wxString *) &arg2_defvalue ;
19593 bool *arg3 = (bool *) 0 ;
19594 bool result;
19595 void *argp1 = 0 ;
19596 int res1 = 0 ;
19597 bool temp2 = false ;
19598 bool temp3 ;
19599 int res3 = SWIG_TMPOBJ ;
19600 PyObject * obj0 = 0 ;
19601 PyObject * obj1 = 0 ;
19602 char * kwnames[] = {
19603 (char *) "self",(char *) "newmsg", NULL
19604 };
19605
19606 arg3 = &temp3;
19607 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ProgressDialog_Pulse",kwnames,&obj0,&obj1)) SWIG_fail;
19608 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19609 if (!SWIG_IsOK(res1)) {
19610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Pulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19611 }
19612 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19613 if (obj1) {
19614 {
19615 arg2 = wxString_in_helper(obj1);
19616 if (arg2 == NULL) SWIG_fail;
19617 temp2 = true;
19618 }
19619 }
19620 {
19621 PyThreadState* __tstate = wxPyBeginAllowThreads();
19622 result = (bool)(arg1)->Pulse((wxString const &)*arg2,arg3);
19623 wxPyEndAllowThreads(__tstate);
19624 if (PyErr_Occurred()) SWIG_fail;
19625 }
19626 {
19627 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19628 }
19629 if (SWIG_IsTmpObj(res3)) {
19630 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg3)));
19631 } else {
19632 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19633 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_bool, new_flags));
19634 }
19635 {
19636 if (temp2)
19637 delete arg2;
19638 }
19639 return resultobj;
19640 fail:
19641 {
19642 if (temp2)
19643 delete arg2;
19644 }
19645 return NULL;
19646 }
19647
19648
19649 SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19650 PyObject *resultobj = 0;
19651 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19652 void *argp1 = 0 ;
19653 int res1 = 0 ;
19654 PyObject *swig_obj[1] ;
19655
19656 if (!args) SWIG_fail;
19657 swig_obj[0] = args;
19658 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19659 if (!SWIG_IsOK(res1)) {
19660 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19661 }
19662 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19663 {
19664 PyThreadState* __tstate = wxPyBeginAllowThreads();
19665 (arg1)->Resume();
19666 wxPyEndAllowThreads(__tstate);
19667 if (PyErr_Occurred()) SWIG_fail;
19668 }
19669 resultobj = SWIG_Py_Void();
19670 return resultobj;
19671 fail:
19672 return NULL;
19673 }
19674
19675
19676 SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19677 PyObject *obj;
19678 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19679 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
19680 return SWIG_Py_Void();
19681 }
19682
19683 SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19684 return SWIG_Python_InitShadowInstance(args);
19685 }
19686
19687 SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19688 PyObject *resultobj = 0;
19689 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19690 int arg2 = (int) 0 ;
19691 wxFindDialogEvent *result = 0 ;
19692 int val1 ;
19693 int ecode1 = 0 ;
19694 int val2 ;
19695 int ecode2 = 0 ;
19696 PyObject * obj0 = 0 ;
19697 PyObject * obj1 = 0 ;
19698 char * kwnames[] = {
19699 (char *) "commandType",(char *) "id", NULL
19700 };
19701
19702 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
19703 if (obj0) {
19704 ecode1 = SWIG_AsVal_int(obj0, &val1);
19705 if (!SWIG_IsOK(ecode1)) {
19706 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19707 }
19708 arg1 = static_cast< wxEventType >(val1);
19709 }
19710 if (obj1) {
19711 ecode2 = SWIG_AsVal_int(obj1, &val2);
19712 if (!SWIG_IsOK(ecode2)) {
19713 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19714 }
19715 arg2 = static_cast< int >(val2);
19716 }
19717 {
19718 PyThreadState* __tstate = wxPyBeginAllowThreads();
19719 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
19720 wxPyEndAllowThreads(__tstate);
19721 if (PyErr_Occurred()) SWIG_fail;
19722 }
19723 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
19724 return resultobj;
19725 fail:
19726 return NULL;
19727 }
19728
19729
19730 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19731 PyObject *resultobj = 0;
19732 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19733 int result;
19734 void *argp1 = 0 ;
19735 int res1 = 0 ;
19736 PyObject *swig_obj[1] ;
19737
19738 if (!args) SWIG_fail;
19739 swig_obj[0] = args;
19740 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19741 if (!SWIG_IsOK(res1)) {
19742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19743 }
19744 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19745 {
19746 PyThreadState* __tstate = wxPyBeginAllowThreads();
19747 result = (int)(arg1)->GetFlags();
19748 wxPyEndAllowThreads(__tstate);
19749 if (PyErr_Occurred()) SWIG_fail;
19750 }
19751 resultobj = SWIG_From_int(static_cast< int >(result));
19752 return resultobj;
19753 fail:
19754 return NULL;
19755 }
19756
19757
19758 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19759 PyObject *resultobj = 0;
19760 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19761 wxString *result = 0 ;
19762 void *argp1 = 0 ;
19763 int res1 = 0 ;
19764 PyObject *swig_obj[1] ;
19765
19766 if (!args) SWIG_fail;
19767 swig_obj[0] = args;
19768 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19769 if (!SWIG_IsOK(res1)) {
19770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19771 }
19772 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19773 {
19774 PyThreadState* __tstate = wxPyBeginAllowThreads();
19775 {
19776 wxString const &_result_ref = (arg1)->GetFindString();
19777 result = (wxString *) &_result_ref;
19778 }
19779 wxPyEndAllowThreads(__tstate);
19780 if (PyErr_Occurred()) SWIG_fail;
19781 }
19782 {
19783 #if wxUSE_UNICODE
19784 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19785 #else
19786 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19787 #endif
19788 }
19789 return resultobj;
19790 fail:
19791 return NULL;
19792 }
19793
19794
19795 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19796 PyObject *resultobj = 0;
19797 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19798 wxString *result = 0 ;
19799 void *argp1 = 0 ;
19800 int res1 = 0 ;
19801 PyObject *swig_obj[1] ;
19802
19803 if (!args) SWIG_fail;
19804 swig_obj[0] = args;
19805 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19806 if (!SWIG_IsOK(res1)) {
19807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19808 }
19809 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19810 {
19811 PyThreadState* __tstate = wxPyBeginAllowThreads();
19812 {
19813 wxString const &_result_ref = (arg1)->GetReplaceString();
19814 result = (wxString *) &_result_ref;
19815 }
19816 wxPyEndAllowThreads(__tstate);
19817 if (PyErr_Occurred()) SWIG_fail;
19818 }
19819 {
19820 #if wxUSE_UNICODE
19821 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19822 #else
19823 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19824 #endif
19825 }
19826 return resultobj;
19827 fail:
19828 return NULL;
19829 }
19830
19831
19832 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19833 PyObject *resultobj = 0;
19834 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19835 wxFindReplaceDialog *result = 0 ;
19836 void *argp1 = 0 ;
19837 int res1 = 0 ;
19838 PyObject *swig_obj[1] ;
19839
19840 if (!args) SWIG_fail;
19841 swig_obj[0] = args;
19842 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19843 if (!SWIG_IsOK(res1)) {
19844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19845 }
19846 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19847 {
19848 PyThreadState* __tstate = wxPyBeginAllowThreads();
19849 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
19850 wxPyEndAllowThreads(__tstate);
19851 if (PyErr_Occurred()) SWIG_fail;
19852 }
19853 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19854 return resultobj;
19855 fail:
19856 return NULL;
19857 }
19858
19859
19860 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19861 PyObject *resultobj = 0;
19862 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19863 int arg2 ;
19864 void *argp1 = 0 ;
19865 int res1 = 0 ;
19866 int val2 ;
19867 int ecode2 = 0 ;
19868 PyObject * obj0 = 0 ;
19869 PyObject * obj1 = 0 ;
19870 char * kwnames[] = {
19871 (char *) "self",(char *) "flags", NULL
19872 };
19873
19874 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19875 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19876 if (!SWIG_IsOK(res1)) {
19877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19878 }
19879 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19880 ecode2 = SWIG_AsVal_int(obj1, &val2);
19881 if (!SWIG_IsOK(ecode2)) {
19882 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19883 }
19884 arg2 = static_cast< int >(val2);
19885 {
19886 PyThreadState* __tstate = wxPyBeginAllowThreads();
19887 (arg1)->SetFlags(arg2);
19888 wxPyEndAllowThreads(__tstate);
19889 if (PyErr_Occurred()) SWIG_fail;
19890 }
19891 resultobj = SWIG_Py_Void();
19892 return resultobj;
19893 fail:
19894 return NULL;
19895 }
19896
19897
19898 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19899 PyObject *resultobj = 0;
19900 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19901 wxString *arg2 = 0 ;
19902 void *argp1 = 0 ;
19903 int res1 = 0 ;
19904 bool temp2 = false ;
19905 PyObject * obj0 = 0 ;
19906 PyObject * obj1 = 0 ;
19907 char * kwnames[] = {
19908 (char *) "self",(char *) "str", NULL
19909 };
19910
19911 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19912 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19913 if (!SWIG_IsOK(res1)) {
19914 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19915 }
19916 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19917 {
19918 arg2 = wxString_in_helper(obj1);
19919 if (arg2 == NULL) SWIG_fail;
19920 temp2 = true;
19921 }
19922 {
19923 PyThreadState* __tstate = wxPyBeginAllowThreads();
19924 (arg1)->SetFindString((wxString const &)*arg2);
19925 wxPyEndAllowThreads(__tstate);
19926 if (PyErr_Occurred()) SWIG_fail;
19927 }
19928 resultobj = SWIG_Py_Void();
19929 {
19930 if (temp2)
19931 delete arg2;
19932 }
19933 return resultobj;
19934 fail:
19935 {
19936 if (temp2)
19937 delete arg2;
19938 }
19939 return NULL;
19940 }
19941
19942
19943 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19944 PyObject *resultobj = 0;
19945 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19946 wxString *arg2 = 0 ;
19947 void *argp1 = 0 ;
19948 int res1 = 0 ;
19949 bool temp2 = false ;
19950 PyObject * obj0 = 0 ;
19951 PyObject * obj1 = 0 ;
19952 char * kwnames[] = {
19953 (char *) "self",(char *) "str", NULL
19954 };
19955
19956 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
19957 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19958 if (!SWIG_IsOK(res1)) {
19959 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19960 }
19961 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19962 {
19963 arg2 = wxString_in_helper(obj1);
19964 if (arg2 == NULL) SWIG_fail;
19965 temp2 = true;
19966 }
19967 {
19968 PyThreadState* __tstate = wxPyBeginAllowThreads();
19969 (arg1)->SetReplaceString((wxString const &)*arg2);
19970 wxPyEndAllowThreads(__tstate);
19971 if (PyErr_Occurred()) SWIG_fail;
19972 }
19973 resultobj = SWIG_Py_Void();
19974 {
19975 if (temp2)
19976 delete arg2;
19977 }
19978 return resultobj;
19979 fail:
19980 {
19981 if (temp2)
19982 delete arg2;
19983 }
19984 return NULL;
19985 }
19986
19987
19988 SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19989 PyObject *obj;
19990 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19991 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
19992 return SWIG_Py_Void();
19993 }
19994
19995 SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19996 return SWIG_Python_InitShadowInstance(args);
19997 }
19998
19999 SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20000 PyObject *resultobj = 0;
20001 int arg1 = (int) 0 ;
20002 wxFindReplaceData *result = 0 ;
20003 int val1 ;
20004 int ecode1 = 0 ;
20005 PyObject * obj0 = 0 ;
20006 char * kwnames[] = {
20007 (char *) "flags", NULL
20008 };
20009
20010 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
20011 if (obj0) {
20012 ecode1 = SWIG_AsVal_int(obj0, &val1);
20013 if (!SWIG_IsOK(ecode1)) {
20014 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
20015 }
20016 arg1 = static_cast< int >(val1);
20017 }
20018 {
20019 PyThreadState* __tstate = wxPyBeginAllowThreads();
20020 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
20021 wxPyEndAllowThreads(__tstate);
20022 if (PyErr_Occurred()) SWIG_fail;
20023 }
20024 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
20025 return resultobj;
20026 fail:
20027 return NULL;
20028 }
20029
20030
20031 SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20032 PyObject *resultobj = 0;
20033 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20034 void *argp1 = 0 ;
20035 int res1 = 0 ;
20036 PyObject *swig_obj[1] ;
20037
20038 if (!args) SWIG_fail;
20039 swig_obj[0] = args;
20040 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
20041 if (!SWIG_IsOK(res1)) {
20042 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20043 }
20044 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20045 {
20046 PyThreadState* __tstate = wxPyBeginAllowThreads();
20047 delete arg1;
20048
20049 wxPyEndAllowThreads(__tstate);
20050 if (PyErr_Occurred()) SWIG_fail;
20051 }
20052 resultobj = SWIG_Py_Void();
20053 return resultobj;
20054 fail:
20055 return NULL;
20056 }
20057
20058
20059 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20060 PyObject *resultobj = 0;
20061 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20062 wxString *result = 0 ;
20063 void *argp1 = 0 ;
20064 int res1 = 0 ;
20065 PyObject *swig_obj[1] ;
20066
20067 if (!args) SWIG_fail;
20068 swig_obj[0] = args;
20069 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20070 if (!SWIG_IsOK(res1)) {
20071 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20072 }
20073 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20074 {
20075 PyThreadState* __tstate = wxPyBeginAllowThreads();
20076 {
20077 wxString const &_result_ref = (arg1)->GetFindString();
20078 result = (wxString *) &_result_ref;
20079 }
20080 wxPyEndAllowThreads(__tstate);
20081 if (PyErr_Occurred()) SWIG_fail;
20082 }
20083 {
20084 #if wxUSE_UNICODE
20085 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20086 #else
20087 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20088 #endif
20089 }
20090 return resultobj;
20091 fail:
20092 return NULL;
20093 }
20094
20095
20096 SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20097 PyObject *resultobj = 0;
20098 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20099 wxString *result = 0 ;
20100 void *argp1 = 0 ;
20101 int res1 = 0 ;
20102 PyObject *swig_obj[1] ;
20103
20104 if (!args) SWIG_fail;
20105 swig_obj[0] = args;
20106 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20107 if (!SWIG_IsOK(res1)) {
20108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20109 }
20110 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20111 {
20112 PyThreadState* __tstate = wxPyBeginAllowThreads();
20113 {
20114 wxString const &_result_ref = (arg1)->GetReplaceString();
20115 result = (wxString *) &_result_ref;
20116 }
20117 wxPyEndAllowThreads(__tstate);
20118 if (PyErr_Occurred()) SWIG_fail;
20119 }
20120 {
20121 #if wxUSE_UNICODE
20122 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20123 #else
20124 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20125 #endif
20126 }
20127 return resultobj;
20128 fail:
20129 return NULL;
20130 }
20131
20132
20133 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20134 PyObject *resultobj = 0;
20135 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20136 int result;
20137 void *argp1 = 0 ;
20138 int res1 = 0 ;
20139 PyObject *swig_obj[1] ;
20140
20141 if (!args) SWIG_fail;
20142 swig_obj[0] = args;
20143 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20144 if (!SWIG_IsOK(res1)) {
20145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20146 }
20147 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20148 {
20149 PyThreadState* __tstate = wxPyBeginAllowThreads();
20150 result = (int)(arg1)->GetFlags();
20151 wxPyEndAllowThreads(__tstate);
20152 if (PyErr_Occurred()) SWIG_fail;
20153 }
20154 resultobj = SWIG_From_int(static_cast< int >(result));
20155 return resultobj;
20156 fail:
20157 return NULL;
20158 }
20159
20160
20161 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20162 PyObject *resultobj = 0;
20163 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20164 int arg2 ;
20165 void *argp1 = 0 ;
20166 int res1 = 0 ;
20167 int val2 ;
20168 int ecode2 = 0 ;
20169 PyObject * obj0 = 0 ;
20170 PyObject * obj1 = 0 ;
20171 char * kwnames[] = {
20172 (char *) "self",(char *) "flags", NULL
20173 };
20174
20175 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
20176 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20177 if (!SWIG_IsOK(res1)) {
20178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20179 }
20180 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20181 ecode2 = SWIG_AsVal_int(obj1, &val2);
20182 if (!SWIG_IsOK(ecode2)) {
20183 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20184 }
20185 arg2 = static_cast< int >(val2);
20186 {
20187 PyThreadState* __tstate = wxPyBeginAllowThreads();
20188 (arg1)->SetFlags(arg2);
20189 wxPyEndAllowThreads(__tstate);
20190 if (PyErr_Occurred()) SWIG_fail;
20191 }
20192 resultobj = SWIG_Py_Void();
20193 return resultobj;
20194 fail:
20195 return NULL;
20196 }
20197
20198
20199 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20200 PyObject *resultobj = 0;
20201 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20202 wxString *arg2 = 0 ;
20203 void *argp1 = 0 ;
20204 int res1 = 0 ;
20205 bool temp2 = false ;
20206 PyObject * obj0 = 0 ;
20207 PyObject * obj1 = 0 ;
20208 char * kwnames[] = {
20209 (char *) "self",(char *) "str", NULL
20210 };
20211
20212 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
20213 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20214 if (!SWIG_IsOK(res1)) {
20215 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20216 }
20217 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20218 {
20219 arg2 = wxString_in_helper(obj1);
20220 if (arg2 == NULL) SWIG_fail;
20221 temp2 = true;
20222 }
20223 {
20224 PyThreadState* __tstate = wxPyBeginAllowThreads();
20225 (arg1)->SetFindString((wxString const &)*arg2);
20226 wxPyEndAllowThreads(__tstate);
20227 if (PyErr_Occurred()) SWIG_fail;
20228 }
20229 resultobj = SWIG_Py_Void();
20230 {
20231 if (temp2)
20232 delete arg2;
20233 }
20234 return resultobj;
20235 fail:
20236 {
20237 if (temp2)
20238 delete arg2;
20239 }
20240 return NULL;
20241 }
20242
20243
20244 SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20245 PyObject *resultobj = 0;
20246 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20247 wxString *arg2 = 0 ;
20248 void *argp1 = 0 ;
20249 int res1 = 0 ;
20250 bool temp2 = false ;
20251 PyObject * obj0 = 0 ;
20252 PyObject * obj1 = 0 ;
20253 char * kwnames[] = {
20254 (char *) "self",(char *) "str", NULL
20255 };
20256
20257 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
20258 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20259 if (!SWIG_IsOK(res1)) {
20260 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20261 }
20262 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20263 {
20264 arg2 = wxString_in_helper(obj1);
20265 if (arg2 == NULL) SWIG_fail;
20266 temp2 = true;
20267 }
20268 {
20269 PyThreadState* __tstate = wxPyBeginAllowThreads();
20270 (arg1)->SetReplaceString((wxString const &)*arg2);
20271 wxPyEndAllowThreads(__tstate);
20272 if (PyErr_Occurred()) SWIG_fail;
20273 }
20274 resultobj = SWIG_Py_Void();
20275 {
20276 if (temp2)
20277 delete arg2;
20278 }
20279 return resultobj;
20280 fail:
20281 {
20282 if (temp2)
20283 delete arg2;
20284 }
20285 return NULL;
20286 }
20287
20288
20289 SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20290 PyObject *obj;
20291 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20292 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
20293 return SWIG_Py_Void();
20294 }
20295
20296 SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20297 return SWIG_Python_InitShadowInstance(args);
20298 }
20299
20300 SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20301 PyObject *resultobj = 0;
20302 wxWindow *arg1 = (wxWindow *) 0 ;
20303 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20304 wxString *arg3 = 0 ;
20305 int arg4 = (int) 0 ;
20306 wxFindReplaceDialog *result = 0 ;
20307 void *argp1 = 0 ;
20308 int res1 = 0 ;
20309 void *argp2 = 0 ;
20310 int res2 = 0 ;
20311 bool temp3 = false ;
20312 int val4 ;
20313 int ecode4 = 0 ;
20314 PyObject * obj0 = 0 ;
20315 PyObject * obj1 = 0 ;
20316 PyObject * obj2 = 0 ;
20317 PyObject * obj3 = 0 ;
20318 char * kwnames[] = {
20319 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20320 };
20321
20322 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20323 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20324 if (!SWIG_IsOK(res1)) {
20325 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20326 }
20327 arg1 = reinterpret_cast< wxWindow * >(argp1);
20328 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20329 if (!SWIG_IsOK(res2)) {
20330 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20331 }
20332 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20333 {
20334 arg3 = wxString_in_helper(obj2);
20335 if (arg3 == NULL) SWIG_fail;
20336 temp3 = true;
20337 }
20338 if (obj3) {
20339 ecode4 = SWIG_AsVal_int(obj3, &val4);
20340 if (!SWIG_IsOK(ecode4)) {
20341 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20342 }
20343 arg4 = static_cast< int >(val4);
20344 }
20345 {
20346 if (!wxPyCheckForApp()) SWIG_fail;
20347 PyThreadState* __tstate = wxPyBeginAllowThreads();
20348 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
20349 wxPyEndAllowThreads(__tstate);
20350 if (PyErr_Occurred()) SWIG_fail;
20351 }
20352 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
20353 {
20354 if (temp3)
20355 delete arg3;
20356 }
20357 return resultobj;
20358 fail:
20359 {
20360 if (temp3)
20361 delete arg3;
20362 }
20363 return NULL;
20364 }
20365
20366
20367 SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20368 PyObject *resultobj = 0;
20369 wxFindReplaceDialog *result = 0 ;
20370
20371 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
20372 {
20373 if (!wxPyCheckForApp()) SWIG_fail;
20374 PyThreadState* __tstate = wxPyBeginAllowThreads();
20375 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
20376 wxPyEndAllowThreads(__tstate);
20377 if (PyErr_Occurred()) SWIG_fail;
20378 }
20379 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
20380 return resultobj;
20381 fail:
20382 return NULL;
20383 }
20384
20385
20386 SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20387 PyObject *resultobj = 0;
20388 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20389 wxWindow *arg2 = (wxWindow *) 0 ;
20390 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
20391 wxString *arg4 = 0 ;
20392 int arg5 = (int) 0 ;
20393 bool result;
20394 void *argp1 = 0 ;
20395 int res1 = 0 ;
20396 void *argp2 = 0 ;
20397 int res2 = 0 ;
20398 void *argp3 = 0 ;
20399 int res3 = 0 ;
20400 bool temp4 = false ;
20401 int val5 ;
20402 int ecode5 = 0 ;
20403 PyObject * obj0 = 0 ;
20404 PyObject * obj1 = 0 ;
20405 PyObject * obj2 = 0 ;
20406 PyObject * obj3 = 0 ;
20407 PyObject * obj4 = 0 ;
20408 char * kwnames[] = {
20409 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20410 };
20411
20412 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
20413 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20414 if (!SWIG_IsOK(res1)) {
20415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20416 }
20417 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20418 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20419 if (!SWIG_IsOK(res2)) {
20420 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20421 }
20422 arg2 = reinterpret_cast< wxWindow * >(argp2);
20423 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20424 if (!SWIG_IsOK(res3)) {
20425 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20426 }
20427 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
20428 {
20429 arg4 = wxString_in_helper(obj3);
20430 if (arg4 == NULL) SWIG_fail;
20431 temp4 = true;
20432 }
20433 if (obj4) {
20434 ecode5 = SWIG_AsVal_int(obj4, &val5);
20435 if (!SWIG_IsOK(ecode5)) {
20436 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20437 }
20438 arg5 = static_cast< int >(val5);
20439 }
20440 {
20441 PyThreadState* __tstate = wxPyBeginAllowThreads();
20442 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
20443 wxPyEndAllowThreads(__tstate);
20444 if (PyErr_Occurred()) SWIG_fail;
20445 }
20446 {
20447 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20448 }
20449 {
20450 if (temp4)
20451 delete arg4;
20452 }
20453 return resultobj;
20454 fail:
20455 {
20456 if (temp4)
20457 delete arg4;
20458 }
20459 return NULL;
20460 }
20461
20462
20463 SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20464 PyObject *resultobj = 0;
20465 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20466 wxFindReplaceData *result = 0 ;
20467 void *argp1 = 0 ;
20468 int res1 = 0 ;
20469 PyObject *swig_obj[1] ;
20470
20471 if (!args) SWIG_fail;
20472 swig_obj[0] = args;
20473 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20474 if (!SWIG_IsOK(res1)) {
20475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20476 }
20477 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20478 {
20479 PyThreadState* __tstate = wxPyBeginAllowThreads();
20480 result = (wxFindReplaceData *)(arg1)->GetData();
20481 wxPyEndAllowThreads(__tstate);
20482 if (PyErr_Occurred()) SWIG_fail;
20483 }
20484 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20485 return resultobj;
20486 fail:
20487 return NULL;
20488 }
20489
20490
20491 SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20492 PyObject *resultobj = 0;
20493 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20494 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20495 void *argp1 = 0 ;
20496 int res1 = 0 ;
20497 void *argp2 = 0 ;
20498 int res2 = 0 ;
20499 PyObject * obj0 = 0 ;
20500 PyObject * obj1 = 0 ;
20501 char * kwnames[] = {
20502 (char *) "self",(char *) "data", NULL
20503 };
20504
20505 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
20506 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20507 if (!SWIG_IsOK(res1)) {
20508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20509 }
20510 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20511 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20512 if (!SWIG_IsOK(res2)) {
20513 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20514 }
20515 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20516 {
20517 PyThreadState* __tstate = wxPyBeginAllowThreads();
20518 (arg1)->SetData(arg2);
20519 wxPyEndAllowThreads(__tstate);
20520 if (PyErr_Occurred()) SWIG_fail;
20521 }
20522 resultobj = SWIG_Py_Void();
20523 return resultobj;
20524 fail:
20525 return NULL;
20526 }
20527
20528
20529 SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20530 PyObject *obj;
20531 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20532 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
20533 return SWIG_Py_Void();
20534 }
20535
20536 SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20537 return SWIG_Python_InitShadowInstance(args);
20538 }
20539
20540 SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20541 PyObject *resultobj = 0;
20542 wxWindow *arg1 = (wxWindow *) 0 ;
20543 int arg2 = (int) (int)-1 ;
20544 wxString const &arg3_defvalue = wxPyEmptyString ;
20545 wxString *arg3 = (wxString *) &arg3_defvalue ;
20546 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20547 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20548 wxSize const &arg5_defvalue = wxDefaultSize ;
20549 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20550 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20551 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20552 wxString *arg7 = (wxString *) &arg7_defvalue ;
20553 wxMDIParentFrame *result = 0 ;
20554 void *argp1 = 0 ;
20555 int res1 = 0 ;
20556 int val2 ;
20557 int ecode2 = 0 ;
20558 bool temp3 = false ;
20559 wxPoint temp4 ;
20560 wxSize temp5 ;
20561 long val6 ;
20562 int ecode6 = 0 ;
20563 bool temp7 = false ;
20564 PyObject * obj0 = 0 ;
20565 PyObject * obj1 = 0 ;
20566 PyObject * obj2 = 0 ;
20567 PyObject * obj3 = 0 ;
20568 PyObject * obj4 = 0 ;
20569 PyObject * obj5 = 0 ;
20570 PyObject * obj6 = 0 ;
20571 char * kwnames[] = {
20572 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20573 };
20574
20575 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20576 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20577 if (!SWIG_IsOK(res1)) {
20578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20579 }
20580 arg1 = reinterpret_cast< wxWindow * >(argp1);
20581 if (obj1) {
20582 ecode2 = SWIG_AsVal_int(obj1, &val2);
20583 if (!SWIG_IsOK(ecode2)) {
20584 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20585 }
20586 arg2 = static_cast< int >(val2);
20587 }
20588 if (obj2) {
20589 {
20590 arg3 = wxString_in_helper(obj2);
20591 if (arg3 == NULL) SWIG_fail;
20592 temp3 = true;
20593 }
20594 }
20595 if (obj3) {
20596 {
20597 arg4 = &temp4;
20598 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20599 }
20600 }
20601 if (obj4) {
20602 {
20603 arg5 = &temp5;
20604 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20605 }
20606 }
20607 if (obj5) {
20608 ecode6 = SWIG_AsVal_long(obj5, &val6);
20609 if (!SWIG_IsOK(ecode6)) {
20610 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20611 }
20612 arg6 = static_cast< long >(val6);
20613 }
20614 if (obj6) {
20615 {
20616 arg7 = wxString_in_helper(obj6);
20617 if (arg7 == NULL) SWIG_fail;
20618 temp7 = true;
20619 }
20620 }
20621 {
20622 if (!wxPyCheckForApp()) SWIG_fail;
20623 PyThreadState* __tstate = wxPyBeginAllowThreads();
20624 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20625 wxPyEndAllowThreads(__tstate);
20626 if (PyErr_Occurred()) SWIG_fail;
20627 }
20628 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
20629 {
20630 if (temp3)
20631 delete arg3;
20632 }
20633 {
20634 if (temp7)
20635 delete arg7;
20636 }
20637 return resultobj;
20638 fail:
20639 {
20640 if (temp3)
20641 delete arg3;
20642 }
20643 {
20644 if (temp7)
20645 delete arg7;
20646 }
20647 return NULL;
20648 }
20649
20650
20651 SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20652 PyObject *resultobj = 0;
20653 wxMDIParentFrame *result = 0 ;
20654
20655 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
20656 {
20657 if (!wxPyCheckForApp()) SWIG_fail;
20658 PyThreadState* __tstate = wxPyBeginAllowThreads();
20659 result = (wxMDIParentFrame *)new wxMDIParentFrame();
20660 wxPyEndAllowThreads(__tstate);
20661 if (PyErr_Occurred()) SWIG_fail;
20662 }
20663 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
20664 return resultobj;
20665 fail:
20666 return NULL;
20667 }
20668
20669
20670 SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20671 PyObject *resultobj = 0;
20672 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20673 wxWindow *arg2 = (wxWindow *) 0 ;
20674 int arg3 = (int) (int)-1 ;
20675 wxString const &arg4_defvalue = wxPyEmptyString ;
20676 wxString *arg4 = (wxString *) &arg4_defvalue ;
20677 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20678 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20679 wxSize const &arg6_defvalue = wxDefaultSize ;
20680 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20681 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20682 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20683 wxString *arg8 = (wxString *) &arg8_defvalue ;
20684 bool result;
20685 void *argp1 = 0 ;
20686 int res1 = 0 ;
20687 void *argp2 = 0 ;
20688 int res2 = 0 ;
20689 int val3 ;
20690 int ecode3 = 0 ;
20691 bool temp4 = false ;
20692 wxPoint temp5 ;
20693 wxSize temp6 ;
20694 long val7 ;
20695 int ecode7 = 0 ;
20696 bool temp8 = false ;
20697 PyObject * obj0 = 0 ;
20698 PyObject * obj1 = 0 ;
20699 PyObject * obj2 = 0 ;
20700 PyObject * obj3 = 0 ;
20701 PyObject * obj4 = 0 ;
20702 PyObject * obj5 = 0 ;
20703 PyObject * obj6 = 0 ;
20704 PyObject * obj7 = 0 ;
20705 char * kwnames[] = {
20706 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20707 };
20708
20709 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20710 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20711 if (!SWIG_IsOK(res1)) {
20712 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20713 }
20714 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20715 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20716 if (!SWIG_IsOK(res2)) {
20717 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20718 }
20719 arg2 = reinterpret_cast< wxWindow * >(argp2);
20720 if (obj2) {
20721 ecode3 = SWIG_AsVal_int(obj2, &val3);
20722 if (!SWIG_IsOK(ecode3)) {
20723 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20724 }
20725 arg3 = static_cast< int >(val3);
20726 }
20727 if (obj3) {
20728 {
20729 arg4 = wxString_in_helper(obj3);
20730 if (arg4 == NULL) SWIG_fail;
20731 temp4 = true;
20732 }
20733 }
20734 if (obj4) {
20735 {
20736 arg5 = &temp5;
20737 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
20738 }
20739 }
20740 if (obj5) {
20741 {
20742 arg6 = &temp6;
20743 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
20744 }
20745 }
20746 if (obj6) {
20747 ecode7 = SWIG_AsVal_long(obj6, &val7);
20748 if (!SWIG_IsOK(ecode7)) {
20749 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20750 }
20751 arg7 = static_cast< long >(val7);
20752 }
20753 if (obj7) {
20754 {
20755 arg8 = wxString_in_helper(obj7);
20756 if (arg8 == NULL) SWIG_fail;
20757 temp8 = true;
20758 }
20759 }
20760 {
20761 PyThreadState* __tstate = wxPyBeginAllowThreads();
20762 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20763 wxPyEndAllowThreads(__tstate);
20764 if (PyErr_Occurred()) SWIG_fail;
20765 }
20766 {
20767 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20768 }
20769 {
20770 if (temp4)
20771 delete arg4;
20772 }
20773 {
20774 if (temp8)
20775 delete arg8;
20776 }
20777 return resultobj;
20778 fail:
20779 {
20780 if (temp4)
20781 delete arg4;
20782 }
20783 {
20784 if (temp8)
20785 delete arg8;
20786 }
20787 return NULL;
20788 }
20789
20790
20791 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20792 PyObject *resultobj = 0;
20793 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20794 void *argp1 = 0 ;
20795 int res1 = 0 ;
20796 PyObject *swig_obj[1] ;
20797
20798 if (!args) SWIG_fail;
20799 swig_obj[0] = args;
20800 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20801 if (!SWIG_IsOK(res1)) {
20802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20803 }
20804 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20805 {
20806 PyThreadState* __tstate = wxPyBeginAllowThreads();
20807 (arg1)->ActivateNext();
20808 wxPyEndAllowThreads(__tstate);
20809 if (PyErr_Occurred()) SWIG_fail;
20810 }
20811 resultobj = SWIG_Py_Void();
20812 return resultobj;
20813 fail:
20814 return NULL;
20815 }
20816
20817
20818 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20819 PyObject *resultobj = 0;
20820 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20821 void *argp1 = 0 ;
20822 int res1 = 0 ;
20823 PyObject *swig_obj[1] ;
20824
20825 if (!args) SWIG_fail;
20826 swig_obj[0] = args;
20827 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20828 if (!SWIG_IsOK(res1)) {
20829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20830 }
20831 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20832 {
20833 PyThreadState* __tstate = wxPyBeginAllowThreads();
20834 (arg1)->ActivatePrevious();
20835 wxPyEndAllowThreads(__tstate);
20836 if (PyErr_Occurred()) SWIG_fail;
20837 }
20838 resultobj = SWIG_Py_Void();
20839 return resultobj;
20840 fail:
20841 return NULL;
20842 }
20843
20844
20845 SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20846 PyObject *resultobj = 0;
20847 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20848 void *argp1 = 0 ;
20849 int res1 = 0 ;
20850 PyObject *swig_obj[1] ;
20851
20852 if (!args) SWIG_fail;
20853 swig_obj[0] = args;
20854 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20855 if (!SWIG_IsOK(res1)) {
20856 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20857 }
20858 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20859 {
20860 PyThreadState* __tstate = wxPyBeginAllowThreads();
20861 (arg1)->ArrangeIcons();
20862 wxPyEndAllowThreads(__tstate);
20863 if (PyErr_Occurred()) SWIG_fail;
20864 }
20865 resultobj = SWIG_Py_Void();
20866 return resultobj;
20867 fail:
20868 return NULL;
20869 }
20870
20871
20872 SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20873 PyObject *resultobj = 0;
20874 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20875 void *argp1 = 0 ;
20876 int res1 = 0 ;
20877 PyObject *swig_obj[1] ;
20878
20879 if (!args) SWIG_fail;
20880 swig_obj[0] = args;
20881 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20882 if (!SWIG_IsOK(res1)) {
20883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20884 }
20885 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20886 {
20887 PyThreadState* __tstate = wxPyBeginAllowThreads();
20888 (arg1)->Cascade();
20889 wxPyEndAllowThreads(__tstate);
20890 if (PyErr_Occurred()) SWIG_fail;
20891 }
20892 resultobj = SWIG_Py_Void();
20893 return resultobj;
20894 fail:
20895 return NULL;
20896 }
20897
20898
20899 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20900 PyObject *resultobj = 0;
20901 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20902 wxMDIChildFrame *result = 0 ;
20903 void *argp1 = 0 ;
20904 int res1 = 0 ;
20905 PyObject *swig_obj[1] ;
20906
20907 if (!args) SWIG_fail;
20908 swig_obj[0] = args;
20909 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20910 if (!SWIG_IsOK(res1)) {
20911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20912 }
20913 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20914 {
20915 PyThreadState* __tstate = wxPyBeginAllowThreads();
20916 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
20917 wxPyEndAllowThreads(__tstate);
20918 if (PyErr_Occurred()) SWIG_fail;
20919 }
20920 {
20921 resultobj = wxPyMake_wxObject(result, (bool)0);
20922 }
20923 return resultobj;
20924 fail:
20925 return NULL;
20926 }
20927
20928
20929 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20930 PyObject *resultobj = 0;
20931 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20932 wxMDIClientWindow *result = 0 ;
20933 void *argp1 = 0 ;
20934 int res1 = 0 ;
20935 PyObject *swig_obj[1] ;
20936
20937 if (!args) SWIG_fail;
20938 swig_obj[0] = args;
20939 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20940 if (!SWIG_IsOK(res1)) {
20941 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20942 }
20943 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20944 {
20945 PyThreadState* __tstate = wxPyBeginAllowThreads();
20946 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
20947 wxPyEndAllowThreads(__tstate);
20948 if (PyErr_Occurred()) SWIG_fail;
20949 }
20950 {
20951 resultobj = wxPyMake_wxObject(result, (bool)0);
20952 }
20953 return resultobj;
20954 fail:
20955 return NULL;
20956 }
20957
20958
20959 SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20960 PyObject *resultobj = 0;
20961 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20962 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
20963 void *argp1 = 0 ;
20964 int res1 = 0 ;
20965 int val2 ;
20966 int ecode2 = 0 ;
20967 PyObject * obj0 = 0 ;
20968 PyObject * obj1 = 0 ;
20969 char * kwnames[] = {
20970 (char *) "self",(char *) "orient", NULL
20971 };
20972
20973 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
20974 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20975 if (!SWIG_IsOK(res1)) {
20976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20977 }
20978 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20979 if (obj1) {
20980 ecode2 = SWIG_AsVal_int(obj1, &val2);
20981 if (!SWIG_IsOK(ecode2)) {
20982 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20983 }
20984 arg2 = static_cast< wxOrientation >(val2);
20985 }
20986 {
20987 PyThreadState* __tstate = wxPyBeginAllowThreads();
20988 (arg1)->Tile(arg2);
20989 wxPyEndAllowThreads(__tstate);
20990 if (PyErr_Occurred()) SWIG_fail;
20991 }
20992 resultobj = SWIG_Py_Void();
20993 return resultobj;
20994 fail:
20995 return NULL;
20996 }
20997
20998
20999 SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21000 PyObject *obj;
21001 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21002 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
21003 return SWIG_Py_Void();
21004 }
21005
21006 SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21007 return SWIG_Python_InitShadowInstance(args);
21008 }
21009
21010 SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21011 PyObject *resultobj = 0;
21012 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21013 int arg2 = (int) (int)-1 ;
21014 wxString const &arg3_defvalue = wxPyEmptyString ;
21015 wxString *arg3 = (wxString *) &arg3_defvalue ;
21016 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21017 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21018 wxSize const &arg5_defvalue = wxDefaultSize ;
21019 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21020 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
21021 wxString const &arg7_defvalue = wxPyFrameNameStr ;
21022 wxString *arg7 = (wxString *) &arg7_defvalue ;
21023 wxMDIChildFrame *result = 0 ;
21024 void *argp1 = 0 ;
21025 int res1 = 0 ;
21026 int val2 ;
21027 int ecode2 = 0 ;
21028 bool temp3 = false ;
21029 wxPoint temp4 ;
21030 wxSize temp5 ;
21031 long val6 ;
21032 int ecode6 = 0 ;
21033 bool temp7 = false ;
21034 PyObject * obj0 = 0 ;
21035 PyObject * obj1 = 0 ;
21036 PyObject * obj2 = 0 ;
21037 PyObject * obj3 = 0 ;
21038 PyObject * obj4 = 0 ;
21039 PyObject * obj5 = 0 ;
21040 PyObject * obj6 = 0 ;
21041 char * kwnames[] = {
21042 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21043 };
21044
21045 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21046 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21047 if (!SWIG_IsOK(res1)) {
21048 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21049 }
21050 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21051 if (obj1) {
21052 ecode2 = SWIG_AsVal_int(obj1, &val2);
21053 if (!SWIG_IsOK(ecode2)) {
21054 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
21055 }
21056 arg2 = static_cast< int >(val2);
21057 }
21058 if (obj2) {
21059 {
21060 arg3 = wxString_in_helper(obj2);
21061 if (arg3 == NULL) SWIG_fail;
21062 temp3 = true;
21063 }
21064 }
21065 if (obj3) {
21066 {
21067 arg4 = &temp4;
21068 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21069 }
21070 }
21071 if (obj4) {
21072 {
21073 arg5 = &temp5;
21074 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21075 }
21076 }
21077 if (obj5) {
21078 ecode6 = SWIG_AsVal_long(obj5, &val6);
21079 if (!SWIG_IsOK(ecode6)) {
21080 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
21081 }
21082 arg6 = static_cast< long >(val6);
21083 }
21084 if (obj6) {
21085 {
21086 arg7 = wxString_in_helper(obj6);
21087 if (arg7 == NULL) SWIG_fail;
21088 temp7 = true;
21089 }
21090 }
21091 {
21092 if (!wxPyCheckForApp()) SWIG_fail;
21093 PyThreadState* __tstate = wxPyBeginAllowThreads();
21094 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21095 wxPyEndAllowThreads(__tstate);
21096 if (PyErr_Occurred()) SWIG_fail;
21097 }
21098 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
21099 {
21100 if (temp3)
21101 delete arg3;
21102 }
21103 {
21104 if (temp7)
21105 delete arg7;
21106 }
21107 return resultobj;
21108 fail:
21109 {
21110 if (temp3)
21111 delete arg3;
21112 }
21113 {
21114 if (temp7)
21115 delete arg7;
21116 }
21117 return NULL;
21118 }
21119
21120
21121 SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21122 PyObject *resultobj = 0;
21123 wxMDIChildFrame *result = 0 ;
21124
21125 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
21126 {
21127 if (!wxPyCheckForApp()) SWIG_fail;
21128 PyThreadState* __tstate = wxPyBeginAllowThreads();
21129 result = (wxMDIChildFrame *)new wxMDIChildFrame();
21130 wxPyEndAllowThreads(__tstate);
21131 if (PyErr_Occurred()) SWIG_fail;
21132 }
21133 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
21134 return resultobj;
21135 fail:
21136 return NULL;
21137 }
21138
21139
21140 SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21141 PyObject *resultobj = 0;
21142 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21143 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21144 int arg3 = (int) (int)-1 ;
21145 wxString const &arg4_defvalue = wxPyEmptyString ;
21146 wxString *arg4 = (wxString *) &arg4_defvalue ;
21147 wxPoint const &arg5_defvalue = wxDefaultPosition ;
21148 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
21149 wxSize const &arg6_defvalue = wxDefaultSize ;
21150 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
21151 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
21152 wxString const &arg8_defvalue = wxPyFrameNameStr ;
21153 wxString *arg8 = (wxString *) &arg8_defvalue ;
21154 bool result;
21155 void *argp1 = 0 ;
21156 int res1 = 0 ;
21157 void *argp2 = 0 ;
21158 int res2 = 0 ;
21159 int val3 ;
21160 int ecode3 = 0 ;
21161 bool temp4 = false ;
21162 wxPoint temp5 ;
21163 wxSize temp6 ;
21164 long val7 ;
21165 int ecode7 = 0 ;
21166 bool temp8 = false ;
21167 PyObject * obj0 = 0 ;
21168 PyObject * obj1 = 0 ;
21169 PyObject * obj2 = 0 ;
21170 PyObject * obj3 = 0 ;
21171 PyObject * obj4 = 0 ;
21172 PyObject * obj5 = 0 ;
21173 PyObject * obj6 = 0 ;
21174 PyObject * obj7 = 0 ;
21175 char * kwnames[] = {
21176 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21177 };
21178
21179 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
21180 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21181 if (!SWIG_IsOK(res1)) {
21182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21183 }
21184 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21185 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21186 if (!SWIG_IsOK(res2)) {
21187 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21188 }
21189 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21190 if (obj2) {
21191 ecode3 = SWIG_AsVal_int(obj2, &val3);
21192 if (!SWIG_IsOK(ecode3)) {
21193 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21194 }
21195 arg3 = static_cast< int >(val3);
21196 }
21197 if (obj3) {
21198 {
21199 arg4 = wxString_in_helper(obj3);
21200 if (arg4 == NULL) SWIG_fail;
21201 temp4 = true;
21202 }
21203 }
21204 if (obj4) {
21205 {
21206 arg5 = &temp5;
21207 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
21208 }
21209 }
21210 if (obj5) {
21211 {
21212 arg6 = &temp6;
21213 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
21214 }
21215 }
21216 if (obj6) {
21217 ecode7 = SWIG_AsVal_long(obj6, &val7);
21218 if (!SWIG_IsOK(ecode7)) {
21219 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21220 }
21221 arg7 = static_cast< long >(val7);
21222 }
21223 if (obj7) {
21224 {
21225 arg8 = wxString_in_helper(obj7);
21226 if (arg8 == NULL) SWIG_fail;
21227 temp8 = true;
21228 }
21229 }
21230 {
21231 PyThreadState* __tstate = wxPyBeginAllowThreads();
21232 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
21233 wxPyEndAllowThreads(__tstate);
21234 if (PyErr_Occurred()) SWIG_fail;
21235 }
21236 {
21237 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21238 }
21239 {
21240 if (temp4)
21241 delete arg4;
21242 }
21243 {
21244 if (temp8)
21245 delete arg8;
21246 }
21247 return resultobj;
21248 fail:
21249 {
21250 if (temp4)
21251 delete arg4;
21252 }
21253 {
21254 if (temp8)
21255 delete arg8;
21256 }
21257 return NULL;
21258 }
21259
21260
21261 SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21262 PyObject *resultobj = 0;
21263 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21264 void *argp1 = 0 ;
21265 int res1 = 0 ;
21266 PyObject *swig_obj[1] ;
21267
21268 if (!args) SWIG_fail;
21269 swig_obj[0] = args;
21270 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21271 if (!SWIG_IsOK(res1)) {
21272 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21273 }
21274 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21275 {
21276 PyThreadState* __tstate = wxPyBeginAllowThreads();
21277 (arg1)->Activate();
21278 wxPyEndAllowThreads(__tstate);
21279 if (PyErr_Occurred()) SWIG_fail;
21280 }
21281 resultobj = SWIG_Py_Void();
21282 return resultobj;
21283 fail:
21284 return NULL;
21285 }
21286
21287
21288 SWIGINTERN PyObject *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21289 PyObject *obj;
21290 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21291 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
21292 return SWIG_Py_Void();
21293 }
21294
21295 SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21296 return SWIG_Python_InitShadowInstance(args);
21297 }
21298
21299 SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21300 PyObject *resultobj = 0;
21301 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21302 long arg2 = (long) 0 ;
21303 wxMDIClientWindow *result = 0 ;
21304 void *argp1 = 0 ;
21305 int res1 = 0 ;
21306 long val2 ;
21307 int ecode2 = 0 ;
21308 PyObject * obj0 = 0 ;
21309 PyObject * obj1 = 0 ;
21310 char * kwnames[] = {
21311 (char *) "parent",(char *) "style", NULL
21312 };
21313
21314 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
21315 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21316 if (!SWIG_IsOK(res1)) {
21317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21318 }
21319 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21320 if (obj1) {
21321 ecode2 = SWIG_AsVal_long(obj1, &val2);
21322 if (!SWIG_IsOK(ecode2)) {
21323 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21324 }
21325 arg2 = static_cast< long >(val2);
21326 }
21327 {
21328 if (!wxPyCheckForApp()) SWIG_fail;
21329 PyThreadState* __tstate = wxPyBeginAllowThreads();
21330 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
21331 wxPyEndAllowThreads(__tstate);
21332 if (PyErr_Occurred()) SWIG_fail;
21333 }
21334 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
21335 return resultobj;
21336 fail:
21337 return NULL;
21338 }
21339
21340
21341 SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21342 PyObject *resultobj = 0;
21343 wxMDIClientWindow *result = 0 ;
21344
21345 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
21346 {
21347 if (!wxPyCheckForApp()) SWIG_fail;
21348 PyThreadState* __tstate = wxPyBeginAllowThreads();
21349 result = (wxMDIClientWindow *)new wxMDIClientWindow();
21350 wxPyEndAllowThreads(__tstate);
21351 if (PyErr_Occurred()) SWIG_fail;
21352 }
21353 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
21354 return resultobj;
21355 fail:
21356 return NULL;
21357 }
21358
21359
21360 SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21361 PyObject *resultobj = 0;
21362 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
21363 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21364 long arg3 = (long) 0 ;
21365 bool result;
21366 void *argp1 = 0 ;
21367 int res1 = 0 ;
21368 void *argp2 = 0 ;
21369 int res2 = 0 ;
21370 long val3 ;
21371 int ecode3 = 0 ;
21372 PyObject * obj0 = 0 ;
21373 PyObject * obj1 = 0 ;
21374 PyObject * obj2 = 0 ;
21375 char * kwnames[] = {
21376 (char *) "self",(char *) "parent",(char *) "style", NULL
21377 };
21378
21379 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21380 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
21381 if (!SWIG_IsOK(res1)) {
21382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21383 }
21384 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
21385 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21386 if (!SWIG_IsOK(res2)) {
21387 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21388 }
21389 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21390 if (obj2) {
21391 ecode3 = SWIG_AsVal_long(obj2, &val3);
21392 if (!SWIG_IsOK(ecode3)) {
21393 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21394 }
21395 arg3 = static_cast< long >(val3);
21396 }
21397 {
21398 PyThreadState* __tstate = wxPyBeginAllowThreads();
21399 result = (bool)(arg1)->Create(arg2,arg3);
21400 wxPyEndAllowThreads(__tstate);
21401 if (PyErr_Occurred()) SWIG_fail;
21402 }
21403 {
21404 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21405 }
21406 return resultobj;
21407 fail:
21408 return NULL;
21409 }
21410
21411
21412 SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21413 PyObject *obj;
21414 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21415 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
21416 return SWIG_Py_Void();
21417 }
21418
21419 SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21420 return SWIG_Python_InitShadowInstance(args);
21421 }
21422
21423 SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21424 PyObject *resultobj = 0;
21425 wxWindow *arg1 = (wxWindow *) 0 ;
21426 int arg2 = (int) (int)-1 ;
21427 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21428 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21429 wxSize const &arg4_defvalue = wxDefaultSize ;
21430 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21431 long arg5 = (long) 0 ;
21432 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21433 wxString *arg6 = (wxString *) &arg6_defvalue ;
21434 wxPyWindow *result = 0 ;
21435 void *argp1 = 0 ;
21436 int res1 = 0 ;
21437 int val2 ;
21438 int ecode2 = 0 ;
21439 wxPoint temp3 ;
21440 wxSize temp4 ;
21441 long val5 ;
21442 int ecode5 = 0 ;
21443 bool temp6 = false ;
21444 PyObject * obj0 = 0 ;
21445 PyObject * obj1 = 0 ;
21446 PyObject * obj2 = 0 ;
21447 PyObject * obj3 = 0 ;
21448 PyObject * obj4 = 0 ;
21449 PyObject * obj5 = 0 ;
21450 char * kwnames[] = {
21451 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21452 };
21453
21454 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21455 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21456 if (!SWIG_IsOK(res1)) {
21457 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21458 }
21459 arg1 = reinterpret_cast< wxWindow * >(argp1);
21460 if (obj1) {
21461 ecode2 = SWIG_AsVal_int(obj1, &val2);
21462 if (!SWIG_IsOK(ecode2)) {
21463 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21464 }
21465 arg2 = static_cast< int >(val2);
21466 }
21467 if (obj2) {
21468 {
21469 arg3 = &temp3;
21470 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21471 }
21472 }
21473 if (obj3) {
21474 {
21475 arg4 = &temp4;
21476 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21477 }
21478 }
21479 if (obj4) {
21480 ecode5 = SWIG_AsVal_long(obj4, &val5);
21481 if (!SWIG_IsOK(ecode5)) {
21482 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21483 }
21484 arg5 = static_cast< long >(val5);
21485 }
21486 if (obj5) {
21487 {
21488 arg6 = wxString_in_helper(obj5);
21489 if (arg6 == NULL) SWIG_fail;
21490 temp6 = true;
21491 }
21492 }
21493 {
21494 if (!wxPyCheckForApp()) SWIG_fail;
21495 PyThreadState* __tstate = wxPyBeginAllowThreads();
21496 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21497 wxPyEndAllowThreads(__tstate);
21498 if (PyErr_Occurred()) SWIG_fail;
21499 }
21500 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
21501 {
21502 if (temp6)
21503 delete arg6;
21504 }
21505 return resultobj;
21506 fail:
21507 {
21508 if (temp6)
21509 delete arg6;
21510 }
21511 return NULL;
21512 }
21513
21514
21515 SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21516 PyObject *resultobj = 0;
21517 wxPyWindow *result = 0 ;
21518
21519 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
21520 {
21521 if (!wxPyCheckForApp()) SWIG_fail;
21522 PyThreadState* __tstate = wxPyBeginAllowThreads();
21523 result = (wxPyWindow *)new wxPyWindow();
21524 wxPyEndAllowThreads(__tstate);
21525 if (PyErr_Occurred()) SWIG_fail;
21526 }
21527 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
21528 return resultobj;
21529 fail:
21530 return NULL;
21531 }
21532
21533
21534 SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21535 PyObject *resultobj = 0;
21536 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21537 PyObject *arg2 = (PyObject *) 0 ;
21538 PyObject *arg3 = (PyObject *) 0 ;
21539 void *argp1 = 0 ;
21540 int res1 = 0 ;
21541 PyObject * obj0 = 0 ;
21542 PyObject * obj1 = 0 ;
21543 PyObject * obj2 = 0 ;
21544 char * kwnames[] = {
21545 (char *) "self",(char *) "self",(char *) "_class", NULL
21546 };
21547
21548 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21549 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21550 if (!SWIG_IsOK(res1)) {
21551 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21552 }
21553 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21554 arg2 = obj1;
21555 arg3 = obj2;
21556 {
21557 PyThreadState* __tstate = wxPyBeginAllowThreads();
21558 (arg1)->_setCallbackInfo(arg2,arg3);
21559 wxPyEndAllowThreads(__tstate);
21560 if (PyErr_Occurred()) SWIG_fail;
21561 }
21562 resultobj = SWIG_Py_Void();
21563 return resultobj;
21564 fail:
21565 return NULL;
21566 }
21567
21568
21569 SWIGINTERN PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21570 PyObject *resultobj = 0;
21571 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21572 wxDC *arg2 = (wxDC *) 0 ;
21573 bool result;
21574 void *argp1 = 0 ;
21575 int res1 = 0 ;
21576 void *argp2 = 0 ;
21577 int res2 = 0 ;
21578 PyObject * obj0 = 0 ;
21579 PyObject * obj1 = 0 ;
21580 char * kwnames[] = {
21581 (char *) "self",(char *) "dc", NULL
21582 };
21583
21584 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21585 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21586 if (!SWIG_IsOK(res1)) {
21587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21588 }
21589 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21590 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21591 if (!SWIG_IsOK(res2)) {
21592 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21593 }
21594 arg2 = reinterpret_cast< wxDC * >(argp2);
21595 {
21596 PyThreadState* __tstate = wxPyBeginAllowThreads();
21597 result = (bool)(arg1)->DoEraseBackground(arg2);
21598 wxPyEndAllowThreads(__tstate);
21599 if (PyErr_Occurred()) SWIG_fail;
21600 }
21601 {
21602 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21603 }
21604 return resultobj;
21605 fail:
21606 return NULL;
21607 }
21608
21609
21610 SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21611 PyObject *resultobj = 0;
21612 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21613 int arg2 ;
21614 int arg3 ;
21615 int arg4 ;
21616 int arg5 ;
21617 void *argp1 = 0 ;
21618 int res1 = 0 ;
21619 int val2 ;
21620 int ecode2 = 0 ;
21621 int val3 ;
21622 int ecode3 = 0 ;
21623 int val4 ;
21624 int ecode4 = 0 ;
21625 int val5 ;
21626 int ecode5 = 0 ;
21627 PyObject * obj0 = 0 ;
21628 PyObject * obj1 = 0 ;
21629 PyObject * obj2 = 0 ;
21630 PyObject * obj3 = 0 ;
21631 PyObject * obj4 = 0 ;
21632 char * kwnames[] = {
21633 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21634 };
21635
21636 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21637 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21638 if (!SWIG_IsOK(res1)) {
21639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21640 }
21641 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21642 ecode2 = SWIG_AsVal_int(obj1, &val2);
21643 if (!SWIG_IsOK(ecode2)) {
21644 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21645 }
21646 arg2 = static_cast< int >(val2);
21647 ecode3 = SWIG_AsVal_int(obj2, &val3);
21648 if (!SWIG_IsOK(ecode3)) {
21649 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21650 }
21651 arg3 = static_cast< int >(val3);
21652 ecode4 = SWIG_AsVal_int(obj3, &val4);
21653 if (!SWIG_IsOK(ecode4)) {
21654 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21655 }
21656 arg4 = static_cast< int >(val4);
21657 ecode5 = SWIG_AsVal_int(obj4, &val5);
21658 if (!SWIG_IsOK(ecode5)) {
21659 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21660 }
21661 arg5 = static_cast< int >(val5);
21662 {
21663 PyThreadState* __tstate = wxPyBeginAllowThreads();
21664 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
21665 wxPyEndAllowThreads(__tstate);
21666 if (PyErr_Occurred()) SWIG_fail;
21667 }
21668 resultobj = SWIG_Py_Void();
21669 return resultobj;
21670 fail:
21671 return NULL;
21672 }
21673
21674
21675 SWIGINTERN PyObject *_wrap_PyWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21676 PyObject *resultobj = 0;
21677 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21678 int arg2 ;
21679 int arg3 ;
21680 int arg4 ;
21681 int arg5 ;
21682 int arg6 = (int) wxSIZE_AUTO ;
21683 void *argp1 = 0 ;
21684 int res1 = 0 ;
21685 int val2 ;
21686 int ecode2 = 0 ;
21687 int val3 ;
21688 int ecode3 = 0 ;
21689 int val4 ;
21690 int ecode4 = 0 ;
21691 int val5 ;
21692 int ecode5 = 0 ;
21693 int val6 ;
21694 int ecode6 = 0 ;
21695 PyObject * obj0 = 0 ;
21696 PyObject * obj1 = 0 ;
21697 PyObject * obj2 = 0 ;
21698 PyObject * obj3 = 0 ;
21699 PyObject * obj4 = 0 ;
21700 PyObject * obj5 = 0 ;
21701 char * kwnames[] = {
21702 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21703 };
21704
21705 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21706 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21707 if (!SWIG_IsOK(res1)) {
21708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21709 }
21710 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21711 ecode2 = SWIG_AsVal_int(obj1, &val2);
21712 if (!SWIG_IsOK(ecode2)) {
21713 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21714 }
21715 arg2 = static_cast< int >(val2);
21716 ecode3 = SWIG_AsVal_int(obj2, &val3);
21717 if (!SWIG_IsOK(ecode3)) {
21718 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21719 }
21720 arg3 = static_cast< int >(val3);
21721 ecode4 = SWIG_AsVal_int(obj3, &val4);
21722 if (!SWIG_IsOK(ecode4)) {
21723 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21724 }
21725 arg4 = static_cast< int >(val4);
21726 ecode5 = SWIG_AsVal_int(obj4, &val5);
21727 if (!SWIG_IsOK(ecode5)) {
21728 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21729 }
21730 arg5 = static_cast< int >(val5);
21731 if (obj5) {
21732 ecode6 = SWIG_AsVal_int(obj5, &val6);
21733 if (!SWIG_IsOK(ecode6)) {
21734 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21735 }
21736 arg6 = static_cast< int >(val6);
21737 }
21738 {
21739 PyThreadState* __tstate = wxPyBeginAllowThreads();
21740 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
21741 wxPyEndAllowThreads(__tstate);
21742 if (PyErr_Occurred()) SWIG_fail;
21743 }
21744 resultobj = SWIG_Py_Void();
21745 return resultobj;
21746 fail:
21747 return NULL;
21748 }
21749
21750
21751 SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21752 PyObject *resultobj = 0;
21753 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21754 int arg2 ;
21755 int arg3 ;
21756 void *argp1 = 0 ;
21757 int res1 = 0 ;
21758 int val2 ;
21759 int ecode2 = 0 ;
21760 int val3 ;
21761 int ecode3 = 0 ;
21762 PyObject * obj0 = 0 ;
21763 PyObject * obj1 = 0 ;
21764 PyObject * obj2 = 0 ;
21765 char * kwnames[] = {
21766 (char *) "self",(char *) "width",(char *) "height", NULL
21767 };
21768
21769 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21770 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21771 if (!SWIG_IsOK(res1)) {
21772 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21773 }
21774 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21775 ecode2 = SWIG_AsVal_int(obj1, &val2);
21776 if (!SWIG_IsOK(ecode2)) {
21777 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21778 }
21779 arg2 = static_cast< int >(val2);
21780 ecode3 = SWIG_AsVal_int(obj2, &val3);
21781 if (!SWIG_IsOK(ecode3)) {
21782 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21783 }
21784 arg3 = static_cast< int >(val3);
21785 {
21786 PyThreadState* __tstate = wxPyBeginAllowThreads();
21787 (arg1)->DoSetClientSize(arg2,arg3);
21788 wxPyEndAllowThreads(__tstate);
21789 if (PyErr_Occurred()) SWIG_fail;
21790 }
21791 resultobj = SWIG_Py_Void();
21792 return resultobj;
21793 fail:
21794 return NULL;
21795 }
21796
21797
21798 SWIGINTERN PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21799 PyObject *resultobj = 0;
21800 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21801 int arg2 ;
21802 int arg3 ;
21803 void *argp1 = 0 ;
21804 int res1 = 0 ;
21805 int val2 ;
21806 int ecode2 = 0 ;
21807 int val3 ;
21808 int ecode3 = 0 ;
21809 PyObject * obj0 = 0 ;
21810 PyObject * obj1 = 0 ;
21811 PyObject * obj2 = 0 ;
21812 char * kwnames[] = {
21813 (char *) "self",(char *) "x",(char *) "y", NULL
21814 };
21815
21816 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21817 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21818 if (!SWIG_IsOK(res1)) {
21819 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21820 }
21821 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21822 ecode2 = SWIG_AsVal_int(obj1, &val2);
21823 if (!SWIG_IsOK(ecode2)) {
21824 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21825 }
21826 arg2 = static_cast< int >(val2);
21827 ecode3 = SWIG_AsVal_int(obj2, &val3);
21828 if (!SWIG_IsOK(ecode3)) {
21829 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21830 }
21831 arg3 = static_cast< int >(val3);
21832 {
21833 PyThreadState* __tstate = wxPyBeginAllowThreads();
21834 (arg1)->DoSetVirtualSize(arg2,arg3);
21835 wxPyEndAllowThreads(__tstate);
21836 if (PyErr_Occurred()) SWIG_fail;
21837 }
21838 resultobj = SWIG_Py_Void();
21839 return resultobj;
21840 fail:
21841 return NULL;
21842 }
21843
21844
21845 SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21846 PyObject *resultobj = 0;
21847 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21848 int *arg2 = (int *) 0 ;
21849 int *arg3 = (int *) 0 ;
21850 void *argp1 = 0 ;
21851 int res1 = 0 ;
21852 int temp2 ;
21853 int res2 = SWIG_TMPOBJ ;
21854 int temp3 ;
21855 int res3 = SWIG_TMPOBJ ;
21856 PyObject *swig_obj[1] ;
21857
21858 arg2 = &temp2;
21859 arg3 = &temp3;
21860 if (!args) SWIG_fail;
21861 swig_obj[0] = args;
21862 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21863 if (!SWIG_IsOK(res1)) {
21864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21865 }
21866 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21867 {
21868 PyThreadState* __tstate = wxPyBeginAllowThreads();
21869 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
21870 wxPyEndAllowThreads(__tstate);
21871 if (PyErr_Occurred()) SWIG_fail;
21872 }
21873 resultobj = SWIG_Py_Void();
21874 if (SWIG_IsTmpObj(res2)) {
21875 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21876 } else {
21877 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21878 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21879 }
21880 if (SWIG_IsTmpObj(res3)) {
21881 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21882 } else {
21883 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21884 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21885 }
21886 return resultobj;
21887 fail:
21888 return NULL;
21889 }
21890
21891
21892 SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21893 PyObject *resultobj = 0;
21894 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21895 int *arg2 = (int *) 0 ;
21896 int *arg3 = (int *) 0 ;
21897 void *argp1 = 0 ;
21898 int res1 = 0 ;
21899 int temp2 ;
21900 int res2 = SWIG_TMPOBJ ;
21901 int temp3 ;
21902 int res3 = SWIG_TMPOBJ ;
21903 PyObject *swig_obj[1] ;
21904
21905 arg2 = &temp2;
21906 arg3 = &temp3;
21907 if (!args) SWIG_fail;
21908 swig_obj[0] = args;
21909 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21910 if (!SWIG_IsOK(res1)) {
21911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21912 }
21913 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21914 {
21915 PyThreadState* __tstate = wxPyBeginAllowThreads();
21916 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
21917 wxPyEndAllowThreads(__tstate);
21918 if (PyErr_Occurred()) SWIG_fail;
21919 }
21920 resultobj = SWIG_Py_Void();
21921 if (SWIG_IsTmpObj(res2)) {
21922 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21923 } else {
21924 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21925 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21926 }
21927 if (SWIG_IsTmpObj(res3)) {
21928 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21929 } else {
21930 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21931 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21932 }
21933 return resultobj;
21934 fail:
21935 return NULL;
21936 }
21937
21938
21939 SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21940 PyObject *resultobj = 0;
21941 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21942 int *arg2 = (int *) 0 ;
21943 int *arg3 = (int *) 0 ;
21944 void *argp1 = 0 ;
21945 int res1 = 0 ;
21946 int temp2 ;
21947 int res2 = SWIG_TMPOBJ ;
21948 int temp3 ;
21949 int res3 = SWIG_TMPOBJ ;
21950 PyObject *swig_obj[1] ;
21951
21952 arg2 = &temp2;
21953 arg3 = &temp3;
21954 if (!args) SWIG_fail;
21955 swig_obj[0] = args;
21956 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21957 if (!SWIG_IsOK(res1)) {
21958 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21959 }
21960 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21961 {
21962 PyThreadState* __tstate = wxPyBeginAllowThreads();
21963 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
21964 wxPyEndAllowThreads(__tstate);
21965 if (PyErr_Occurred()) SWIG_fail;
21966 }
21967 resultobj = SWIG_Py_Void();
21968 if (SWIG_IsTmpObj(res2)) {
21969 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21970 } else {
21971 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21972 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21973 }
21974 if (SWIG_IsTmpObj(res3)) {
21975 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21976 } else {
21977 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21978 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21979 }
21980 return resultobj;
21981 fail:
21982 return NULL;
21983 }
21984
21985
21986 SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21987 PyObject *resultobj = 0;
21988 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21989 wxSize result;
21990 void *argp1 = 0 ;
21991 int res1 = 0 ;
21992 PyObject *swig_obj[1] ;
21993
21994 if (!args) SWIG_fail;
21995 swig_obj[0] = args;
21996 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21997 if (!SWIG_IsOK(res1)) {
21998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21999 }
22000 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22001 {
22002 PyThreadState* __tstate = wxPyBeginAllowThreads();
22003 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
22004 wxPyEndAllowThreads(__tstate);
22005 if (PyErr_Occurred()) SWIG_fail;
22006 }
22007 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22008 return resultobj;
22009 fail:
22010 return NULL;
22011 }
22012
22013
22014 SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22015 PyObject *resultobj = 0;
22016 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22017 wxSize result;
22018 void *argp1 = 0 ;
22019 int res1 = 0 ;
22020 PyObject *swig_obj[1] ;
22021
22022 if (!args) SWIG_fail;
22023 swig_obj[0] = args;
22024 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22025 if (!SWIG_IsOK(res1)) {
22026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22027 }
22028 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22029 {
22030 PyThreadState* __tstate = wxPyBeginAllowThreads();
22031 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
22032 wxPyEndAllowThreads(__tstate);
22033 if (PyErr_Occurred()) SWIG_fail;
22034 }
22035 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22036 return resultobj;
22037 fail:
22038 return NULL;
22039 }
22040
22041
22042 SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22043 PyObject *resultobj = 0;
22044 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22045 SwigValueWrapper<wxVisualAttributes > result;
22046 void *argp1 = 0 ;
22047 int res1 = 0 ;
22048 PyObject *swig_obj[1] ;
22049
22050 if (!args) SWIG_fail;
22051 swig_obj[0] = args;
22052 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22053 if (!SWIG_IsOK(res1)) {
22054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22055 }
22056 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22057 {
22058 PyThreadState* __tstate = wxPyBeginAllowThreads();
22059 result = (arg1)->GetDefaultAttributes();
22060 wxPyEndAllowThreads(__tstate);
22061 if (PyErr_Occurred()) SWIG_fail;
22062 }
22063 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22064 return resultobj;
22065 fail:
22066 return NULL;
22067 }
22068
22069
22070 SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22071 PyObject *resultobj = 0;
22072 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22073 void *argp1 = 0 ;
22074 int res1 = 0 ;
22075 PyObject *swig_obj[1] ;
22076
22077 if (!args) SWIG_fail;
22078 swig_obj[0] = args;
22079 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22080 if (!SWIG_IsOK(res1)) {
22081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22082 }
22083 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22084 {
22085 PyThreadState* __tstate = wxPyBeginAllowThreads();
22086 (arg1)->OnInternalIdle();
22087 wxPyEndAllowThreads(__tstate);
22088 if (PyErr_Occurred()) SWIG_fail;
22089 }
22090 resultobj = SWIG_Py_Void();
22091 return resultobj;
22092 fail:
22093 return NULL;
22094 }
22095
22096
22097 SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22098 PyObject *obj;
22099 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22100 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
22101 return SWIG_Py_Void();
22102 }
22103
22104 SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22105 return SWIG_Python_InitShadowInstance(args);
22106 }
22107
22108 SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22109 PyObject *resultobj = 0;
22110 wxWindow *arg1 = (wxWindow *) 0 ;
22111 int arg2 = (int) (int)-1 ;
22112 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22113 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22114 wxSize const &arg4_defvalue = wxDefaultSize ;
22115 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22116 long arg5 = (long) 0 ;
22117 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22118 wxString *arg6 = (wxString *) &arg6_defvalue ;
22119 wxPyPanel *result = 0 ;
22120 void *argp1 = 0 ;
22121 int res1 = 0 ;
22122 int val2 ;
22123 int ecode2 = 0 ;
22124 wxPoint temp3 ;
22125 wxSize temp4 ;
22126 long val5 ;
22127 int ecode5 = 0 ;
22128 bool temp6 = false ;
22129 PyObject * obj0 = 0 ;
22130 PyObject * obj1 = 0 ;
22131 PyObject * obj2 = 0 ;
22132 PyObject * obj3 = 0 ;
22133 PyObject * obj4 = 0 ;
22134 PyObject * obj5 = 0 ;
22135 char * kwnames[] = {
22136 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22137 };
22138
22139 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22140 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22141 if (!SWIG_IsOK(res1)) {
22142 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22143 }
22144 arg1 = reinterpret_cast< wxWindow * >(argp1);
22145 if (obj1) {
22146 ecode2 = SWIG_AsVal_int(obj1, &val2);
22147 if (!SWIG_IsOK(ecode2)) {
22148 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22149 }
22150 arg2 = static_cast< int >(val2);
22151 }
22152 if (obj2) {
22153 {
22154 arg3 = &temp3;
22155 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22156 }
22157 }
22158 if (obj3) {
22159 {
22160 arg4 = &temp4;
22161 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22162 }
22163 }
22164 if (obj4) {
22165 ecode5 = SWIG_AsVal_long(obj4, &val5);
22166 if (!SWIG_IsOK(ecode5)) {
22167 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22168 }
22169 arg5 = static_cast< long >(val5);
22170 }
22171 if (obj5) {
22172 {
22173 arg6 = wxString_in_helper(obj5);
22174 if (arg6 == NULL) SWIG_fail;
22175 temp6 = true;
22176 }
22177 }
22178 {
22179 if (!wxPyCheckForApp()) SWIG_fail;
22180 PyThreadState* __tstate = wxPyBeginAllowThreads();
22181 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22182 wxPyEndAllowThreads(__tstate);
22183 if (PyErr_Occurred()) SWIG_fail;
22184 }
22185 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
22186 {
22187 if (temp6)
22188 delete arg6;
22189 }
22190 return resultobj;
22191 fail:
22192 {
22193 if (temp6)
22194 delete arg6;
22195 }
22196 return NULL;
22197 }
22198
22199
22200 SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22201 PyObject *resultobj = 0;
22202 wxPyPanel *result = 0 ;
22203
22204 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
22205 {
22206 if (!wxPyCheckForApp()) SWIG_fail;
22207 PyThreadState* __tstate = wxPyBeginAllowThreads();
22208 result = (wxPyPanel *)new wxPyPanel();
22209 wxPyEndAllowThreads(__tstate);
22210 if (PyErr_Occurred()) SWIG_fail;
22211 }
22212 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
22213 return resultobj;
22214 fail:
22215 return NULL;
22216 }
22217
22218
22219 SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22220 PyObject *resultobj = 0;
22221 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22222 PyObject *arg2 = (PyObject *) 0 ;
22223 PyObject *arg3 = (PyObject *) 0 ;
22224 void *argp1 = 0 ;
22225 int res1 = 0 ;
22226 PyObject * obj0 = 0 ;
22227 PyObject * obj1 = 0 ;
22228 PyObject * obj2 = 0 ;
22229 char * kwnames[] = {
22230 (char *) "self",(char *) "self",(char *) "_class", NULL
22231 };
22232
22233 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22234 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22235 if (!SWIG_IsOK(res1)) {
22236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22237 }
22238 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22239 arg2 = obj1;
22240 arg3 = obj2;
22241 {
22242 PyThreadState* __tstate = wxPyBeginAllowThreads();
22243 (arg1)->_setCallbackInfo(arg2,arg3);
22244 wxPyEndAllowThreads(__tstate);
22245 if (PyErr_Occurred()) SWIG_fail;
22246 }
22247 resultobj = SWIG_Py_Void();
22248 return resultobj;
22249 fail:
22250 return NULL;
22251 }
22252
22253
22254 SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22255 PyObject *resultobj = 0;
22256 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22257 wxDC *arg2 = (wxDC *) 0 ;
22258 bool result;
22259 void *argp1 = 0 ;
22260 int res1 = 0 ;
22261 void *argp2 = 0 ;
22262 int res2 = 0 ;
22263 PyObject * obj0 = 0 ;
22264 PyObject * obj1 = 0 ;
22265 char * kwnames[] = {
22266 (char *) "self",(char *) "dc", NULL
22267 };
22268
22269 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22270 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22271 if (!SWIG_IsOK(res1)) {
22272 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22273 }
22274 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22275 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22276 if (!SWIG_IsOK(res2)) {
22277 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22278 }
22279 arg2 = reinterpret_cast< wxDC * >(argp2);
22280 {
22281 PyThreadState* __tstate = wxPyBeginAllowThreads();
22282 result = (bool)(arg1)->DoEraseBackground(arg2);
22283 wxPyEndAllowThreads(__tstate);
22284 if (PyErr_Occurred()) SWIG_fail;
22285 }
22286 {
22287 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22288 }
22289 return resultobj;
22290 fail:
22291 return NULL;
22292 }
22293
22294
22295 SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22296 PyObject *resultobj = 0;
22297 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22298 int arg2 ;
22299 int arg3 ;
22300 int arg4 ;
22301 int arg5 ;
22302 void *argp1 = 0 ;
22303 int res1 = 0 ;
22304 int val2 ;
22305 int ecode2 = 0 ;
22306 int val3 ;
22307 int ecode3 = 0 ;
22308 int val4 ;
22309 int ecode4 = 0 ;
22310 int val5 ;
22311 int ecode5 = 0 ;
22312 PyObject * obj0 = 0 ;
22313 PyObject * obj1 = 0 ;
22314 PyObject * obj2 = 0 ;
22315 PyObject * obj3 = 0 ;
22316 PyObject * obj4 = 0 ;
22317 char * kwnames[] = {
22318 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22319 };
22320
22321 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22322 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22323 if (!SWIG_IsOK(res1)) {
22324 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22325 }
22326 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22327 ecode2 = SWIG_AsVal_int(obj1, &val2);
22328 if (!SWIG_IsOK(ecode2)) {
22329 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22330 }
22331 arg2 = static_cast< int >(val2);
22332 ecode3 = SWIG_AsVal_int(obj2, &val3);
22333 if (!SWIG_IsOK(ecode3)) {
22334 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22335 }
22336 arg3 = static_cast< int >(val3);
22337 ecode4 = SWIG_AsVal_int(obj3, &val4);
22338 if (!SWIG_IsOK(ecode4)) {
22339 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22340 }
22341 arg4 = static_cast< int >(val4);
22342 ecode5 = SWIG_AsVal_int(obj4, &val5);
22343 if (!SWIG_IsOK(ecode5)) {
22344 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22345 }
22346 arg5 = static_cast< int >(val5);
22347 {
22348 PyThreadState* __tstate = wxPyBeginAllowThreads();
22349 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22350 wxPyEndAllowThreads(__tstate);
22351 if (PyErr_Occurred()) SWIG_fail;
22352 }
22353 resultobj = SWIG_Py_Void();
22354 return resultobj;
22355 fail:
22356 return NULL;
22357 }
22358
22359
22360 SWIGINTERN PyObject *_wrap_PyPanel_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22361 PyObject *resultobj = 0;
22362 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22363 int arg2 ;
22364 int arg3 ;
22365 int arg4 ;
22366 int arg5 ;
22367 int arg6 = (int) wxSIZE_AUTO ;
22368 void *argp1 = 0 ;
22369 int res1 = 0 ;
22370 int val2 ;
22371 int ecode2 = 0 ;
22372 int val3 ;
22373 int ecode3 = 0 ;
22374 int val4 ;
22375 int ecode4 = 0 ;
22376 int val5 ;
22377 int ecode5 = 0 ;
22378 int val6 ;
22379 int ecode6 = 0 ;
22380 PyObject * obj0 = 0 ;
22381 PyObject * obj1 = 0 ;
22382 PyObject * obj2 = 0 ;
22383 PyObject * obj3 = 0 ;
22384 PyObject * obj4 = 0 ;
22385 PyObject * obj5 = 0 ;
22386 char * kwnames[] = {
22387 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22388 };
22389
22390 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22391 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22392 if (!SWIG_IsOK(res1)) {
22393 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22394 }
22395 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22396 ecode2 = SWIG_AsVal_int(obj1, &val2);
22397 if (!SWIG_IsOK(ecode2)) {
22398 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22399 }
22400 arg2 = static_cast< int >(val2);
22401 ecode3 = SWIG_AsVal_int(obj2, &val3);
22402 if (!SWIG_IsOK(ecode3)) {
22403 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22404 }
22405 arg3 = static_cast< int >(val3);
22406 ecode4 = SWIG_AsVal_int(obj3, &val4);
22407 if (!SWIG_IsOK(ecode4)) {
22408 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22409 }
22410 arg4 = static_cast< int >(val4);
22411 ecode5 = SWIG_AsVal_int(obj4, &val5);
22412 if (!SWIG_IsOK(ecode5)) {
22413 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22414 }
22415 arg5 = static_cast< int >(val5);
22416 if (obj5) {
22417 ecode6 = SWIG_AsVal_int(obj5, &val6);
22418 if (!SWIG_IsOK(ecode6)) {
22419 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22420 }
22421 arg6 = static_cast< int >(val6);
22422 }
22423 {
22424 PyThreadState* __tstate = wxPyBeginAllowThreads();
22425 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22426 wxPyEndAllowThreads(__tstate);
22427 if (PyErr_Occurred()) SWIG_fail;
22428 }
22429 resultobj = SWIG_Py_Void();
22430 return resultobj;
22431 fail:
22432 return NULL;
22433 }
22434
22435
22436 SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22437 PyObject *resultobj = 0;
22438 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22439 int arg2 ;
22440 int arg3 ;
22441 void *argp1 = 0 ;
22442 int res1 = 0 ;
22443 int val2 ;
22444 int ecode2 = 0 ;
22445 int val3 ;
22446 int ecode3 = 0 ;
22447 PyObject * obj0 = 0 ;
22448 PyObject * obj1 = 0 ;
22449 PyObject * obj2 = 0 ;
22450 char * kwnames[] = {
22451 (char *) "self",(char *) "width",(char *) "height", NULL
22452 };
22453
22454 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22455 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22456 if (!SWIG_IsOK(res1)) {
22457 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22458 }
22459 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22460 ecode2 = SWIG_AsVal_int(obj1, &val2);
22461 if (!SWIG_IsOK(ecode2)) {
22462 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22463 }
22464 arg2 = static_cast< int >(val2);
22465 ecode3 = SWIG_AsVal_int(obj2, &val3);
22466 if (!SWIG_IsOK(ecode3)) {
22467 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22468 }
22469 arg3 = static_cast< int >(val3);
22470 {
22471 PyThreadState* __tstate = wxPyBeginAllowThreads();
22472 (arg1)->DoSetClientSize(arg2,arg3);
22473 wxPyEndAllowThreads(__tstate);
22474 if (PyErr_Occurred()) SWIG_fail;
22475 }
22476 resultobj = SWIG_Py_Void();
22477 return resultobj;
22478 fail:
22479 return NULL;
22480 }
22481
22482
22483 SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22484 PyObject *resultobj = 0;
22485 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22486 int arg2 ;
22487 int arg3 ;
22488 void *argp1 = 0 ;
22489 int res1 = 0 ;
22490 int val2 ;
22491 int ecode2 = 0 ;
22492 int val3 ;
22493 int ecode3 = 0 ;
22494 PyObject * obj0 = 0 ;
22495 PyObject * obj1 = 0 ;
22496 PyObject * obj2 = 0 ;
22497 char * kwnames[] = {
22498 (char *) "self",(char *) "x",(char *) "y", NULL
22499 };
22500
22501 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22502 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22503 if (!SWIG_IsOK(res1)) {
22504 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22505 }
22506 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22507 ecode2 = SWIG_AsVal_int(obj1, &val2);
22508 if (!SWIG_IsOK(ecode2)) {
22509 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22510 }
22511 arg2 = static_cast< int >(val2);
22512 ecode3 = SWIG_AsVal_int(obj2, &val3);
22513 if (!SWIG_IsOK(ecode3)) {
22514 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22515 }
22516 arg3 = static_cast< int >(val3);
22517 {
22518 PyThreadState* __tstate = wxPyBeginAllowThreads();
22519 (arg1)->DoSetVirtualSize(arg2,arg3);
22520 wxPyEndAllowThreads(__tstate);
22521 if (PyErr_Occurred()) SWIG_fail;
22522 }
22523 resultobj = SWIG_Py_Void();
22524 return resultobj;
22525 fail:
22526 return NULL;
22527 }
22528
22529
22530 SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22531 PyObject *resultobj = 0;
22532 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22533 int *arg2 = (int *) 0 ;
22534 int *arg3 = (int *) 0 ;
22535 void *argp1 = 0 ;
22536 int res1 = 0 ;
22537 int temp2 ;
22538 int res2 = SWIG_TMPOBJ ;
22539 int temp3 ;
22540 int res3 = SWIG_TMPOBJ ;
22541 PyObject *swig_obj[1] ;
22542
22543 arg2 = &temp2;
22544 arg3 = &temp3;
22545 if (!args) SWIG_fail;
22546 swig_obj[0] = args;
22547 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22548 if (!SWIG_IsOK(res1)) {
22549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22550 }
22551 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22552 {
22553 PyThreadState* __tstate = wxPyBeginAllowThreads();
22554 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
22555 wxPyEndAllowThreads(__tstate);
22556 if (PyErr_Occurred()) SWIG_fail;
22557 }
22558 resultobj = SWIG_Py_Void();
22559 if (SWIG_IsTmpObj(res2)) {
22560 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22561 } else {
22562 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22563 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22564 }
22565 if (SWIG_IsTmpObj(res3)) {
22566 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22567 } else {
22568 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22569 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22570 }
22571 return resultobj;
22572 fail:
22573 return NULL;
22574 }
22575
22576
22577 SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22578 PyObject *resultobj = 0;
22579 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22580 int *arg2 = (int *) 0 ;
22581 int *arg3 = (int *) 0 ;
22582 void *argp1 = 0 ;
22583 int res1 = 0 ;
22584 int temp2 ;
22585 int res2 = SWIG_TMPOBJ ;
22586 int temp3 ;
22587 int res3 = SWIG_TMPOBJ ;
22588 PyObject *swig_obj[1] ;
22589
22590 arg2 = &temp2;
22591 arg3 = &temp3;
22592 if (!args) SWIG_fail;
22593 swig_obj[0] = args;
22594 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22595 if (!SWIG_IsOK(res1)) {
22596 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22597 }
22598 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22599 {
22600 PyThreadState* __tstate = wxPyBeginAllowThreads();
22601 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
22602 wxPyEndAllowThreads(__tstate);
22603 if (PyErr_Occurred()) SWIG_fail;
22604 }
22605 resultobj = SWIG_Py_Void();
22606 if (SWIG_IsTmpObj(res2)) {
22607 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22608 } else {
22609 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22610 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22611 }
22612 if (SWIG_IsTmpObj(res3)) {
22613 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22614 } else {
22615 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22616 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22617 }
22618 return resultobj;
22619 fail:
22620 return NULL;
22621 }
22622
22623
22624 SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22625 PyObject *resultobj = 0;
22626 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22627 int *arg2 = (int *) 0 ;
22628 int *arg3 = (int *) 0 ;
22629 void *argp1 = 0 ;
22630 int res1 = 0 ;
22631 int temp2 ;
22632 int res2 = SWIG_TMPOBJ ;
22633 int temp3 ;
22634 int res3 = SWIG_TMPOBJ ;
22635 PyObject *swig_obj[1] ;
22636
22637 arg2 = &temp2;
22638 arg3 = &temp3;
22639 if (!args) SWIG_fail;
22640 swig_obj[0] = args;
22641 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22642 if (!SWIG_IsOK(res1)) {
22643 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22644 }
22645 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22646 {
22647 PyThreadState* __tstate = wxPyBeginAllowThreads();
22648 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
22649 wxPyEndAllowThreads(__tstate);
22650 if (PyErr_Occurred()) SWIG_fail;
22651 }
22652 resultobj = SWIG_Py_Void();
22653 if (SWIG_IsTmpObj(res2)) {
22654 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22655 } else {
22656 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22657 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22658 }
22659 if (SWIG_IsTmpObj(res3)) {
22660 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22661 } else {
22662 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22663 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22664 }
22665 return resultobj;
22666 fail:
22667 return NULL;
22668 }
22669
22670
22671 SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22672 PyObject *resultobj = 0;
22673 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22674 wxSize result;
22675 void *argp1 = 0 ;
22676 int res1 = 0 ;
22677 PyObject *swig_obj[1] ;
22678
22679 if (!args) SWIG_fail;
22680 swig_obj[0] = args;
22681 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22682 if (!SWIG_IsOK(res1)) {
22683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22684 }
22685 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22686 {
22687 PyThreadState* __tstate = wxPyBeginAllowThreads();
22688 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
22689 wxPyEndAllowThreads(__tstate);
22690 if (PyErr_Occurred()) SWIG_fail;
22691 }
22692 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22693 return resultobj;
22694 fail:
22695 return NULL;
22696 }
22697
22698
22699 SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22700 PyObject *resultobj = 0;
22701 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22702 wxSize result;
22703 void *argp1 = 0 ;
22704 int res1 = 0 ;
22705 PyObject *swig_obj[1] ;
22706
22707 if (!args) SWIG_fail;
22708 swig_obj[0] = args;
22709 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22710 if (!SWIG_IsOK(res1)) {
22711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22712 }
22713 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22714 {
22715 PyThreadState* __tstate = wxPyBeginAllowThreads();
22716 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
22717 wxPyEndAllowThreads(__tstate);
22718 if (PyErr_Occurred()) SWIG_fail;
22719 }
22720 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22721 return resultobj;
22722 fail:
22723 return NULL;
22724 }
22725
22726
22727 SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22728 PyObject *resultobj = 0;
22729 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22730 SwigValueWrapper<wxVisualAttributes > result;
22731 void *argp1 = 0 ;
22732 int res1 = 0 ;
22733 PyObject *swig_obj[1] ;
22734
22735 if (!args) SWIG_fail;
22736 swig_obj[0] = args;
22737 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22738 if (!SWIG_IsOK(res1)) {
22739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22740 }
22741 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22742 {
22743 PyThreadState* __tstate = wxPyBeginAllowThreads();
22744 result = (arg1)->GetDefaultAttributes();
22745 wxPyEndAllowThreads(__tstate);
22746 if (PyErr_Occurred()) SWIG_fail;
22747 }
22748 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22749 return resultobj;
22750 fail:
22751 return NULL;
22752 }
22753
22754
22755 SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22756 PyObject *resultobj = 0;
22757 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22758 void *argp1 = 0 ;
22759 int res1 = 0 ;
22760 PyObject *swig_obj[1] ;
22761
22762 if (!args) SWIG_fail;
22763 swig_obj[0] = args;
22764 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22765 if (!SWIG_IsOK(res1)) {
22766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22767 }
22768 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22769 {
22770 PyThreadState* __tstate = wxPyBeginAllowThreads();
22771 (arg1)->OnInternalIdle();
22772 wxPyEndAllowThreads(__tstate);
22773 if (PyErr_Occurred()) SWIG_fail;
22774 }
22775 resultobj = SWIG_Py_Void();
22776 return resultobj;
22777 fail:
22778 return NULL;
22779 }
22780
22781
22782 SWIGINTERN PyObject *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22783 PyObject *obj;
22784 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22785 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
22786 return SWIG_Py_Void();
22787 }
22788
22789 SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22790 return SWIG_Python_InitShadowInstance(args);
22791 }
22792
22793 SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22794 PyObject *resultobj = 0;
22795 wxWindow *arg1 = (wxWindow *) 0 ;
22796 int arg2 = (int) (int)-1 ;
22797 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22798 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22799 wxSize const &arg4_defvalue = wxDefaultSize ;
22800 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22801 long arg5 = (long) 0 ;
22802 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22803 wxString *arg6 = (wxString *) &arg6_defvalue ;
22804 wxPyScrolledWindow *result = 0 ;
22805 void *argp1 = 0 ;
22806 int res1 = 0 ;
22807 int val2 ;
22808 int ecode2 = 0 ;
22809 wxPoint temp3 ;
22810 wxSize temp4 ;
22811 long val5 ;
22812 int ecode5 = 0 ;
22813 bool temp6 = false ;
22814 PyObject * obj0 = 0 ;
22815 PyObject * obj1 = 0 ;
22816 PyObject * obj2 = 0 ;
22817 PyObject * obj3 = 0 ;
22818 PyObject * obj4 = 0 ;
22819 PyObject * obj5 = 0 ;
22820 char * kwnames[] = {
22821 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22822 };
22823
22824 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22825 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22826 if (!SWIG_IsOK(res1)) {
22827 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22828 }
22829 arg1 = reinterpret_cast< wxWindow * >(argp1);
22830 if (obj1) {
22831 ecode2 = SWIG_AsVal_int(obj1, &val2);
22832 if (!SWIG_IsOK(ecode2)) {
22833 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22834 }
22835 arg2 = static_cast< int >(val2);
22836 }
22837 if (obj2) {
22838 {
22839 arg3 = &temp3;
22840 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22841 }
22842 }
22843 if (obj3) {
22844 {
22845 arg4 = &temp4;
22846 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22847 }
22848 }
22849 if (obj4) {
22850 ecode5 = SWIG_AsVal_long(obj4, &val5);
22851 if (!SWIG_IsOK(ecode5)) {
22852 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22853 }
22854 arg5 = static_cast< long >(val5);
22855 }
22856 if (obj5) {
22857 {
22858 arg6 = wxString_in_helper(obj5);
22859 if (arg6 == NULL) SWIG_fail;
22860 temp6 = true;
22861 }
22862 }
22863 {
22864 if (!wxPyCheckForApp()) SWIG_fail;
22865 PyThreadState* __tstate = wxPyBeginAllowThreads();
22866 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22867 wxPyEndAllowThreads(__tstate);
22868 if (PyErr_Occurred()) SWIG_fail;
22869 }
22870 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
22871 {
22872 if (temp6)
22873 delete arg6;
22874 }
22875 return resultobj;
22876 fail:
22877 {
22878 if (temp6)
22879 delete arg6;
22880 }
22881 return NULL;
22882 }
22883
22884
22885 SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22886 PyObject *resultobj = 0;
22887 wxPyScrolledWindow *result = 0 ;
22888
22889 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
22890 {
22891 if (!wxPyCheckForApp()) SWIG_fail;
22892 PyThreadState* __tstate = wxPyBeginAllowThreads();
22893 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
22894 wxPyEndAllowThreads(__tstate);
22895 if (PyErr_Occurred()) SWIG_fail;
22896 }
22897 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
22898 return resultobj;
22899 fail:
22900 return NULL;
22901 }
22902
22903
22904 SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22905 PyObject *resultobj = 0;
22906 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22907 PyObject *arg2 = (PyObject *) 0 ;
22908 PyObject *arg3 = (PyObject *) 0 ;
22909 void *argp1 = 0 ;
22910 int res1 = 0 ;
22911 PyObject * obj0 = 0 ;
22912 PyObject * obj1 = 0 ;
22913 PyObject * obj2 = 0 ;
22914 char * kwnames[] = {
22915 (char *) "self",(char *) "self",(char *) "_class", NULL
22916 };
22917
22918 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22919 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22920 if (!SWIG_IsOK(res1)) {
22921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22922 }
22923 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22924 arg2 = obj1;
22925 arg3 = obj2;
22926 {
22927 PyThreadState* __tstate = wxPyBeginAllowThreads();
22928 (arg1)->_setCallbackInfo(arg2,arg3);
22929 wxPyEndAllowThreads(__tstate);
22930 if (PyErr_Occurred()) SWIG_fail;
22931 }
22932 resultobj = SWIG_Py_Void();
22933 return resultobj;
22934 fail:
22935 return NULL;
22936 }
22937
22938
22939 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22940 PyObject *resultobj = 0;
22941 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22942 wxDC *arg2 = (wxDC *) 0 ;
22943 bool result;
22944 void *argp1 = 0 ;
22945 int res1 = 0 ;
22946 void *argp2 = 0 ;
22947 int res2 = 0 ;
22948 PyObject * obj0 = 0 ;
22949 PyObject * obj1 = 0 ;
22950 char * kwnames[] = {
22951 (char *) "self",(char *) "dc", NULL
22952 };
22953
22954 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22955 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22956 if (!SWIG_IsOK(res1)) {
22957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22958 }
22959 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22960 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22961 if (!SWIG_IsOK(res2)) {
22962 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22963 }
22964 arg2 = reinterpret_cast< wxDC * >(argp2);
22965 {
22966 PyThreadState* __tstate = wxPyBeginAllowThreads();
22967 result = (bool)(arg1)->DoEraseBackground(arg2);
22968 wxPyEndAllowThreads(__tstate);
22969 if (PyErr_Occurred()) SWIG_fail;
22970 }
22971 {
22972 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22973 }
22974 return resultobj;
22975 fail:
22976 return NULL;
22977 }
22978
22979
22980 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22981 PyObject *resultobj = 0;
22982 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22983 int arg2 ;
22984 int arg3 ;
22985 int arg4 ;
22986 int arg5 ;
22987 void *argp1 = 0 ;
22988 int res1 = 0 ;
22989 int val2 ;
22990 int ecode2 = 0 ;
22991 int val3 ;
22992 int ecode3 = 0 ;
22993 int val4 ;
22994 int ecode4 = 0 ;
22995 int val5 ;
22996 int ecode5 = 0 ;
22997 PyObject * obj0 = 0 ;
22998 PyObject * obj1 = 0 ;
22999 PyObject * obj2 = 0 ;
23000 PyObject * obj3 = 0 ;
23001 PyObject * obj4 = 0 ;
23002 char * kwnames[] = {
23003 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23004 };
23005
23006 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
23007 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23008 if (!SWIG_IsOK(res1)) {
23009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23010 }
23011 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23012 ecode2 = SWIG_AsVal_int(obj1, &val2);
23013 if (!SWIG_IsOK(ecode2)) {
23014 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23015 }
23016 arg2 = static_cast< int >(val2);
23017 ecode3 = SWIG_AsVal_int(obj2, &val3);
23018 if (!SWIG_IsOK(ecode3)) {
23019 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23020 }
23021 arg3 = static_cast< int >(val3);
23022 ecode4 = SWIG_AsVal_int(obj3, &val4);
23023 if (!SWIG_IsOK(ecode4)) {
23024 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23025 }
23026 arg4 = static_cast< int >(val4);
23027 ecode5 = SWIG_AsVal_int(obj4, &val5);
23028 if (!SWIG_IsOK(ecode5)) {
23029 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23030 }
23031 arg5 = static_cast< int >(val5);
23032 {
23033 PyThreadState* __tstate = wxPyBeginAllowThreads();
23034 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
23035 wxPyEndAllowThreads(__tstate);
23036 if (PyErr_Occurred()) SWIG_fail;
23037 }
23038 resultobj = SWIG_Py_Void();
23039 return resultobj;
23040 fail:
23041 return NULL;
23042 }
23043
23044
23045 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23046 PyObject *resultobj = 0;
23047 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23048 int arg2 ;
23049 int arg3 ;
23050 int arg4 ;
23051 int arg5 ;
23052 int arg6 = (int) wxSIZE_AUTO ;
23053 void *argp1 = 0 ;
23054 int res1 = 0 ;
23055 int val2 ;
23056 int ecode2 = 0 ;
23057 int val3 ;
23058 int ecode3 = 0 ;
23059 int val4 ;
23060 int ecode4 = 0 ;
23061 int val5 ;
23062 int ecode5 = 0 ;
23063 int val6 ;
23064 int ecode6 = 0 ;
23065 PyObject * obj0 = 0 ;
23066 PyObject * obj1 = 0 ;
23067 PyObject * obj2 = 0 ;
23068 PyObject * obj3 = 0 ;
23069 PyObject * obj4 = 0 ;
23070 PyObject * obj5 = 0 ;
23071 char * kwnames[] = {
23072 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23073 };
23074
23075 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
23076 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23077 if (!SWIG_IsOK(res1)) {
23078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23079 }
23080 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23081 ecode2 = SWIG_AsVal_int(obj1, &val2);
23082 if (!SWIG_IsOK(ecode2)) {
23083 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23084 }
23085 arg2 = static_cast< int >(val2);
23086 ecode3 = SWIG_AsVal_int(obj2, &val3);
23087 if (!SWIG_IsOK(ecode3)) {
23088 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23089 }
23090 arg3 = static_cast< int >(val3);
23091 ecode4 = SWIG_AsVal_int(obj3, &val4);
23092 if (!SWIG_IsOK(ecode4)) {
23093 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23094 }
23095 arg4 = static_cast< int >(val4);
23096 ecode5 = SWIG_AsVal_int(obj4, &val5);
23097 if (!SWIG_IsOK(ecode5)) {
23098 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23099 }
23100 arg5 = static_cast< int >(val5);
23101 if (obj5) {
23102 ecode6 = SWIG_AsVal_int(obj5, &val6);
23103 if (!SWIG_IsOK(ecode6)) {
23104 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23105 }
23106 arg6 = static_cast< int >(val6);
23107 }
23108 {
23109 PyThreadState* __tstate = wxPyBeginAllowThreads();
23110 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
23111 wxPyEndAllowThreads(__tstate);
23112 if (PyErr_Occurred()) SWIG_fail;
23113 }
23114 resultobj = SWIG_Py_Void();
23115 return resultobj;
23116 fail:
23117 return NULL;
23118 }
23119
23120
23121 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23122 PyObject *resultobj = 0;
23123 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23124 int arg2 ;
23125 int arg3 ;
23126 void *argp1 = 0 ;
23127 int res1 = 0 ;
23128 int val2 ;
23129 int ecode2 = 0 ;
23130 int val3 ;
23131 int ecode3 = 0 ;
23132 PyObject * obj0 = 0 ;
23133 PyObject * obj1 = 0 ;
23134 PyObject * obj2 = 0 ;
23135 char * kwnames[] = {
23136 (char *) "self",(char *) "width",(char *) "height", NULL
23137 };
23138
23139 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23140 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23141 if (!SWIG_IsOK(res1)) {
23142 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23143 }
23144 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23145 ecode2 = SWIG_AsVal_int(obj1, &val2);
23146 if (!SWIG_IsOK(ecode2)) {
23147 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23148 }
23149 arg2 = static_cast< int >(val2);
23150 ecode3 = SWIG_AsVal_int(obj2, &val3);
23151 if (!SWIG_IsOK(ecode3)) {
23152 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23153 }
23154 arg3 = static_cast< int >(val3);
23155 {
23156 PyThreadState* __tstate = wxPyBeginAllowThreads();
23157 (arg1)->DoSetClientSize(arg2,arg3);
23158 wxPyEndAllowThreads(__tstate);
23159 if (PyErr_Occurred()) SWIG_fail;
23160 }
23161 resultobj = SWIG_Py_Void();
23162 return resultobj;
23163 fail:
23164 return NULL;
23165 }
23166
23167
23168 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23169 PyObject *resultobj = 0;
23170 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23171 int arg2 ;
23172 int arg3 ;
23173 void *argp1 = 0 ;
23174 int res1 = 0 ;
23175 int val2 ;
23176 int ecode2 = 0 ;
23177 int val3 ;
23178 int ecode3 = 0 ;
23179 PyObject * obj0 = 0 ;
23180 PyObject * obj1 = 0 ;
23181 PyObject * obj2 = 0 ;
23182 char * kwnames[] = {
23183 (char *) "self",(char *) "x",(char *) "y", NULL
23184 };
23185
23186 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23187 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23188 if (!SWIG_IsOK(res1)) {
23189 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23190 }
23191 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23192 ecode2 = SWIG_AsVal_int(obj1, &val2);
23193 if (!SWIG_IsOK(ecode2)) {
23194 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23195 }
23196 arg2 = static_cast< int >(val2);
23197 ecode3 = SWIG_AsVal_int(obj2, &val3);
23198 if (!SWIG_IsOK(ecode3)) {
23199 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23200 }
23201 arg3 = static_cast< int >(val3);
23202 {
23203 PyThreadState* __tstate = wxPyBeginAllowThreads();
23204 (arg1)->DoSetVirtualSize(arg2,arg3);
23205 wxPyEndAllowThreads(__tstate);
23206 if (PyErr_Occurred()) SWIG_fail;
23207 }
23208 resultobj = SWIG_Py_Void();
23209 return resultobj;
23210 fail:
23211 return NULL;
23212 }
23213
23214
23215 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23216 PyObject *resultobj = 0;
23217 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23218 int *arg2 = (int *) 0 ;
23219 int *arg3 = (int *) 0 ;
23220 void *argp1 = 0 ;
23221 int res1 = 0 ;
23222 int temp2 ;
23223 int res2 = SWIG_TMPOBJ ;
23224 int temp3 ;
23225 int res3 = SWIG_TMPOBJ ;
23226 PyObject *swig_obj[1] ;
23227
23228 arg2 = &temp2;
23229 arg3 = &temp3;
23230 if (!args) SWIG_fail;
23231 swig_obj[0] = args;
23232 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23233 if (!SWIG_IsOK(res1)) {
23234 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23235 }
23236 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23237 {
23238 PyThreadState* __tstate = wxPyBeginAllowThreads();
23239 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
23240 wxPyEndAllowThreads(__tstate);
23241 if (PyErr_Occurred()) SWIG_fail;
23242 }
23243 resultobj = SWIG_Py_Void();
23244 if (SWIG_IsTmpObj(res2)) {
23245 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23246 } else {
23247 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23248 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23249 }
23250 if (SWIG_IsTmpObj(res3)) {
23251 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23252 } else {
23253 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23254 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23255 }
23256 return resultobj;
23257 fail:
23258 return NULL;
23259 }
23260
23261
23262 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23263 PyObject *resultobj = 0;
23264 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23265 int *arg2 = (int *) 0 ;
23266 int *arg3 = (int *) 0 ;
23267 void *argp1 = 0 ;
23268 int res1 = 0 ;
23269 int temp2 ;
23270 int res2 = SWIG_TMPOBJ ;
23271 int temp3 ;
23272 int res3 = SWIG_TMPOBJ ;
23273 PyObject *swig_obj[1] ;
23274
23275 arg2 = &temp2;
23276 arg3 = &temp3;
23277 if (!args) SWIG_fail;
23278 swig_obj[0] = args;
23279 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23280 if (!SWIG_IsOK(res1)) {
23281 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23282 }
23283 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23284 {
23285 PyThreadState* __tstate = wxPyBeginAllowThreads();
23286 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
23287 wxPyEndAllowThreads(__tstate);
23288 if (PyErr_Occurred()) SWIG_fail;
23289 }
23290 resultobj = SWIG_Py_Void();
23291 if (SWIG_IsTmpObj(res2)) {
23292 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23293 } else {
23294 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23295 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23296 }
23297 if (SWIG_IsTmpObj(res3)) {
23298 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23299 } else {
23300 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23301 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23302 }
23303 return resultobj;
23304 fail:
23305 return NULL;
23306 }
23307
23308
23309 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23310 PyObject *resultobj = 0;
23311 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23312 int *arg2 = (int *) 0 ;
23313 int *arg3 = (int *) 0 ;
23314 void *argp1 = 0 ;
23315 int res1 = 0 ;
23316 int temp2 ;
23317 int res2 = SWIG_TMPOBJ ;
23318 int temp3 ;
23319 int res3 = SWIG_TMPOBJ ;
23320 PyObject *swig_obj[1] ;
23321
23322 arg2 = &temp2;
23323 arg3 = &temp3;
23324 if (!args) SWIG_fail;
23325 swig_obj[0] = args;
23326 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23327 if (!SWIG_IsOK(res1)) {
23328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23329 }
23330 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23331 {
23332 PyThreadState* __tstate = wxPyBeginAllowThreads();
23333 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
23334 wxPyEndAllowThreads(__tstate);
23335 if (PyErr_Occurred()) SWIG_fail;
23336 }
23337 resultobj = SWIG_Py_Void();
23338 if (SWIG_IsTmpObj(res2)) {
23339 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23340 } else {
23341 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23342 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23343 }
23344 if (SWIG_IsTmpObj(res3)) {
23345 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23346 } else {
23347 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23348 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23349 }
23350 return resultobj;
23351 fail:
23352 return NULL;
23353 }
23354
23355
23356 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23357 PyObject *resultobj = 0;
23358 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23359 wxSize result;
23360 void *argp1 = 0 ;
23361 int res1 = 0 ;
23362 PyObject *swig_obj[1] ;
23363
23364 if (!args) SWIG_fail;
23365 swig_obj[0] = args;
23366 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23367 if (!SWIG_IsOK(res1)) {
23368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23369 }
23370 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23371 {
23372 PyThreadState* __tstate = wxPyBeginAllowThreads();
23373 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
23374 wxPyEndAllowThreads(__tstate);
23375 if (PyErr_Occurred()) SWIG_fail;
23376 }
23377 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23378 return resultobj;
23379 fail:
23380 return NULL;
23381 }
23382
23383
23384 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23385 PyObject *resultobj = 0;
23386 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23387 wxSize result;
23388 void *argp1 = 0 ;
23389 int res1 = 0 ;
23390 PyObject *swig_obj[1] ;
23391
23392 if (!args) SWIG_fail;
23393 swig_obj[0] = args;
23394 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23395 if (!SWIG_IsOK(res1)) {
23396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23397 }
23398 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23399 {
23400 PyThreadState* __tstate = wxPyBeginAllowThreads();
23401 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
23402 wxPyEndAllowThreads(__tstate);
23403 if (PyErr_Occurred()) SWIG_fail;
23404 }
23405 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23406 return resultobj;
23407 fail:
23408 return NULL;
23409 }
23410
23411
23412 SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23413 PyObject *resultobj = 0;
23414 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23415 SwigValueWrapper<wxVisualAttributes > result;
23416 void *argp1 = 0 ;
23417 int res1 = 0 ;
23418 PyObject *swig_obj[1] ;
23419
23420 if (!args) SWIG_fail;
23421 swig_obj[0] = args;
23422 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23423 if (!SWIG_IsOK(res1)) {
23424 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23425 }
23426 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23427 {
23428 PyThreadState* __tstate = wxPyBeginAllowThreads();
23429 result = (arg1)->GetDefaultAttributes();
23430 wxPyEndAllowThreads(__tstate);
23431 if (PyErr_Occurred()) SWIG_fail;
23432 }
23433 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
23434 return resultobj;
23435 fail:
23436 return NULL;
23437 }
23438
23439
23440 SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23441 PyObject *resultobj = 0;
23442 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23443 void *argp1 = 0 ;
23444 int res1 = 0 ;
23445 PyObject *swig_obj[1] ;
23446
23447 if (!args) SWIG_fail;
23448 swig_obj[0] = args;
23449 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23450 if (!SWIG_IsOK(res1)) {
23451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23452 }
23453 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23454 {
23455 PyThreadState* __tstate = wxPyBeginAllowThreads();
23456 (arg1)->OnInternalIdle();
23457 wxPyEndAllowThreads(__tstate);
23458 if (PyErr_Occurred()) SWIG_fail;
23459 }
23460 resultobj = SWIG_Py_Void();
23461 return resultobj;
23462 fail:
23463 return NULL;
23464 }
23465
23466
23467 SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23468 PyObject *obj;
23469 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23470 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
23471 return SWIG_Py_Void();
23472 }
23473
23474 SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23475 return SWIG_Python_InitShadowInstance(args);
23476 }
23477
23478 SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
23479 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
23480 return 1;
23481 }
23482
23483
23484 SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
23485 PyObject *pyobj = 0;
23486
23487 {
23488 #if wxUSE_UNICODE
23489 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23490 #else
23491 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23492 #endif
23493 }
23494 return pyobj;
23495 }
23496
23497
23498 SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
23499 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
23500 return 1;
23501 }
23502
23503
23504 SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
23505 PyObject *pyobj = 0;
23506
23507 {
23508 #if wxUSE_UNICODE
23509 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23510 #else
23511 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23512 #endif
23513 }
23514 return pyobj;
23515 }
23516
23517
23518 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
23519 PyObject *resultobj = 0;
23520 wxPrintData *result = 0 ;
23521
23522 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
23523 {
23524 PyThreadState* __tstate = wxPyBeginAllowThreads();
23525 result = (wxPrintData *)new wxPrintData();
23526 wxPyEndAllowThreads(__tstate);
23527 if (PyErr_Occurred()) SWIG_fail;
23528 }
23529 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23530 return resultobj;
23531 fail:
23532 return NULL;
23533 }
23534
23535
23536 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
23537 PyObject *resultobj = 0;
23538 wxPrintData *arg1 = 0 ;
23539 wxPrintData *result = 0 ;
23540 void *argp1 = 0 ;
23541 int res1 = 0 ;
23542
23543 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
23544 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
23545 if (!SWIG_IsOK(res1)) {
23546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23547 }
23548 if (!argp1) {
23549 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23550 }
23551 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23552 {
23553 PyThreadState* __tstate = wxPyBeginAllowThreads();
23554 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
23555 wxPyEndAllowThreads(__tstate);
23556 if (PyErr_Occurred()) SWIG_fail;
23557 }
23558 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23559 return resultobj;
23560 fail:
23561 return NULL;
23562 }
23563
23564
23565 SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
23566 int argc;
23567 PyObject *argv[2];
23568
23569 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
23570 --argc;
23571 if (argc == 0) {
23572 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
23573 }
23574 if (argc == 1) {
23575 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
23576 }
23577
23578 fail:
23579 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
23580 return NULL;
23581 }
23582
23583
23584 SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23585 PyObject *resultobj = 0;
23586 wxPrintData *arg1 = (wxPrintData *) 0 ;
23587 void *argp1 = 0 ;
23588 int res1 = 0 ;
23589 PyObject *swig_obj[1] ;
23590
23591 if (!args) SWIG_fail;
23592 swig_obj[0] = args;
23593 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
23594 if (!SWIG_IsOK(res1)) {
23595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23596 }
23597 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23598 {
23599 PyThreadState* __tstate = wxPyBeginAllowThreads();
23600 delete arg1;
23601
23602 wxPyEndAllowThreads(__tstate);
23603 if (PyErr_Occurred()) SWIG_fail;
23604 }
23605 resultobj = SWIG_Py_Void();
23606 return resultobj;
23607 fail:
23608 return NULL;
23609 }
23610
23611
23612 SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23613 PyObject *resultobj = 0;
23614 wxPrintData *arg1 = (wxPrintData *) 0 ;
23615 int result;
23616 void *argp1 = 0 ;
23617 int res1 = 0 ;
23618 PyObject *swig_obj[1] ;
23619
23620 if (!args) SWIG_fail;
23621 swig_obj[0] = args;
23622 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23623 if (!SWIG_IsOK(res1)) {
23624 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23625 }
23626 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23627 {
23628 PyThreadState* __tstate = wxPyBeginAllowThreads();
23629 result = (int)(arg1)->GetNoCopies();
23630 wxPyEndAllowThreads(__tstate);
23631 if (PyErr_Occurred()) SWIG_fail;
23632 }
23633 resultobj = SWIG_From_int(static_cast< int >(result));
23634 return resultobj;
23635 fail:
23636 return NULL;
23637 }
23638
23639
23640 SWIGINTERN PyObject *_wrap_PrintData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23641 PyObject *resultobj = 0;
23642 wxPrintData *arg1 = (wxPrintData *) 0 ;
23643 bool result;
23644 void *argp1 = 0 ;
23645 int res1 = 0 ;
23646 PyObject *swig_obj[1] ;
23647
23648 if (!args) SWIG_fail;
23649 swig_obj[0] = args;
23650 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23651 if (!SWIG_IsOK(res1)) {
23652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23653 }
23654 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23655 {
23656 PyThreadState* __tstate = wxPyBeginAllowThreads();
23657 result = (bool)(arg1)->GetCollate();
23658 wxPyEndAllowThreads(__tstate);
23659 if (PyErr_Occurred()) SWIG_fail;
23660 }
23661 {
23662 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23663 }
23664 return resultobj;
23665 fail:
23666 return NULL;
23667 }
23668
23669
23670 SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23671 PyObject *resultobj = 0;
23672 wxPrintData *arg1 = (wxPrintData *) 0 ;
23673 int result;
23674 void *argp1 = 0 ;
23675 int res1 = 0 ;
23676 PyObject *swig_obj[1] ;
23677
23678 if (!args) SWIG_fail;
23679 swig_obj[0] = args;
23680 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23681 if (!SWIG_IsOK(res1)) {
23682 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23683 }
23684 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23685 {
23686 PyThreadState* __tstate = wxPyBeginAllowThreads();
23687 result = (int)(arg1)->GetOrientation();
23688 wxPyEndAllowThreads(__tstate);
23689 if (PyErr_Occurred()) SWIG_fail;
23690 }
23691 resultobj = SWIG_From_int(static_cast< int >(result));
23692 return resultobj;
23693 fail:
23694 return NULL;
23695 }
23696
23697
23698 SWIGINTERN PyObject *_wrap_PrintData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23699 PyObject *resultobj = 0;
23700 wxPrintData *arg1 = (wxPrintData *) 0 ;
23701 bool result;
23702 void *argp1 = 0 ;
23703 int res1 = 0 ;
23704 PyObject *swig_obj[1] ;
23705
23706 if (!args) SWIG_fail;
23707 swig_obj[0] = args;
23708 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23709 if (!SWIG_IsOK(res1)) {
23710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_IsOk" "', expected argument " "1"" of type '" "wxPrintData *""'");
23711 }
23712 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23713 {
23714 PyThreadState* __tstate = wxPyBeginAllowThreads();
23715 result = (bool)(arg1)->IsOk();
23716 wxPyEndAllowThreads(__tstate);
23717 if (PyErr_Occurred()) SWIG_fail;
23718 }
23719 {
23720 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23721 }
23722 return resultobj;
23723 fail:
23724 return NULL;
23725 }
23726
23727
23728 SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23729 PyObject *resultobj = 0;
23730 wxPrintData *arg1 = (wxPrintData *) 0 ;
23731 wxString *result = 0 ;
23732 void *argp1 = 0 ;
23733 int res1 = 0 ;
23734 PyObject *swig_obj[1] ;
23735
23736 if (!args) SWIG_fail;
23737 swig_obj[0] = args;
23738 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23739 if (!SWIG_IsOK(res1)) {
23740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23741 }
23742 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23743 {
23744 PyThreadState* __tstate = wxPyBeginAllowThreads();
23745 {
23746 wxString const &_result_ref = (arg1)->GetPrinterName();
23747 result = (wxString *) &_result_ref;
23748 }
23749 wxPyEndAllowThreads(__tstate);
23750 if (PyErr_Occurred()) SWIG_fail;
23751 }
23752 {
23753 #if wxUSE_UNICODE
23754 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23755 #else
23756 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23757 #endif
23758 }
23759 return resultobj;
23760 fail:
23761 return NULL;
23762 }
23763
23764
23765 SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23766 PyObject *resultobj = 0;
23767 wxPrintData *arg1 = (wxPrintData *) 0 ;
23768 bool result;
23769 void *argp1 = 0 ;
23770 int res1 = 0 ;
23771 PyObject *swig_obj[1] ;
23772
23773 if (!args) SWIG_fail;
23774 swig_obj[0] = args;
23775 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23776 if (!SWIG_IsOK(res1)) {
23777 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23778 }
23779 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23780 {
23781 PyThreadState* __tstate = wxPyBeginAllowThreads();
23782 result = (bool)(arg1)->GetColour();
23783 wxPyEndAllowThreads(__tstate);
23784 if (PyErr_Occurred()) SWIG_fail;
23785 }
23786 {
23787 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23788 }
23789 return resultobj;
23790 fail:
23791 return NULL;
23792 }
23793
23794
23795 SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23796 PyObject *resultobj = 0;
23797 wxPrintData *arg1 = (wxPrintData *) 0 ;
23798 wxDuplexMode result;
23799 void *argp1 = 0 ;
23800 int res1 = 0 ;
23801 PyObject *swig_obj[1] ;
23802
23803 if (!args) SWIG_fail;
23804 swig_obj[0] = args;
23805 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23806 if (!SWIG_IsOK(res1)) {
23807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23808 }
23809 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23810 {
23811 PyThreadState* __tstate = wxPyBeginAllowThreads();
23812 result = (wxDuplexMode)(arg1)->GetDuplex();
23813 wxPyEndAllowThreads(__tstate);
23814 if (PyErr_Occurred()) SWIG_fail;
23815 }
23816 resultobj = SWIG_From_int(static_cast< int >(result));
23817 return resultobj;
23818 fail:
23819 return NULL;
23820 }
23821
23822
23823 SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23824 PyObject *resultobj = 0;
23825 wxPrintData *arg1 = (wxPrintData *) 0 ;
23826 wxPaperSize result;
23827 void *argp1 = 0 ;
23828 int res1 = 0 ;
23829 PyObject *swig_obj[1] ;
23830
23831 if (!args) SWIG_fail;
23832 swig_obj[0] = args;
23833 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23834 if (!SWIG_IsOK(res1)) {
23835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23836 }
23837 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23838 {
23839 PyThreadState* __tstate = wxPyBeginAllowThreads();
23840 result = (wxPaperSize)(arg1)->GetPaperId();
23841 wxPyEndAllowThreads(__tstate);
23842 if (PyErr_Occurred()) SWIG_fail;
23843 }
23844 resultobj = SWIG_From_int(static_cast< int >(result));
23845 return resultobj;
23846 fail:
23847 return NULL;
23848 }
23849
23850
23851 SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23852 PyObject *resultobj = 0;
23853 wxPrintData *arg1 = (wxPrintData *) 0 ;
23854 wxSize *result = 0 ;
23855 void *argp1 = 0 ;
23856 int res1 = 0 ;
23857 PyObject *swig_obj[1] ;
23858
23859 if (!args) SWIG_fail;
23860 swig_obj[0] = args;
23861 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23862 if (!SWIG_IsOK(res1)) {
23863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23864 }
23865 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23866 {
23867 PyThreadState* __tstate = wxPyBeginAllowThreads();
23868 {
23869 wxSize const &_result_ref = (arg1)->GetPaperSize();
23870 result = (wxSize *) &_result_ref;
23871 }
23872 wxPyEndAllowThreads(__tstate);
23873 if (PyErr_Occurred()) SWIG_fail;
23874 }
23875 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
23876 return resultobj;
23877 fail:
23878 return NULL;
23879 }
23880
23881
23882 SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23883 PyObject *resultobj = 0;
23884 wxPrintData *arg1 = (wxPrintData *) 0 ;
23885 int result;
23886 void *argp1 = 0 ;
23887 int res1 = 0 ;
23888 PyObject *swig_obj[1] ;
23889
23890 if (!args) SWIG_fail;
23891 swig_obj[0] = args;
23892 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23893 if (!SWIG_IsOK(res1)) {
23894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23895 }
23896 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23897 {
23898 PyThreadState* __tstate = wxPyBeginAllowThreads();
23899 result = (int)(arg1)->GetQuality();
23900 wxPyEndAllowThreads(__tstate);
23901 if (PyErr_Occurred()) SWIG_fail;
23902 }
23903 resultobj = SWIG_From_int(static_cast< int >(result));
23904 return resultobj;
23905 fail:
23906 return NULL;
23907 }
23908
23909
23910 SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23911 PyObject *resultobj = 0;
23912 wxPrintData *arg1 = (wxPrintData *) 0 ;
23913 wxPrintBin result;
23914 void *argp1 = 0 ;
23915 int res1 = 0 ;
23916 PyObject *swig_obj[1] ;
23917
23918 if (!args) SWIG_fail;
23919 swig_obj[0] = args;
23920 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23921 if (!SWIG_IsOK(res1)) {
23922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23923 }
23924 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23925 {
23926 PyThreadState* __tstate = wxPyBeginAllowThreads();
23927 result = (wxPrintBin)(arg1)->GetBin();
23928 wxPyEndAllowThreads(__tstate);
23929 if (PyErr_Occurred()) SWIG_fail;
23930 }
23931 resultobj = SWIG_From_int(static_cast< int >(result));
23932 return resultobj;
23933 fail:
23934 return NULL;
23935 }
23936
23937
23938 SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23939 PyObject *resultobj = 0;
23940 wxPrintData *arg1 = (wxPrintData *) 0 ;
23941 wxPrintMode result;
23942 void *argp1 = 0 ;
23943 int res1 = 0 ;
23944 PyObject *swig_obj[1] ;
23945
23946 if (!args) SWIG_fail;
23947 swig_obj[0] = args;
23948 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23949 if (!SWIG_IsOK(res1)) {
23950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23951 }
23952 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23953 {
23954 PyThreadState* __tstate = wxPyBeginAllowThreads();
23955 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
23956 wxPyEndAllowThreads(__tstate);
23957 if (PyErr_Occurred()) SWIG_fail;
23958 }
23959 resultobj = SWIG_From_int(static_cast< int >(result));
23960 return resultobj;
23961 fail:
23962 return NULL;
23963 }
23964
23965
23966 SWIGINTERN PyObject *_wrap_PrintData_GetMedia(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23967 PyObject *resultobj = 0;
23968 wxPrintData *arg1 = (wxPrintData *) 0 ;
23969 int result;
23970 void *argp1 = 0 ;
23971 int res1 = 0 ;
23972 PyObject *swig_obj[1] ;
23973
23974 if (!args) SWIG_fail;
23975 swig_obj[0] = args;
23976 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23977 if (!SWIG_IsOK(res1)) {
23978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetMedia" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23979 }
23980 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23981 {
23982 PyThreadState* __tstate = wxPyBeginAllowThreads();
23983 result = (int)((wxPrintData const *)arg1)->GetMedia();
23984 wxPyEndAllowThreads(__tstate);
23985 if (PyErr_Occurred()) SWIG_fail;
23986 }
23987 resultobj = SWIG_From_int(static_cast< int >(result));
23988 return resultobj;
23989 fail:
23990 return NULL;
23991 }
23992
23993
23994 SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23995 PyObject *resultobj = 0;
23996 wxPrintData *arg1 = (wxPrintData *) 0 ;
23997 int arg2 ;
23998 void *argp1 = 0 ;
23999 int res1 = 0 ;
24000 int val2 ;
24001 int ecode2 = 0 ;
24002 PyObject * obj0 = 0 ;
24003 PyObject * obj1 = 0 ;
24004 char * kwnames[] = {
24005 (char *) "self",(char *) "v", NULL
24006 };
24007
24008 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
24009 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24010 if (!SWIG_IsOK(res1)) {
24011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
24012 }
24013 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24014 ecode2 = SWIG_AsVal_int(obj1, &val2);
24015 if (!SWIG_IsOK(ecode2)) {
24016 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
24017 }
24018 arg2 = static_cast< int >(val2);
24019 {
24020 PyThreadState* __tstate = wxPyBeginAllowThreads();
24021 (arg1)->SetNoCopies(arg2);
24022 wxPyEndAllowThreads(__tstate);
24023 if (PyErr_Occurred()) SWIG_fail;
24024 }
24025 resultobj = SWIG_Py_Void();
24026 return resultobj;
24027 fail:
24028 return NULL;
24029 }
24030
24031
24032 SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24033 PyObject *resultobj = 0;
24034 wxPrintData *arg1 = (wxPrintData *) 0 ;
24035 bool arg2 ;
24036 void *argp1 = 0 ;
24037 int res1 = 0 ;
24038 bool val2 ;
24039 int ecode2 = 0 ;
24040 PyObject * obj0 = 0 ;
24041 PyObject * obj1 = 0 ;
24042 char * kwnames[] = {
24043 (char *) "self",(char *) "flag", NULL
24044 };
24045
24046 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
24047 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24048 if (!SWIG_IsOK(res1)) {
24049 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24050 }
24051 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24052 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24053 if (!SWIG_IsOK(ecode2)) {
24054 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
24055 }
24056 arg2 = static_cast< bool >(val2);
24057 {
24058 PyThreadState* __tstate = wxPyBeginAllowThreads();
24059 (arg1)->SetCollate(arg2);
24060 wxPyEndAllowThreads(__tstate);
24061 if (PyErr_Occurred()) SWIG_fail;
24062 }
24063 resultobj = SWIG_Py_Void();
24064 return resultobj;
24065 fail:
24066 return NULL;
24067 }
24068
24069
24070 SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24071 PyObject *resultobj = 0;
24072 wxPrintData *arg1 = (wxPrintData *) 0 ;
24073 int arg2 ;
24074 void *argp1 = 0 ;
24075 int res1 = 0 ;
24076 int val2 ;
24077 int ecode2 = 0 ;
24078 PyObject * obj0 = 0 ;
24079 PyObject * obj1 = 0 ;
24080 char * kwnames[] = {
24081 (char *) "self",(char *) "orient", NULL
24082 };
24083
24084 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24085 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24086 if (!SWIG_IsOK(res1)) {
24087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24088 }
24089 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24090 ecode2 = SWIG_AsVal_int(obj1, &val2);
24091 if (!SWIG_IsOK(ecode2)) {
24092 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24093 }
24094 arg2 = static_cast< int >(val2);
24095 {
24096 PyThreadState* __tstate = wxPyBeginAllowThreads();
24097 (arg1)->SetOrientation(arg2);
24098 wxPyEndAllowThreads(__tstate);
24099 if (PyErr_Occurred()) SWIG_fail;
24100 }
24101 resultobj = SWIG_Py_Void();
24102 return resultobj;
24103 fail:
24104 return NULL;
24105 }
24106
24107
24108 SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24109 PyObject *resultobj = 0;
24110 wxPrintData *arg1 = (wxPrintData *) 0 ;
24111 wxString *arg2 = 0 ;
24112 void *argp1 = 0 ;
24113 int res1 = 0 ;
24114 bool temp2 = false ;
24115 PyObject * obj0 = 0 ;
24116 PyObject * obj1 = 0 ;
24117 char * kwnames[] = {
24118 (char *) "self",(char *) "name", NULL
24119 };
24120
24121 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) SWIG_fail;
24122 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24123 if (!SWIG_IsOK(res1)) {
24124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24125 }
24126 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24127 {
24128 arg2 = wxString_in_helper(obj1);
24129 if (arg2 == NULL) SWIG_fail;
24130 temp2 = true;
24131 }
24132 {
24133 PyThreadState* __tstate = wxPyBeginAllowThreads();
24134 (arg1)->SetPrinterName((wxString const &)*arg2);
24135 wxPyEndAllowThreads(__tstate);
24136 if (PyErr_Occurred()) SWIG_fail;
24137 }
24138 resultobj = SWIG_Py_Void();
24139 {
24140 if (temp2)
24141 delete arg2;
24142 }
24143 return resultobj;
24144 fail:
24145 {
24146 if (temp2)
24147 delete arg2;
24148 }
24149 return NULL;
24150 }
24151
24152
24153 SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24154 PyObject *resultobj = 0;
24155 wxPrintData *arg1 = (wxPrintData *) 0 ;
24156 bool arg2 ;
24157 void *argp1 = 0 ;
24158 int res1 = 0 ;
24159 bool val2 ;
24160 int ecode2 = 0 ;
24161 PyObject * obj0 = 0 ;
24162 PyObject * obj1 = 0 ;
24163 char * kwnames[] = {
24164 (char *) "self",(char *) "colour", NULL
24165 };
24166
24167 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
24168 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24169 if (!SWIG_IsOK(res1)) {
24170 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24171 }
24172 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24173 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24174 if (!SWIG_IsOK(ecode2)) {
24175 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24176 }
24177 arg2 = static_cast< bool >(val2);
24178 {
24179 PyThreadState* __tstate = wxPyBeginAllowThreads();
24180 (arg1)->SetColour(arg2);
24181 wxPyEndAllowThreads(__tstate);
24182 if (PyErr_Occurred()) SWIG_fail;
24183 }
24184 resultobj = SWIG_Py_Void();
24185 return resultobj;
24186 fail:
24187 return NULL;
24188 }
24189
24190
24191 SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24192 PyObject *resultobj = 0;
24193 wxPrintData *arg1 = (wxPrintData *) 0 ;
24194 wxDuplexMode arg2 ;
24195 void *argp1 = 0 ;
24196 int res1 = 0 ;
24197 int val2 ;
24198 int ecode2 = 0 ;
24199 PyObject * obj0 = 0 ;
24200 PyObject * obj1 = 0 ;
24201 char * kwnames[] = {
24202 (char *) "self",(char *) "duplex", NULL
24203 };
24204
24205 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) SWIG_fail;
24206 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24207 if (!SWIG_IsOK(res1)) {
24208 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24209 }
24210 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24211 ecode2 = SWIG_AsVal_int(obj1, &val2);
24212 if (!SWIG_IsOK(ecode2)) {
24213 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24214 }
24215 arg2 = static_cast< wxDuplexMode >(val2);
24216 {
24217 PyThreadState* __tstate = wxPyBeginAllowThreads();
24218 (arg1)->SetDuplex(arg2);
24219 wxPyEndAllowThreads(__tstate);
24220 if (PyErr_Occurred()) SWIG_fail;
24221 }
24222 resultobj = SWIG_Py_Void();
24223 return resultobj;
24224 fail:
24225 return NULL;
24226 }
24227
24228
24229 SWIGINTERN PyObject *_wrap_PrintData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24230 PyObject *resultobj = 0;
24231 wxPrintData *arg1 = (wxPrintData *) 0 ;
24232 wxPaperSize arg2 ;
24233 void *argp1 = 0 ;
24234 int res1 = 0 ;
24235 int val2 ;
24236 int ecode2 = 0 ;
24237 PyObject * obj0 = 0 ;
24238 PyObject * obj1 = 0 ;
24239 char * kwnames[] = {
24240 (char *) "self",(char *) "sizeId", NULL
24241 };
24242
24243 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
24244 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24245 if (!SWIG_IsOK(res1)) {
24246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24247 }
24248 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24249 ecode2 = SWIG_AsVal_int(obj1, &val2);
24250 if (!SWIG_IsOK(ecode2)) {
24251 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24252 }
24253 arg2 = static_cast< wxPaperSize >(val2);
24254 {
24255 PyThreadState* __tstate = wxPyBeginAllowThreads();
24256 (arg1)->SetPaperId(arg2);
24257 wxPyEndAllowThreads(__tstate);
24258 if (PyErr_Occurred()) SWIG_fail;
24259 }
24260 resultobj = SWIG_Py_Void();
24261 return resultobj;
24262 fail:
24263 return NULL;
24264 }
24265
24266
24267 SWIGINTERN PyObject *_wrap_PrintData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24268 PyObject *resultobj = 0;
24269 wxPrintData *arg1 = (wxPrintData *) 0 ;
24270 wxSize *arg2 = 0 ;
24271 void *argp1 = 0 ;
24272 int res1 = 0 ;
24273 wxSize temp2 ;
24274 PyObject * obj0 = 0 ;
24275 PyObject * obj1 = 0 ;
24276 char * kwnames[] = {
24277 (char *) "self",(char *) "sz", NULL
24278 };
24279
24280 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
24281 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24282 if (!SWIG_IsOK(res1)) {
24283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24284 }
24285 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24286 {
24287 arg2 = &temp2;
24288 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24289 }
24290 {
24291 PyThreadState* __tstate = wxPyBeginAllowThreads();
24292 (arg1)->SetPaperSize((wxSize const &)*arg2);
24293 wxPyEndAllowThreads(__tstate);
24294 if (PyErr_Occurred()) SWIG_fail;
24295 }
24296 resultobj = SWIG_Py_Void();
24297 return resultobj;
24298 fail:
24299 return NULL;
24300 }
24301
24302
24303 SWIGINTERN PyObject *_wrap_PrintData_SetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24304 PyObject *resultobj = 0;
24305 wxPrintData *arg1 = (wxPrintData *) 0 ;
24306 int arg2 ;
24307 void *argp1 = 0 ;
24308 int res1 = 0 ;
24309 int val2 ;
24310 int ecode2 = 0 ;
24311 PyObject * obj0 = 0 ;
24312 PyObject * obj1 = 0 ;
24313 char * kwnames[] = {
24314 (char *) "self",(char *) "quality", NULL
24315 };
24316
24317 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) SWIG_fail;
24318 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24319 if (!SWIG_IsOK(res1)) {
24320 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24321 }
24322 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24323 ecode2 = SWIG_AsVal_int(obj1, &val2);
24324 if (!SWIG_IsOK(ecode2)) {
24325 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24326 }
24327 arg2 = static_cast< int >(val2);
24328 {
24329 PyThreadState* __tstate = wxPyBeginAllowThreads();
24330 (arg1)->SetQuality(arg2);
24331 wxPyEndAllowThreads(__tstate);
24332 if (PyErr_Occurred()) SWIG_fail;
24333 }
24334 resultobj = SWIG_Py_Void();
24335 return resultobj;
24336 fail:
24337 return NULL;
24338 }
24339
24340
24341 SWIGINTERN PyObject *_wrap_PrintData_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24342 PyObject *resultobj = 0;
24343 wxPrintData *arg1 = (wxPrintData *) 0 ;
24344 wxPrintBin arg2 ;
24345 void *argp1 = 0 ;
24346 int res1 = 0 ;
24347 int val2 ;
24348 int ecode2 = 0 ;
24349 PyObject * obj0 = 0 ;
24350 PyObject * obj1 = 0 ;
24351 char * kwnames[] = {
24352 (char *) "self",(char *) "bin", NULL
24353 };
24354
24355 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) SWIG_fail;
24356 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24357 if (!SWIG_IsOK(res1)) {
24358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24359 }
24360 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24361 ecode2 = SWIG_AsVal_int(obj1, &val2);
24362 if (!SWIG_IsOK(ecode2)) {
24363 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24364 }
24365 arg2 = static_cast< wxPrintBin >(val2);
24366 {
24367 PyThreadState* __tstate = wxPyBeginAllowThreads();
24368 (arg1)->SetBin(arg2);
24369 wxPyEndAllowThreads(__tstate);
24370 if (PyErr_Occurred()) SWIG_fail;
24371 }
24372 resultobj = SWIG_Py_Void();
24373 return resultobj;
24374 fail:
24375 return NULL;
24376 }
24377
24378
24379 SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24380 PyObject *resultobj = 0;
24381 wxPrintData *arg1 = (wxPrintData *) 0 ;
24382 wxPrintMode arg2 ;
24383 void *argp1 = 0 ;
24384 int res1 = 0 ;
24385 int val2 ;
24386 int ecode2 = 0 ;
24387 PyObject * obj0 = 0 ;
24388 PyObject * obj1 = 0 ;
24389 char * kwnames[] = {
24390 (char *) "self",(char *) "printMode", NULL
24391 };
24392
24393 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
24394 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24395 if (!SWIG_IsOK(res1)) {
24396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24397 }
24398 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24399 ecode2 = SWIG_AsVal_int(obj1, &val2);
24400 if (!SWIG_IsOK(ecode2)) {
24401 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24402 }
24403 arg2 = static_cast< wxPrintMode >(val2);
24404 {
24405 PyThreadState* __tstate = wxPyBeginAllowThreads();
24406 (arg1)->SetPrintMode(arg2);
24407 wxPyEndAllowThreads(__tstate);
24408 if (PyErr_Occurred()) SWIG_fail;
24409 }
24410 resultobj = SWIG_Py_Void();
24411 return resultobj;
24412 fail:
24413 return NULL;
24414 }
24415
24416
24417 SWIGINTERN PyObject *_wrap_PrintData_SetMedia(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24418 PyObject *resultobj = 0;
24419 wxPrintData *arg1 = (wxPrintData *) 0 ;
24420 int arg2 ;
24421 void *argp1 = 0 ;
24422 int res1 = 0 ;
24423 int val2 ;
24424 int ecode2 = 0 ;
24425 PyObject * obj0 = 0 ;
24426 PyObject * obj1 = 0 ;
24427 char * kwnames[] = {
24428 (char *) "self",(char *) "media", NULL
24429 };
24430
24431 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetMedia",kwnames,&obj0,&obj1)) SWIG_fail;
24432 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24433 if (!SWIG_IsOK(res1)) {
24434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetMedia" "', expected argument " "1"" of type '" "wxPrintData *""'");
24435 }
24436 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24437 ecode2 = SWIG_AsVal_int(obj1, &val2);
24438 if (!SWIG_IsOK(ecode2)) {
24439 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetMedia" "', expected argument " "2"" of type '" "int""'");
24440 }
24441 arg2 = static_cast< int >(val2);
24442 {
24443 PyThreadState* __tstate = wxPyBeginAllowThreads();
24444 (arg1)->SetMedia(arg2);
24445 wxPyEndAllowThreads(__tstate);
24446 if (PyErr_Occurred()) SWIG_fail;
24447 }
24448 resultobj = SWIG_Py_Void();
24449 return resultobj;
24450 fail:
24451 return NULL;
24452 }
24453
24454
24455 SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24456 PyObject *resultobj = 0;
24457 wxPrintData *arg1 = (wxPrintData *) 0 ;
24458 wxString result;
24459 void *argp1 = 0 ;
24460 int res1 = 0 ;
24461 PyObject *swig_obj[1] ;
24462
24463 if (!args) SWIG_fail;
24464 swig_obj[0] = args;
24465 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24466 if (!SWIG_IsOK(res1)) {
24467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24468 }
24469 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24470 {
24471 PyThreadState* __tstate = wxPyBeginAllowThreads();
24472 result = ((wxPrintData const *)arg1)->GetFilename();
24473 wxPyEndAllowThreads(__tstate);
24474 if (PyErr_Occurred()) SWIG_fail;
24475 }
24476 {
24477 #if wxUSE_UNICODE
24478 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24479 #else
24480 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24481 #endif
24482 }
24483 return resultobj;
24484 fail:
24485 return NULL;
24486 }
24487
24488
24489 SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24490 PyObject *resultobj = 0;
24491 wxPrintData *arg1 = (wxPrintData *) 0 ;
24492 wxString *arg2 = 0 ;
24493 void *argp1 = 0 ;
24494 int res1 = 0 ;
24495 bool temp2 = false ;
24496 PyObject * obj0 = 0 ;
24497 PyObject * obj1 = 0 ;
24498 char * kwnames[] = {
24499 (char *) "self",(char *) "filename", NULL
24500 };
24501
24502 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
24503 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24504 if (!SWIG_IsOK(res1)) {
24505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24506 }
24507 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24508 {
24509 arg2 = wxString_in_helper(obj1);
24510 if (arg2 == NULL) SWIG_fail;
24511 temp2 = true;
24512 }
24513 {
24514 PyThreadState* __tstate = wxPyBeginAllowThreads();
24515 (arg1)->SetFilename((wxString const &)*arg2);
24516 wxPyEndAllowThreads(__tstate);
24517 if (PyErr_Occurred()) SWIG_fail;
24518 }
24519 resultobj = SWIG_Py_Void();
24520 {
24521 if (temp2)
24522 delete arg2;
24523 }
24524 return resultobj;
24525 fail:
24526 {
24527 if (temp2)
24528 delete arg2;
24529 }
24530 return NULL;
24531 }
24532
24533
24534 SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24535 PyObject *resultobj = 0;
24536 wxPrintData *arg1 = (wxPrintData *) 0 ;
24537 PyObject *result = 0 ;
24538 void *argp1 = 0 ;
24539 int res1 = 0 ;
24540 PyObject *swig_obj[1] ;
24541
24542 if (!args) SWIG_fail;
24543 swig_obj[0] = args;
24544 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24545 if (!SWIG_IsOK(res1)) {
24546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24547 }
24548 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24549 {
24550 PyThreadState* __tstate = wxPyBeginAllowThreads();
24551 result = (PyObject *)wxPrintData_GetPrivData(arg1);
24552 wxPyEndAllowThreads(__tstate);
24553 if (PyErr_Occurred()) SWIG_fail;
24554 }
24555 resultobj = result;
24556 return resultobj;
24557 fail:
24558 return NULL;
24559 }
24560
24561
24562 SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24563 PyObject *resultobj = 0;
24564 wxPrintData *arg1 = (wxPrintData *) 0 ;
24565 PyObject *arg2 = (PyObject *) 0 ;
24566 void *argp1 = 0 ;
24567 int res1 = 0 ;
24568 PyObject * obj0 = 0 ;
24569 PyObject * obj1 = 0 ;
24570 char * kwnames[] = {
24571 (char *) "self",(char *) "data", NULL
24572 };
24573
24574 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
24575 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24576 if (!SWIG_IsOK(res1)) {
24577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24578 }
24579 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24580 arg2 = obj1;
24581 {
24582 PyThreadState* __tstate = wxPyBeginAllowThreads();
24583 wxPrintData_SetPrivData(arg1,arg2);
24584 wxPyEndAllowThreads(__tstate);
24585 if (PyErr_Occurred()) SWIG_fail;
24586 }
24587 resultobj = SWIG_Py_Void();
24588 return resultobj;
24589 fail:
24590 return NULL;
24591 }
24592
24593
24594 SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24595 PyObject *obj;
24596 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
24597 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
24598 return SWIG_Py_Void();
24599 }
24600
24601 SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24602 return SWIG_Python_InitShadowInstance(args);
24603 }
24604
24605 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
24606 PyObject *resultobj = 0;
24607 wxPageSetupDialogData *result = 0 ;
24608
24609 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
24610 {
24611 PyThreadState* __tstate = wxPyBeginAllowThreads();
24612 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
24613 wxPyEndAllowThreads(__tstate);
24614 if (PyErr_Occurred()) SWIG_fail;
24615 }
24616 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24617 return resultobj;
24618 fail:
24619 return NULL;
24620 }
24621
24622
24623 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24624 PyObject *resultobj = 0;
24625 wxPageSetupDialogData *arg1 = 0 ;
24626 wxPageSetupDialogData *result = 0 ;
24627 void *argp1 = 0 ;
24628 int res1 = 0 ;
24629
24630 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24631 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
24632 if (!SWIG_IsOK(res1)) {
24633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24634 }
24635 if (!argp1) {
24636 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24637 }
24638 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24639 {
24640 PyThreadState* __tstate = wxPyBeginAllowThreads();
24641 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
24642 wxPyEndAllowThreads(__tstate);
24643 if (PyErr_Occurred()) SWIG_fail;
24644 }
24645 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24646 return resultobj;
24647 fail:
24648 return NULL;
24649 }
24650
24651
24652 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24653 PyObject *resultobj = 0;
24654 wxPrintData *arg1 = 0 ;
24655 wxPageSetupDialogData *result = 0 ;
24656 void *argp1 = 0 ;
24657 int res1 = 0 ;
24658
24659 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24660 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
24661 if (!SWIG_IsOK(res1)) {
24662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24663 }
24664 if (!argp1) {
24665 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24666 }
24667 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24668 {
24669 PyThreadState* __tstate = wxPyBeginAllowThreads();
24670 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
24671 wxPyEndAllowThreads(__tstate);
24672 if (PyErr_Occurred()) SWIG_fail;
24673 }
24674 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24675 return resultobj;
24676 fail:
24677 return NULL;
24678 }
24679
24680
24681 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
24682 int argc;
24683 PyObject *argv[2];
24684
24685 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
24686 --argc;
24687 if (argc == 0) {
24688 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
24689 }
24690 if (argc == 1) {
24691 int _v = 0;
24692 {
24693 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
24694 _v = SWIG_CheckState(res);
24695 }
24696 if (!_v) goto check_2;
24697 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
24698 }
24699 check_2:
24700
24701 if (argc == 1) {
24702 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
24703 }
24704
24705 fail:
24706 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
24707 return NULL;
24708 }
24709
24710
24711 SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24712 PyObject *resultobj = 0;
24713 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24714 void *argp1 = 0 ;
24715 int res1 = 0 ;
24716 PyObject *swig_obj[1] ;
24717
24718 if (!args) SWIG_fail;
24719 swig_obj[0] = args;
24720 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
24721 if (!SWIG_IsOK(res1)) {
24722 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24723 }
24724 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24725 {
24726 PyThreadState* __tstate = wxPyBeginAllowThreads();
24727 delete arg1;
24728
24729 wxPyEndAllowThreads(__tstate);
24730 if (PyErr_Occurred()) SWIG_fail;
24731 }
24732 resultobj = SWIG_Py_Void();
24733 return resultobj;
24734 fail:
24735 return NULL;
24736 }
24737
24738
24739 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24740 PyObject *resultobj = 0;
24741 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24742 bool arg2 ;
24743 void *argp1 = 0 ;
24744 int res1 = 0 ;
24745 bool val2 ;
24746 int ecode2 = 0 ;
24747 PyObject * obj0 = 0 ;
24748 PyObject * obj1 = 0 ;
24749 char * kwnames[] = {
24750 (char *) "self",(char *) "flag", NULL
24751 };
24752
24753 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
24754 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24755 if (!SWIG_IsOK(res1)) {
24756 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24757 }
24758 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24759 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24760 if (!SWIG_IsOK(ecode2)) {
24761 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24762 }
24763 arg2 = static_cast< bool >(val2);
24764 {
24765 PyThreadState* __tstate = wxPyBeginAllowThreads();
24766 (arg1)->EnableHelp(arg2);
24767 wxPyEndAllowThreads(__tstate);
24768 if (PyErr_Occurred()) SWIG_fail;
24769 }
24770 resultobj = SWIG_Py_Void();
24771 return resultobj;
24772 fail:
24773 return NULL;
24774 }
24775
24776
24777 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24778 PyObject *resultobj = 0;
24779 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24780 bool arg2 ;
24781 void *argp1 = 0 ;
24782 int res1 = 0 ;
24783 bool val2 ;
24784 int ecode2 = 0 ;
24785 PyObject * obj0 = 0 ;
24786 PyObject * obj1 = 0 ;
24787 char * kwnames[] = {
24788 (char *) "self",(char *) "flag", NULL
24789 };
24790
24791 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
24792 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24793 if (!SWIG_IsOK(res1)) {
24794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24795 }
24796 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24797 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24798 if (!SWIG_IsOK(ecode2)) {
24799 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24800 }
24801 arg2 = static_cast< bool >(val2);
24802 {
24803 PyThreadState* __tstate = wxPyBeginAllowThreads();
24804 (arg1)->EnableMargins(arg2);
24805 wxPyEndAllowThreads(__tstate);
24806 if (PyErr_Occurred()) SWIG_fail;
24807 }
24808 resultobj = SWIG_Py_Void();
24809 return resultobj;
24810 fail:
24811 return NULL;
24812 }
24813
24814
24815 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24816 PyObject *resultobj = 0;
24817 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24818 bool arg2 ;
24819 void *argp1 = 0 ;
24820 int res1 = 0 ;
24821 bool val2 ;
24822 int ecode2 = 0 ;
24823 PyObject * obj0 = 0 ;
24824 PyObject * obj1 = 0 ;
24825 char * kwnames[] = {
24826 (char *) "self",(char *) "flag", NULL
24827 };
24828
24829 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24830 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24831 if (!SWIG_IsOK(res1)) {
24832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24833 }
24834 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24835 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24836 if (!SWIG_IsOK(ecode2)) {
24837 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24838 }
24839 arg2 = static_cast< bool >(val2);
24840 {
24841 PyThreadState* __tstate = wxPyBeginAllowThreads();
24842 (arg1)->EnableOrientation(arg2);
24843 wxPyEndAllowThreads(__tstate);
24844 if (PyErr_Occurred()) SWIG_fail;
24845 }
24846 resultobj = SWIG_Py_Void();
24847 return resultobj;
24848 fail:
24849 return NULL;
24850 }
24851
24852
24853 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24854 PyObject *resultobj = 0;
24855 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24856 bool arg2 ;
24857 void *argp1 = 0 ;
24858 int res1 = 0 ;
24859 bool val2 ;
24860 int ecode2 = 0 ;
24861 PyObject * obj0 = 0 ;
24862 PyObject * obj1 = 0 ;
24863 char * kwnames[] = {
24864 (char *) "self",(char *) "flag", NULL
24865 };
24866
24867 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
24868 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24869 if (!SWIG_IsOK(res1)) {
24870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24871 }
24872 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24873 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24874 if (!SWIG_IsOK(ecode2)) {
24875 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24876 }
24877 arg2 = static_cast< bool >(val2);
24878 {
24879 PyThreadState* __tstate = wxPyBeginAllowThreads();
24880 (arg1)->EnablePaper(arg2);
24881 wxPyEndAllowThreads(__tstate);
24882 if (PyErr_Occurred()) SWIG_fail;
24883 }
24884 resultobj = SWIG_Py_Void();
24885 return resultobj;
24886 fail:
24887 return NULL;
24888 }
24889
24890
24891 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24892 PyObject *resultobj = 0;
24893 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24894 bool arg2 ;
24895 void *argp1 = 0 ;
24896 int res1 = 0 ;
24897 bool val2 ;
24898 int ecode2 = 0 ;
24899 PyObject * obj0 = 0 ;
24900 PyObject * obj1 = 0 ;
24901 char * kwnames[] = {
24902 (char *) "self",(char *) "flag", NULL
24903 };
24904
24905 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
24906 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24907 if (!SWIG_IsOK(res1)) {
24908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24909 }
24910 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24911 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24912 if (!SWIG_IsOK(ecode2)) {
24913 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24914 }
24915 arg2 = static_cast< bool >(val2);
24916 {
24917 PyThreadState* __tstate = wxPyBeginAllowThreads();
24918 (arg1)->EnablePrinter(arg2);
24919 wxPyEndAllowThreads(__tstate);
24920 if (PyErr_Occurred()) SWIG_fail;
24921 }
24922 resultobj = SWIG_Py_Void();
24923 return resultobj;
24924 fail:
24925 return NULL;
24926 }
24927
24928
24929 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24930 PyObject *resultobj = 0;
24931 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24932 bool result;
24933 void *argp1 = 0 ;
24934 int res1 = 0 ;
24935 PyObject *swig_obj[1] ;
24936
24937 if (!args) SWIG_fail;
24938 swig_obj[0] = args;
24939 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24940 if (!SWIG_IsOK(res1)) {
24941 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24942 }
24943 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24944 {
24945 PyThreadState* __tstate = wxPyBeginAllowThreads();
24946 result = (bool)(arg1)->GetDefaultMinMargins();
24947 wxPyEndAllowThreads(__tstate);
24948 if (PyErr_Occurred()) SWIG_fail;
24949 }
24950 {
24951 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24952 }
24953 return resultobj;
24954 fail:
24955 return NULL;
24956 }
24957
24958
24959 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24960 PyObject *resultobj = 0;
24961 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24962 bool result;
24963 void *argp1 = 0 ;
24964 int res1 = 0 ;
24965 PyObject *swig_obj[1] ;
24966
24967 if (!args) SWIG_fail;
24968 swig_obj[0] = args;
24969 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24970 if (!SWIG_IsOK(res1)) {
24971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24972 }
24973 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24974 {
24975 PyThreadState* __tstate = wxPyBeginAllowThreads();
24976 result = (bool)(arg1)->GetEnableMargins();
24977 wxPyEndAllowThreads(__tstate);
24978 if (PyErr_Occurred()) SWIG_fail;
24979 }
24980 {
24981 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24982 }
24983 return resultobj;
24984 fail:
24985 return NULL;
24986 }
24987
24988
24989 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24990 PyObject *resultobj = 0;
24991 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24992 bool result;
24993 void *argp1 = 0 ;
24994 int res1 = 0 ;
24995 PyObject *swig_obj[1] ;
24996
24997 if (!args) SWIG_fail;
24998 swig_obj[0] = args;
24999 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25000 if (!SWIG_IsOK(res1)) {
25001 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25002 }
25003 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25004 {
25005 PyThreadState* __tstate = wxPyBeginAllowThreads();
25006 result = (bool)(arg1)->GetEnableOrientation();
25007 wxPyEndAllowThreads(__tstate);
25008 if (PyErr_Occurred()) SWIG_fail;
25009 }
25010 {
25011 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25012 }
25013 return resultobj;
25014 fail:
25015 return NULL;
25016 }
25017
25018
25019 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25020 PyObject *resultobj = 0;
25021 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25022 bool result;
25023 void *argp1 = 0 ;
25024 int res1 = 0 ;
25025 PyObject *swig_obj[1] ;
25026
25027 if (!args) SWIG_fail;
25028 swig_obj[0] = args;
25029 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25030 if (!SWIG_IsOK(res1)) {
25031 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25032 }
25033 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25034 {
25035 PyThreadState* __tstate = wxPyBeginAllowThreads();
25036 result = (bool)(arg1)->GetEnablePaper();
25037 wxPyEndAllowThreads(__tstate);
25038 if (PyErr_Occurred()) SWIG_fail;
25039 }
25040 {
25041 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25042 }
25043 return resultobj;
25044 fail:
25045 return NULL;
25046 }
25047
25048
25049 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25050 PyObject *resultobj = 0;
25051 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25052 bool result;
25053 void *argp1 = 0 ;
25054 int res1 = 0 ;
25055 PyObject *swig_obj[1] ;
25056
25057 if (!args) SWIG_fail;
25058 swig_obj[0] = args;
25059 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25060 if (!SWIG_IsOK(res1)) {
25061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25062 }
25063 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25064 {
25065 PyThreadState* __tstate = wxPyBeginAllowThreads();
25066 result = (bool)(arg1)->GetEnablePrinter();
25067 wxPyEndAllowThreads(__tstate);
25068 if (PyErr_Occurred()) SWIG_fail;
25069 }
25070 {
25071 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25072 }
25073 return resultobj;
25074 fail:
25075 return NULL;
25076 }
25077
25078
25079 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25080 PyObject *resultobj = 0;
25081 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25082 bool result;
25083 void *argp1 = 0 ;
25084 int res1 = 0 ;
25085 PyObject *swig_obj[1] ;
25086
25087 if (!args) SWIG_fail;
25088 swig_obj[0] = args;
25089 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25090 if (!SWIG_IsOK(res1)) {
25091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25092 }
25093 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25094 {
25095 PyThreadState* __tstate = wxPyBeginAllowThreads();
25096 result = (bool)(arg1)->GetEnableHelp();
25097 wxPyEndAllowThreads(__tstate);
25098 if (PyErr_Occurred()) SWIG_fail;
25099 }
25100 {
25101 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25102 }
25103 return resultobj;
25104 fail:
25105 return NULL;
25106 }
25107
25108
25109 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25110 PyObject *resultobj = 0;
25111 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25112 bool result;
25113 void *argp1 = 0 ;
25114 int res1 = 0 ;
25115 PyObject *swig_obj[1] ;
25116
25117 if (!args) SWIG_fail;
25118 swig_obj[0] = args;
25119 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25120 if (!SWIG_IsOK(res1)) {
25121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25122 }
25123 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25124 {
25125 PyThreadState* __tstate = wxPyBeginAllowThreads();
25126 result = (bool)(arg1)->GetDefaultInfo();
25127 wxPyEndAllowThreads(__tstate);
25128 if (PyErr_Occurred()) SWIG_fail;
25129 }
25130 {
25131 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25132 }
25133 return resultobj;
25134 fail:
25135 return NULL;
25136 }
25137
25138
25139 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25140 PyObject *resultobj = 0;
25141 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25142 wxPoint result;
25143 void *argp1 = 0 ;
25144 int res1 = 0 ;
25145 PyObject *swig_obj[1] ;
25146
25147 if (!args) SWIG_fail;
25148 swig_obj[0] = args;
25149 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25150 if (!SWIG_IsOK(res1)) {
25151 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25152 }
25153 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25154 {
25155 PyThreadState* __tstate = wxPyBeginAllowThreads();
25156 result = (arg1)->GetMarginTopLeft();
25157 wxPyEndAllowThreads(__tstate);
25158 if (PyErr_Occurred()) SWIG_fail;
25159 }
25160 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25161 return resultobj;
25162 fail:
25163 return NULL;
25164 }
25165
25166
25167 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25168 PyObject *resultobj = 0;
25169 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25170 wxPoint result;
25171 void *argp1 = 0 ;
25172 int res1 = 0 ;
25173 PyObject *swig_obj[1] ;
25174
25175 if (!args) SWIG_fail;
25176 swig_obj[0] = args;
25177 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25178 if (!SWIG_IsOK(res1)) {
25179 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25180 }
25181 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25182 {
25183 PyThreadState* __tstate = wxPyBeginAllowThreads();
25184 result = (arg1)->GetMarginBottomRight();
25185 wxPyEndAllowThreads(__tstate);
25186 if (PyErr_Occurred()) SWIG_fail;
25187 }
25188 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25189 return resultobj;
25190 fail:
25191 return NULL;
25192 }
25193
25194
25195 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25196 PyObject *resultobj = 0;
25197 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25198 wxPoint result;
25199 void *argp1 = 0 ;
25200 int res1 = 0 ;
25201 PyObject *swig_obj[1] ;
25202
25203 if (!args) SWIG_fail;
25204 swig_obj[0] = args;
25205 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25206 if (!SWIG_IsOK(res1)) {
25207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25208 }
25209 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25210 {
25211 PyThreadState* __tstate = wxPyBeginAllowThreads();
25212 result = (arg1)->GetMinMarginTopLeft();
25213 wxPyEndAllowThreads(__tstate);
25214 if (PyErr_Occurred()) SWIG_fail;
25215 }
25216 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25217 return resultobj;
25218 fail:
25219 return NULL;
25220 }
25221
25222
25223 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25224 PyObject *resultobj = 0;
25225 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25226 wxPoint result;
25227 void *argp1 = 0 ;
25228 int res1 = 0 ;
25229 PyObject *swig_obj[1] ;
25230
25231 if (!args) SWIG_fail;
25232 swig_obj[0] = args;
25233 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25234 if (!SWIG_IsOK(res1)) {
25235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25236 }
25237 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25238 {
25239 PyThreadState* __tstate = wxPyBeginAllowThreads();
25240 result = (arg1)->GetMinMarginBottomRight();
25241 wxPyEndAllowThreads(__tstate);
25242 if (PyErr_Occurred()) SWIG_fail;
25243 }
25244 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25245 return resultobj;
25246 fail:
25247 return NULL;
25248 }
25249
25250
25251 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25252 PyObject *resultobj = 0;
25253 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25254 wxPaperSize result;
25255 void *argp1 = 0 ;
25256 int res1 = 0 ;
25257 PyObject *swig_obj[1] ;
25258
25259 if (!args) SWIG_fail;
25260 swig_obj[0] = args;
25261 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25262 if (!SWIG_IsOK(res1)) {
25263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25264 }
25265 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25266 {
25267 PyThreadState* __tstate = wxPyBeginAllowThreads();
25268 result = (wxPaperSize)(arg1)->GetPaperId();
25269 wxPyEndAllowThreads(__tstate);
25270 if (PyErr_Occurred()) SWIG_fail;
25271 }
25272 resultobj = SWIG_From_int(static_cast< int >(result));
25273 return resultobj;
25274 fail:
25275 return NULL;
25276 }
25277
25278
25279 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25280 PyObject *resultobj = 0;
25281 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25282 wxSize result;
25283 void *argp1 = 0 ;
25284 int res1 = 0 ;
25285 PyObject *swig_obj[1] ;
25286
25287 if (!args) SWIG_fail;
25288 swig_obj[0] = args;
25289 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25290 if (!SWIG_IsOK(res1)) {
25291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25292 }
25293 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25294 {
25295 PyThreadState* __tstate = wxPyBeginAllowThreads();
25296 result = (arg1)->GetPaperSize();
25297 wxPyEndAllowThreads(__tstate);
25298 if (PyErr_Occurred()) SWIG_fail;
25299 }
25300 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25301 return resultobj;
25302 fail:
25303 return NULL;
25304 }
25305
25306
25307 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25308 PyObject *resultobj = 0;
25309 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25310 wxPrintData *result = 0 ;
25311 void *argp1 = 0 ;
25312 int res1 = 0 ;
25313 PyObject *swig_obj[1] ;
25314
25315 if (!args) SWIG_fail;
25316 swig_obj[0] = args;
25317 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25318 if (!SWIG_IsOK(res1)) {
25319 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25320 }
25321 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25322 {
25323 PyThreadState* __tstate = wxPyBeginAllowThreads();
25324 {
25325 wxPrintData &_result_ref = (arg1)->GetPrintData();
25326 result = (wxPrintData *) &_result_ref;
25327 }
25328 wxPyEndAllowThreads(__tstate);
25329 if (PyErr_Occurred()) SWIG_fail;
25330 }
25331 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
25332 return resultobj;
25333 fail:
25334 return NULL;
25335 }
25336
25337
25338 SWIGINTERN PyObject *_wrap_PageSetupDialogData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25339 PyObject *resultobj = 0;
25340 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25341 bool result;
25342 void *argp1 = 0 ;
25343 int res1 = 0 ;
25344 PyObject *swig_obj[1] ;
25345
25346 if (!args) SWIG_fail;
25347 swig_obj[0] = args;
25348 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25349 if (!SWIG_IsOK(res1)) {
25350 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_IsOk" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25351 }
25352 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25353 {
25354 PyThreadState* __tstate = wxPyBeginAllowThreads();
25355 result = (bool)(arg1)->IsOk();
25356 wxPyEndAllowThreads(__tstate);
25357 if (PyErr_Occurred()) SWIG_fail;
25358 }
25359 {
25360 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25361 }
25362 return resultobj;
25363 fail:
25364 return NULL;
25365 }
25366
25367
25368 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25369 PyObject *resultobj = 0;
25370 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25371 bool arg2 ;
25372 void *argp1 = 0 ;
25373 int res1 = 0 ;
25374 bool val2 ;
25375 int ecode2 = 0 ;
25376 PyObject * obj0 = 0 ;
25377 PyObject * obj1 = 0 ;
25378 char * kwnames[] = {
25379 (char *) "self",(char *) "flag", NULL
25380 };
25381
25382 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
25383 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25384 if (!SWIG_IsOK(res1)) {
25385 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25386 }
25387 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25388 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25389 if (!SWIG_IsOK(ecode2)) {
25390 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25391 }
25392 arg2 = static_cast< bool >(val2);
25393 {
25394 PyThreadState* __tstate = wxPyBeginAllowThreads();
25395 (arg1)->SetDefaultInfo(arg2);
25396 wxPyEndAllowThreads(__tstate);
25397 if (PyErr_Occurred()) SWIG_fail;
25398 }
25399 resultobj = SWIG_Py_Void();
25400 return resultobj;
25401 fail:
25402 return NULL;
25403 }
25404
25405
25406 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25407 PyObject *resultobj = 0;
25408 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25409 bool arg2 ;
25410 void *argp1 = 0 ;
25411 int res1 = 0 ;
25412 bool val2 ;
25413 int ecode2 = 0 ;
25414 PyObject * obj0 = 0 ;
25415 PyObject * obj1 = 0 ;
25416 char * kwnames[] = {
25417 (char *) "self",(char *) "flag", NULL
25418 };
25419
25420 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25421 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25422 if (!SWIG_IsOK(res1)) {
25423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25424 }
25425 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25426 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25427 if (!SWIG_IsOK(ecode2)) {
25428 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25429 }
25430 arg2 = static_cast< bool >(val2);
25431 {
25432 PyThreadState* __tstate = wxPyBeginAllowThreads();
25433 (arg1)->SetDefaultMinMargins(arg2);
25434 wxPyEndAllowThreads(__tstate);
25435 if (PyErr_Occurred()) SWIG_fail;
25436 }
25437 resultobj = SWIG_Py_Void();
25438 return resultobj;
25439 fail:
25440 return NULL;
25441 }
25442
25443
25444 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25445 PyObject *resultobj = 0;
25446 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25447 wxPoint *arg2 = 0 ;
25448 void *argp1 = 0 ;
25449 int res1 = 0 ;
25450 wxPoint temp2 ;
25451 PyObject * obj0 = 0 ;
25452 PyObject * obj1 = 0 ;
25453 char * kwnames[] = {
25454 (char *) "self",(char *) "pt", NULL
25455 };
25456
25457 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25458 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25459 if (!SWIG_IsOK(res1)) {
25460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25461 }
25462 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25463 {
25464 arg2 = &temp2;
25465 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25466 }
25467 {
25468 PyThreadState* __tstate = wxPyBeginAllowThreads();
25469 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
25470 wxPyEndAllowThreads(__tstate);
25471 if (PyErr_Occurred()) SWIG_fail;
25472 }
25473 resultobj = SWIG_Py_Void();
25474 return resultobj;
25475 fail:
25476 return NULL;
25477 }
25478
25479
25480 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25481 PyObject *resultobj = 0;
25482 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25483 wxPoint *arg2 = 0 ;
25484 void *argp1 = 0 ;
25485 int res1 = 0 ;
25486 wxPoint temp2 ;
25487 PyObject * obj0 = 0 ;
25488 PyObject * obj1 = 0 ;
25489 char * kwnames[] = {
25490 (char *) "self",(char *) "pt", NULL
25491 };
25492
25493 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25494 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25495 if (!SWIG_IsOK(res1)) {
25496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25497 }
25498 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25499 {
25500 arg2 = &temp2;
25501 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25502 }
25503 {
25504 PyThreadState* __tstate = wxPyBeginAllowThreads();
25505 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
25506 wxPyEndAllowThreads(__tstate);
25507 if (PyErr_Occurred()) SWIG_fail;
25508 }
25509 resultobj = SWIG_Py_Void();
25510 return resultobj;
25511 fail:
25512 return NULL;
25513 }
25514
25515
25516 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25517 PyObject *resultobj = 0;
25518 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25519 wxPoint *arg2 = 0 ;
25520 void *argp1 = 0 ;
25521 int res1 = 0 ;
25522 wxPoint temp2 ;
25523 PyObject * obj0 = 0 ;
25524 PyObject * obj1 = 0 ;
25525 char * kwnames[] = {
25526 (char *) "self",(char *) "pt", NULL
25527 };
25528
25529 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25530 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25531 if (!SWIG_IsOK(res1)) {
25532 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25533 }
25534 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25535 {
25536 arg2 = &temp2;
25537 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25538 }
25539 {
25540 PyThreadState* __tstate = wxPyBeginAllowThreads();
25541 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
25542 wxPyEndAllowThreads(__tstate);
25543 if (PyErr_Occurred()) SWIG_fail;
25544 }
25545 resultobj = SWIG_Py_Void();
25546 return resultobj;
25547 fail:
25548 return NULL;
25549 }
25550
25551
25552 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25553 PyObject *resultobj = 0;
25554 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25555 wxPoint *arg2 = 0 ;
25556 void *argp1 = 0 ;
25557 int res1 = 0 ;
25558 wxPoint temp2 ;
25559 PyObject * obj0 = 0 ;
25560 PyObject * obj1 = 0 ;
25561 char * kwnames[] = {
25562 (char *) "self",(char *) "pt", NULL
25563 };
25564
25565 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25566 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25567 if (!SWIG_IsOK(res1)) {
25568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25569 }
25570 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25571 {
25572 arg2 = &temp2;
25573 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25574 }
25575 {
25576 PyThreadState* __tstate = wxPyBeginAllowThreads();
25577 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
25578 wxPyEndAllowThreads(__tstate);
25579 if (PyErr_Occurred()) SWIG_fail;
25580 }
25581 resultobj = SWIG_Py_Void();
25582 return resultobj;
25583 fail:
25584 return NULL;
25585 }
25586
25587
25588 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25589 PyObject *resultobj = 0;
25590 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25591 wxPaperSize arg2 ;
25592 void *argp1 = 0 ;
25593 int res1 = 0 ;
25594 int val2 ;
25595 int ecode2 = 0 ;
25596 PyObject * obj0 = 0 ;
25597 PyObject * obj1 = 0 ;
25598 char * kwnames[] = {
25599 (char *) "self",(char *) "id", NULL
25600 };
25601
25602 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
25603 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25604 if (!SWIG_IsOK(res1)) {
25605 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25606 }
25607 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25608 ecode2 = SWIG_AsVal_int(obj1, &val2);
25609 if (!SWIG_IsOK(ecode2)) {
25610 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25611 }
25612 arg2 = static_cast< wxPaperSize >(val2);
25613 {
25614 PyThreadState* __tstate = wxPyBeginAllowThreads();
25615 (arg1)->SetPaperId(arg2);
25616 wxPyEndAllowThreads(__tstate);
25617 if (PyErr_Occurred()) SWIG_fail;
25618 }
25619 resultobj = SWIG_Py_Void();
25620 return resultobj;
25621 fail:
25622 return NULL;
25623 }
25624
25625
25626 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25627 PyObject *resultobj = 0;
25628 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25629 wxSize *arg2 = 0 ;
25630 void *argp1 = 0 ;
25631 int res1 = 0 ;
25632 wxSize temp2 ;
25633 PyObject * obj0 = 0 ;
25634 PyObject * obj1 = 0 ;
25635 char * kwnames[] = {
25636 (char *) "self",(char *) "size", NULL
25637 };
25638
25639 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
25640 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25641 if (!SWIG_IsOK(res1)) {
25642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25643 }
25644 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25645 {
25646 arg2 = &temp2;
25647 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25648 }
25649 {
25650 PyThreadState* __tstate = wxPyBeginAllowThreads();
25651 (arg1)->SetPaperSize((wxSize const &)*arg2);
25652 wxPyEndAllowThreads(__tstate);
25653 if (PyErr_Occurred()) SWIG_fail;
25654 }
25655 resultobj = SWIG_Py_Void();
25656 return resultobj;
25657 fail:
25658 return NULL;
25659 }
25660
25661
25662 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25663 PyObject *resultobj = 0;
25664 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25665 wxPrintData *arg2 = 0 ;
25666 void *argp1 = 0 ;
25667 int res1 = 0 ;
25668 void *argp2 = 0 ;
25669 int res2 = 0 ;
25670 PyObject * obj0 = 0 ;
25671 PyObject * obj1 = 0 ;
25672 char * kwnames[] = {
25673 (char *) "self",(char *) "printData", NULL
25674 };
25675
25676 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
25677 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25678 if (!SWIG_IsOK(res1)) {
25679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25680 }
25681 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25682 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
25683 if (!SWIG_IsOK(res2)) {
25684 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25685 }
25686 if (!argp2) {
25687 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25688 }
25689 arg2 = reinterpret_cast< wxPrintData * >(argp2);
25690 {
25691 PyThreadState* __tstate = wxPyBeginAllowThreads();
25692 (arg1)->SetPrintData((wxPrintData const &)*arg2);
25693 wxPyEndAllowThreads(__tstate);
25694 if (PyErr_Occurred()) SWIG_fail;
25695 }
25696 resultobj = SWIG_Py_Void();
25697 return resultobj;
25698 fail:
25699 return NULL;
25700 }
25701
25702
25703 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25704 PyObject *resultobj = 0;
25705 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25706 void *argp1 = 0 ;
25707 int res1 = 0 ;
25708 PyObject *swig_obj[1] ;
25709
25710 if (!args) SWIG_fail;
25711 swig_obj[0] = args;
25712 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25713 if (!SWIG_IsOK(res1)) {
25714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25715 }
25716 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25717 {
25718 PyThreadState* __tstate = wxPyBeginAllowThreads();
25719 (arg1)->CalculateIdFromPaperSize();
25720 wxPyEndAllowThreads(__tstate);
25721 if (PyErr_Occurred()) SWIG_fail;
25722 }
25723 resultobj = SWIG_Py_Void();
25724 return resultobj;
25725 fail:
25726 return NULL;
25727 }
25728
25729
25730 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25731 PyObject *resultobj = 0;
25732 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25733 void *argp1 = 0 ;
25734 int res1 = 0 ;
25735 PyObject *swig_obj[1] ;
25736
25737 if (!args) SWIG_fail;
25738 swig_obj[0] = args;
25739 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25740 if (!SWIG_IsOK(res1)) {
25741 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25742 }
25743 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25744 {
25745 PyThreadState* __tstate = wxPyBeginAllowThreads();
25746 (arg1)->CalculatePaperSizeFromId();
25747 wxPyEndAllowThreads(__tstate);
25748 if (PyErr_Occurred()) SWIG_fail;
25749 }
25750 resultobj = SWIG_Py_Void();
25751 return resultobj;
25752 fail:
25753 return NULL;
25754 }
25755
25756
25757 SWIGINTERN PyObject *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25758 PyObject *obj;
25759 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25760 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
25761 return SWIG_Py_Void();
25762 }
25763
25764 SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25765 return SWIG_Python_InitShadowInstance(args);
25766 }
25767
25768 SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25769 PyObject *resultobj = 0;
25770 wxWindow *arg1 = (wxWindow *) 0 ;
25771 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
25772 wxPageSetupDialog *result = 0 ;
25773 void *argp1 = 0 ;
25774 int res1 = 0 ;
25775 void *argp2 = 0 ;
25776 int res2 = 0 ;
25777 PyObject * obj0 = 0 ;
25778 PyObject * obj1 = 0 ;
25779 char * kwnames[] = {
25780 (char *) "parent",(char *) "data", NULL
25781 };
25782
25783 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
25784 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25785 if (!SWIG_IsOK(res1)) {
25786 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25787 }
25788 arg1 = reinterpret_cast< wxWindow * >(argp1);
25789 if (obj1) {
25790 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25791 if (!SWIG_IsOK(res2)) {
25792 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25793 }
25794 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
25795 }
25796 {
25797 if (!wxPyCheckForApp()) SWIG_fail;
25798 PyThreadState* __tstate = wxPyBeginAllowThreads();
25799 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
25800 wxPyEndAllowThreads(__tstate);
25801 if (PyErr_Occurred()) SWIG_fail;
25802 }
25803 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
25804 return resultobj;
25805 fail:
25806 return NULL;
25807 }
25808
25809
25810 SWIGINTERN PyObject *_wrap_delete_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25811 PyObject *resultobj = 0;
25812 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25813 void *argp1 = 0 ;
25814 int res1 = 0 ;
25815 PyObject *swig_obj[1] ;
25816
25817 if (!args) SWIG_fail;
25818 swig_obj[0] = args;
25819 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_DISOWN | 0 );
25820 if (!SWIG_IsOK(res1)) {
25821 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25822 }
25823 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25824 {
25825 PyThreadState* __tstate = wxPyBeginAllowThreads();
25826 delete arg1;
25827
25828 wxPyEndAllowThreads(__tstate);
25829 if (PyErr_Occurred()) SWIG_fail;
25830 }
25831 resultobj = SWIG_Py_Void();
25832 return resultobj;
25833 fail:
25834 return NULL;
25835 }
25836
25837
25838 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25839 PyObject *resultobj = 0;
25840 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25841 wxPageSetupDialogData *result = 0 ;
25842 void *argp1 = 0 ;
25843 int res1 = 0 ;
25844 PyObject *swig_obj[1] ;
25845
25846 if (!args) SWIG_fail;
25847 swig_obj[0] = args;
25848 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25849 if (!SWIG_IsOK(res1)) {
25850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25851 }
25852 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25853 {
25854 PyThreadState* __tstate = wxPyBeginAllowThreads();
25855 {
25856 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
25857 result = (wxPageSetupDialogData *) &_result_ref;
25858 }
25859 wxPyEndAllowThreads(__tstate);
25860 if (PyErr_Occurred()) SWIG_fail;
25861 }
25862 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25863 return resultobj;
25864 fail:
25865 return NULL;
25866 }
25867
25868
25869 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25870 PyObject *resultobj = 0;
25871 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25872 wxPageSetupDialogData *result = 0 ;
25873 void *argp1 = 0 ;
25874 int res1 = 0 ;
25875 PyObject *swig_obj[1] ;
25876
25877 if (!args) SWIG_fail;
25878 swig_obj[0] = args;
25879 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25880 if (!SWIG_IsOK(res1)) {
25881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25882 }
25883 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25884 {
25885 PyThreadState* __tstate = wxPyBeginAllowThreads();
25886 {
25887 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
25888 result = (wxPageSetupDialogData *) &_result_ref;
25889 }
25890 wxPyEndAllowThreads(__tstate);
25891 if (PyErr_Occurred()) SWIG_fail;
25892 }
25893 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25894 return resultobj;
25895 fail:
25896 return NULL;
25897 }
25898
25899
25900 SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25901 PyObject *resultobj = 0;
25902 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25903 int 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_wxPageSetupDialog, 0 | 0 );
25911 if (!SWIG_IsOK(res1)) {
25912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25913 }
25914 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25915 {
25916 PyThreadState* __tstate = wxPyBeginAllowThreads();
25917 result = (int)(arg1)->ShowModal();
25918 wxPyEndAllowThreads(__tstate);
25919 if (PyErr_Occurred()) SWIG_fail;
25920 }
25921 resultobj = SWIG_From_int(static_cast< int >(result));
25922 return resultobj;
25923 fail:
25924 return NULL;
25925 }
25926
25927
25928 SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25929 PyObject *obj;
25930 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25931 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
25932 return SWIG_Py_Void();
25933 }
25934
25935 SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25936 return SWIG_Python_InitShadowInstance(args);
25937 }
25938
25939 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
25940 PyObject *resultobj = 0;
25941 wxPrintDialogData *result = 0 ;
25942
25943 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
25944 {
25945 PyThreadState* __tstate = wxPyBeginAllowThreads();
25946 result = (wxPrintDialogData *)new wxPrintDialogData();
25947 wxPyEndAllowThreads(__tstate);
25948 if (PyErr_Occurred()) SWIG_fail;
25949 }
25950 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25951 return resultobj;
25952 fail:
25953 return NULL;
25954 }
25955
25956
25957 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25958 PyObject *resultobj = 0;
25959 wxPrintData *arg1 = 0 ;
25960 wxPrintDialogData *result = 0 ;
25961 void *argp1 = 0 ;
25962 int res1 = 0 ;
25963
25964 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25965 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
25966 if (!SWIG_IsOK(res1)) {
25967 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25968 }
25969 if (!argp1) {
25970 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25971 }
25972 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25973 {
25974 PyThreadState* __tstate = wxPyBeginAllowThreads();
25975 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
25976 wxPyEndAllowThreads(__tstate);
25977 if (PyErr_Occurred()) SWIG_fail;
25978 }
25979 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25980 return resultobj;
25981 fail:
25982 return NULL;
25983 }
25984
25985
25986 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25987 PyObject *resultobj = 0;
25988 wxPrintDialogData *arg1 = 0 ;
25989 wxPrintDialogData *result = 0 ;
25990 void *argp1 = 0 ;
25991 int res1 = 0 ;
25992
25993 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25994 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
25995 if (!SWIG_IsOK(res1)) {
25996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25997 }
25998 if (!argp1) {
25999 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26000 }
26001 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26002 {
26003 PyThreadState* __tstate = wxPyBeginAllowThreads();
26004 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
26005 wxPyEndAllowThreads(__tstate);
26006 if (PyErr_Occurred()) SWIG_fail;
26007 }
26008 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26009 return resultobj;
26010 fail:
26011 return NULL;
26012 }
26013
26014
26015 SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
26016 int argc;
26017 PyObject *argv[2];
26018
26019 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
26020 --argc;
26021 if (argc == 0) {
26022 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
26023 }
26024 if (argc == 1) {
26025 int _v = 0;
26026 {
26027 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
26028 _v = SWIG_CheckState(res);
26029 }
26030 if (!_v) goto check_2;
26031 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
26032 }
26033 check_2:
26034
26035 if (argc == 1) {
26036 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
26037 }
26038
26039 fail:
26040 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
26041 return NULL;
26042 }
26043
26044
26045 SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26046 PyObject *resultobj = 0;
26047 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26048 void *argp1 = 0 ;
26049 int res1 = 0 ;
26050 PyObject *swig_obj[1] ;
26051
26052 if (!args) SWIG_fail;
26053 swig_obj[0] = args;
26054 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
26055 if (!SWIG_IsOK(res1)) {
26056 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26057 }
26058 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26059 {
26060 PyThreadState* __tstate = wxPyBeginAllowThreads();
26061 delete arg1;
26062
26063 wxPyEndAllowThreads(__tstate);
26064 if (PyErr_Occurred()) SWIG_fail;
26065 }
26066 resultobj = SWIG_Py_Void();
26067 return resultobj;
26068 fail:
26069 return NULL;
26070 }
26071
26072
26073 SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26074 PyObject *resultobj = 0;
26075 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26076 int result;
26077 void *argp1 = 0 ;
26078 int res1 = 0 ;
26079 PyObject *swig_obj[1] ;
26080
26081 if (!args) SWIG_fail;
26082 swig_obj[0] = args;
26083 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26084 if (!SWIG_IsOK(res1)) {
26085 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26086 }
26087 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26088 {
26089 PyThreadState* __tstate = wxPyBeginAllowThreads();
26090 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
26091 wxPyEndAllowThreads(__tstate);
26092 if (PyErr_Occurred()) SWIG_fail;
26093 }
26094 resultobj = SWIG_From_int(static_cast< int >(result));
26095 return resultobj;
26096 fail:
26097 return NULL;
26098 }
26099
26100
26101 SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26102 PyObject *resultobj = 0;
26103 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26104 int result;
26105 void *argp1 = 0 ;
26106 int res1 = 0 ;
26107 PyObject *swig_obj[1] ;
26108
26109 if (!args) SWIG_fail;
26110 swig_obj[0] = args;
26111 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26112 if (!SWIG_IsOK(res1)) {
26113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26114 }
26115 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26116 {
26117 PyThreadState* __tstate = wxPyBeginAllowThreads();
26118 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
26119 wxPyEndAllowThreads(__tstate);
26120 if (PyErr_Occurred()) SWIG_fail;
26121 }
26122 resultobj = SWIG_From_int(static_cast< int >(result));
26123 return resultobj;
26124 fail:
26125 return NULL;
26126 }
26127
26128
26129 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26130 PyObject *resultobj = 0;
26131 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26132 int result;
26133 void *argp1 = 0 ;
26134 int res1 = 0 ;
26135 PyObject *swig_obj[1] ;
26136
26137 if (!args) SWIG_fail;
26138 swig_obj[0] = args;
26139 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26140 if (!SWIG_IsOK(res1)) {
26141 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26142 }
26143 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26144 {
26145 PyThreadState* __tstate = wxPyBeginAllowThreads();
26146 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
26147 wxPyEndAllowThreads(__tstate);
26148 if (PyErr_Occurred()) SWIG_fail;
26149 }
26150 resultobj = SWIG_From_int(static_cast< int >(result));
26151 return resultobj;
26152 fail:
26153 return NULL;
26154 }
26155
26156
26157 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26158 PyObject *resultobj = 0;
26159 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26160 int result;
26161 void *argp1 = 0 ;
26162 int res1 = 0 ;
26163 PyObject *swig_obj[1] ;
26164
26165 if (!args) SWIG_fail;
26166 swig_obj[0] = args;
26167 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26168 if (!SWIG_IsOK(res1)) {
26169 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26170 }
26171 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26172 {
26173 PyThreadState* __tstate = wxPyBeginAllowThreads();
26174 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
26175 wxPyEndAllowThreads(__tstate);
26176 if (PyErr_Occurred()) SWIG_fail;
26177 }
26178 resultobj = SWIG_From_int(static_cast< int >(result));
26179 return resultobj;
26180 fail:
26181 return NULL;
26182 }
26183
26184
26185 SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26186 PyObject *resultobj = 0;
26187 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26188 int result;
26189 void *argp1 = 0 ;
26190 int res1 = 0 ;
26191 PyObject *swig_obj[1] ;
26192
26193 if (!args) SWIG_fail;
26194 swig_obj[0] = args;
26195 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26196 if (!SWIG_IsOK(res1)) {
26197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26198 }
26199 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26200 {
26201 PyThreadState* __tstate = wxPyBeginAllowThreads();
26202 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
26203 wxPyEndAllowThreads(__tstate);
26204 if (PyErr_Occurred()) SWIG_fail;
26205 }
26206 resultobj = SWIG_From_int(static_cast< int >(result));
26207 return resultobj;
26208 fail:
26209 return NULL;
26210 }
26211
26212
26213 SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26214 PyObject *resultobj = 0;
26215 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26216 bool result;
26217 void *argp1 = 0 ;
26218 int res1 = 0 ;
26219 PyObject *swig_obj[1] ;
26220
26221 if (!args) SWIG_fail;
26222 swig_obj[0] = args;
26223 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26224 if (!SWIG_IsOK(res1)) {
26225 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26226 }
26227 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26228 {
26229 PyThreadState* __tstate = wxPyBeginAllowThreads();
26230 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
26231 wxPyEndAllowThreads(__tstate);
26232 if (PyErr_Occurred()) SWIG_fail;
26233 }
26234 {
26235 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26236 }
26237 return resultobj;
26238 fail:
26239 return NULL;
26240 }
26241
26242
26243 SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26244 PyObject *resultobj = 0;
26245 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26246 bool result;
26247 void *argp1 = 0 ;
26248 int res1 = 0 ;
26249 PyObject *swig_obj[1] ;
26250
26251 if (!args) SWIG_fail;
26252 swig_obj[0] = args;
26253 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26254 if (!SWIG_IsOK(res1)) {
26255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26256 }
26257 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26258 {
26259 PyThreadState* __tstate = wxPyBeginAllowThreads();
26260 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
26261 wxPyEndAllowThreads(__tstate);
26262 if (PyErr_Occurred()) SWIG_fail;
26263 }
26264 {
26265 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26266 }
26267 return resultobj;
26268 fail:
26269 return NULL;
26270 }
26271
26272
26273 SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26274 PyObject *resultobj = 0;
26275 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26276 bool result;
26277 void *argp1 = 0 ;
26278 int res1 = 0 ;
26279 PyObject *swig_obj[1] ;
26280
26281 if (!args) SWIG_fail;
26282 swig_obj[0] = args;
26283 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26284 if (!SWIG_IsOK(res1)) {
26285 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26286 }
26287 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26288 {
26289 PyThreadState* __tstate = wxPyBeginAllowThreads();
26290 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
26291 wxPyEndAllowThreads(__tstate);
26292 if (PyErr_Occurred()) SWIG_fail;
26293 }
26294 {
26295 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26296 }
26297 return resultobj;
26298 fail:
26299 return NULL;
26300 }
26301
26302
26303 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26304 PyObject *resultobj = 0;
26305 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26306 bool result;
26307 void *argp1 = 0 ;
26308 int res1 = 0 ;
26309 PyObject *swig_obj[1] ;
26310
26311 if (!args) SWIG_fail;
26312 swig_obj[0] = args;
26313 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26314 if (!SWIG_IsOK(res1)) {
26315 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26316 }
26317 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26318 {
26319 PyThreadState* __tstate = wxPyBeginAllowThreads();
26320 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
26321 wxPyEndAllowThreads(__tstate);
26322 if (PyErr_Occurred()) SWIG_fail;
26323 }
26324 {
26325 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26326 }
26327 return resultobj;
26328 fail:
26329 return NULL;
26330 }
26331
26332
26333 SWIGINTERN PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26334 PyObject *resultobj = 0;
26335 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26336 int arg2 ;
26337 void *argp1 = 0 ;
26338 int res1 = 0 ;
26339 int val2 ;
26340 int ecode2 = 0 ;
26341 PyObject * obj0 = 0 ;
26342 PyObject * obj1 = 0 ;
26343 char * kwnames[] = {
26344 (char *) "self",(char *) "v", NULL
26345 };
26346
26347 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
26348 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26349 if (!SWIG_IsOK(res1)) {
26350 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26351 }
26352 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26353 ecode2 = SWIG_AsVal_int(obj1, &val2);
26354 if (!SWIG_IsOK(ecode2)) {
26355 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26356 }
26357 arg2 = static_cast< int >(val2);
26358 {
26359 PyThreadState* __tstate = wxPyBeginAllowThreads();
26360 (arg1)->SetFromPage(arg2);
26361 wxPyEndAllowThreads(__tstate);
26362 if (PyErr_Occurred()) SWIG_fail;
26363 }
26364 resultobj = SWIG_Py_Void();
26365 return resultobj;
26366 fail:
26367 return NULL;
26368 }
26369
26370
26371 SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26372 PyObject *resultobj = 0;
26373 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26374 int arg2 ;
26375 void *argp1 = 0 ;
26376 int res1 = 0 ;
26377 int val2 ;
26378 int ecode2 = 0 ;
26379 PyObject * obj0 = 0 ;
26380 PyObject * obj1 = 0 ;
26381 char * kwnames[] = {
26382 (char *) "self",(char *) "v", NULL
26383 };
26384
26385 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
26386 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26387 if (!SWIG_IsOK(res1)) {
26388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26389 }
26390 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26391 ecode2 = SWIG_AsVal_int(obj1, &val2);
26392 if (!SWIG_IsOK(ecode2)) {
26393 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26394 }
26395 arg2 = static_cast< int >(val2);
26396 {
26397 PyThreadState* __tstate = wxPyBeginAllowThreads();
26398 (arg1)->SetToPage(arg2);
26399 wxPyEndAllowThreads(__tstate);
26400 if (PyErr_Occurred()) SWIG_fail;
26401 }
26402 resultobj = SWIG_Py_Void();
26403 return resultobj;
26404 fail:
26405 return NULL;
26406 }
26407
26408
26409 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26410 PyObject *resultobj = 0;
26411 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26412 int arg2 ;
26413 void *argp1 = 0 ;
26414 int res1 = 0 ;
26415 int val2 ;
26416 int ecode2 = 0 ;
26417 PyObject * obj0 = 0 ;
26418 PyObject * obj1 = 0 ;
26419 char * kwnames[] = {
26420 (char *) "self",(char *) "v", NULL
26421 };
26422
26423 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
26424 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26425 if (!SWIG_IsOK(res1)) {
26426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26427 }
26428 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26429 ecode2 = SWIG_AsVal_int(obj1, &val2);
26430 if (!SWIG_IsOK(ecode2)) {
26431 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26432 }
26433 arg2 = static_cast< int >(val2);
26434 {
26435 PyThreadState* __tstate = wxPyBeginAllowThreads();
26436 (arg1)->SetMinPage(arg2);
26437 wxPyEndAllowThreads(__tstate);
26438 if (PyErr_Occurred()) SWIG_fail;
26439 }
26440 resultobj = SWIG_Py_Void();
26441 return resultobj;
26442 fail:
26443 return NULL;
26444 }
26445
26446
26447 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26448 PyObject *resultobj = 0;
26449 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26450 int arg2 ;
26451 void *argp1 = 0 ;
26452 int res1 = 0 ;
26453 int val2 ;
26454 int ecode2 = 0 ;
26455 PyObject * obj0 = 0 ;
26456 PyObject * obj1 = 0 ;
26457 char * kwnames[] = {
26458 (char *) "self",(char *) "v", NULL
26459 };
26460
26461 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
26462 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26463 if (!SWIG_IsOK(res1)) {
26464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26465 }
26466 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26467 ecode2 = SWIG_AsVal_int(obj1, &val2);
26468 if (!SWIG_IsOK(ecode2)) {
26469 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26470 }
26471 arg2 = static_cast< int >(val2);
26472 {
26473 PyThreadState* __tstate = wxPyBeginAllowThreads();
26474 (arg1)->SetMaxPage(arg2);
26475 wxPyEndAllowThreads(__tstate);
26476 if (PyErr_Occurred()) SWIG_fail;
26477 }
26478 resultobj = SWIG_Py_Void();
26479 return resultobj;
26480 fail:
26481 return NULL;
26482 }
26483
26484
26485 SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26486 PyObject *resultobj = 0;
26487 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26488 int arg2 ;
26489 void *argp1 = 0 ;
26490 int res1 = 0 ;
26491 int val2 ;
26492 int ecode2 = 0 ;
26493 PyObject * obj0 = 0 ;
26494 PyObject * obj1 = 0 ;
26495 char * kwnames[] = {
26496 (char *) "self",(char *) "v", NULL
26497 };
26498
26499 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
26500 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26501 if (!SWIG_IsOK(res1)) {
26502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26503 }
26504 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26505 ecode2 = SWIG_AsVal_int(obj1, &val2);
26506 if (!SWIG_IsOK(ecode2)) {
26507 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26508 }
26509 arg2 = static_cast< int >(val2);
26510 {
26511 PyThreadState* __tstate = wxPyBeginAllowThreads();
26512 (arg1)->SetNoCopies(arg2);
26513 wxPyEndAllowThreads(__tstate);
26514 if (PyErr_Occurred()) SWIG_fail;
26515 }
26516 resultobj = SWIG_Py_Void();
26517 return resultobj;
26518 fail:
26519 return NULL;
26520 }
26521
26522
26523 SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26524 PyObject *resultobj = 0;
26525 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26526 bool arg2 ;
26527 void *argp1 = 0 ;
26528 int res1 = 0 ;
26529 bool val2 ;
26530 int ecode2 = 0 ;
26531 PyObject * obj0 = 0 ;
26532 PyObject * obj1 = 0 ;
26533 char * kwnames[] = {
26534 (char *) "self",(char *) "flag", NULL
26535 };
26536
26537 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
26538 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26539 if (!SWIG_IsOK(res1)) {
26540 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26541 }
26542 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26543 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26544 if (!SWIG_IsOK(ecode2)) {
26545 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26546 }
26547 arg2 = static_cast< bool >(val2);
26548 {
26549 PyThreadState* __tstate = wxPyBeginAllowThreads();
26550 (arg1)->SetAllPages(arg2);
26551 wxPyEndAllowThreads(__tstate);
26552 if (PyErr_Occurred()) SWIG_fail;
26553 }
26554 resultobj = SWIG_Py_Void();
26555 return resultobj;
26556 fail:
26557 return NULL;
26558 }
26559
26560
26561 SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26562 PyObject *resultobj = 0;
26563 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26564 bool arg2 ;
26565 void *argp1 = 0 ;
26566 int res1 = 0 ;
26567 bool val2 ;
26568 int ecode2 = 0 ;
26569 PyObject * obj0 = 0 ;
26570 PyObject * obj1 = 0 ;
26571 char * kwnames[] = {
26572 (char *) "self",(char *) "flag", NULL
26573 };
26574
26575 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26576 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26577 if (!SWIG_IsOK(res1)) {
26578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26579 }
26580 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26581 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26582 if (!SWIG_IsOK(ecode2)) {
26583 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26584 }
26585 arg2 = static_cast< bool >(val2);
26586 {
26587 PyThreadState* __tstate = wxPyBeginAllowThreads();
26588 (arg1)->SetSelection(arg2);
26589 wxPyEndAllowThreads(__tstate);
26590 if (PyErr_Occurred()) SWIG_fail;
26591 }
26592 resultobj = SWIG_Py_Void();
26593 return resultobj;
26594 fail:
26595 return NULL;
26596 }
26597
26598
26599 SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26600 PyObject *resultobj = 0;
26601 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26602 bool arg2 ;
26603 void *argp1 = 0 ;
26604 int res1 = 0 ;
26605 bool val2 ;
26606 int ecode2 = 0 ;
26607 PyObject * obj0 = 0 ;
26608 PyObject * obj1 = 0 ;
26609 char * kwnames[] = {
26610 (char *) "self",(char *) "flag", NULL
26611 };
26612
26613 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
26614 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26615 if (!SWIG_IsOK(res1)) {
26616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26617 }
26618 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26619 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26620 if (!SWIG_IsOK(ecode2)) {
26621 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26622 }
26623 arg2 = static_cast< bool >(val2);
26624 {
26625 PyThreadState* __tstate = wxPyBeginAllowThreads();
26626 (arg1)->SetCollate(arg2);
26627 wxPyEndAllowThreads(__tstate);
26628 if (PyErr_Occurred()) SWIG_fail;
26629 }
26630 resultobj = SWIG_Py_Void();
26631 return resultobj;
26632 fail:
26633 return NULL;
26634 }
26635
26636
26637 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26638 PyObject *resultobj = 0;
26639 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26640 bool arg2 ;
26641 void *argp1 = 0 ;
26642 int res1 = 0 ;
26643 bool val2 ;
26644 int ecode2 = 0 ;
26645 PyObject * obj0 = 0 ;
26646 PyObject * obj1 = 0 ;
26647 char * kwnames[] = {
26648 (char *) "self",(char *) "flag", NULL
26649 };
26650
26651 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26652 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26653 if (!SWIG_IsOK(res1)) {
26654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26655 }
26656 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26657 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26658 if (!SWIG_IsOK(ecode2)) {
26659 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26660 }
26661 arg2 = static_cast< bool >(val2);
26662 {
26663 PyThreadState* __tstate = wxPyBeginAllowThreads();
26664 (arg1)->SetPrintToFile(arg2);
26665 wxPyEndAllowThreads(__tstate);
26666 if (PyErr_Occurred()) SWIG_fail;
26667 }
26668 resultobj = SWIG_Py_Void();
26669 return resultobj;
26670 fail:
26671 return NULL;
26672 }
26673
26674
26675 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26676 PyObject *resultobj = 0;
26677 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26678 bool arg2 ;
26679 void *argp1 = 0 ;
26680 int res1 = 0 ;
26681 bool val2 ;
26682 int ecode2 = 0 ;
26683 PyObject * obj0 = 0 ;
26684 PyObject * obj1 = 0 ;
26685 char * kwnames[] = {
26686 (char *) "self",(char *) "flag", NULL
26687 };
26688
26689 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26690 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26691 if (!SWIG_IsOK(res1)) {
26692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26693 }
26694 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26695 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26696 if (!SWIG_IsOK(ecode2)) {
26697 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26698 }
26699 arg2 = static_cast< bool >(val2);
26700 {
26701 PyThreadState* __tstate = wxPyBeginAllowThreads();
26702 (arg1)->EnablePrintToFile(arg2);
26703 wxPyEndAllowThreads(__tstate);
26704 if (PyErr_Occurred()) SWIG_fail;
26705 }
26706 resultobj = SWIG_Py_Void();
26707 return resultobj;
26708 fail:
26709 return NULL;
26710 }
26711
26712
26713 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26714 PyObject *resultobj = 0;
26715 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26716 bool arg2 ;
26717 void *argp1 = 0 ;
26718 int res1 = 0 ;
26719 bool val2 ;
26720 int ecode2 = 0 ;
26721 PyObject * obj0 = 0 ;
26722 PyObject * obj1 = 0 ;
26723 char * kwnames[] = {
26724 (char *) "self",(char *) "flag", NULL
26725 };
26726
26727 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26728 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26729 if (!SWIG_IsOK(res1)) {
26730 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26731 }
26732 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26733 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26734 if (!SWIG_IsOK(ecode2)) {
26735 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26736 }
26737 arg2 = static_cast< bool >(val2);
26738 {
26739 PyThreadState* __tstate = wxPyBeginAllowThreads();
26740 (arg1)->EnableSelection(arg2);
26741 wxPyEndAllowThreads(__tstate);
26742 if (PyErr_Occurred()) SWIG_fail;
26743 }
26744 resultobj = SWIG_Py_Void();
26745 return resultobj;
26746 fail:
26747 return NULL;
26748 }
26749
26750
26751 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26752 PyObject *resultobj = 0;
26753 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26754 bool arg2 ;
26755 void *argp1 = 0 ;
26756 int res1 = 0 ;
26757 bool val2 ;
26758 int ecode2 = 0 ;
26759 PyObject * obj0 = 0 ;
26760 PyObject * obj1 = 0 ;
26761 char * kwnames[] = {
26762 (char *) "self",(char *) "flag", NULL
26763 };
26764
26765 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
26766 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26767 if (!SWIG_IsOK(res1)) {
26768 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26769 }
26770 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26771 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26772 if (!SWIG_IsOK(ecode2)) {
26773 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26774 }
26775 arg2 = static_cast< bool >(val2);
26776 {
26777 PyThreadState* __tstate = wxPyBeginAllowThreads();
26778 (arg1)->EnablePageNumbers(arg2);
26779 wxPyEndAllowThreads(__tstate);
26780 if (PyErr_Occurred()) SWIG_fail;
26781 }
26782 resultobj = SWIG_Py_Void();
26783 return resultobj;
26784 fail:
26785 return NULL;
26786 }
26787
26788
26789 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26790 PyObject *resultobj = 0;
26791 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26792 bool arg2 ;
26793 void *argp1 = 0 ;
26794 int res1 = 0 ;
26795 bool val2 ;
26796 int ecode2 = 0 ;
26797 PyObject * obj0 = 0 ;
26798 PyObject * obj1 = 0 ;
26799 char * kwnames[] = {
26800 (char *) "self",(char *) "flag", NULL
26801 };
26802
26803 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
26804 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26805 if (!SWIG_IsOK(res1)) {
26806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26807 }
26808 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26809 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26810 if (!SWIG_IsOK(ecode2)) {
26811 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26812 }
26813 arg2 = static_cast< bool >(val2);
26814 {
26815 PyThreadState* __tstate = wxPyBeginAllowThreads();
26816 (arg1)->EnableHelp(arg2);
26817 wxPyEndAllowThreads(__tstate);
26818 if (PyErr_Occurred()) SWIG_fail;
26819 }
26820 resultobj = SWIG_Py_Void();
26821 return resultobj;
26822 fail:
26823 return NULL;
26824 }
26825
26826
26827 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26828 PyObject *resultobj = 0;
26829 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26830 bool result;
26831 void *argp1 = 0 ;
26832 int res1 = 0 ;
26833 PyObject *swig_obj[1] ;
26834
26835 if (!args) SWIG_fail;
26836 swig_obj[0] = args;
26837 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26838 if (!SWIG_IsOK(res1)) {
26839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26840 }
26841 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26842 {
26843 PyThreadState* __tstate = wxPyBeginAllowThreads();
26844 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
26845 wxPyEndAllowThreads(__tstate);
26846 if (PyErr_Occurred()) SWIG_fail;
26847 }
26848 {
26849 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26850 }
26851 return resultobj;
26852 fail:
26853 return NULL;
26854 }
26855
26856
26857 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26858 PyObject *resultobj = 0;
26859 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26860 bool result;
26861 void *argp1 = 0 ;
26862 int res1 = 0 ;
26863 PyObject *swig_obj[1] ;
26864
26865 if (!args) SWIG_fail;
26866 swig_obj[0] = args;
26867 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26868 if (!SWIG_IsOK(res1)) {
26869 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26870 }
26871 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26872 {
26873 PyThreadState* __tstate = wxPyBeginAllowThreads();
26874 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
26875 wxPyEndAllowThreads(__tstate);
26876 if (PyErr_Occurred()) SWIG_fail;
26877 }
26878 {
26879 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26880 }
26881 return resultobj;
26882 fail:
26883 return NULL;
26884 }
26885
26886
26887 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26888 PyObject *resultobj = 0;
26889 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26890 bool result;
26891 void *argp1 = 0 ;
26892 int res1 = 0 ;
26893 PyObject *swig_obj[1] ;
26894
26895 if (!args) SWIG_fail;
26896 swig_obj[0] = args;
26897 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26898 if (!SWIG_IsOK(res1)) {
26899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26900 }
26901 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26902 {
26903 PyThreadState* __tstate = wxPyBeginAllowThreads();
26904 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
26905 wxPyEndAllowThreads(__tstate);
26906 if (PyErr_Occurred()) SWIG_fail;
26907 }
26908 {
26909 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26910 }
26911 return resultobj;
26912 fail:
26913 return NULL;
26914 }
26915
26916
26917 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26918 PyObject *resultobj = 0;
26919 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26920 bool result;
26921 void *argp1 = 0 ;
26922 int res1 = 0 ;
26923 PyObject *swig_obj[1] ;
26924
26925 if (!args) SWIG_fail;
26926 swig_obj[0] = args;
26927 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26928 if (!SWIG_IsOK(res1)) {
26929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26930 }
26931 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26932 {
26933 PyThreadState* __tstate = wxPyBeginAllowThreads();
26934 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
26935 wxPyEndAllowThreads(__tstate);
26936 if (PyErr_Occurred()) SWIG_fail;
26937 }
26938 {
26939 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26940 }
26941 return resultobj;
26942 fail:
26943 return NULL;
26944 }
26945
26946
26947 SWIGINTERN PyObject *_wrap_PrintDialogData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26948 PyObject *resultobj = 0;
26949 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26950 bool result;
26951 void *argp1 = 0 ;
26952 int res1 = 0 ;
26953 PyObject *swig_obj[1] ;
26954
26955 if (!args) SWIG_fail;
26956 swig_obj[0] = args;
26957 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26958 if (!SWIG_IsOK(res1)) {
26959 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_IsOk" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26960 }
26961 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26962 {
26963 PyThreadState* __tstate = wxPyBeginAllowThreads();
26964 result = (bool)((wxPrintDialogData const *)arg1)->IsOk();
26965 wxPyEndAllowThreads(__tstate);
26966 if (PyErr_Occurred()) SWIG_fail;
26967 }
26968 {
26969 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26970 }
26971 return resultobj;
26972 fail:
26973 return NULL;
26974 }
26975
26976
26977 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26978 PyObject *resultobj = 0;
26979 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26980 wxPrintData *result = 0 ;
26981 void *argp1 = 0 ;
26982 int res1 = 0 ;
26983 PyObject *swig_obj[1] ;
26984
26985 if (!args) SWIG_fail;
26986 swig_obj[0] = args;
26987 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26988 if (!SWIG_IsOK(res1)) {
26989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26990 }
26991 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26992 {
26993 PyThreadState* __tstate = wxPyBeginAllowThreads();
26994 {
26995 wxPrintData &_result_ref = (arg1)->GetPrintData();
26996 result = (wxPrintData *) &_result_ref;
26997 }
26998 wxPyEndAllowThreads(__tstate);
26999 if (PyErr_Occurred()) SWIG_fail;
27000 }
27001 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27002 return resultobj;
27003 fail:
27004 return NULL;
27005 }
27006
27007
27008 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27009 PyObject *resultobj = 0;
27010 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27011 wxPrintData *arg2 = 0 ;
27012 void *argp1 = 0 ;
27013 int res1 = 0 ;
27014 void *argp2 = 0 ;
27015 int res2 = 0 ;
27016 PyObject * obj0 = 0 ;
27017 PyObject * obj1 = 0 ;
27018 char * kwnames[] = {
27019 (char *) "self",(char *) "printData", NULL
27020 };
27021
27022 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
27023 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27024 if (!SWIG_IsOK(res1)) {
27025 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27026 }
27027 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27028 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
27029 if (!SWIG_IsOK(res2)) {
27030 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27031 }
27032 if (!argp2) {
27033 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27034 }
27035 arg2 = reinterpret_cast< wxPrintData * >(argp2);
27036 {
27037 PyThreadState* __tstate = wxPyBeginAllowThreads();
27038 (arg1)->SetPrintData((wxPrintData const &)*arg2);
27039 wxPyEndAllowThreads(__tstate);
27040 if (PyErr_Occurred()) SWIG_fail;
27041 }
27042 resultobj = SWIG_Py_Void();
27043 return resultobj;
27044 fail:
27045 return NULL;
27046 }
27047
27048
27049 SWIGINTERN PyObject *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27050 PyObject *obj;
27051 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27052 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
27053 return SWIG_Py_Void();
27054 }
27055
27056 SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27057 return SWIG_Python_InitShadowInstance(args);
27058 }
27059
27060 SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27061 PyObject *resultobj = 0;
27062 wxWindow *arg1 = (wxWindow *) 0 ;
27063 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
27064 wxPrintDialog *result = 0 ;
27065 void *argp1 = 0 ;
27066 int res1 = 0 ;
27067 void *argp2 = 0 ;
27068 int res2 = 0 ;
27069 PyObject * obj0 = 0 ;
27070 PyObject * obj1 = 0 ;
27071 char * kwnames[] = {
27072 (char *) "parent",(char *) "data", NULL
27073 };
27074
27075 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27076 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
27077 if (!SWIG_IsOK(res1)) {
27078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
27079 }
27080 arg1 = reinterpret_cast< wxWindow * >(argp1);
27081 if (obj1) {
27082 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27083 if (!SWIG_IsOK(res2)) {
27084 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
27085 }
27086 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
27087 }
27088 {
27089 if (!wxPyCheckForApp()) SWIG_fail;
27090 PyThreadState* __tstate = wxPyBeginAllowThreads();
27091 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
27092 wxPyEndAllowThreads(__tstate);
27093 if (PyErr_Occurred()) SWIG_fail;
27094 }
27095 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
27096 return resultobj;
27097 fail:
27098 return NULL;
27099 }
27100
27101
27102 SWIGINTERN PyObject *_wrap_delete_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27103 PyObject *resultobj = 0;
27104 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27105 void *argp1 = 0 ;
27106 int res1 = 0 ;
27107 PyObject *swig_obj[1] ;
27108
27109 if (!args) SWIG_fail;
27110 swig_obj[0] = args;
27111 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_DISOWN | 0 );
27112 if (!SWIG_IsOK(res1)) {
27113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27114 }
27115 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27116 {
27117 PyThreadState* __tstate = wxPyBeginAllowThreads();
27118 delete arg1;
27119
27120 wxPyEndAllowThreads(__tstate);
27121 if (PyErr_Occurred()) SWIG_fail;
27122 }
27123 resultobj = SWIG_Py_Void();
27124 return resultobj;
27125 fail:
27126 return NULL;
27127 }
27128
27129
27130 SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27131 PyObject *resultobj = 0;
27132 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27133 int result;
27134 void *argp1 = 0 ;
27135 int res1 = 0 ;
27136 PyObject *swig_obj[1] ;
27137
27138 if (!args) SWIG_fail;
27139 swig_obj[0] = args;
27140 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27141 if (!SWIG_IsOK(res1)) {
27142 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27143 }
27144 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27145 {
27146 PyThreadState* __tstate = wxPyBeginAllowThreads();
27147 result = (int)(arg1)->ShowModal();
27148 wxPyEndAllowThreads(__tstate);
27149 if (PyErr_Occurred()) SWIG_fail;
27150 }
27151 resultobj = SWIG_From_int(static_cast< int >(result));
27152 return resultobj;
27153 fail:
27154 return NULL;
27155 }
27156
27157
27158 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27159 PyObject *resultobj = 0;
27160 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27161 wxPrintDialogData *result = 0 ;
27162 void *argp1 = 0 ;
27163 int res1 = 0 ;
27164 PyObject *swig_obj[1] ;
27165
27166 if (!args) SWIG_fail;
27167 swig_obj[0] = args;
27168 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27169 if (!SWIG_IsOK(res1)) {
27170 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27171 }
27172 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27173 {
27174 PyThreadState* __tstate = wxPyBeginAllowThreads();
27175 {
27176 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
27177 result = (wxPrintDialogData *) &_result_ref;
27178 }
27179 wxPyEndAllowThreads(__tstate);
27180 if (PyErr_Occurred()) SWIG_fail;
27181 }
27182 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27183 return resultobj;
27184 fail:
27185 return NULL;
27186 }
27187
27188
27189 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27190 PyObject *resultobj = 0;
27191 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27192 wxPrintData *result = 0 ;
27193 void *argp1 = 0 ;
27194 int res1 = 0 ;
27195 PyObject *swig_obj[1] ;
27196
27197 if (!args) SWIG_fail;
27198 swig_obj[0] = args;
27199 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27200 if (!SWIG_IsOK(res1)) {
27201 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27202 }
27203 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27204 {
27205 PyThreadState* __tstate = wxPyBeginAllowThreads();
27206 {
27207 wxPrintData &_result_ref = (arg1)->GetPrintData();
27208 result = (wxPrintData *) &_result_ref;
27209 }
27210 wxPyEndAllowThreads(__tstate);
27211 if (PyErr_Occurred()) SWIG_fail;
27212 }
27213 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27214 return resultobj;
27215 fail:
27216 return NULL;
27217 }
27218
27219
27220 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27221 PyObject *resultobj = 0;
27222 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27223 wxDC *result = 0 ;
27224 void *argp1 = 0 ;
27225 int res1 = 0 ;
27226 PyObject *swig_obj[1] ;
27227
27228 if (!args) SWIG_fail;
27229 swig_obj[0] = args;
27230 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27231 if (!SWIG_IsOK(res1)) {
27232 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27233 }
27234 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27235 {
27236 PyThreadState* __tstate = wxPyBeginAllowThreads();
27237 result = (wxDC *)(arg1)->GetPrintDC();
27238 wxPyEndAllowThreads(__tstate);
27239 if (PyErr_Occurred()) SWIG_fail;
27240 }
27241 {
27242 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
27243 }
27244 return resultobj;
27245 fail:
27246 return NULL;
27247 }
27248
27249
27250 SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27251 PyObject *obj;
27252 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27253 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
27254 return SWIG_Py_Void();
27255 }
27256
27257 SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27258 return SWIG_Python_InitShadowInstance(args);
27259 }
27260
27261 SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27262 PyObject *resultobj = 0;
27263 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
27264 wxPrinter *result = 0 ;
27265 void *argp1 = 0 ;
27266 int res1 = 0 ;
27267 PyObject * obj0 = 0 ;
27268 char * kwnames[] = {
27269 (char *) "data", NULL
27270 };
27271
27272 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
27273 if (obj0) {
27274 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27275 if (!SWIG_IsOK(res1)) {
27276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27277 }
27278 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27279 }
27280 {
27281 if (!wxPyCheckForApp()) SWIG_fail;
27282 PyThreadState* __tstate = wxPyBeginAllowThreads();
27283 result = (wxPrinter *)new wxPrinter(arg1);
27284 wxPyEndAllowThreads(__tstate);
27285 if (PyErr_Occurred()) SWIG_fail;
27286 }
27287 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
27288 return resultobj;
27289 fail:
27290 return NULL;
27291 }
27292
27293
27294 SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27295 PyObject *resultobj = 0;
27296 wxPrinter *arg1 = (wxPrinter *) 0 ;
27297 void *argp1 = 0 ;
27298 int res1 = 0 ;
27299 PyObject *swig_obj[1] ;
27300
27301 if (!args) SWIG_fail;
27302 swig_obj[0] = args;
27303 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
27304 if (!SWIG_IsOK(res1)) {
27305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27306 }
27307 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27308 {
27309 PyThreadState* __tstate = wxPyBeginAllowThreads();
27310 delete arg1;
27311
27312 wxPyEndAllowThreads(__tstate);
27313 if (PyErr_Occurred()) SWIG_fail;
27314 }
27315 resultobj = SWIG_Py_Void();
27316 return resultobj;
27317 fail:
27318 return NULL;
27319 }
27320
27321
27322 SWIGINTERN PyObject *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27323 PyObject *resultobj = 0;
27324 wxPrinter *arg1 = (wxPrinter *) 0 ;
27325 wxWindow *arg2 = (wxWindow *) 0 ;
27326 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27327 wxWindow *result = 0 ;
27328 void *argp1 = 0 ;
27329 int res1 = 0 ;
27330 void *argp2 = 0 ;
27331 int res2 = 0 ;
27332 void *argp3 = 0 ;
27333 int res3 = 0 ;
27334 PyObject * obj0 = 0 ;
27335 PyObject * obj1 = 0 ;
27336 PyObject * obj2 = 0 ;
27337 char * kwnames[] = {
27338 (char *) "self",(char *) "parent",(char *) "printout", NULL
27339 };
27340
27341 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27342 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27343 if (!SWIG_IsOK(res1)) {
27344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27345 }
27346 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27347 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27348 if (!SWIG_IsOK(res2)) {
27349 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27350 }
27351 arg2 = reinterpret_cast< wxWindow * >(argp2);
27352 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27353 if (!SWIG_IsOK(res3)) {
27354 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27355 }
27356 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27357 {
27358 PyThreadState* __tstate = wxPyBeginAllowThreads();
27359 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
27360 wxPyEndAllowThreads(__tstate);
27361 if (PyErr_Occurred()) SWIG_fail;
27362 }
27363 {
27364 resultobj = wxPyMake_wxObject(result, 0);
27365 }
27366 return resultobj;
27367 fail:
27368 return NULL;
27369 }
27370
27371
27372 SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27373 PyObject *resultobj = 0;
27374 wxPrinter *arg1 = (wxPrinter *) 0 ;
27375 wxWindow *arg2 = (wxWindow *) 0 ;
27376 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27377 wxString *arg4 = 0 ;
27378 void *argp1 = 0 ;
27379 int res1 = 0 ;
27380 void *argp2 = 0 ;
27381 int res2 = 0 ;
27382 void *argp3 = 0 ;
27383 int res3 = 0 ;
27384 bool temp4 = false ;
27385 PyObject * obj0 = 0 ;
27386 PyObject * obj1 = 0 ;
27387 PyObject * obj2 = 0 ;
27388 PyObject * obj3 = 0 ;
27389 char * kwnames[] = {
27390 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27391 };
27392
27393 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27394 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27395 if (!SWIG_IsOK(res1)) {
27396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27397 }
27398 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27399 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27400 if (!SWIG_IsOK(res2)) {
27401 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27402 }
27403 arg2 = reinterpret_cast< wxWindow * >(argp2);
27404 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27405 if (!SWIG_IsOK(res3)) {
27406 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27407 }
27408 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27409 {
27410 arg4 = wxString_in_helper(obj3);
27411 if (arg4 == NULL) SWIG_fail;
27412 temp4 = true;
27413 }
27414 {
27415 PyThreadState* __tstate = wxPyBeginAllowThreads();
27416 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
27417 wxPyEndAllowThreads(__tstate);
27418 if (PyErr_Occurred()) SWIG_fail;
27419 }
27420 resultobj = SWIG_Py_Void();
27421 {
27422 if (temp4)
27423 delete arg4;
27424 }
27425 return resultobj;
27426 fail:
27427 {
27428 if (temp4)
27429 delete arg4;
27430 }
27431 return NULL;
27432 }
27433
27434
27435 SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27436 PyObject *resultobj = 0;
27437 wxPrinter *arg1 = (wxPrinter *) 0 ;
27438 wxWindow *arg2 = (wxWindow *) 0 ;
27439 bool result;
27440 void *argp1 = 0 ;
27441 int res1 = 0 ;
27442 void *argp2 = 0 ;
27443 int res2 = 0 ;
27444 PyObject * obj0 = 0 ;
27445 PyObject * obj1 = 0 ;
27446 char * kwnames[] = {
27447 (char *) "self",(char *) "parent", NULL
27448 };
27449
27450 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
27451 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27452 if (!SWIG_IsOK(res1)) {
27453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27454 }
27455 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27456 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27457 if (!SWIG_IsOK(res2)) {
27458 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27459 }
27460 arg2 = reinterpret_cast< wxWindow * >(argp2);
27461 {
27462 PyThreadState* __tstate = wxPyBeginAllowThreads();
27463 result = (bool)(arg1)->Setup(arg2);
27464 wxPyEndAllowThreads(__tstate);
27465 if (PyErr_Occurred()) SWIG_fail;
27466 }
27467 {
27468 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27469 }
27470 return resultobj;
27471 fail:
27472 return NULL;
27473 }
27474
27475
27476 SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27477 PyObject *resultobj = 0;
27478 wxPrinter *arg1 = (wxPrinter *) 0 ;
27479 wxWindow *arg2 = (wxWindow *) 0 ;
27480 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27481 bool arg4 = (bool) true ;
27482 bool result;
27483 void *argp1 = 0 ;
27484 int res1 = 0 ;
27485 void *argp2 = 0 ;
27486 int res2 = 0 ;
27487 void *argp3 = 0 ;
27488 int res3 = 0 ;
27489 bool val4 ;
27490 int ecode4 = 0 ;
27491 PyObject * obj0 = 0 ;
27492 PyObject * obj1 = 0 ;
27493 PyObject * obj2 = 0 ;
27494 PyObject * obj3 = 0 ;
27495 char * kwnames[] = {
27496 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27497 };
27498
27499 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27500 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27501 if (!SWIG_IsOK(res1)) {
27502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27503 }
27504 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27505 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27506 if (!SWIG_IsOK(res2)) {
27507 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27508 }
27509 arg2 = reinterpret_cast< wxWindow * >(argp2);
27510 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27511 if (!SWIG_IsOK(res3)) {
27512 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27513 }
27514 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27515 if (obj3) {
27516 ecode4 = SWIG_AsVal_bool(obj3, &val4);
27517 if (!SWIG_IsOK(ecode4)) {
27518 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27519 }
27520 arg4 = static_cast< bool >(val4);
27521 }
27522 {
27523 PyThreadState* __tstate = wxPyBeginAllowThreads();
27524 result = (bool)(arg1)->Print(arg2,arg3,arg4);
27525 wxPyEndAllowThreads(__tstate);
27526 if (PyErr_Occurred()) SWIG_fail;
27527 }
27528 {
27529 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27530 }
27531 return resultobj;
27532 fail:
27533 return NULL;
27534 }
27535
27536
27537 SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27538 PyObject *resultobj = 0;
27539 wxPrinter *arg1 = (wxPrinter *) 0 ;
27540 wxWindow *arg2 = (wxWindow *) 0 ;
27541 wxDC *result = 0 ;
27542 void *argp1 = 0 ;
27543 int res1 = 0 ;
27544 void *argp2 = 0 ;
27545 int res2 = 0 ;
27546 PyObject * obj0 = 0 ;
27547 PyObject * obj1 = 0 ;
27548 char * kwnames[] = {
27549 (char *) "self",(char *) "parent", NULL
27550 };
27551
27552 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27553 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27554 if (!SWIG_IsOK(res1)) {
27555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27556 }
27557 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27558 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27559 if (!SWIG_IsOK(res2)) {
27560 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27561 }
27562 arg2 = reinterpret_cast< wxWindow * >(argp2);
27563 {
27564 PyThreadState* __tstate = wxPyBeginAllowThreads();
27565 result = (wxDC *)(arg1)->PrintDialog(arg2);
27566 wxPyEndAllowThreads(__tstate);
27567 if (PyErr_Occurred()) SWIG_fail;
27568 }
27569 {
27570 resultobj = wxPyMake_wxObject(result, (bool)0);
27571 }
27572 return resultobj;
27573 fail:
27574 return NULL;
27575 }
27576
27577
27578 SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27579 PyObject *resultobj = 0;
27580 wxPrinter *arg1 = (wxPrinter *) 0 ;
27581 wxPrintDialogData *result = 0 ;
27582 void *argp1 = 0 ;
27583 int res1 = 0 ;
27584 PyObject *swig_obj[1] ;
27585
27586 if (!args) SWIG_fail;
27587 swig_obj[0] = args;
27588 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27589 if (!SWIG_IsOK(res1)) {
27590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27591 }
27592 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27593 {
27594 PyThreadState* __tstate = wxPyBeginAllowThreads();
27595 {
27596 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
27597 result = (wxPrintDialogData *) &_result_ref;
27598 }
27599 wxPyEndAllowThreads(__tstate);
27600 if (PyErr_Occurred()) SWIG_fail;
27601 }
27602 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27603 return resultobj;
27604 fail:
27605 return NULL;
27606 }
27607
27608
27609 SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27610 PyObject *resultobj = 0;
27611 wxPrinter *arg1 = (wxPrinter *) 0 ;
27612 bool result;
27613 void *argp1 = 0 ;
27614 int res1 = 0 ;
27615 PyObject *swig_obj[1] ;
27616
27617 if (!args) SWIG_fail;
27618 swig_obj[0] = args;
27619 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27620 if (!SWIG_IsOK(res1)) {
27621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27622 }
27623 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27624 {
27625 PyThreadState* __tstate = wxPyBeginAllowThreads();
27626 result = (bool)(arg1)->GetAbort();
27627 wxPyEndAllowThreads(__tstate);
27628 if (PyErr_Occurred()) SWIG_fail;
27629 }
27630 {
27631 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27632 }
27633 return resultobj;
27634 fail:
27635 return NULL;
27636 }
27637
27638
27639 SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27640 PyObject *resultobj = 0;
27641 wxPrinterError result;
27642
27643 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
27644 {
27645 PyThreadState* __tstate = wxPyBeginAllowThreads();
27646 result = (wxPrinterError)wxPrinter::GetLastError();
27647 wxPyEndAllowThreads(__tstate);
27648 if (PyErr_Occurred()) SWIG_fail;
27649 }
27650 resultobj = SWIG_From_int(static_cast< int >(result));
27651 return resultobj;
27652 fail:
27653 return NULL;
27654 }
27655
27656
27657 SWIGINTERN PyObject *Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27658 PyObject *obj;
27659 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27660 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter, SWIG_NewClientData(obj));
27661 return SWIG_Py_Void();
27662 }
27663
27664 SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27665 return SWIG_Python_InitShadowInstance(args);
27666 }
27667
27668 SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27669 PyObject *resultobj = 0;
27670 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
27671 wxString *arg1 = (wxString *) &arg1_defvalue ;
27672 wxPyPrintout *result = 0 ;
27673 bool temp1 = false ;
27674 PyObject * obj0 = 0 ;
27675 char * kwnames[] = {
27676 (char *) "title", NULL
27677 };
27678
27679 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
27680 if (obj0) {
27681 {
27682 arg1 = wxString_in_helper(obj0);
27683 if (arg1 == NULL) SWIG_fail;
27684 temp1 = true;
27685 }
27686 }
27687 {
27688 if (!wxPyCheckForApp()) SWIG_fail;
27689 PyThreadState* __tstate = wxPyBeginAllowThreads();
27690 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
27691 wxPyEndAllowThreads(__tstate);
27692 if (PyErr_Occurred()) SWIG_fail;
27693 }
27694 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
27695 {
27696 if (temp1)
27697 delete arg1;
27698 }
27699 return resultobj;
27700 fail:
27701 {
27702 if (temp1)
27703 delete arg1;
27704 }
27705 return NULL;
27706 }
27707
27708
27709 SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27710 PyObject *resultobj = 0;
27711 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27712 void *argp1 = 0 ;
27713 int res1 = 0 ;
27714 PyObject *swig_obj[1] ;
27715
27716 if (!args) SWIG_fail;
27717 swig_obj[0] = args;
27718 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
27719 if (!SWIG_IsOK(res1)) {
27720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27721 }
27722 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27723 {
27724 PyThreadState* __tstate = wxPyBeginAllowThreads();
27725 delete arg1;
27726
27727 wxPyEndAllowThreads(__tstate);
27728 if (PyErr_Occurred()) SWIG_fail;
27729 }
27730 resultobj = SWIG_Py_Void();
27731 return resultobj;
27732 fail:
27733 return NULL;
27734 }
27735
27736
27737 SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27738 PyObject *resultobj = 0;
27739 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27740 PyObject *arg2 = (PyObject *) 0 ;
27741 PyObject *arg3 = (PyObject *) 0 ;
27742 void *argp1 = 0 ;
27743 int res1 = 0 ;
27744 PyObject * obj0 = 0 ;
27745 PyObject * obj1 = 0 ;
27746 PyObject * obj2 = 0 ;
27747 char * kwnames[] = {
27748 (char *) "self",(char *) "self",(char *) "_class", NULL
27749 };
27750
27751 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27752 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27753 if (!SWIG_IsOK(res1)) {
27754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27755 }
27756 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27757 arg2 = obj1;
27758 arg3 = obj2;
27759 {
27760 PyThreadState* __tstate = wxPyBeginAllowThreads();
27761 (arg1)->_setCallbackInfo(arg2,arg3);
27762 wxPyEndAllowThreads(__tstate);
27763 if (PyErr_Occurred()) SWIG_fail;
27764 }
27765 resultobj = SWIG_Py_Void();
27766 return resultobj;
27767 fail:
27768 return NULL;
27769 }
27770
27771
27772 SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27773 PyObject *resultobj = 0;
27774 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27775 wxString result;
27776 void *argp1 = 0 ;
27777 int res1 = 0 ;
27778 PyObject *swig_obj[1] ;
27779
27780 if (!args) SWIG_fail;
27781 swig_obj[0] = args;
27782 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27783 if (!SWIG_IsOK(res1)) {
27784 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27785 }
27786 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27787 {
27788 PyThreadState* __tstate = wxPyBeginAllowThreads();
27789 result = ((wxPyPrintout const *)arg1)->GetTitle();
27790 wxPyEndAllowThreads(__tstate);
27791 if (PyErr_Occurred()) SWIG_fail;
27792 }
27793 {
27794 #if wxUSE_UNICODE
27795 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27796 #else
27797 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27798 #endif
27799 }
27800 return resultobj;
27801 fail:
27802 return NULL;
27803 }
27804
27805
27806 SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27807 PyObject *resultobj = 0;
27808 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27809 wxDC *result = 0 ;
27810 void *argp1 = 0 ;
27811 int res1 = 0 ;
27812 PyObject *swig_obj[1] ;
27813
27814 if (!args) SWIG_fail;
27815 swig_obj[0] = args;
27816 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27817 if (!SWIG_IsOK(res1)) {
27818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27819 }
27820 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27821 {
27822 PyThreadState* __tstate = wxPyBeginAllowThreads();
27823 result = (wxDC *)(arg1)->GetDC();
27824 wxPyEndAllowThreads(__tstate);
27825 if (PyErr_Occurred()) SWIG_fail;
27826 }
27827 {
27828 resultobj = wxPyMake_wxObject(result, (bool)0);
27829 }
27830 return resultobj;
27831 fail:
27832 return NULL;
27833 }
27834
27835
27836 SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27837 PyObject *resultobj = 0;
27838 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27839 wxDC *arg2 = (wxDC *) 0 ;
27840 void *argp1 = 0 ;
27841 int res1 = 0 ;
27842 void *argp2 = 0 ;
27843 int res2 = 0 ;
27844 PyObject * obj0 = 0 ;
27845 PyObject * obj1 = 0 ;
27846 char * kwnames[] = {
27847 (char *) "self",(char *) "dc", NULL
27848 };
27849
27850 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
27851 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27852 if (!SWIG_IsOK(res1)) {
27853 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27854 }
27855 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27856 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
27857 if (!SWIG_IsOK(res2)) {
27858 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27859 }
27860 arg2 = reinterpret_cast< wxDC * >(argp2);
27861 {
27862 PyThreadState* __tstate = wxPyBeginAllowThreads();
27863 (arg1)->SetDC(arg2);
27864 wxPyEndAllowThreads(__tstate);
27865 if (PyErr_Occurred()) SWIG_fail;
27866 }
27867 resultobj = SWIG_Py_Void();
27868 return resultobj;
27869 fail:
27870 return NULL;
27871 }
27872
27873
27874 SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27875 PyObject *resultobj = 0;
27876 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27877 wxSize *arg2 = 0 ;
27878 void *argp1 = 0 ;
27879 int res1 = 0 ;
27880 wxSize temp2 ;
27881 PyObject * obj0 = 0 ;
27882 PyObject * obj1 = 0 ;
27883 char * kwnames[] = {
27884 (char *) "self",(char *) "imageSize", NULL
27885 };
27886
27887 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_FitThisSizeToPaper",kwnames,&obj0,&obj1)) SWIG_fail;
27888 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27889 if (!SWIG_IsOK(res1)) {
27890 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27891 }
27892 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27893 {
27894 arg2 = &temp2;
27895 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
27896 }
27897 {
27898 PyThreadState* __tstate = wxPyBeginAllowThreads();
27899 (arg1)->FitThisSizeToPaper((wxSize const &)*arg2);
27900 wxPyEndAllowThreads(__tstate);
27901 if (PyErr_Occurred()) SWIG_fail;
27902 }
27903 resultobj = SWIG_Py_Void();
27904 return resultobj;
27905 fail:
27906 return NULL;
27907 }
27908
27909
27910 SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27911 PyObject *resultobj = 0;
27912 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27913 wxSize *arg2 = 0 ;
27914 void *argp1 = 0 ;
27915 int res1 = 0 ;
27916 wxSize temp2 ;
27917 PyObject * obj0 = 0 ;
27918 PyObject * obj1 = 0 ;
27919 char * kwnames[] = {
27920 (char *) "self",(char *) "imageSize", NULL
27921 };
27922
27923 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_FitThisSizeToPage",kwnames,&obj0,&obj1)) SWIG_fail;
27924 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27925 if (!SWIG_IsOK(res1)) {
27926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27927 }
27928 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27929 {
27930 arg2 = &temp2;
27931 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
27932 }
27933 {
27934 PyThreadState* __tstate = wxPyBeginAllowThreads();
27935 (arg1)->FitThisSizeToPage((wxSize const &)*arg2);
27936 wxPyEndAllowThreads(__tstate);
27937 if (PyErr_Occurred()) SWIG_fail;
27938 }
27939 resultobj = SWIG_Py_Void();
27940 return resultobj;
27941 fail:
27942 return NULL;
27943 }
27944
27945
27946 SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPageMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27947 PyObject *resultobj = 0;
27948 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27949 wxSize *arg2 = 0 ;
27950 wxPageSetupDialogData *arg3 = 0 ;
27951 void *argp1 = 0 ;
27952 int res1 = 0 ;
27953 wxSize temp2 ;
27954 void *argp3 = 0 ;
27955 int res3 = 0 ;
27956 PyObject * obj0 = 0 ;
27957 PyObject * obj1 = 0 ;
27958 PyObject * obj2 = 0 ;
27959 char * kwnames[] = {
27960 (char *) "self",(char *) "imageSize",(char *) "pageSetupData", NULL
27961 };
27962
27963 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_FitThisSizeToPageMargins",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27964 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27965 if (!SWIG_IsOK(res1)) {
27966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27967 }
27968 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27969 {
27970 arg2 = &temp2;
27971 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
27972 }
27973 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
27974 if (!SWIG_IsOK(res3)) {
27975 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
27976 }
27977 if (!argp3) {
27978 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
27979 }
27980 arg3 = reinterpret_cast< wxPageSetupDialogData * >(argp3);
27981 {
27982 PyThreadState* __tstate = wxPyBeginAllowThreads();
27983 (arg1)->FitThisSizeToPageMargins((wxSize const &)*arg2,(wxPageSetupDialogData const &)*arg3);
27984 wxPyEndAllowThreads(__tstate);
27985 if (PyErr_Occurred()) SWIG_fail;
27986 }
27987 resultobj = SWIG_Py_Void();
27988 return resultobj;
27989 fail:
27990 return NULL;
27991 }
27992
27993
27994 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27995 PyObject *resultobj = 0;
27996 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27997 void *argp1 = 0 ;
27998 int res1 = 0 ;
27999 PyObject *swig_obj[1] ;
28000
28001 if (!args) SWIG_fail;
28002 swig_obj[0] = args;
28003 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28004 if (!SWIG_IsOK(res1)) {
28005 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28006 }
28007 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28008 {
28009 PyThreadState* __tstate = wxPyBeginAllowThreads();
28010 (arg1)->MapScreenSizeToPaper();
28011 wxPyEndAllowThreads(__tstate);
28012 if (PyErr_Occurred()) SWIG_fail;
28013 }
28014 resultobj = SWIG_Py_Void();
28015 return resultobj;
28016 fail:
28017 return NULL;
28018 }
28019
28020
28021 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28022 PyObject *resultobj = 0;
28023 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28024 void *argp1 = 0 ;
28025 int res1 = 0 ;
28026 PyObject *swig_obj[1] ;
28027
28028 if (!args) SWIG_fail;
28029 swig_obj[0] = args;
28030 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28031 if (!SWIG_IsOK(res1)) {
28032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28033 }
28034 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28035 {
28036 PyThreadState* __tstate = wxPyBeginAllowThreads();
28037 (arg1)->MapScreenSizeToPage();
28038 wxPyEndAllowThreads(__tstate);
28039 if (PyErr_Occurred()) SWIG_fail;
28040 }
28041 resultobj = SWIG_Py_Void();
28042 return resultobj;
28043 fail:
28044 return NULL;
28045 }
28046
28047
28048 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPageMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28049 PyObject *resultobj = 0;
28050 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28051 wxPageSetupDialogData *arg2 = 0 ;
28052 void *argp1 = 0 ;
28053 int res1 = 0 ;
28054 void *argp2 = 0 ;
28055 int res2 = 0 ;
28056 PyObject * obj0 = 0 ;
28057 PyObject * obj1 = 0 ;
28058 char * kwnames[] = {
28059 (char *) "self",(char *) "pageSetupData", NULL
28060 };
28061
28062 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_MapScreenSizeToPageMargins",kwnames,&obj0,&obj1)) SWIG_fail;
28063 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28064 if (!SWIG_IsOK(res1)) {
28065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28066 }
28067 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28068 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
28069 if (!SWIG_IsOK(res2)) {
28070 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28071 }
28072 if (!argp2) {
28073 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28074 }
28075 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
28076 {
28077 PyThreadState* __tstate = wxPyBeginAllowThreads();
28078 (arg1)->MapScreenSizeToPageMargins((wxPageSetupDialogData const &)*arg2);
28079 wxPyEndAllowThreads(__tstate);
28080 if (PyErr_Occurred()) SWIG_fail;
28081 }
28082 resultobj = SWIG_Py_Void();
28083 return resultobj;
28084 fail:
28085 return NULL;
28086 }
28087
28088
28089 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToDevice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28090 PyObject *resultobj = 0;
28091 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28092 void *argp1 = 0 ;
28093 int res1 = 0 ;
28094 PyObject *swig_obj[1] ;
28095
28096 if (!args) SWIG_fail;
28097 swig_obj[0] = args;
28098 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28099 if (!SWIG_IsOK(res1)) {
28100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToDevice" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28101 }
28102 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28103 {
28104 PyThreadState* __tstate = wxPyBeginAllowThreads();
28105 (arg1)->MapScreenSizeToDevice();
28106 wxPyEndAllowThreads(__tstate);
28107 if (PyErr_Occurred()) SWIG_fail;
28108 }
28109 resultobj = SWIG_Py_Void();
28110 return resultobj;
28111 fail:
28112 return NULL;
28113 }
28114
28115
28116 SWIGINTERN PyObject *_wrap_Printout_GetLogicalPaperRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28117 PyObject *resultobj = 0;
28118 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28119 wxRect result;
28120 void *argp1 = 0 ;
28121 int res1 = 0 ;
28122 PyObject *swig_obj[1] ;
28123
28124 if (!args) SWIG_fail;
28125 swig_obj[0] = args;
28126 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28127 if (!SWIG_IsOK(res1)) {
28128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPaperRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28129 }
28130 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28131 {
28132 PyThreadState* __tstate = wxPyBeginAllowThreads();
28133 result = ((wxPyPrintout const *)arg1)->GetLogicalPaperRect();
28134 wxPyEndAllowThreads(__tstate);
28135 if (PyErr_Occurred()) SWIG_fail;
28136 }
28137 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28138 return resultobj;
28139 fail:
28140 return NULL;
28141 }
28142
28143
28144 SWIGINTERN PyObject *_wrap_Printout_GetLogicalPageRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28145 PyObject *resultobj = 0;
28146 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28147 wxRect result;
28148 void *argp1 = 0 ;
28149 int res1 = 0 ;
28150 PyObject *swig_obj[1] ;
28151
28152 if (!args) SWIG_fail;
28153 swig_obj[0] = args;
28154 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28155 if (!SWIG_IsOK(res1)) {
28156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPageRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28157 }
28158 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28159 {
28160 PyThreadState* __tstate = wxPyBeginAllowThreads();
28161 result = ((wxPyPrintout const *)arg1)->GetLogicalPageRect();
28162 wxPyEndAllowThreads(__tstate);
28163 if (PyErr_Occurred()) SWIG_fail;
28164 }
28165 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28166 return resultobj;
28167 fail:
28168 return NULL;
28169 }
28170
28171
28172 SWIGINTERN PyObject *_wrap_Printout_GetLogicalPageMarginsRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28173 PyObject *resultobj = 0;
28174 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28175 wxPageSetupDialogData *arg2 = 0 ;
28176 wxRect result;
28177 void *argp1 = 0 ;
28178 int res1 = 0 ;
28179 void *argp2 = 0 ;
28180 int res2 = 0 ;
28181 PyObject * obj0 = 0 ;
28182 PyObject * obj1 = 0 ;
28183 char * kwnames[] = {
28184 (char *) "self",(char *) "pageSetupData", NULL
28185 };
28186
28187 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_GetLogicalPageMarginsRect",kwnames,&obj0,&obj1)) SWIG_fail;
28188 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28189 if (!SWIG_IsOK(res1)) {
28190 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28191 }
28192 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28193 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
28194 if (!SWIG_IsOK(res2)) {
28195 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28196 }
28197 if (!argp2) {
28198 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28199 }
28200 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
28201 {
28202 PyThreadState* __tstate = wxPyBeginAllowThreads();
28203 result = ((wxPyPrintout const *)arg1)->GetLogicalPageMarginsRect((wxPageSetupDialogData const &)*arg2);
28204 wxPyEndAllowThreads(__tstate);
28205 if (PyErr_Occurred()) SWIG_fail;
28206 }
28207 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28208 return resultobj;
28209 fail:
28210 return NULL;
28211 }
28212
28213
28214 SWIGINTERN PyObject *_wrap_Printout_SetLogicalOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28215 PyObject *resultobj = 0;
28216 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28217 int arg2 ;
28218 int arg3 ;
28219 void *argp1 = 0 ;
28220 int res1 = 0 ;
28221 int val2 ;
28222 int ecode2 = 0 ;
28223 int val3 ;
28224 int ecode3 = 0 ;
28225 PyObject * obj0 = 0 ;
28226 PyObject * obj1 = 0 ;
28227 PyObject * obj2 = 0 ;
28228 char * kwnames[] = {
28229 (char *) "self",(char *) "x",(char *) "y", NULL
28230 };
28231
28232 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetLogicalOrigin",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28233 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28234 if (!SWIG_IsOK(res1)) {
28235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28236 }
28237 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28238 ecode2 = SWIG_AsVal_int(obj1, &val2);
28239 if (!SWIG_IsOK(ecode2)) {
28240 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28241 }
28242 arg2 = static_cast< int >(val2);
28243 ecode3 = SWIG_AsVal_int(obj2, &val3);
28244 if (!SWIG_IsOK(ecode3)) {
28245 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28246 }
28247 arg3 = static_cast< int >(val3);
28248 {
28249 PyThreadState* __tstate = wxPyBeginAllowThreads();
28250 (arg1)->SetLogicalOrigin(arg2,arg3);
28251 wxPyEndAllowThreads(__tstate);
28252 if (PyErr_Occurred()) SWIG_fail;
28253 }
28254 resultobj = SWIG_Py_Void();
28255 return resultobj;
28256 fail:
28257 return NULL;
28258 }
28259
28260
28261 SWIGINTERN PyObject *_wrap_Printout_OffsetLogicalOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28262 PyObject *resultobj = 0;
28263 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28264 int arg2 ;
28265 int arg3 ;
28266 void *argp1 = 0 ;
28267 int res1 = 0 ;
28268 int val2 ;
28269 int ecode2 = 0 ;
28270 int val3 ;
28271 int ecode3 = 0 ;
28272 PyObject * obj0 = 0 ;
28273 PyObject * obj1 = 0 ;
28274 PyObject * obj2 = 0 ;
28275 char * kwnames[] = {
28276 (char *) "self",(char *) "xoff",(char *) "yoff", NULL
28277 };
28278
28279 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OffsetLogicalOrigin",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28280 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28281 if (!SWIG_IsOK(res1)) {
28282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28283 }
28284 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28285 ecode2 = SWIG_AsVal_int(obj1, &val2);
28286 if (!SWIG_IsOK(ecode2)) {
28287 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28288 }
28289 arg2 = static_cast< int >(val2);
28290 ecode3 = SWIG_AsVal_int(obj2, &val3);
28291 if (!SWIG_IsOK(ecode3)) {
28292 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28293 }
28294 arg3 = static_cast< int >(val3);
28295 {
28296 PyThreadState* __tstate = wxPyBeginAllowThreads();
28297 (arg1)->OffsetLogicalOrigin(arg2,arg3);
28298 wxPyEndAllowThreads(__tstate);
28299 if (PyErr_Occurred()) SWIG_fail;
28300 }
28301 resultobj = SWIG_Py_Void();
28302 return resultobj;
28303 fail:
28304 return NULL;
28305 }
28306
28307
28308 SWIGINTERN PyObject *_wrap_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28309 PyObject *resultobj = 0;
28310 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28311 int arg2 ;
28312 int arg3 ;
28313 void *argp1 = 0 ;
28314 int res1 = 0 ;
28315 int val2 ;
28316 int ecode2 = 0 ;
28317 int val3 ;
28318 int ecode3 = 0 ;
28319 PyObject * obj0 = 0 ;
28320 PyObject * obj1 = 0 ;
28321 PyObject * obj2 = 0 ;
28322 char * kwnames[] = {
28323 (char *) "self",(char *) "w",(char *) "h", NULL
28324 };
28325
28326 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28327 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28328 if (!SWIG_IsOK(res1)) {
28329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28330 }
28331 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28332 ecode2 = SWIG_AsVal_int(obj1, &val2);
28333 if (!SWIG_IsOK(ecode2)) {
28334 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
28335 }
28336 arg2 = static_cast< int >(val2);
28337 ecode3 = SWIG_AsVal_int(obj2, &val3);
28338 if (!SWIG_IsOK(ecode3)) {
28339 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
28340 }
28341 arg3 = static_cast< int >(val3);
28342 {
28343 PyThreadState* __tstate = wxPyBeginAllowThreads();
28344 (arg1)->SetPageSizePixels(arg2,arg3);
28345 wxPyEndAllowThreads(__tstate);
28346 if (PyErr_Occurred()) SWIG_fail;
28347 }
28348 resultobj = SWIG_Py_Void();
28349 return resultobj;
28350 fail:
28351 return NULL;
28352 }
28353
28354
28355 SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28356 PyObject *resultobj = 0;
28357 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28358 int *arg2 = (int *) 0 ;
28359 int *arg3 = (int *) 0 ;
28360 void *argp1 = 0 ;
28361 int res1 = 0 ;
28362 int temp2 ;
28363 int res2 = SWIG_TMPOBJ ;
28364 int temp3 ;
28365 int res3 = SWIG_TMPOBJ ;
28366 PyObject *swig_obj[1] ;
28367
28368 arg2 = &temp2;
28369 arg3 = &temp3;
28370 if (!args) SWIG_fail;
28371 swig_obj[0] = args;
28372 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28373 if (!SWIG_IsOK(res1)) {
28374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28375 }
28376 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28377 {
28378 PyThreadState* __tstate = wxPyBeginAllowThreads();
28379 (arg1)->GetPageSizePixels(arg2,arg3);
28380 wxPyEndAllowThreads(__tstate);
28381 if (PyErr_Occurred()) SWIG_fail;
28382 }
28383 resultobj = SWIG_Py_Void();
28384 if (SWIG_IsTmpObj(res2)) {
28385 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28386 } else {
28387 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28388 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28389 }
28390 if (SWIG_IsTmpObj(res3)) {
28391 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28392 } else {
28393 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28394 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28395 }
28396 return resultobj;
28397 fail:
28398 return NULL;
28399 }
28400
28401
28402 SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28403 PyObject *resultobj = 0;
28404 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28405 int arg2 ;
28406 int arg3 ;
28407 void *argp1 = 0 ;
28408 int res1 = 0 ;
28409 int val2 ;
28410 int ecode2 = 0 ;
28411 int val3 ;
28412 int ecode3 = 0 ;
28413 PyObject * obj0 = 0 ;
28414 PyObject * obj1 = 0 ;
28415 PyObject * obj2 = 0 ;
28416 char * kwnames[] = {
28417 (char *) "self",(char *) "w",(char *) "h", NULL
28418 };
28419
28420 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28421 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28422 if (!SWIG_IsOK(res1)) {
28423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28424 }
28425 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28426 ecode2 = SWIG_AsVal_int(obj1, &val2);
28427 if (!SWIG_IsOK(ecode2)) {
28428 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
28429 }
28430 arg2 = static_cast< int >(val2);
28431 ecode3 = SWIG_AsVal_int(obj2, &val3);
28432 if (!SWIG_IsOK(ecode3)) {
28433 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
28434 }
28435 arg3 = static_cast< int >(val3);
28436 {
28437 PyThreadState* __tstate = wxPyBeginAllowThreads();
28438 (arg1)->SetPageSizeMM(arg2,arg3);
28439 wxPyEndAllowThreads(__tstate);
28440 if (PyErr_Occurred()) SWIG_fail;
28441 }
28442 resultobj = SWIG_Py_Void();
28443 return resultobj;
28444 fail:
28445 return NULL;
28446 }
28447
28448
28449 SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28450 PyObject *resultobj = 0;
28451 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28452 int *arg2 = (int *) 0 ;
28453 int *arg3 = (int *) 0 ;
28454 void *argp1 = 0 ;
28455 int res1 = 0 ;
28456 int temp2 ;
28457 int res2 = SWIG_TMPOBJ ;
28458 int temp3 ;
28459 int res3 = SWIG_TMPOBJ ;
28460 PyObject *swig_obj[1] ;
28461
28462 arg2 = &temp2;
28463 arg3 = &temp3;
28464 if (!args) SWIG_fail;
28465 swig_obj[0] = args;
28466 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28467 if (!SWIG_IsOK(res1)) {
28468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28469 }
28470 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28471 {
28472 PyThreadState* __tstate = wxPyBeginAllowThreads();
28473 (arg1)->GetPageSizeMM(arg2,arg3);
28474 wxPyEndAllowThreads(__tstate);
28475 if (PyErr_Occurred()) SWIG_fail;
28476 }
28477 resultobj = SWIG_Py_Void();
28478 if (SWIG_IsTmpObj(res2)) {
28479 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28480 } else {
28481 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28482 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28483 }
28484 if (SWIG_IsTmpObj(res3)) {
28485 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28486 } else {
28487 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28488 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28489 }
28490 return resultobj;
28491 fail:
28492 return NULL;
28493 }
28494
28495
28496 SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28497 PyObject *resultobj = 0;
28498 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28499 int arg2 ;
28500 int arg3 ;
28501 void *argp1 = 0 ;
28502 int res1 = 0 ;
28503 int val2 ;
28504 int ecode2 = 0 ;
28505 int val3 ;
28506 int ecode3 = 0 ;
28507 PyObject * obj0 = 0 ;
28508 PyObject * obj1 = 0 ;
28509 PyObject * obj2 = 0 ;
28510 char * kwnames[] = {
28511 (char *) "self",(char *) "x",(char *) "y", NULL
28512 };
28513
28514 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28515 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28516 if (!SWIG_IsOK(res1)) {
28517 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28518 }
28519 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28520 ecode2 = SWIG_AsVal_int(obj1, &val2);
28521 if (!SWIG_IsOK(ecode2)) {
28522 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
28523 }
28524 arg2 = static_cast< int >(val2);
28525 ecode3 = SWIG_AsVal_int(obj2, &val3);
28526 if (!SWIG_IsOK(ecode3)) {
28527 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
28528 }
28529 arg3 = static_cast< int >(val3);
28530 {
28531 PyThreadState* __tstate = wxPyBeginAllowThreads();
28532 (arg1)->SetPPIScreen(arg2,arg3);
28533 wxPyEndAllowThreads(__tstate);
28534 if (PyErr_Occurred()) SWIG_fail;
28535 }
28536 resultobj = SWIG_Py_Void();
28537 return resultobj;
28538 fail:
28539 return NULL;
28540 }
28541
28542
28543 SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28544 PyObject *resultobj = 0;
28545 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28546 int *arg2 = (int *) 0 ;
28547 int *arg3 = (int *) 0 ;
28548 void *argp1 = 0 ;
28549 int res1 = 0 ;
28550 int temp2 ;
28551 int res2 = SWIG_TMPOBJ ;
28552 int temp3 ;
28553 int res3 = SWIG_TMPOBJ ;
28554 PyObject *swig_obj[1] ;
28555
28556 arg2 = &temp2;
28557 arg3 = &temp3;
28558 if (!args) SWIG_fail;
28559 swig_obj[0] = args;
28560 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28561 if (!SWIG_IsOK(res1)) {
28562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28563 }
28564 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28565 {
28566 PyThreadState* __tstate = wxPyBeginAllowThreads();
28567 (arg1)->GetPPIScreen(arg2,arg3);
28568 wxPyEndAllowThreads(__tstate);
28569 if (PyErr_Occurred()) SWIG_fail;
28570 }
28571 resultobj = SWIG_Py_Void();
28572 if (SWIG_IsTmpObj(res2)) {
28573 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28574 } else {
28575 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28576 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28577 }
28578 if (SWIG_IsTmpObj(res3)) {
28579 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28580 } else {
28581 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28582 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28583 }
28584 return resultobj;
28585 fail:
28586 return NULL;
28587 }
28588
28589
28590 SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28591 PyObject *resultobj = 0;
28592 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28593 int arg2 ;
28594 int arg3 ;
28595 void *argp1 = 0 ;
28596 int res1 = 0 ;
28597 int val2 ;
28598 int ecode2 = 0 ;
28599 int val3 ;
28600 int ecode3 = 0 ;
28601 PyObject * obj0 = 0 ;
28602 PyObject * obj1 = 0 ;
28603 PyObject * obj2 = 0 ;
28604 char * kwnames[] = {
28605 (char *) "self",(char *) "x",(char *) "y", NULL
28606 };
28607
28608 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28609 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28610 if (!SWIG_IsOK(res1)) {
28611 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28612 }
28613 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28614 ecode2 = SWIG_AsVal_int(obj1, &val2);
28615 if (!SWIG_IsOK(ecode2)) {
28616 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
28617 }
28618 arg2 = static_cast< int >(val2);
28619 ecode3 = SWIG_AsVal_int(obj2, &val3);
28620 if (!SWIG_IsOK(ecode3)) {
28621 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
28622 }
28623 arg3 = static_cast< int >(val3);
28624 {
28625 PyThreadState* __tstate = wxPyBeginAllowThreads();
28626 (arg1)->SetPPIPrinter(arg2,arg3);
28627 wxPyEndAllowThreads(__tstate);
28628 if (PyErr_Occurred()) SWIG_fail;
28629 }
28630 resultobj = SWIG_Py_Void();
28631 return resultobj;
28632 fail:
28633 return NULL;
28634 }
28635
28636
28637 SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28638 PyObject *resultobj = 0;
28639 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28640 int *arg2 = (int *) 0 ;
28641 int *arg3 = (int *) 0 ;
28642 void *argp1 = 0 ;
28643 int res1 = 0 ;
28644 int temp2 ;
28645 int res2 = SWIG_TMPOBJ ;
28646 int temp3 ;
28647 int res3 = SWIG_TMPOBJ ;
28648 PyObject *swig_obj[1] ;
28649
28650 arg2 = &temp2;
28651 arg3 = &temp3;
28652 if (!args) SWIG_fail;
28653 swig_obj[0] = args;
28654 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28655 if (!SWIG_IsOK(res1)) {
28656 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28657 }
28658 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28659 {
28660 PyThreadState* __tstate = wxPyBeginAllowThreads();
28661 (arg1)->GetPPIPrinter(arg2,arg3);
28662 wxPyEndAllowThreads(__tstate);
28663 if (PyErr_Occurred()) SWIG_fail;
28664 }
28665 resultobj = SWIG_Py_Void();
28666 if (SWIG_IsTmpObj(res2)) {
28667 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28668 } else {
28669 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28670 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28671 }
28672 if (SWIG_IsTmpObj(res3)) {
28673 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28674 } else {
28675 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28676 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28677 }
28678 return resultobj;
28679 fail:
28680 return NULL;
28681 }
28682
28683
28684 SWIGINTERN PyObject *_wrap_Printout_SetPaperRectPixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28685 PyObject *resultobj = 0;
28686 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28687 wxRect *arg2 = 0 ;
28688 void *argp1 = 0 ;
28689 int res1 = 0 ;
28690 wxRect temp2 ;
28691 PyObject * obj0 = 0 ;
28692 PyObject * obj1 = 0 ;
28693 char * kwnames[] = {
28694 (char *) "self",(char *) "paperRectPixels", NULL
28695 };
28696
28697 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetPaperRectPixels",kwnames,&obj0,&obj1)) SWIG_fail;
28698 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28699 if (!SWIG_IsOK(res1)) {
28700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28701 }
28702 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28703 {
28704 arg2 = &temp2;
28705 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
28706 }
28707 {
28708 PyThreadState* __tstate = wxPyBeginAllowThreads();
28709 (arg1)->SetPaperRectPixels((wxRect const &)*arg2);
28710 wxPyEndAllowThreads(__tstate);
28711 if (PyErr_Occurred()) SWIG_fail;
28712 }
28713 resultobj = SWIG_Py_Void();
28714 return resultobj;
28715 fail:
28716 return NULL;
28717 }
28718
28719
28720 SWIGINTERN PyObject *_wrap_Printout_GetPaperRectPixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28721 PyObject *resultobj = 0;
28722 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28723 wxRect result;
28724 void *argp1 = 0 ;
28725 int res1 = 0 ;
28726 PyObject *swig_obj[1] ;
28727
28728 if (!args) SWIG_fail;
28729 swig_obj[0] = args;
28730 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28731 if (!SWIG_IsOK(res1)) {
28732 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28733 }
28734 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28735 {
28736 PyThreadState* __tstate = wxPyBeginAllowThreads();
28737 result = ((wxPyPrintout const *)arg1)->GetPaperRectPixels();
28738 wxPyEndAllowThreads(__tstate);
28739 if (PyErr_Occurred()) SWIG_fail;
28740 }
28741 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28742 return resultobj;
28743 fail:
28744 return NULL;
28745 }
28746
28747
28748 SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28749 PyObject *resultobj = 0;
28750 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28751 bool result;
28752 void *argp1 = 0 ;
28753 int res1 = 0 ;
28754 PyObject *swig_obj[1] ;
28755
28756 if (!args) SWIG_fail;
28757 swig_obj[0] = args;
28758 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28759 if (!SWIG_IsOK(res1)) {
28760 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28761 }
28762 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28763 {
28764 PyThreadState* __tstate = wxPyBeginAllowThreads();
28765 result = (bool)(arg1)->IsPreview();
28766 wxPyEndAllowThreads(__tstate);
28767 if (PyErr_Occurred()) SWIG_fail;
28768 }
28769 {
28770 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28771 }
28772 return resultobj;
28773 fail:
28774 return NULL;
28775 }
28776
28777
28778 SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28779 PyObject *resultobj = 0;
28780 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28781 bool arg2 ;
28782 void *argp1 = 0 ;
28783 int res1 = 0 ;
28784 bool val2 ;
28785 int ecode2 = 0 ;
28786 PyObject * obj0 = 0 ;
28787 PyObject * obj1 = 0 ;
28788 char * kwnames[] = {
28789 (char *) "self",(char *) "p", NULL
28790 };
28791
28792 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
28793 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28794 if (!SWIG_IsOK(res1)) {
28795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28796 }
28797 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28798 ecode2 = SWIG_AsVal_bool(obj1, &val2);
28799 if (!SWIG_IsOK(ecode2)) {
28800 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
28801 }
28802 arg2 = static_cast< bool >(val2);
28803 {
28804 PyThreadState* __tstate = wxPyBeginAllowThreads();
28805 (arg1)->SetIsPreview(arg2);
28806 wxPyEndAllowThreads(__tstate);
28807 if (PyErr_Occurred()) SWIG_fail;
28808 }
28809 resultobj = SWIG_Py_Void();
28810 return resultobj;
28811 fail:
28812 return NULL;
28813 }
28814
28815
28816 SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28817 PyObject *resultobj = 0;
28818 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28819 int arg2 ;
28820 int arg3 ;
28821 bool result;
28822 void *argp1 = 0 ;
28823 int res1 = 0 ;
28824 int val2 ;
28825 int ecode2 = 0 ;
28826 int val3 ;
28827 int ecode3 = 0 ;
28828 PyObject * obj0 = 0 ;
28829 PyObject * obj1 = 0 ;
28830 PyObject * obj2 = 0 ;
28831 char * kwnames[] = {
28832 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
28833 };
28834
28835 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28836 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28837 if (!SWIG_IsOK(res1)) {
28838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28839 }
28840 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28841 ecode2 = SWIG_AsVal_int(obj1, &val2);
28842 if (!SWIG_IsOK(ecode2)) {
28843 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28844 }
28845 arg2 = static_cast< int >(val2);
28846 ecode3 = SWIG_AsVal_int(obj2, &val3);
28847 if (!SWIG_IsOK(ecode3)) {
28848 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28849 }
28850 arg3 = static_cast< int >(val3);
28851 {
28852 PyThreadState* __tstate = wxPyBeginAllowThreads();
28853 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
28854 wxPyEndAllowThreads(__tstate);
28855 if (PyErr_Occurred()) SWIG_fail;
28856 }
28857 {
28858 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28859 }
28860 return resultobj;
28861 fail:
28862 return NULL;
28863 }
28864
28865
28866 SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28867 PyObject *resultobj = 0;
28868 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28869 void *argp1 = 0 ;
28870 int res1 = 0 ;
28871 PyObject *swig_obj[1] ;
28872
28873 if (!args) SWIG_fail;
28874 swig_obj[0] = args;
28875 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28876 if (!SWIG_IsOK(res1)) {
28877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28878 }
28879 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28880 {
28881 PyThreadState* __tstate = wxPyBeginAllowThreads();
28882 (arg1)->OnEndDocument();
28883 wxPyEndAllowThreads(__tstate);
28884 if (PyErr_Occurred()) SWIG_fail;
28885 }
28886 resultobj = SWIG_Py_Void();
28887 return resultobj;
28888 fail:
28889 return NULL;
28890 }
28891
28892
28893 SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28894 PyObject *resultobj = 0;
28895 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28896 void *argp1 = 0 ;
28897 int res1 = 0 ;
28898 PyObject *swig_obj[1] ;
28899
28900 if (!args) SWIG_fail;
28901 swig_obj[0] = args;
28902 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28903 if (!SWIG_IsOK(res1)) {
28904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28905 }
28906 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28907 {
28908 PyThreadState* __tstate = wxPyBeginAllowThreads();
28909 (arg1)->OnBeginPrinting();
28910 wxPyEndAllowThreads(__tstate);
28911 if (PyErr_Occurred()) SWIG_fail;
28912 }
28913 resultobj = SWIG_Py_Void();
28914 return resultobj;
28915 fail:
28916 return NULL;
28917 }
28918
28919
28920 SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28921 PyObject *resultobj = 0;
28922 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28923 void *argp1 = 0 ;
28924 int res1 = 0 ;
28925 PyObject *swig_obj[1] ;
28926
28927 if (!args) SWIG_fail;
28928 swig_obj[0] = args;
28929 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28930 if (!SWIG_IsOK(res1)) {
28931 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28932 }
28933 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28934 {
28935 PyThreadState* __tstate = wxPyBeginAllowThreads();
28936 (arg1)->OnEndPrinting();
28937 wxPyEndAllowThreads(__tstate);
28938 if (PyErr_Occurred()) SWIG_fail;
28939 }
28940 resultobj = SWIG_Py_Void();
28941 return resultobj;
28942 fail:
28943 return NULL;
28944 }
28945
28946
28947 SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28948 PyObject *resultobj = 0;
28949 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28950 void *argp1 = 0 ;
28951 int res1 = 0 ;
28952 PyObject *swig_obj[1] ;
28953
28954 if (!args) SWIG_fail;
28955 swig_obj[0] = args;
28956 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28957 if (!SWIG_IsOK(res1)) {
28958 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28959 }
28960 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28961 {
28962 PyThreadState* __tstate = wxPyBeginAllowThreads();
28963 (arg1)->OnPreparePrinting();
28964 wxPyEndAllowThreads(__tstate);
28965 if (PyErr_Occurred()) SWIG_fail;
28966 }
28967 resultobj = SWIG_Py_Void();
28968 return resultobj;
28969 fail:
28970 return NULL;
28971 }
28972
28973
28974 SWIGINTERN PyObject *_wrap_Printout_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28975 PyObject *resultobj = 0;
28976 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28977 int arg2 ;
28978 bool result;
28979 void *argp1 = 0 ;
28980 int res1 = 0 ;
28981 int val2 ;
28982 int ecode2 = 0 ;
28983 PyObject * obj0 = 0 ;
28984 PyObject * obj1 = 0 ;
28985 char * kwnames[] = {
28986 (char *) "self",(char *) "page", NULL
28987 };
28988
28989 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
28990 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28991 if (!SWIG_IsOK(res1)) {
28992 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28993 }
28994 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28995 ecode2 = SWIG_AsVal_int(obj1, &val2);
28996 if (!SWIG_IsOK(ecode2)) {
28997 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28998 }
28999 arg2 = static_cast< int >(val2);
29000 {
29001 PyThreadState* __tstate = wxPyBeginAllowThreads();
29002 result = (bool)(arg1)->HasPage(arg2);
29003 wxPyEndAllowThreads(__tstate);
29004 if (PyErr_Occurred()) SWIG_fail;
29005 }
29006 {
29007 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29008 }
29009 return resultobj;
29010 fail:
29011 return NULL;
29012 }
29013
29014
29015 SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29016 PyObject *resultobj = 0;
29017 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29018 int *arg2 = (int *) 0 ;
29019 int *arg3 = (int *) 0 ;
29020 int *arg4 = (int *) 0 ;
29021 int *arg5 = (int *) 0 ;
29022 void *argp1 = 0 ;
29023 int res1 = 0 ;
29024 int temp2 ;
29025 int res2 = SWIG_TMPOBJ ;
29026 int temp3 ;
29027 int res3 = SWIG_TMPOBJ ;
29028 int temp4 ;
29029 int res4 = SWIG_TMPOBJ ;
29030 int temp5 ;
29031 int res5 = SWIG_TMPOBJ ;
29032 PyObject *swig_obj[1] ;
29033
29034 arg2 = &temp2;
29035 arg3 = &temp3;
29036 arg4 = &temp4;
29037 arg5 = &temp5;
29038 if (!args) SWIG_fail;
29039 swig_obj[0] = args;
29040 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29041 if (!SWIG_IsOK(res1)) {
29042 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29043 }
29044 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29045 {
29046 PyThreadState* __tstate = wxPyBeginAllowThreads();
29047 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
29048 wxPyEndAllowThreads(__tstate);
29049 if (PyErr_Occurred()) SWIG_fail;
29050 }
29051 resultobj = SWIG_Py_Void();
29052 if (SWIG_IsTmpObj(res2)) {
29053 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
29054 } else {
29055 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29056 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
29057 }
29058 if (SWIG_IsTmpObj(res3)) {
29059 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
29060 } else {
29061 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29062 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
29063 }
29064 if (SWIG_IsTmpObj(res4)) {
29065 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
29066 } else {
29067 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29068 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
29069 }
29070 if (SWIG_IsTmpObj(res5)) {
29071 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
29072 } else {
29073 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29074 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
29075 }
29076 return resultobj;
29077 fail:
29078 return NULL;
29079 }
29080
29081
29082 SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29083 PyObject *obj;
29084 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29085 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
29086 return SWIG_Py_Void();
29087 }
29088
29089 SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29090 return SWIG_Python_InitShadowInstance(args);
29091 }
29092
29093 SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29094 PyObject *resultobj = 0;
29095 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29096 wxWindow *arg2 = (wxWindow *) 0 ;
29097 wxPoint const &arg3_defvalue = wxDefaultPosition ;
29098 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
29099 wxSize const &arg4_defvalue = wxDefaultSize ;
29100 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
29101 long arg5 = (long) 0 ;
29102 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
29103 wxString *arg6 = (wxString *) &arg6_defvalue ;
29104 wxPreviewCanvas *result = 0 ;
29105 void *argp1 = 0 ;
29106 int res1 = 0 ;
29107 void *argp2 = 0 ;
29108 int res2 = 0 ;
29109 wxPoint temp3 ;
29110 wxSize temp4 ;
29111 long val5 ;
29112 int ecode5 = 0 ;
29113 bool temp6 = false ;
29114 PyObject * obj0 = 0 ;
29115 PyObject * obj1 = 0 ;
29116 PyObject * obj2 = 0 ;
29117 PyObject * obj3 = 0 ;
29118 PyObject * obj4 = 0 ;
29119 PyObject * obj5 = 0 ;
29120 char * kwnames[] = {
29121 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29122 };
29123
29124 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
29125 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29126 if (!SWIG_IsOK(res1)) {
29127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29128 }
29129 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29130 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
29131 if (!SWIG_IsOK(res2)) {
29132 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
29133 }
29134 arg2 = reinterpret_cast< wxWindow * >(argp2);
29135 if (obj2) {
29136 {
29137 arg3 = &temp3;
29138 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29139 }
29140 }
29141 if (obj3) {
29142 {
29143 arg4 = &temp4;
29144 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
29145 }
29146 }
29147 if (obj4) {
29148 ecode5 = SWIG_AsVal_long(obj4, &val5);
29149 if (!SWIG_IsOK(ecode5)) {
29150 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
29151 }
29152 arg5 = static_cast< long >(val5);
29153 }
29154 if (obj5) {
29155 {
29156 arg6 = wxString_in_helper(obj5);
29157 if (arg6 == NULL) SWIG_fail;
29158 temp6 = true;
29159 }
29160 }
29161 {
29162 if (!wxPyCheckForApp()) SWIG_fail;
29163 PyThreadState* __tstate = wxPyBeginAllowThreads();
29164 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
29165 wxPyEndAllowThreads(__tstate);
29166 if (PyErr_Occurred()) SWIG_fail;
29167 }
29168 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
29169 {
29170 if (temp6)
29171 delete arg6;
29172 }
29173 return resultobj;
29174 fail:
29175 {
29176 if (temp6)
29177 delete arg6;
29178 }
29179 return NULL;
29180 }
29181
29182
29183 SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29184 PyObject *obj;
29185 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29186 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
29187 return SWIG_Py_Void();
29188 }
29189
29190 SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29191 return SWIG_Python_InitShadowInstance(args);
29192 }
29193
29194 SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29195 PyObject *resultobj = 0;
29196 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29197 wxFrame *arg2 = (wxFrame *) 0 ;
29198 wxString *arg3 = 0 ;
29199 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29200 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29201 wxSize const &arg5_defvalue = wxDefaultSize ;
29202 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29203 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
29204 wxString const &arg7_defvalue = wxPyFrameNameStr ;
29205 wxString *arg7 = (wxString *) &arg7_defvalue ;
29206 wxPreviewFrame *result = 0 ;
29207 int res1 = 0 ;
29208 void *argp2 = 0 ;
29209 int res2 = 0 ;
29210 bool temp3 = false ;
29211 wxPoint temp4 ;
29212 wxSize temp5 ;
29213 long val6 ;
29214 int ecode6 = 0 ;
29215 bool temp7 = false ;
29216 PyObject * obj0 = 0 ;
29217 PyObject * obj1 = 0 ;
29218 PyObject * obj2 = 0 ;
29219 PyObject * obj3 = 0 ;
29220 PyObject * obj4 = 0 ;
29221 PyObject * obj5 = 0 ;
29222 PyObject * obj6 = 0 ;
29223 char * kwnames[] = {
29224 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29225 };
29226
29227 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
29228 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
29229 if (!SWIG_IsOK(res1)) {
29230 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29231 }
29232 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29233 if (!SWIG_IsOK(res2)) {
29234 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29235 }
29236 arg2 = reinterpret_cast< wxFrame * >(argp2);
29237 {
29238 arg3 = wxString_in_helper(obj2);
29239 if (arg3 == NULL) SWIG_fail;
29240 temp3 = true;
29241 }
29242 if (obj3) {
29243 {
29244 arg4 = &temp4;
29245 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29246 }
29247 }
29248 if (obj4) {
29249 {
29250 arg5 = &temp5;
29251 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29252 }
29253 }
29254 if (obj5) {
29255 ecode6 = SWIG_AsVal_long(obj5, &val6);
29256 if (!SWIG_IsOK(ecode6)) {
29257 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
29258 }
29259 arg6 = static_cast< long >(val6);
29260 }
29261 if (obj6) {
29262 {
29263 arg7 = wxString_in_helper(obj6);
29264 if (arg7 == NULL) SWIG_fail;
29265 temp7 = true;
29266 }
29267 }
29268 {
29269 if (!wxPyCheckForApp()) SWIG_fail;
29270 PyThreadState* __tstate = wxPyBeginAllowThreads();
29271 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
29272 wxPyEndAllowThreads(__tstate);
29273 if (PyErr_Occurred()) SWIG_fail;
29274 }
29275 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
29276 {
29277 if (temp3)
29278 delete arg3;
29279 }
29280 {
29281 if (temp7)
29282 delete arg7;
29283 }
29284 return resultobj;
29285 fail:
29286 {
29287 if (temp3)
29288 delete arg3;
29289 }
29290 {
29291 if (temp7)
29292 delete arg7;
29293 }
29294 return NULL;
29295 }
29296
29297
29298 SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29299 PyObject *resultobj = 0;
29300 wxPreviewFrame *arg1 = (wxPreviewFrame *) 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_wxPreviewFrame, 0 | 0 );
29308 if (!SWIG_IsOK(res1)) {
29309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29310 }
29311 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29312 {
29313 PyThreadState* __tstate = wxPyBeginAllowThreads();
29314 (arg1)->Initialize();
29315 wxPyEndAllowThreads(__tstate);
29316 if (PyErr_Occurred()) SWIG_fail;
29317 }
29318 resultobj = SWIG_Py_Void();
29319 return resultobj;
29320 fail:
29321 return NULL;
29322 }
29323
29324
29325 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29326 PyObject *resultobj = 0;
29327 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29328 void *argp1 = 0 ;
29329 int res1 = 0 ;
29330 PyObject *swig_obj[1] ;
29331
29332 if (!args) SWIG_fail;
29333 swig_obj[0] = args;
29334 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29335 if (!SWIG_IsOK(res1)) {
29336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29337 }
29338 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29339 {
29340 PyThreadState* __tstate = wxPyBeginAllowThreads();
29341 (arg1)->CreateControlBar();
29342 wxPyEndAllowThreads(__tstate);
29343 if (PyErr_Occurred()) SWIG_fail;
29344 }
29345 resultobj = SWIG_Py_Void();
29346 return resultobj;
29347 fail:
29348 return NULL;
29349 }
29350
29351
29352 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29353 PyObject *resultobj = 0;
29354 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29355 void *argp1 = 0 ;
29356 int res1 = 0 ;
29357 PyObject *swig_obj[1] ;
29358
29359 if (!args) SWIG_fail;
29360 swig_obj[0] = args;
29361 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29362 if (!SWIG_IsOK(res1)) {
29363 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29364 }
29365 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29366 {
29367 PyThreadState* __tstate = wxPyBeginAllowThreads();
29368 (arg1)->CreateCanvas();
29369 wxPyEndAllowThreads(__tstate);
29370 if (PyErr_Occurred()) SWIG_fail;
29371 }
29372 resultobj = SWIG_Py_Void();
29373 return resultobj;
29374 fail:
29375 return NULL;
29376 }
29377
29378
29379 SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29380 PyObject *resultobj = 0;
29381 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29382 wxPreviewControlBar *result = 0 ;
29383 void *argp1 = 0 ;
29384 int res1 = 0 ;
29385 PyObject *swig_obj[1] ;
29386
29387 if (!args) SWIG_fail;
29388 swig_obj[0] = args;
29389 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29390 if (!SWIG_IsOK(res1)) {
29391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
29392 }
29393 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29394 {
29395 PyThreadState* __tstate = wxPyBeginAllowThreads();
29396 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
29397 wxPyEndAllowThreads(__tstate);
29398 if (PyErr_Occurred()) SWIG_fail;
29399 }
29400 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29401 return resultobj;
29402 fail:
29403 return NULL;
29404 }
29405
29406
29407 SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29408 PyObject *obj;
29409 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29410 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
29411 return SWIG_Py_Void();
29412 }
29413
29414 SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29415 return SWIG_Python_InitShadowInstance(args);
29416 }
29417
29418 SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29419 PyObject *resultobj = 0;
29420 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29421 long arg2 ;
29422 wxWindow *arg3 = (wxWindow *) 0 ;
29423 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29424 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29425 wxSize const &arg5_defvalue = wxDefaultSize ;
29426 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29427 long arg6 = (long) wxTAB_TRAVERSAL ;
29428 wxString const &arg7_defvalue = wxPyPanelNameStr ;
29429 wxString *arg7 = (wxString *) &arg7_defvalue ;
29430 wxPreviewControlBar *result = 0 ;
29431 void *argp1 = 0 ;
29432 int res1 = 0 ;
29433 long val2 ;
29434 int ecode2 = 0 ;
29435 void *argp3 = 0 ;
29436 int res3 = 0 ;
29437 wxPoint temp4 ;
29438 wxSize temp5 ;
29439 long val6 ;
29440 int ecode6 = 0 ;
29441 bool temp7 = false ;
29442 PyObject * obj0 = 0 ;
29443 PyObject * obj1 = 0 ;
29444 PyObject * obj2 = 0 ;
29445 PyObject * obj3 = 0 ;
29446 PyObject * obj4 = 0 ;
29447 PyObject * obj5 = 0 ;
29448 PyObject * obj6 = 0 ;
29449 char * kwnames[] = {
29450 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29451 };
29452
29453 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
29454 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29455 if (!SWIG_IsOK(res1)) {
29456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29457 }
29458 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29459 ecode2 = SWIG_AsVal_long(obj1, &val2);
29460 if (!SWIG_IsOK(ecode2)) {
29461 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
29462 }
29463 arg2 = static_cast< long >(val2);
29464 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
29465 if (!SWIG_IsOK(res3)) {
29466 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
29467 }
29468 arg3 = reinterpret_cast< wxWindow * >(argp3);
29469 if (obj3) {
29470 {
29471 arg4 = &temp4;
29472 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29473 }
29474 }
29475 if (obj4) {
29476 {
29477 arg5 = &temp5;
29478 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29479 }
29480 }
29481 if (obj5) {
29482 ecode6 = SWIG_AsVal_long(obj5, &val6);
29483 if (!SWIG_IsOK(ecode6)) {
29484 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
29485 }
29486 arg6 = static_cast< long >(val6);
29487 }
29488 if (obj6) {
29489 {
29490 arg7 = wxString_in_helper(obj6);
29491 if (arg7 == NULL) SWIG_fail;
29492 temp7 = true;
29493 }
29494 }
29495 {
29496 if (!wxPyCheckForApp()) SWIG_fail;
29497 PyThreadState* __tstate = wxPyBeginAllowThreads();
29498 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
29499 wxPyEndAllowThreads(__tstate);
29500 if (PyErr_Occurred()) SWIG_fail;
29501 }
29502 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
29503 {
29504 if (temp7)
29505 delete arg7;
29506 }
29507 return resultobj;
29508 fail:
29509 {
29510 if (temp7)
29511 delete arg7;
29512 }
29513 return NULL;
29514 }
29515
29516
29517 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29518 PyObject *resultobj = 0;
29519 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29520 int result;
29521 void *argp1 = 0 ;
29522 int res1 = 0 ;
29523 PyObject *swig_obj[1] ;
29524
29525 if (!args) SWIG_fail;
29526 swig_obj[0] = args;
29527 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29528 if (!SWIG_IsOK(res1)) {
29529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29530 }
29531 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29532 {
29533 PyThreadState* __tstate = wxPyBeginAllowThreads();
29534 result = (int)(arg1)->GetZoomControl();
29535 wxPyEndAllowThreads(__tstate);
29536 if (PyErr_Occurred()) SWIG_fail;
29537 }
29538 resultobj = SWIG_From_int(static_cast< int >(result));
29539 return resultobj;
29540 fail:
29541 return NULL;
29542 }
29543
29544
29545 SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29546 PyObject *resultobj = 0;
29547 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29548 int arg2 ;
29549 void *argp1 = 0 ;
29550 int res1 = 0 ;
29551 int val2 ;
29552 int ecode2 = 0 ;
29553 PyObject * obj0 = 0 ;
29554 PyObject * obj1 = 0 ;
29555 char * kwnames[] = {
29556 (char *) "self",(char *) "zoom", NULL
29557 };
29558
29559 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
29560 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29561 if (!SWIG_IsOK(res1)) {
29562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29563 }
29564 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29565 ecode2 = SWIG_AsVal_int(obj1, &val2);
29566 if (!SWIG_IsOK(ecode2)) {
29567 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
29568 }
29569 arg2 = static_cast< int >(val2);
29570 {
29571 PyThreadState* __tstate = wxPyBeginAllowThreads();
29572 (arg1)->SetZoomControl(arg2);
29573 wxPyEndAllowThreads(__tstate);
29574 if (PyErr_Occurred()) SWIG_fail;
29575 }
29576 resultobj = SWIG_Py_Void();
29577 return resultobj;
29578 fail:
29579 return NULL;
29580 }
29581
29582
29583 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29584 PyObject *resultobj = 0;
29585 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29586 wxPrintPreview *result = 0 ;
29587 void *argp1 = 0 ;
29588 int res1 = 0 ;
29589 PyObject *swig_obj[1] ;
29590
29591 if (!args) SWIG_fail;
29592 swig_obj[0] = args;
29593 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29594 if (!SWIG_IsOK(res1)) {
29595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29596 }
29597 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29598 {
29599 PyThreadState* __tstate = wxPyBeginAllowThreads();
29600 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
29601 wxPyEndAllowThreads(__tstate);
29602 if (PyErr_Occurred()) SWIG_fail;
29603 }
29604 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29605 return resultobj;
29606 fail:
29607 return NULL;
29608 }
29609
29610
29611 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29612 PyObject *resultobj = 0;
29613 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29614 void *argp1 = 0 ;
29615 int res1 = 0 ;
29616 PyObject *swig_obj[1] ;
29617
29618 if (!args) SWIG_fail;
29619 swig_obj[0] = args;
29620 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29621 if (!SWIG_IsOK(res1)) {
29622 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29623 }
29624 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29625 {
29626 PyThreadState* __tstate = wxPyBeginAllowThreads();
29627 (arg1)->OnNext();
29628 wxPyEndAllowThreads(__tstate);
29629 if (PyErr_Occurred()) SWIG_fail;
29630 }
29631 resultobj = SWIG_Py_Void();
29632 return resultobj;
29633 fail:
29634 return NULL;
29635 }
29636
29637
29638 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29639 PyObject *resultobj = 0;
29640 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
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_wxPreviewControlBar, 0 | 0 );
29648 if (!SWIG_IsOK(res1)) {
29649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29650 }
29651 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29652 {
29653 PyThreadState* __tstate = wxPyBeginAllowThreads();
29654 (arg1)->OnPrevious();
29655 wxPyEndAllowThreads(__tstate);
29656 if (PyErr_Occurred()) SWIG_fail;
29657 }
29658 resultobj = SWIG_Py_Void();
29659 return resultobj;
29660 fail:
29661 return NULL;
29662 }
29663
29664
29665 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29666 PyObject *resultobj = 0;
29667 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29668 void *argp1 = 0 ;
29669 int res1 = 0 ;
29670 PyObject *swig_obj[1] ;
29671
29672 if (!args) SWIG_fail;
29673 swig_obj[0] = args;
29674 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29675 if (!SWIG_IsOK(res1)) {
29676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29677 }
29678 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29679 {
29680 PyThreadState* __tstate = wxPyBeginAllowThreads();
29681 (arg1)->OnFirst();
29682 wxPyEndAllowThreads(__tstate);
29683 if (PyErr_Occurred()) SWIG_fail;
29684 }
29685 resultobj = SWIG_Py_Void();
29686 return resultobj;
29687 fail:
29688 return NULL;
29689 }
29690
29691
29692 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29693 PyObject *resultobj = 0;
29694 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29695 void *argp1 = 0 ;
29696 int res1 = 0 ;
29697 PyObject *swig_obj[1] ;
29698
29699 if (!args) SWIG_fail;
29700 swig_obj[0] = args;
29701 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29702 if (!SWIG_IsOK(res1)) {
29703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29704 }
29705 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29706 {
29707 PyThreadState* __tstate = wxPyBeginAllowThreads();
29708 (arg1)->OnLast();
29709 wxPyEndAllowThreads(__tstate);
29710 if (PyErr_Occurred()) SWIG_fail;
29711 }
29712 resultobj = SWIG_Py_Void();
29713 return resultobj;
29714 fail:
29715 return NULL;
29716 }
29717
29718
29719 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29720 PyObject *resultobj = 0;
29721 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29722 void *argp1 = 0 ;
29723 int res1 = 0 ;
29724 PyObject *swig_obj[1] ;
29725
29726 if (!args) SWIG_fail;
29727 swig_obj[0] = args;
29728 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29729 if (!SWIG_IsOK(res1)) {
29730 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29731 }
29732 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29733 {
29734 PyThreadState* __tstate = wxPyBeginAllowThreads();
29735 (arg1)->OnGoto();
29736 wxPyEndAllowThreads(__tstate);
29737 if (PyErr_Occurred()) SWIG_fail;
29738 }
29739 resultobj = SWIG_Py_Void();
29740 return resultobj;
29741 fail:
29742 return NULL;
29743 }
29744
29745
29746 SWIGINTERN PyObject *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29747 PyObject *obj;
29748 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29749 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
29750 return SWIG_Py_Void();
29751 }
29752
29753 SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29754 return SWIG_Python_InitShadowInstance(args);
29755 }
29756
29757 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29758 PyObject *resultobj = 0;
29759 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29760 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29761 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
29762 wxPrintPreview *result = 0 ;
29763 int res1 = 0 ;
29764 int res2 = 0 ;
29765 void *argp3 = 0 ;
29766 int res3 = 0 ;
29767
29768 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
29769 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29770 if (!SWIG_IsOK(res1)) {
29771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29772 }
29773 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29774 if (!SWIG_IsOK(res2)) {
29775 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29776 }
29777 if (swig_obj[2]) {
29778 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29779 if (!SWIG_IsOK(res3)) {
29780 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29781 }
29782 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
29783 }
29784 {
29785 if (!wxPyCheckForApp()) SWIG_fail;
29786 PyThreadState* __tstate = wxPyBeginAllowThreads();
29787 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29788 wxPyEndAllowThreads(__tstate);
29789 if (PyErr_Occurred()) SWIG_fail;
29790 }
29791 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29792 return resultobj;
29793 fail:
29794 return NULL;
29795 }
29796
29797
29798 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29799 PyObject *resultobj = 0;
29800 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29801 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29802 wxPrintData *arg3 = (wxPrintData *) 0 ;
29803 wxPrintPreview *result = 0 ;
29804 int res1 = 0 ;
29805 int res2 = 0 ;
29806 void *argp3 = 0 ;
29807 int res3 = 0 ;
29808
29809 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
29810 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29811 if (!SWIG_IsOK(res1)) {
29812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29813 }
29814 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29815 if (!SWIG_IsOK(res2)) {
29816 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29817 }
29818 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
29819 if (!SWIG_IsOK(res3)) {
29820 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29821 }
29822 arg3 = reinterpret_cast< wxPrintData * >(argp3);
29823 {
29824 if (!wxPyCheckForApp()) SWIG_fail;
29825 PyThreadState* __tstate = wxPyBeginAllowThreads();
29826 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29827 wxPyEndAllowThreads(__tstate);
29828 if (PyErr_Occurred()) SWIG_fail;
29829 }
29830 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29831 return resultobj;
29832 fail:
29833 return NULL;
29834 }
29835
29836
29837 SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
29838 int argc;
29839 PyObject *argv[4];
29840
29841 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
29842 --argc;
29843 if ((argc >= 2) && (argc <= 3)) {
29844 int _v = 0;
29845 if (argc > 2) {
29846 {
29847 void *vptr = 0;
29848 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
29849 _v = SWIG_CheckState(res);
29850 }
29851 if (!_v) goto check_1;
29852 }
29853 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
29854 }
29855 check_1:
29856
29857 if (argc == 3) {
29858 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
29859 }
29860
29861 fail:
29862 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
29863 return NULL;
29864 }
29865
29866
29867 SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29868 PyObject *resultobj = 0;
29869 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29870 void *argp1 = 0 ;
29871 int res1 = 0 ;
29872 PyObject *swig_obj[1] ;
29873
29874 if (!args) SWIG_fail;
29875 swig_obj[0] = args;
29876 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
29877 if (!SWIG_IsOK(res1)) {
29878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29879 }
29880 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29881 {
29882 PyThreadState* __tstate = wxPyBeginAllowThreads();
29883 delete arg1;
29884
29885 wxPyEndAllowThreads(__tstate);
29886 if (PyErr_Occurred()) SWIG_fail;
29887 }
29888 resultobj = SWIG_Py_Void();
29889 return resultobj;
29890 fail:
29891 return NULL;
29892 }
29893
29894
29895 SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29896 PyObject *resultobj = 0;
29897 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29898 int arg2 ;
29899 bool result;
29900 void *argp1 = 0 ;
29901 int res1 = 0 ;
29902 int val2 ;
29903 int ecode2 = 0 ;
29904 PyObject * obj0 = 0 ;
29905 PyObject * obj1 = 0 ;
29906 char * kwnames[] = {
29907 (char *) "self",(char *) "pageNum", NULL
29908 };
29909
29910 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
29911 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29912 if (!SWIG_IsOK(res1)) {
29913 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29914 }
29915 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29916 ecode2 = SWIG_AsVal_int(obj1, &val2);
29917 if (!SWIG_IsOK(ecode2)) {
29918 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29919 }
29920 arg2 = static_cast< int >(val2);
29921 {
29922 PyThreadState* __tstate = wxPyBeginAllowThreads();
29923 result = (bool)(arg1)->SetCurrentPage(arg2);
29924 wxPyEndAllowThreads(__tstate);
29925 if (PyErr_Occurred()) SWIG_fail;
29926 }
29927 {
29928 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29929 }
29930 return resultobj;
29931 fail:
29932 return NULL;
29933 }
29934
29935
29936 SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29937 PyObject *resultobj = 0;
29938 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29939 int result;
29940 void *argp1 = 0 ;
29941 int res1 = 0 ;
29942 PyObject *swig_obj[1] ;
29943
29944 if (!args) SWIG_fail;
29945 swig_obj[0] = args;
29946 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29947 if (!SWIG_IsOK(res1)) {
29948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29949 }
29950 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29951 {
29952 PyThreadState* __tstate = wxPyBeginAllowThreads();
29953 result = (int)(arg1)->GetCurrentPage();
29954 wxPyEndAllowThreads(__tstate);
29955 if (PyErr_Occurred()) SWIG_fail;
29956 }
29957 resultobj = SWIG_From_int(static_cast< int >(result));
29958 return resultobj;
29959 fail:
29960 return NULL;
29961 }
29962
29963
29964 SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29965 PyObject *resultobj = 0;
29966 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29967 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29968 void *argp1 = 0 ;
29969 int res1 = 0 ;
29970 int res2 = 0 ;
29971 PyObject * obj0 = 0 ;
29972 PyObject * obj1 = 0 ;
29973 char * kwnames[] = {
29974 (char *) "self",(char *) "printout", NULL
29975 };
29976
29977 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
29978 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29979 if (!SWIG_IsOK(res1)) {
29980 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29981 }
29982 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29983 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29984 if (!SWIG_IsOK(res2)) {
29985 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29986 }
29987 {
29988 PyThreadState* __tstate = wxPyBeginAllowThreads();
29989 (arg1)->SetPrintout(arg2);
29990 wxPyEndAllowThreads(__tstate);
29991 if (PyErr_Occurred()) SWIG_fail;
29992 }
29993 resultobj = SWIG_Py_Void();
29994 return resultobj;
29995 fail:
29996 return NULL;
29997 }
29998
29999
30000 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30001 PyObject *resultobj = 0;
30002 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30003 wxPyPrintout *result = 0 ;
30004 void *argp1 = 0 ;
30005 int res1 = 0 ;
30006 PyObject *swig_obj[1] ;
30007
30008 if (!args) SWIG_fail;
30009 swig_obj[0] = args;
30010 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30011 if (!SWIG_IsOK(res1)) {
30012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30013 }
30014 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30015 {
30016 PyThreadState* __tstate = wxPyBeginAllowThreads();
30017 result = (wxPyPrintout *)(arg1)->GetPrintout();
30018 wxPyEndAllowThreads(__tstate);
30019 if (PyErr_Occurred()) SWIG_fail;
30020 }
30021 {
30022 resultobj = wxPyMake_wxObject(result, 0);
30023 }
30024 return resultobj;
30025 fail:
30026 return NULL;
30027 }
30028
30029
30030 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30031 PyObject *resultobj = 0;
30032 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30033 wxPyPrintout *result = 0 ;
30034 void *argp1 = 0 ;
30035 int res1 = 0 ;
30036 PyObject *swig_obj[1] ;
30037
30038 if (!args) SWIG_fail;
30039 swig_obj[0] = args;
30040 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30041 if (!SWIG_IsOK(res1)) {
30042 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30043 }
30044 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30045 {
30046 PyThreadState* __tstate = wxPyBeginAllowThreads();
30047 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
30048 wxPyEndAllowThreads(__tstate);
30049 if (PyErr_Occurred()) SWIG_fail;
30050 }
30051 {
30052 resultobj = wxPyMake_wxObject(result, 0);
30053 }
30054 return resultobj;
30055 fail:
30056 return NULL;
30057 }
30058
30059
30060 SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30061 PyObject *resultobj = 0;
30062 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30063 wxFrame *arg2 = (wxFrame *) 0 ;
30064 void *argp1 = 0 ;
30065 int res1 = 0 ;
30066 void *argp2 = 0 ;
30067 int res2 = 0 ;
30068 PyObject * obj0 = 0 ;
30069 PyObject * obj1 = 0 ;
30070 char * kwnames[] = {
30071 (char *) "self",(char *) "frame", NULL
30072 };
30073
30074 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
30075 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30076 if (!SWIG_IsOK(res1)) {
30077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30078 }
30079 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30080 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
30081 if (!SWIG_IsOK(res2)) {
30082 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30083 }
30084 arg2 = reinterpret_cast< wxFrame * >(argp2);
30085 {
30086 PyThreadState* __tstate = wxPyBeginAllowThreads();
30087 (arg1)->SetFrame(arg2);
30088 wxPyEndAllowThreads(__tstate);
30089 if (PyErr_Occurred()) SWIG_fail;
30090 }
30091 resultobj = SWIG_Py_Void();
30092 return resultobj;
30093 fail:
30094 return NULL;
30095 }
30096
30097
30098 SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30099 PyObject *resultobj = 0;
30100 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30101 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30102 void *argp1 = 0 ;
30103 int res1 = 0 ;
30104 void *argp2 = 0 ;
30105 int res2 = 0 ;
30106 PyObject * obj0 = 0 ;
30107 PyObject * obj1 = 0 ;
30108 char * kwnames[] = {
30109 (char *) "self",(char *) "canvas", NULL
30110 };
30111
30112 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
30113 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30114 if (!SWIG_IsOK(res1)) {
30115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30116 }
30117 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30118 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30119 if (!SWIG_IsOK(res2)) {
30120 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30121 }
30122 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30123 {
30124 PyThreadState* __tstate = wxPyBeginAllowThreads();
30125 (arg1)->SetCanvas(arg2);
30126 wxPyEndAllowThreads(__tstate);
30127 if (PyErr_Occurred()) SWIG_fail;
30128 }
30129 resultobj = SWIG_Py_Void();
30130 return resultobj;
30131 fail:
30132 return NULL;
30133 }
30134
30135
30136 SWIGINTERN PyObject *_wrap_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30137 PyObject *resultobj = 0;
30138 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30139 wxFrame *result = 0 ;
30140 void *argp1 = 0 ;
30141 int res1 = 0 ;
30142 PyObject *swig_obj[1] ;
30143
30144 if (!args) SWIG_fail;
30145 swig_obj[0] = args;
30146 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30147 if (!SWIG_IsOK(res1)) {
30148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30149 }
30150 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30151 {
30152 PyThreadState* __tstate = wxPyBeginAllowThreads();
30153 result = (wxFrame *)(arg1)->GetFrame();
30154 wxPyEndAllowThreads(__tstate);
30155 if (PyErr_Occurred()) SWIG_fail;
30156 }
30157 {
30158 resultobj = wxPyMake_wxObject(result, 0);
30159 }
30160 return resultobj;
30161 fail:
30162 return NULL;
30163 }
30164
30165
30166 SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30167 PyObject *resultobj = 0;
30168 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30169 wxPreviewCanvas *result = 0 ;
30170 void *argp1 = 0 ;
30171 int res1 = 0 ;
30172 PyObject *swig_obj[1] ;
30173
30174 if (!args) SWIG_fail;
30175 swig_obj[0] = args;
30176 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30177 if (!SWIG_IsOK(res1)) {
30178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30179 }
30180 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30181 {
30182 PyThreadState* __tstate = wxPyBeginAllowThreads();
30183 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
30184 wxPyEndAllowThreads(__tstate);
30185 if (PyErr_Occurred()) SWIG_fail;
30186 }
30187 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30188 return resultobj;
30189 fail:
30190 return NULL;
30191 }
30192
30193
30194 SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30195 PyObject *resultobj = 0;
30196 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30197 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30198 wxDC *arg3 = 0 ;
30199 bool result;
30200 void *argp1 = 0 ;
30201 int res1 = 0 ;
30202 void *argp2 = 0 ;
30203 int res2 = 0 ;
30204 void *argp3 = 0 ;
30205 int res3 = 0 ;
30206 PyObject * obj0 = 0 ;
30207 PyObject * obj1 = 0 ;
30208 PyObject * obj2 = 0 ;
30209 char * kwnames[] = {
30210 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30211 };
30212
30213 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30214 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30215 if (!SWIG_IsOK(res1)) {
30216 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30217 }
30218 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30219 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30220 if (!SWIG_IsOK(res2)) {
30221 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30222 }
30223 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30224 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
30225 if (!SWIG_IsOK(res3)) {
30226 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30227 }
30228 if (!argp3) {
30229 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30230 }
30231 arg3 = reinterpret_cast< wxDC * >(argp3);
30232 {
30233 PyThreadState* __tstate = wxPyBeginAllowThreads();
30234 result = (bool)(arg1)->PaintPage(arg2,*arg3);
30235 wxPyEndAllowThreads(__tstate);
30236 if (PyErr_Occurred()) SWIG_fail;
30237 }
30238 {
30239 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30240 }
30241 return resultobj;
30242 fail:
30243 return NULL;
30244 }
30245
30246
30247 SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30248 PyObject *resultobj = 0;
30249 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30250 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30251 wxDC *arg3 = 0 ;
30252 bool result;
30253 void *argp1 = 0 ;
30254 int res1 = 0 ;
30255 void *argp2 = 0 ;
30256 int res2 = 0 ;
30257 void *argp3 = 0 ;
30258 int res3 = 0 ;
30259 PyObject * obj0 = 0 ;
30260 PyObject * obj1 = 0 ;
30261 PyObject * obj2 = 0 ;
30262 char * kwnames[] = {
30263 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30264 };
30265
30266 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30267 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30268 if (!SWIG_IsOK(res1)) {
30269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30270 }
30271 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30272 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30273 if (!SWIG_IsOK(res2)) {
30274 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30275 }
30276 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30277 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
30278 if (!SWIG_IsOK(res3)) {
30279 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30280 }
30281 if (!argp3) {
30282 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30283 }
30284 arg3 = reinterpret_cast< wxDC * >(argp3);
30285 {
30286 PyThreadState* __tstate = wxPyBeginAllowThreads();
30287 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
30288 wxPyEndAllowThreads(__tstate);
30289 if (PyErr_Occurred()) SWIG_fail;
30290 }
30291 {
30292 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30293 }
30294 return resultobj;
30295 fail:
30296 return NULL;
30297 }
30298
30299
30300 SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30301 PyObject *resultobj = 0;
30302 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30303 int arg2 ;
30304 bool result;
30305 void *argp1 = 0 ;
30306 int res1 = 0 ;
30307 int val2 ;
30308 int ecode2 = 0 ;
30309 PyObject * obj0 = 0 ;
30310 PyObject * obj1 = 0 ;
30311 char * kwnames[] = {
30312 (char *) "self",(char *) "pageNum", NULL
30313 };
30314
30315 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) SWIG_fail;
30316 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30317 if (!SWIG_IsOK(res1)) {
30318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30319 }
30320 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30321 ecode2 = SWIG_AsVal_int(obj1, &val2);
30322 if (!SWIG_IsOK(ecode2)) {
30323 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
30324 }
30325 arg2 = static_cast< int >(val2);
30326 {
30327 PyThreadState* __tstate = wxPyBeginAllowThreads();
30328 result = (bool)(arg1)->RenderPage(arg2);
30329 wxPyEndAllowThreads(__tstate);
30330 if (PyErr_Occurred()) SWIG_fail;
30331 }
30332 {
30333 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30334 }
30335 return resultobj;
30336 fail:
30337 return NULL;
30338 }
30339
30340
30341 SWIGINTERN PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30342 PyObject *resultobj = 0;
30343 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30344 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30345 void *argp1 = 0 ;
30346 int res1 = 0 ;
30347 void *argp2 = 0 ;
30348 int res2 = 0 ;
30349 PyObject * obj0 = 0 ;
30350 PyObject * obj1 = 0 ;
30351 char * kwnames[] = {
30352 (char *) "self",(char *) "canvas", NULL
30353 };
30354
30355 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
30356 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30357 if (!SWIG_IsOK(res1)) {
30358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30359 }
30360 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30361 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30362 if (!SWIG_IsOK(res2)) {
30363 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30364 }
30365 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30366 {
30367 PyThreadState* __tstate = wxPyBeginAllowThreads();
30368 (arg1)->AdjustScrollbars(arg2);
30369 wxPyEndAllowThreads(__tstate);
30370 if (PyErr_Occurred()) SWIG_fail;
30371 }
30372 resultobj = SWIG_Py_Void();
30373 return resultobj;
30374 fail:
30375 return NULL;
30376 }
30377
30378
30379 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30380 PyObject *resultobj = 0;
30381 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30382 wxPrintDialogData *result = 0 ;
30383 void *argp1 = 0 ;
30384 int res1 = 0 ;
30385 PyObject *swig_obj[1] ;
30386
30387 if (!args) SWIG_fail;
30388 swig_obj[0] = args;
30389 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30390 if (!SWIG_IsOK(res1)) {
30391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30392 }
30393 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30394 {
30395 PyThreadState* __tstate = wxPyBeginAllowThreads();
30396 {
30397 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
30398 result = (wxPrintDialogData *) &_result_ref;
30399 }
30400 wxPyEndAllowThreads(__tstate);
30401 if (PyErr_Occurred()) SWIG_fail;
30402 }
30403 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30404 return resultobj;
30405 fail:
30406 return NULL;
30407 }
30408
30409
30410 SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30411 PyObject *resultobj = 0;
30412 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30413 int arg2 ;
30414 void *argp1 = 0 ;
30415 int res1 = 0 ;
30416 int val2 ;
30417 int ecode2 = 0 ;
30418 PyObject * obj0 = 0 ;
30419 PyObject * obj1 = 0 ;
30420 char * kwnames[] = {
30421 (char *) "self",(char *) "percent", NULL
30422 };
30423
30424 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
30425 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30426 if (!SWIG_IsOK(res1)) {
30427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30428 }
30429 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30430 ecode2 = SWIG_AsVal_int(obj1, &val2);
30431 if (!SWIG_IsOK(ecode2)) {
30432 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
30433 }
30434 arg2 = static_cast< int >(val2);
30435 {
30436 PyThreadState* __tstate = wxPyBeginAllowThreads();
30437 (arg1)->SetZoom(arg2);
30438 wxPyEndAllowThreads(__tstate);
30439 if (PyErr_Occurred()) SWIG_fail;
30440 }
30441 resultobj = SWIG_Py_Void();
30442 return resultobj;
30443 fail:
30444 return NULL;
30445 }
30446
30447
30448 SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30449 PyObject *resultobj = 0;
30450 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30451 int result;
30452 void *argp1 = 0 ;
30453 int res1 = 0 ;
30454 PyObject *swig_obj[1] ;
30455
30456 if (!args) SWIG_fail;
30457 swig_obj[0] = args;
30458 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30459 if (!SWIG_IsOK(res1)) {
30460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30461 }
30462 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30463 {
30464 PyThreadState* __tstate = wxPyBeginAllowThreads();
30465 result = (int)(arg1)->GetZoom();
30466 wxPyEndAllowThreads(__tstate);
30467 if (PyErr_Occurred()) SWIG_fail;
30468 }
30469 resultobj = SWIG_From_int(static_cast< int >(result));
30470 return resultobj;
30471 fail:
30472 return NULL;
30473 }
30474
30475
30476 SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30477 PyObject *resultobj = 0;
30478 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30479 int result;
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_wxPrintPreview, 0 | 0 );
30487 if (!SWIG_IsOK(res1)) {
30488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30489 }
30490 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30491 {
30492 PyThreadState* __tstate = wxPyBeginAllowThreads();
30493 result = (int)(arg1)->GetMaxPage();
30494 wxPyEndAllowThreads(__tstate);
30495 if (PyErr_Occurred()) SWIG_fail;
30496 }
30497 resultobj = SWIG_From_int(static_cast< int >(result));
30498 return resultobj;
30499 fail:
30500 return NULL;
30501 }
30502
30503
30504 SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30505 PyObject *resultobj = 0;
30506 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30507 int result;
30508 void *argp1 = 0 ;
30509 int res1 = 0 ;
30510 PyObject *swig_obj[1] ;
30511
30512 if (!args) SWIG_fail;
30513 swig_obj[0] = args;
30514 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30515 if (!SWIG_IsOK(res1)) {
30516 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30517 }
30518 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30519 {
30520 PyThreadState* __tstate = wxPyBeginAllowThreads();
30521 result = (int)(arg1)->GetMinPage();
30522 wxPyEndAllowThreads(__tstate);
30523 if (PyErr_Occurred()) SWIG_fail;
30524 }
30525 resultobj = SWIG_From_int(static_cast< int >(result));
30526 return resultobj;
30527 fail:
30528 return NULL;
30529 }
30530
30531
30532 SWIGINTERN PyObject *_wrap_PrintPreview_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30533 PyObject *resultobj = 0;
30534 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30535 bool result;
30536 void *argp1 = 0 ;
30537 int res1 = 0 ;
30538 PyObject *swig_obj[1] ;
30539
30540 if (!args) SWIG_fail;
30541 swig_obj[0] = args;
30542 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30543 if (!SWIG_IsOK(res1)) {
30544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_IsOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30545 }
30546 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30547 {
30548 PyThreadState* __tstate = wxPyBeginAllowThreads();
30549 result = (bool)(arg1)->IsOk();
30550 wxPyEndAllowThreads(__tstate);
30551 if (PyErr_Occurred()) SWIG_fail;
30552 }
30553 {
30554 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30555 }
30556 return resultobj;
30557 fail:
30558 return NULL;
30559 }
30560
30561
30562 SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30563 PyObject *resultobj = 0;
30564 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30565 bool arg2 ;
30566 void *argp1 = 0 ;
30567 int res1 = 0 ;
30568 bool val2 ;
30569 int ecode2 = 0 ;
30570 PyObject * obj0 = 0 ;
30571 PyObject * obj1 = 0 ;
30572 char * kwnames[] = {
30573 (char *) "self",(char *) "ok", NULL
30574 };
30575
30576 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
30577 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30578 if (!SWIG_IsOK(res1)) {
30579 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30580 }
30581 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30582 ecode2 = SWIG_AsVal_bool(obj1, &val2);
30583 if (!SWIG_IsOK(ecode2)) {
30584 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
30585 }
30586 arg2 = static_cast< bool >(val2);
30587 {
30588 PyThreadState* __tstate = wxPyBeginAllowThreads();
30589 (arg1)->SetOk(arg2);
30590 wxPyEndAllowThreads(__tstate);
30591 if (PyErr_Occurred()) SWIG_fail;
30592 }
30593 resultobj = SWIG_Py_Void();
30594 return resultobj;
30595 fail:
30596 return NULL;
30597 }
30598
30599
30600 SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30601 PyObject *resultobj = 0;
30602 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30603 bool arg2 ;
30604 bool result;
30605 void *argp1 = 0 ;
30606 int res1 = 0 ;
30607 bool val2 ;
30608 int ecode2 = 0 ;
30609 PyObject * obj0 = 0 ;
30610 PyObject * obj1 = 0 ;
30611 char * kwnames[] = {
30612 (char *) "self",(char *) "interactive", NULL
30613 };
30614
30615 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
30616 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30617 if (!SWIG_IsOK(res1)) {
30618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30619 }
30620 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30621 ecode2 = SWIG_AsVal_bool(obj1, &val2);
30622 if (!SWIG_IsOK(ecode2)) {
30623 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
30624 }
30625 arg2 = static_cast< bool >(val2);
30626 {
30627 PyThreadState* __tstate = wxPyBeginAllowThreads();
30628 result = (bool)(arg1)->Print(arg2);
30629 wxPyEndAllowThreads(__tstate);
30630 if (PyErr_Occurred()) SWIG_fail;
30631 }
30632 {
30633 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30634 }
30635 return resultobj;
30636 fail:
30637 return NULL;
30638 }
30639
30640
30641 SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30642 PyObject *resultobj = 0;
30643 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30644 void *argp1 = 0 ;
30645 int res1 = 0 ;
30646 PyObject *swig_obj[1] ;
30647
30648 if (!args) SWIG_fail;
30649 swig_obj[0] = args;
30650 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30651 if (!SWIG_IsOK(res1)) {
30652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30653 }
30654 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30655 {
30656 PyThreadState* __tstate = wxPyBeginAllowThreads();
30657 (arg1)->DetermineScaling();
30658 wxPyEndAllowThreads(__tstate);
30659 if (PyErr_Occurred()) SWIG_fail;
30660 }
30661 resultobj = SWIG_Py_Void();
30662 return resultobj;
30663 fail:
30664 return NULL;
30665 }
30666
30667
30668 SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30669 PyObject *obj;
30670 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30671 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
30672 return SWIG_Py_Void();
30673 }
30674
30675 SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30676 return SWIG_Python_InitShadowInstance(args);
30677 }
30678
30679 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30680 PyObject *resultobj = 0;
30681 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30682 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30683 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
30684 wxPyPrintPreview *result = 0 ;
30685 int res1 = 0 ;
30686 int res2 = 0 ;
30687 void *argp3 = 0 ;
30688 int res3 = 0 ;
30689
30690 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
30691 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30692 if (!SWIG_IsOK(res1)) {
30693 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30694 }
30695 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30696 if (!SWIG_IsOK(res2)) {
30697 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30698 }
30699 if (swig_obj[2]) {
30700 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30701 if (!SWIG_IsOK(res3)) {
30702 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30703 }
30704 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
30705 }
30706 {
30707 if (!wxPyCheckForApp()) SWIG_fail;
30708 PyThreadState* __tstate = wxPyBeginAllowThreads();
30709 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30710 wxPyEndAllowThreads(__tstate);
30711 if (PyErr_Occurred()) SWIG_fail;
30712 }
30713 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30714 return resultobj;
30715 fail:
30716 return NULL;
30717 }
30718
30719
30720 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30721 PyObject *resultobj = 0;
30722 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30723 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30724 wxPrintData *arg3 = (wxPrintData *) 0 ;
30725 wxPyPrintPreview *result = 0 ;
30726 int res1 = 0 ;
30727 int res2 = 0 ;
30728 void *argp3 = 0 ;
30729 int res3 = 0 ;
30730
30731 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
30732 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30733 if (!SWIG_IsOK(res1)) {
30734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30735 }
30736 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30737 if (!SWIG_IsOK(res2)) {
30738 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30739 }
30740 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
30741 if (!SWIG_IsOK(res3)) {
30742 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30743 }
30744 arg3 = reinterpret_cast< wxPrintData * >(argp3);
30745 {
30746 if (!wxPyCheckForApp()) SWIG_fail;
30747 PyThreadState* __tstate = wxPyBeginAllowThreads();
30748 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30749 wxPyEndAllowThreads(__tstate);
30750 if (PyErr_Occurred()) SWIG_fail;
30751 }
30752 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30753 return resultobj;
30754 fail:
30755 return NULL;
30756 }
30757
30758
30759 SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
30760 int argc;
30761 PyObject *argv[4];
30762
30763 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
30764 --argc;
30765 if ((argc >= 2) && (argc <= 3)) {
30766 int _v = 0;
30767 if (argc > 2) {
30768 {
30769 void *vptr = 0;
30770 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
30771 _v = SWIG_CheckState(res);
30772 }
30773 if (!_v) goto check_1;
30774 }
30775 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
30776 }
30777 check_1:
30778
30779 if (argc == 3) {
30780 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
30781 }
30782
30783 fail:
30784 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
30785 return NULL;
30786 }
30787
30788
30789 SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30790 PyObject *resultobj = 0;
30791 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
30792 PyObject *arg2 = (PyObject *) 0 ;
30793 PyObject *arg3 = (PyObject *) 0 ;
30794 void *argp1 = 0 ;
30795 int res1 = 0 ;
30796 PyObject * obj0 = 0 ;
30797 PyObject * obj1 = 0 ;
30798 PyObject * obj2 = 0 ;
30799 char * kwnames[] = {
30800 (char *) "self",(char *) "self",(char *) "_class", NULL
30801 };
30802
30803 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30804 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
30805 if (!SWIG_IsOK(res1)) {
30806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
30807 }
30808 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
30809 arg2 = obj1;
30810 arg3 = obj2;
30811 {
30812 PyThreadState* __tstate = wxPyBeginAllowThreads();
30813 (arg1)->_setCallbackInfo(arg2,arg3);
30814 wxPyEndAllowThreads(__tstate);
30815 if (PyErr_Occurred()) SWIG_fail;
30816 }
30817 resultobj = SWIG_Py_Void();
30818 return resultobj;
30819 fail:
30820 return NULL;
30821 }
30822
30823
30824 SWIGINTERN PyObject *PyPrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30825 PyObject *obj;
30826 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30827 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview, SWIG_NewClientData(obj));
30828 return SWIG_Py_Void();
30829 }
30830
30831 SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30832 return SWIG_Python_InitShadowInstance(args);
30833 }
30834
30835 SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30836 PyObject *resultobj = 0;
30837 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30838 wxFrame *arg2 = (wxFrame *) 0 ;
30839 wxString *arg3 = 0 ;
30840 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30841 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30842 wxSize const &arg5_defvalue = wxDefaultSize ;
30843 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30844 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
30845 wxString const &arg7_defvalue = wxPyFrameNameStr ;
30846 wxString *arg7 = (wxString *) &arg7_defvalue ;
30847 wxPyPreviewFrame *result = 0 ;
30848 void *argp1 = 0 ;
30849 int res1 = 0 ;
30850 void *argp2 = 0 ;
30851 int res2 = 0 ;
30852 bool temp3 = false ;
30853 wxPoint temp4 ;
30854 wxSize temp5 ;
30855 long val6 ;
30856 int ecode6 = 0 ;
30857 bool temp7 = false ;
30858 PyObject * obj0 = 0 ;
30859 PyObject * obj1 = 0 ;
30860 PyObject * obj2 = 0 ;
30861 PyObject * obj3 = 0 ;
30862 PyObject * obj4 = 0 ;
30863 PyObject * obj5 = 0 ;
30864 PyObject * obj6 = 0 ;
30865 char * kwnames[] = {
30866 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30867 };
30868
30869 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30870 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30871 if (!SWIG_IsOK(res1)) {
30872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30873 }
30874 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30875 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
30876 if (!SWIG_IsOK(res2)) {
30877 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30878 }
30879 arg2 = reinterpret_cast< wxFrame * >(argp2);
30880 {
30881 arg3 = wxString_in_helper(obj2);
30882 if (arg3 == NULL) SWIG_fail;
30883 temp3 = true;
30884 }
30885 if (obj3) {
30886 {
30887 arg4 = &temp4;
30888 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30889 }
30890 }
30891 if (obj4) {
30892 {
30893 arg5 = &temp5;
30894 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
30895 }
30896 }
30897 if (obj5) {
30898 ecode6 = SWIG_AsVal_long(obj5, &val6);
30899 if (!SWIG_IsOK(ecode6)) {
30900 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30901 }
30902 arg6 = static_cast< long >(val6);
30903 }
30904 if (obj6) {
30905 {
30906 arg7 = wxString_in_helper(obj6);
30907 if (arg7 == NULL) SWIG_fail;
30908 temp7 = true;
30909 }
30910 }
30911 {
30912 if (!wxPyCheckForApp()) SWIG_fail;
30913 PyThreadState* __tstate = wxPyBeginAllowThreads();
30914 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30915 wxPyEndAllowThreads(__tstate);
30916 if (PyErr_Occurred()) SWIG_fail;
30917 }
30918 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
30919 {
30920 if (temp3)
30921 delete arg3;
30922 }
30923 {
30924 if (temp7)
30925 delete arg7;
30926 }
30927 return resultobj;
30928 fail:
30929 {
30930 if (temp3)
30931 delete arg3;
30932 }
30933 {
30934 if (temp7)
30935 delete arg7;
30936 }
30937 return NULL;
30938 }
30939
30940
30941 SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30942 PyObject *resultobj = 0;
30943 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30944 PyObject *arg2 = (PyObject *) 0 ;
30945 PyObject *arg3 = (PyObject *) 0 ;
30946 void *argp1 = 0 ;
30947 int res1 = 0 ;
30948 PyObject * obj0 = 0 ;
30949 PyObject * obj1 = 0 ;
30950 PyObject * obj2 = 0 ;
30951 char * kwnames[] = {
30952 (char *) "self",(char *) "self",(char *) "_class", NULL
30953 };
30954
30955 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30956 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30957 if (!SWIG_IsOK(res1)) {
30958 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30959 }
30960 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30961 arg2 = obj1;
30962 arg3 = obj2;
30963 {
30964 PyThreadState* __tstate = wxPyBeginAllowThreads();
30965 (arg1)->_setCallbackInfo(arg2,arg3);
30966 wxPyEndAllowThreads(__tstate);
30967 if (PyErr_Occurred()) SWIG_fail;
30968 }
30969 resultobj = SWIG_Py_Void();
30970 return resultobj;
30971 fail:
30972 return NULL;
30973 }
30974
30975
30976 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30977 PyObject *resultobj = 0;
30978 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30979 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30980 void *argp1 = 0 ;
30981 int res1 = 0 ;
30982 void *argp2 = 0 ;
30983 int res2 = 0 ;
30984 PyObject * obj0 = 0 ;
30985 PyObject * obj1 = 0 ;
30986 char * kwnames[] = {
30987 (char *) "self",(char *) "canvas", NULL
30988 };
30989
30990 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
30991 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30992 if (!SWIG_IsOK(res1)) {
30993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30994 }
30995 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30996 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30997 if (!SWIG_IsOK(res2)) {
30998 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30999 }
31000 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
31001 {
31002 PyThreadState* __tstate = wxPyBeginAllowThreads();
31003 (arg1)->SetPreviewCanvas(arg2);
31004 wxPyEndAllowThreads(__tstate);
31005 if (PyErr_Occurred()) SWIG_fail;
31006 }
31007 resultobj = SWIG_Py_Void();
31008 return resultobj;
31009 fail:
31010 return NULL;
31011 }
31012
31013
31014 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31015 PyObject *resultobj = 0;
31016 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31017 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
31018 void *argp1 = 0 ;
31019 int res1 = 0 ;
31020 void *argp2 = 0 ;
31021 int res2 = 0 ;
31022 PyObject * obj0 = 0 ;
31023 PyObject * obj1 = 0 ;
31024 char * kwnames[] = {
31025 (char *) "self",(char *) "bar", NULL
31026 };
31027
31028 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
31029 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31030 if (!SWIG_IsOK(res1)) {
31031 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31032 }
31033 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31034 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
31035 if (!SWIG_IsOK(res2)) {
31036 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
31037 }
31038 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
31039 {
31040 PyThreadState* __tstate = wxPyBeginAllowThreads();
31041 (arg1)->SetControlBar(arg2);
31042 wxPyEndAllowThreads(__tstate);
31043 if (PyErr_Occurred()) SWIG_fail;
31044 }
31045 resultobj = SWIG_Py_Void();
31046 return resultobj;
31047 fail:
31048 return NULL;
31049 }
31050
31051
31052 SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31053 PyObject *resultobj = 0;
31054 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31055 void *argp1 = 0 ;
31056 int res1 = 0 ;
31057 PyObject *swig_obj[1] ;
31058
31059 if (!args) SWIG_fail;
31060 swig_obj[0] = args;
31061 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31062 if (!SWIG_IsOK(res1)) {
31063 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31064 }
31065 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31066 {
31067 PyThreadState* __tstate = wxPyBeginAllowThreads();
31068 (arg1)->Initialize();
31069 wxPyEndAllowThreads(__tstate);
31070 if (PyErr_Occurred()) SWIG_fail;
31071 }
31072 resultobj = SWIG_Py_Void();
31073 return resultobj;
31074 fail:
31075 return NULL;
31076 }
31077
31078
31079 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31080 PyObject *resultobj = 0;
31081 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31082 void *argp1 = 0 ;
31083 int res1 = 0 ;
31084 PyObject *swig_obj[1] ;
31085
31086 if (!args) SWIG_fail;
31087 swig_obj[0] = args;
31088 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31089 if (!SWIG_IsOK(res1)) {
31090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31091 }
31092 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31093 {
31094 PyThreadState* __tstate = wxPyBeginAllowThreads();
31095 (arg1)->CreateCanvas();
31096 wxPyEndAllowThreads(__tstate);
31097 if (PyErr_Occurred()) SWIG_fail;
31098 }
31099 resultobj = SWIG_Py_Void();
31100 return resultobj;
31101 fail:
31102 return NULL;
31103 }
31104
31105
31106 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31107 PyObject *resultobj = 0;
31108 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31109 void *argp1 = 0 ;
31110 int res1 = 0 ;
31111 PyObject *swig_obj[1] ;
31112
31113 if (!args) SWIG_fail;
31114 swig_obj[0] = args;
31115 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31116 if (!SWIG_IsOK(res1)) {
31117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31118 }
31119 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31120 {
31121 PyThreadState* __tstate = wxPyBeginAllowThreads();
31122 (arg1)->CreateControlBar();
31123 wxPyEndAllowThreads(__tstate);
31124 if (PyErr_Occurred()) SWIG_fail;
31125 }
31126 resultobj = SWIG_Py_Void();
31127 return resultobj;
31128 fail:
31129 return NULL;
31130 }
31131
31132
31133 SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31134 PyObject *obj;
31135 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31136 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
31137 return SWIG_Py_Void();
31138 }
31139
31140 SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31141 return SWIG_Python_InitShadowInstance(args);
31142 }
31143
31144 SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31145 PyObject *resultobj = 0;
31146 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31147 long arg2 ;
31148 wxWindow *arg3 = (wxWindow *) 0 ;
31149 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31150 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31151 wxSize const &arg5_defvalue = wxDefaultSize ;
31152 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31153 long arg6 = (long) 0 ;
31154 wxString const &arg7_defvalue = wxPyPanelNameStr ;
31155 wxString *arg7 = (wxString *) &arg7_defvalue ;
31156 wxPyPreviewControlBar *result = 0 ;
31157 void *argp1 = 0 ;
31158 int res1 = 0 ;
31159 long val2 ;
31160 int ecode2 = 0 ;
31161 void *argp3 = 0 ;
31162 int res3 = 0 ;
31163 wxPoint temp4 ;
31164 wxSize temp5 ;
31165 long val6 ;
31166 int ecode6 = 0 ;
31167 bool temp7 = false ;
31168 PyObject * obj0 = 0 ;
31169 PyObject * obj1 = 0 ;
31170 PyObject * obj2 = 0 ;
31171 PyObject * obj3 = 0 ;
31172 PyObject * obj4 = 0 ;
31173 PyObject * obj5 = 0 ;
31174 PyObject * obj6 = 0 ;
31175 char * kwnames[] = {
31176 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31177 };
31178
31179 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
31180 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31181 if (!SWIG_IsOK(res1)) {
31182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31183 }
31184 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
31185 ecode2 = SWIG_AsVal_long(obj1, &val2);
31186 if (!SWIG_IsOK(ecode2)) {
31187 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
31188 }
31189 arg2 = static_cast< long >(val2);
31190 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
31191 if (!SWIG_IsOK(res3)) {
31192 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
31193 }
31194 arg3 = reinterpret_cast< wxWindow * >(argp3);
31195 if (obj3) {
31196 {
31197 arg4 = &temp4;
31198 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31199 }
31200 }
31201 if (obj4) {
31202 {
31203 arg5 = &temp5;
31204 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31205 }
31206 }
31207 if (obj5) {
31208 ecode6 = SWIG_AsVal_long(obj5, &val6);
31209 if (!SWIG_IsOK(ecode6)) {
31210 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
31211 }
31212 arg6 = static_cast< long >(val6);
31213 }
31214 if (obj6) {
31215 {
31216 arg7 = wxString_in_helper(obj6);
31217 if (arg7 == NULL) SWIG_fail;
31218 temp7 = true;
31219 }
31220 }
31221 {
31222 if (!wxPyCheckForApp()) SWIG_fail;
31223 PyThreadState* __tstate = wxPyBeginAllowThreads();
31224 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
31225 wxPyEndAllowThreads(__tstate);
31226 if (PyErr_Occurred()) SWIG_fail;
31227 }
31228 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
31229 {
31230 if (temp7)
31231 delete arg7;
31232 }
31233 return resultobj;
31234 fail:
31235 {
31236 if (temp7)
31237 delete arg7;
31238 }
31239 return NULL;
31240 }
31241
31242
31243 SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31244 PyObject *resultobj = 0;
31245 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31246 PyObject *arg2 = (PyObject *) 0 ;
31247 PyObject *arg3 = (PyObject *) 0 ;
31248 void *argp1 = 0 ;
31249 int res1 = 0 ;
31250 PyObject * obj0 = 0 ;
31251 PyObject * obj1 = 0 ;
31252 PyObject * obj2 = 0 ;
31253 char * kwnames[] = {
31254 (char *) "self",(char *) "self",(char *) "_class", NULL
31255 };
31256
31257 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31258 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31259 if (!SWIG_IsOK(res1)) {
31260 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31261 }
31262 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31263 arg2 = obj1;
31264 arg3 = obj2;
31265 {
31266 PyThreadState* __tstate = wxPyBeginAllowThreads();
31267 (arg1)->_setCallbackInfo(arg2,arg3);
31268 wxPyEndAllowThreads(__tstate);
31269 if (PyErr_Occurred()) SWIG_fail;
31270 }
31271 resultobj = SWIG_Py_Void();
31272 return resultobj;
31273 fail:
31274 return NULL;
31275 }
31276
31277
31278 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31279 PyObject *resultobj = 0;
31280 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31281 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
31282 void *argp1 = 0 ;
31283 int res1 = 0 ;
31284 void *argp2 = 0 ;
31285 int res2 = 0 ;
31286 PyObject * obj0 = 0 ;
31287 PyObject * obj1 = 0 ;
31288 char * kwnames[] = {
31289 (char *) "self",(char *) "preview", NULL
31290 };
31291
31292 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
31293 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31294 if (!SWIG_IsOK(res1)) {
31295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31296 }
31297 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31298 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31299 if (!SWIG_IsOK(res2)) {
31300 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
31301 }
31302 arg2 = reinterpret_cast< wxPrintPreview * >(argp2);
31303 {
31304 PyThreadState* __tstate = wxPyBeginAllowThreads();
31305 (arg1)->SetPrintPreview(arg2);
31306 wxPyEndAllowThreads(__tstate);
31307 if (PyErr_Occurred()) SWIG_fail;
31308 }
31309 resultobj = SWIG_Py_Void();
31310 return resultobj;
31311 fail:
31312 return NULL;
31313 }
31314
31315
31316 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31317 PyObject *resultobj = 0;
31318 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31319 void *argp1 = 0 ;
31320 int res1 = 0 ;
31321 PyObject *swig_obj[1] ;
31322
31323 if (!args) SWIG_fail;
31324 swig_obj[0] = args;
31325 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31326 if (!SWIG_IsOK(res1)) {
31327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31328 }
31329 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31330 {
31331 PyThreadState* __tstate = wxPyBeginAllowThreads();
31332 (arg1)->CreateButtons();
31333 wxPyEndAllowThreads(__tstate);
31334 if (PyErr_Occurred()) SWIG_fail;
31335 }
31336 resultobj = SWIG_Py_Void();
31337 return resultobj;
31338 fail:
31339 return NULL;
31340 }
31341
31342
31343 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31344 PyObject *resultobj = 0;
31345 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31346 int arg2 ;
31347 void *argp1 = 0 ;
31348 int res1 = 0 ;
31349 int val2 ;
31350 int ecode2 = 0 ;
31351 PyObject * obj0 = 0 ;
31352 PyObject * obj1 = 0 ;
31353 char * kwnames[] = {
31354 (char *) "self",(char *) "zoom", NULL
31355 };
31356
31357 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
31358 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31359 if (!SWIG_IsOK(res1)) {
31360 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31361 }
31362 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31363 ecode2 = SWIG_AsVal_int(obj1, &val2);
31364 if (!SWIG_IsOK(ecode2)) {
31365 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
31366 }
31367 arg2 = static_cast< int >(val2);
31368 {
31369 PyThreadState* __tstate = wxPyBeginAllowThreads();
31370 (arg1)->SetZoomControl(arg2);
31371 wxPyEndAllowThreads(__tstate);
31372 if (PyErr_Occurred()) SWIG_fail;
31373 }
31374 resultobj = SWIG_Py_Void();
31375 return resultobj;
31376 fail:
31377 return NULL;
31378 }
31379
31380
31381 SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31382 PyObject *obj;
31383 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31384 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
31385 return SWIG_Py_Void();
31386 }
31387
31388 SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31389 return SWIG_Python_InitShadowInstance(args);
31390 }
31391
31392 static PyMethodDef SwigMethods[] = {
31393 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
31394 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
31395 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31396 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
31397 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31398 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
31399 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
31400 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31401 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
31402 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31403 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
31404 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
31405 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
31406 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
31407 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
31408 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
31409 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
31410 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
31411 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
31412 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
31413 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
31414 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
31415 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
31416 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
31417 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
31418 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31419 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
31420 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
31421 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31422 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
31423 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
31424 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
31425 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
31426 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
31427 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
31428 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction)_wrap_TopLevelWindow_IsAlwaysMaximized, METH_O, NULL},
31429 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
31430 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
31431 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31432 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
31433 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31434 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
31435 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
31436 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
31437 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction) _wrap_TopLevelWindow_EnableCloseButton, METH_VARARGS | METH_KEYWORDS, NULL},
31438 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
31439 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
31440 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
31441 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
31442 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
31443 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31444 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetDefaultItem, METH_O, NULL},
31445 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
31446 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
31447 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetTmpDefaultItem, METH_O, NULL},
31448 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
31449 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
31450 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
31451 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31452 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
31453 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
31454 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
31455 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
31456 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31457 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
31458 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31459 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31460 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
31461 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31462 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31463 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
31464 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
31465 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
31466 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
31467 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
31468 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31469 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
31470 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31471 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
31472 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
31473 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
31474 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
31475 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31476 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
31477 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
31478 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
31479 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
31480 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
31481 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
31482 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31483 { (char *)"Dialog__CreateButtonSizer", (PyCFunction) _wrap_Dialog__CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31484 { (char *)"Dialog_CreateSeparatedButtonSizer", (PyCFunction) _wrap_Dialog_CreateSeparatedButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31485 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31486 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
31487 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
31488 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
31489 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31490 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
31491 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
31492 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31493 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
31494 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31495 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
31496 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
31497 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31498 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
31499 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
31500 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
31501 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
31502 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31503 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
31504 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
31505 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
31506 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
31507 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
31508 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31509 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
31510 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31511 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
31512 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
31513 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31514 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31515 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31516 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31517 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
31518 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
31519 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
31520 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
31521 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
31522 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
31523 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31524 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
31525 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
31526 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31527 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
31528 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31529 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
31530 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
31531 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
31532 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
31533 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
31534 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
31535 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
31536 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
31537 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31538 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
31539 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
31540 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
31541 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31542 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
31543 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
31544 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31545 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
31546 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
31547 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
31548 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
31549 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
31550 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31551 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
31552 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
31553 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
31554 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31555 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
31556 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
31557 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31558 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31559 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
31560 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
31561 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
31562 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
31563 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
31564 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
31565 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31566 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
31567 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31568 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31569 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31570 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
31571 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
31572 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
31573 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31574 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
31575 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31576 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
31577 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
31578 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
31579 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
31580 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
31581 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
31582 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
31583 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
31584 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
31585 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31586 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
31587 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
31588 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
31589 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31590 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
31591 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
31592 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
31593 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
31594 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
31595 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
31596 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
31597 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
31598 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31599 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
31600 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
31601 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31602 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
31603 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31604 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
31605 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31606 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
31607 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
31608 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
31609 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
31610 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
31611 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31612 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31613 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
31614 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
31615 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
31616 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
31617 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
31618 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31619 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
31620 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31621 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
31622 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
31623 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
31624 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
31625 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31626 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
31627 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
31628 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
31629 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
31630 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31631 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31632 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31633 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
31634 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
31635 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31636 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
31637 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31638 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL},
31639 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
31640 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
31641 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31642 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
31643 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31644 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL},
31645 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction)_wrap_PopupTransientWindow_Dismiss, METH_O, NULL},
31646 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
31647 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
31648 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31649 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
31650 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
31651 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
31652 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
31653 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31654 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
31655 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31656 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31657 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
31658 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
31659 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
31660 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
31661 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
31662 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31663 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction)_wrap_VScrolledWindow_RefreshAll, METH_O, NULL},
31664 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction)_wrap_VScrolledWindow_GetLineCount, METH_O, NULL},
31665 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction)_wrap_VScrolledWindow_GetVisibleBegin, METH_O, NULL},
31666 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction)_wrap_VScrolledWindow_GetVisibleEnd, METH_O, NULL},
31667 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31668 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetFirstVisibleLine, METH_O, NULL},
31669 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetLastVisibleLine, METH_O, NULL},
31670 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction) _wrap_VScrolledWindow_FindFirstFromBottom, METH_VARARGS | METH_KEYWORDS, NULL},
31671 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction) _wrap_VScrolledWindow_GetLinesHeight, METH_VARARGS | METH_KEYWORDS, NULL},
31672 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
31673 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
31674 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
31675 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
31676 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31677 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31678 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
31679 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
31680 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
31681 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
31682 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
31683 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
31684 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
31685 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
31686 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
31687 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
31688 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
31689 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
31690 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31691 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
31692 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
31693 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
31694 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
31695 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
31696 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31697 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
31698 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31699 { (char *)"VListBox_OnDrawSeparator", (PyCFunction) _wrap_VListBox_OnDrawSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
31700 { (char *)"VListBox_OnDrawBackground", (PyCFunction) _wrap_VListBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31701 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
31702 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
31703 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
31704 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
31705 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31706 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31707 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
31708 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
31709 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction) _wrap_HtmlListBox_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
31710 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
31711 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
31712 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
31713 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
31714 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31715 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
31716 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
31717 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
31718 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31719 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
31720 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31721 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
31722 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
31723 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31724 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
31725 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
31726 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
31727 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
31728 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
31729 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
31730 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31731 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
31732 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31733 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31734 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
31735 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
31736 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31737 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
31738 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
31739 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
31740 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
31741 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31742 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
31743 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
31744 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31745 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31746 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
31747 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
31748 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31749 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31750 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31751 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
31752 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31753 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
31754 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
31755 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
31756 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
31757 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
31758 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
31759 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
31760 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
31761 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
31762 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
31763 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
31764 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
31765 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31766 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
31767 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
31768 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
31769 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
31770 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31771 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
31772 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
31773 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31774 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
31775 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
31776 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31777 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
31778 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
31779 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
31780 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
31781 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31782 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
31783 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
31784 { (char *)"new_NumberEntryDialog", (PyCFunction) _wrap_new_NumberEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31785 { (char *)"NumberEntryDialog_GetValue", (PyCFunction)_wrap_NumberEntryDialog_GetValue, METH_O, NULL},
31786 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister, METH_VARARGS, NULL},
31787 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit, METH_VARARGS, NULL},
31788 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
31789 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
31790 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
31791 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
31792 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
31793 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
31794 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
31795 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
31796 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
31797 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
31798 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
31799 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31800 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
31801 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
31802 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31803 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
31804 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
31805 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31806 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
31807 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
31808 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
31809 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
31810 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31811 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
31812 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
31813 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31814 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
31815 { (char *)"ProgressDialog_Pulse", (PyCFunction) _wrap_ProgressDialog_Pulse, METH_VARARGS | METH_KEYWORDS, NULL},
31816 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
31817 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
31818 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
31819 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31820 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
31821 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
31822 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
31823 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
31824 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31825 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31826 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31827 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
31828 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
31829 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
31830 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
31831 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
31832 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
31833 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
31834 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31835 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31836 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31837 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
31838 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
31839 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31840 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
31841 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31842 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
31843 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
31844 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
31845 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
31846 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31847 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
31848 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31849 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
31850 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
31851 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
31852 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
31853 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
31854 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
31855 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
31856 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
31857 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
31858 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31859 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
31860 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31861 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
31862 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
31863 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
31864 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31865 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
31866 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31867 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
31868 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
31869 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31870 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
31871 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31872 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31873 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31874 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31875 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31876 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31877 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
31878 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
31879 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
31880 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
31881 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
31882 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
31883 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
31884 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
31885 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
31886 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
31887 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
31888 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31889 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31890 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31891 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31892 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31893 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31894 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
31895 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
31896 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
31897 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
31898 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
31899 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
31900 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
31901 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
31902 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
31903 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31904 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
31905 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31906 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31907 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31908 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31909 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31910 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31911 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
31912 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
31913 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
31914 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
31915 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
31916 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
31917 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
31918 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
31919 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
31920 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
31921 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
31922 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
31923 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
31924 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
31925 { (char *)"PrintData_IsOk", (PyCFunction)_wrap_PrintData_IsOk, METH_O, NULL},
31926 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
31927 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
31928 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
31929 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
31930 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
31931 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
31932 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
31933 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
31934 { (char *)"PrintData_GetMedia", (PyCFunction)_wrap_PrintData_GetMedia, METH_O, NULL},
31935 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31936 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31937 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31938 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
31939 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31940 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
31941 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31942 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31943 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
31944 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
31945 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
31946 { (char *)"PrintData_SetMedia", (PyCFunction) _wrap_PrintData_SetMedia, METH_VARARGS | METH_KEYWORDS, NULL},
31947 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
31948 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31949 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
31950 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
31951 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
31952 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
31953 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
31954 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
31955 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31956 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31957 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31958 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
31959 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
31960 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
31961 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
31962 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
31963 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
31964 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
31965 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
31966 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
31967 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
31968 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
31969 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
31970 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
31971 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
31972 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
31973 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
31974 { (char *)"PageSetupDialogData_IsOk", (PyCFunction)_wrap_PageSetupDialogData_IsOk, METH_O, NULL},
31975 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31976 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31977 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31978 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31979 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31980 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31981 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31982 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31983 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31984 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
31985 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
31986 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
31987 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
31988 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31989 { (char *)"delete_PageSetupDialog", (PyCFunction)_wrap_delete_PageSetupDialog, METH_O, NULL},
31990 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
31991 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
31992 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
31993 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
31994 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
31995 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
31996 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
31997 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
31998 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
31999 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
32000 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
32001 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
32002 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
32003 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
32004 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
32005 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
32006 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
32007 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
32008 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
32009 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
32010 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
32011 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
32012 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
32013 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
32014 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
32015 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
32016 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
32017 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
32018 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
32019 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
32020 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
32021 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
32022 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
32023 { (char *)"PrintDialogData_IsOk", (PyCFunction)_wrap_PrintDialogData_IsOk, METH_O, NULL},
32024 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
32025 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
32026 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
32027 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
32028 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32029 { (char *)"delete_PrintDialog", (PyCFunction)_wrap_delete_PrintDialog, METH_O, NULL},
32030 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
32031 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
32032 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
32033 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
32034 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
32035 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
32036 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
32037 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
32038 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32039 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
32040 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
32041 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
32042 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32043 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
32044 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
32045 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
32046 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
32047 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
32048 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
32049 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
32050 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32051 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
32052 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
32053 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
32054 { (char *)"Printout_FitThisSizeToPaper", (PyCFunction) _wrap_Printout_FitThisSizeToPaper, METH_VARARGS | METH_KEYWORDS, NULL},
32055 { (char *)"Printout_FitThisSizeToPage", (PyCFunction) _wrap_Printout_FitThisSizeToPage, METH_VARARGS | METH_KEYWORDS, NULL},
32056 { (char *)"Printout_FitThisSizeToPageMargins", (PyCFunction) _wrap_Printout_FitThisSizeToPageMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32057 { (char *)"Printout_MapScreenSizeToPaper", (PyCFunction)_wrap_Printout_MapScreenSizeToPaper, METH_O, NULL},
32058 { (char *)"Printout_MapScreenSizeToPage", (PyCFunction)_wrap_Printout_MapScreenSizeToPage, METH_O, NULL},
32059 { (char *)"Printout_MapScreenSizeToPageMargins", (PyCFunction) _wrap_Printout_MapScreenSizeToPageMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32060 { (char *)"Printout_MapScreenSizeToDevice", (PyCFunction)_wrap_Printout_MapScreenSizeToDevice, METH_O, NULL},
32061 { (char *)"Printout_GetLogicalPaperRect", (PyCFunction)_wrap_Printout_GetLogicalPaperRect, METH_O, NULL},
32062 { (char *)"Printout_GetLogicalPageRect", (PyCFunction)_wrap_Printout_GetLogicalPageRect, METH_O, NULL},
32063 { (char *)"Printout_GetLogicalPageMarginsRect", (PyCFunction) _wrap_Printout_GetLogicalPageMarginsRect, METH_VARARGS | METH_KEYWORDS, NULL},
32064 { (char *)"Printout_SetLogicalOrigin", (PyCFunction) _wrap_Printout_SetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
32065 { (char *)"Printout_OffsetLogicalOrigin", (PyCFunction) _wrap_Printout_OffsetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
32066 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
32067 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
32068 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
32069 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
32070 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
32071 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
32072 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
32073 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
32074 { (char *)"Printout_SetPaperRectPixels", (PyCFunction) _wrap_Printout_SetPaperRectPixels, METH_VARARGS | METH_KEYWORDS, NULL},
32075 { (char *)"Printout_GetPaperRectPixels", (PyCFunction)_wrap_Printout_GetPaperRectPixels, METH_O, NULL},
32076 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
32077 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
32078 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
32079 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
32080 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
32081 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
32082 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
32083 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
32084 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
32085 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
32086 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
32087 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
32088 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
32089 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
32090 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32091 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
32092 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
32093 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
32094 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
32095 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
32096 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
32097 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
32098 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
32099 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
32100 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
32101 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
32102 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
32103 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
32104 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
32105 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
32106 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
32107 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
32108 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
32109 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
32110 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
32111 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
32112 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
32113 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
32114 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
32115 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32116 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
32117 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
32118 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
32119 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
32120 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
32121 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
32122 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
32123 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
32124 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
32125 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
32126 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
32127 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
32128 { (char *)"PrintPreview_IsOk", (PyCFunction)_wrap_PrintPreview_IsOk, METH_O, NULL},
32129 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
32130 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
32131 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
32132 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
32133 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
32134 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
32135 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32136 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
32137 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
32138 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32139 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32140 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
32141 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
32142 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
32143 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
32144 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
32145 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
32146 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
32147 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
32148 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32149 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
32150 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
32151 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
32152 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
32153 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
32154 { NULL, NULL, 0, NULL }
32155 };
32156
32157
32158 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32159
32160 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
32161 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32162 }
32163 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
32164 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
32165 }
32166 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
32167 return (void *)((wxEvent *) ((wxMenuEvent *) x));
32168 }
32169 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
32170 return (void *)((wxEvent *) ((wxCloseEvent *) x));
32171 }
32172 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
32173 return (void *)((wxEvent *) ((wxMouseEvent *) x));
32174 }
32175 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
32176 return (void *)((wxEvent *) ((wxEraseEvent *) x));
32177 }
32178 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
32179 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
32180 }
32181 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
32182 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
32183 }
32184 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
32185 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
32186 }
32187 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
32188 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
32189 }
32190 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
32191 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
32192 }
32193 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
32194 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
32195 }
32196 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
32197 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
32198 }
32199 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
32200 return (void *)((wxEvent *) ((wxPyEvent *) x));
32201 }
32202 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
32203 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
32204 }
32205 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
32206 return (void *)((wxEvent *) ((wxIdleEvent *) x));
32207 }
32208 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
32209 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
32210 }
32211 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
32212 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
32213 }
32214 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
32215 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
32216 }
32217 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
32218 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
32219 }
32220 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
32221 return (void *)((wxEvent *) ((wxActivateEvent *) x));
32222 }
32223 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
32224 return (void *)((wxEvent *) ((wxSizeEvent *) x));
32225 }
32226 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
32227 return (void *)((wxEvent *) ((wxMoveEvent *) x));
32228 }
32229 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
32230 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
32231 }
32232 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
32233 return (void *)((wxEvent *) ((wxPaintEvent *) x));
32234 }
32235 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
32236 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
32237 }
32238 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
32239 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
32240 }
32241 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
32242 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
32243 }
32244 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
32245 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
32246 }
32247 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
32248 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
32249 }
32250 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
32251 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32252 }
32253 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
32254 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
32255 }
32256 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
32257 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
32258 }
32259 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
32260 return (void *)((wxEvent *) ((wxFocusEvent *) x));
32261 }
32262 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
32263 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
32264 }
32265 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
32266 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
32267 }
32268 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
32269 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
32270 }
32271 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
32272 return (void *)((wxEvent *) ((wxShowEvent *) x));
32273 }
32274 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
32275 return (void *)((wxEvent *) ((wxCommandEvent *) x));
32276 }
32277 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
32278 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
32279 }
32280 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
32281 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32282 }
32283 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
32284 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
32285 }
32286 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
32287 return (void *)((wxEvent *) ((wxKeyEvent *) x));
32288 }
32289 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
32290 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
32291 }
32292 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
32293 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
32294 }
32295 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
32296 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
32297 }
32298 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
32299 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32300 }
32301 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
32302 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32303 }
32304 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
32305 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32306 }
32307 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
32308 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
32309 }
32310 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
32311 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
32312 }
32313 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
32314 return (void *)((wxEvtHandler *) ((wxValidator *) x));
32315 }
32316 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
32317 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
32318 }
32319 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
32320 return (void *)((wxEvtHandler *) ((wxMenu *) x));
32321 }
32322 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
32323 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32324 }
32325 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
32326 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32327 }
32328 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
32329 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32330 }
32331 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
32332 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32333 }
32334 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
32335 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32336 }
32337 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
32338 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32339 }
32340 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
32341 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32342 }
32343 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
32344 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32345 }
32346 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
32347 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32348 }
32349 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
32350 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
32351 }
32352 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
32353 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
32354 }
32355 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
32356 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
32357 }
32358 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
32359 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32360 }
32361 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
32362 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32363 }
32364 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
32365 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
32366 }
32367 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
32368 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
32369 }
32370 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
32371 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
32372 }
32373 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
32374 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
32375 }
32376 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
32377 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
32378 }
32379 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
32380 return (void *)((wxEvtHandler *) ((wxWindow *) x));
32381 }
32382 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
32383 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
32384 }
32385 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
32386 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
32387 }
32388 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
32389 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
32390 }
32391 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
32392 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32393 }
32394 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
32395 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
32396 }
32397 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
32398 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32399 }
32400 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
32401 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32402 }
32403 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
32404 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32405 }
32406 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
32407 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
32408 }
32409 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
32410 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32411 }
32412 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
32413 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
32414 }
32415 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
32416 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32417 }
32418 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
32419 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32420 }
32421 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
32422 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32423 }
32424 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
32425 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
32426 }
32427 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
32428 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32429 }
32430 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
32431 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
32432 }
32433 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
32434 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
32435 }
32436 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
32437 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32438 }
32439 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
32440 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32441 }
32442 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
32443 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
32444 }
32445 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
32446 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32447 }
32448 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
32449 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32450 }
32451 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
32452 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
32453 }
32454 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
32455 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
32456 }
32457 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
32458 return (void *)((wxFrame *) ((wxProgressDialog *) x));
32459 }
32460 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
32461 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
32462 }
32463 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
32464 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32465 }
32466 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
32467 return (void *)((wxFrame *) ((wxMiniFrame *) x));
32468 }
32469 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
32470 return (void *)((wxFrame *) ((wxSplashScreen *) x));
32471 }
32472 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
32473 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
32474 }
32475 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
32476 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
32477 }
32478 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
32479 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
32480 }
32481 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
32482 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32483 }
32484 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
32485 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32486 }
32487 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
32488 return (void *)((wxObject *) ((wxSizerItem *) x));
32489 }
32490 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
32491 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
32492 }
32493 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
32494 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
32495 }
32496 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
32497 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
32498 }
32499 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
32500 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
32501 }
32502 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
32503 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
32504 }
32505 static void *_p_wxSizerTo_p_wxObject(void *x) {
32506 return (void *)((wxObject *) ((wxSizer *) x));
32507 }
32508 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
32509 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
32510 }
32511 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
32512 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
32513 }
32514 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
32515 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
32516 }
32517 static void *_p_wxEventTo_p_wxObject(void *x) {
32518 return (void *)((wxObject *) ((wxEvent *) x));
32519 }
32520 static void *_p_wxFontDataTo_p_wxObject(void *x) {
32521 return (void *)((wxObject *) ((wxFontData *) x));
32522 }
32523 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
32524 return (void *)((wxObject *) ((wxPrintData *) x));
32525 }
32526 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
32527 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
32528 }
32529 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
32530 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
32531 }
32532 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
32533 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
32534 }
32535 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
32536 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
32537 }
32538 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
32539 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
32540 }
32541 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
32542 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
32543 }
32544 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
32545 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
32546 }
32547 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
32548 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
32549 }
32550 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
32551 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
32552 }
32553 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
32554 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
32555 }
32556 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
32557 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
32558 }
32559 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
32560 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32561 }
32562 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
32563 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
32564 }
32565 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
32566 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32567 }
32568 static void *_p_wxControlTo_p_wxObject(void *x) {
32569 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
32570 }
32571 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
32572 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
32573 }
32574 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
32575 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
32576 }
32577 static void *_p_wxFSFileTo_p_wxObject(void *x) {
32578 return (void *)((wxObject *) ((wxFSFile *) x));
32579 }
32580 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
32581 return (void *)((wxObject *) ((wxFindReplaceData *) x));
32582 }
32583 static void *_p_wxPySizerTo_p_wxObject(void *x) {
32584 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
32585 }
32586 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
32587 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32588 }
32589 static void *_p_wxColourDataTo_p_wxObject(void *x) {
32590 return (void *)((wxObject *) ((wxColourData *) x));
32591 }
32592 static void *_p_wxPyEventTo_p_wxObject(void *x) {
32593 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
32594 }
32595 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
32596 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
32597 }
32598 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
32599 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
32600 }
32601 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
32602 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32603 }
32604 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
32605 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32606 }
32607 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
32608 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32609 }
32610 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
32611 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32612 }
32613 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
32614 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32615 }
32616 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
32617 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32618 }
32619 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
32620 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32621 }
32622 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
32623 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32624 }
32625 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
32626 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32627 }
32628 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
32629 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32630 }
32631 static void *_p_wxShowEventTo_p_wxObject(void *x) {
32632 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
32633 }
32634 static void *_p_wxPrinterTo_p_wxObject(void *x) {
32635 return (void *)((wxObject *) ((wxPrinter *) x));
32636 }
32637 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
32638 return (void *)((wxObject *) ((wxMenuItem *) x));
32639 }
32640 static void *_p_wxDateEventTo_p_wxObject(void *x) {
32641 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
32642 }
32643 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
32644 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
32645 }
32646 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
32647 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
32648 }
32649 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
32650 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
32651 }
32652 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
32653 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
32654 }
32655 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
32656 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
32657 }
32658 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
32659 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
32660 }
32661 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
32662 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
32663 }
32664 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
32665 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
32666 }
32667 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
32668 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
32669 }
32670 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
32671 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
32672 }
32673 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
32674 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
32675 }
32676 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
32677 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
32678 }
32679 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
32680 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
32681 }
32682 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
32683 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
32684 }
32685 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
32686 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
32687 }
32688 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
32689 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
32690 }
32691 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
32692 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
32693 }
32694 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
32695 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
32696 }
32697 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
32698 return (void *)((wxObject *) ((wxImageHandler *) x));
32699 }
32700 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
32701 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
32702 }
32703 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
32704 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
32705 }
32706 static void *_p_wxTGAHandlerTo_p_wxObject(void *x) {
32707 return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x));
32708 }
32709 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
32710 return (void *)((wxObject *) ((wxEvtHandler *) x));
32711 }
32712 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
32713 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
32714 }
32715 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
32716 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
32717 }
32718 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
32719 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32720 }
32721 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
32722 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32723 }
32724 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
32725 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
32726 }
32727 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
32728 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
32729 }
32730 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
32731 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32732 }
32733 static void *_p_wxImageTo_p_wxObject(void *x) {
32734 return (void *)((wxObject *) ((wxImage *) x));
32735 }
32736 static void *_p_wxFrameTo_p_wxObject(void *x) {
32737 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
32738 }
32739 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
32740 return (void *)((wxObject *) ((wxPyPrintout *) x));
32741 }
32742 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
32743 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
32744 }
32745 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
32746 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
32747 }
32748 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
32749 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
32750 }
32751 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
32752 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32753 }
32754 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
32755 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32756 }
32757 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
32758 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
32759 }
32760 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
32761 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
32762 }
32763 static void *_p_wxWindowTo_p_wxObject(void *x) {
32764 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
32765 }
32766 static void *_p_wxMenuTo_p_wxObject(void *x) {
32767 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
32768 }
32769 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
32770 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
32771 }
32772 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
32773 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
32774 }
32775 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
32776 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
32777 }
32778 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
32779 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
32780 }
32781 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
32782 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
32783 }
32784 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
32785 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
32786 }
32787 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
32788 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
32789 }
32790 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
32791 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
32792 }
32793 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
32794 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32795 }
32796 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
32797 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32798 }
32799 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
32800 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
32801 }
32802 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
32803 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
32804 }
32805 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
32806 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32807 }
32808 static void *_p_wxSashEventTo_p_wxObject(void *x) {
32809 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
32810 }
32811 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
32812 return (void *)((wxObject *) ((wxPrintPreview *) x));
32813 }
32814 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
32815 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
32816 }
32817 static void *_p_wxPanelTo_p_wxObject(void *x) {
32818 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
32819 }
32820 static void *_p_wxDialogTo_p_wxObject(void *x) {
32821 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
32822 }
32823 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
32824 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32825 }
32826 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
32827 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32828 }
32829 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
32830 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32831 }
32832 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
32833 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
32834 }
32835 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
32836 return (void *)((wxObject *) ((wxPrintDialog *) x));
32837 }
32838 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
32839 return (void *)((wxObject *) ((wxFileSystem *) x));
32840 }
32841 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
32842 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
32843 }
32844 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
32845 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
32846 }
32847 static void *_p_wxPyAppTo_p_wxObject(void *x) {
32848 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
32849 }
32850 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
32851 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
32852 }
32853 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
32854 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
32855 }
32856 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
32857 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
32858 }
32859 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
32860 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
32861 }
32862 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
32863 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
32864 }
32865 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
32866 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
32867 }
32868 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
32869 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32870 }
32871 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
32872 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
32873 }
32874 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
32875 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
32876 }
32877 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
32878 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
32879 }
32880 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
32881 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32882 }
32883 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
32884 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
32885 }
32886 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
32887 return (void *)((wxObject *) ((wxPrintDialogData *) x));
32888 }
32889 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
32890 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
32891 }
32892 static void *_p_wxValidatorTo_p_wxObject(void *x) {
32893 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
32894 }
32895 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
32896 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32897 }
32898 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
32899 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
32900 }
32901 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
32902 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32903 }
32904 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
32905 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32906 }
32907 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
32908 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32909 }
32910 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
32911 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
32912 }
32913 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
32914 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
32915 }
32916 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
32917 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
32918 }
32919 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
32920 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
32921 }
32922 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
32923 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
32924 }
32925 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
32926 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
32927 }
32928 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
32929 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
32930 }
32931 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
32932 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
32933 }
32934 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
32935 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
32936 }
32937 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
32938 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
32939 }
32940 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
32941 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
32942 }
32943 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) {
32944 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x));
32945 }
32946 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
32947 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32948 }
32949 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
32950 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
32951 }
32952 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32953 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
32954 }
32955 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32956 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
32957 }
32958 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
32959 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
32960 }
32961 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
32962 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
32963 }
32964 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
32965 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
32966 }
32967 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32968 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
32969 }
32970 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32971 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32972 }
32973 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
32974 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32975 }
32976 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
32977 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32978 }
32979 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
32980 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
32981 }
32982 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
32983 return (void *)((wxWindow *) ((wxMenuBar *) x));
32984 }
32985 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
32986 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32987 }
32988 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
32989 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32990 }
32991 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
32992 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32993 }
32994 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
32995 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32996 }
32997 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
32998 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32999 }
33000 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
33001 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
33002 }
33003 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
33004 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
33005 }
33006 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
33007 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
33008 }
33009 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
33010 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
33011 }
33012 static void *_p_wxPanelTo_p_wxWindow(void *x) {
33013 return (void *)((wxWindow *) ((wxPanel *) x));
33014 }
33015 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
33016 return (void *)((wxWindow *) ((wxStatusBar *) x));
33017 }
33018 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
33019 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
33020 }
33021 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
33022 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
33023 }
33024 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
33025 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
33026 }
33027 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
33028 return (void *)((wxWindow *) ((wxPopupWindow *) x));
33029 }
33030 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
33031 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
33032 }
33033 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
33034 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
33035 }
33036 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
33037 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
33038 }
33039 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
33040 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
33041 }
33042 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
33043 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
33044 }
33045 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
33046 return (void *)((wxWindow *) ((wxSashWindow *) x));
33047 }
33048 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
33049 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
33050 }
33051 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
33052 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33053 }
33054 static void *_p_wxControlTo_p_wxWindow(void *x) {
33055 return (void *)((wxWindow *) ((wxControl *) x));
33056 }
33057 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
33058 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
33059 }
33060 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
33061 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
33062 }
33063 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
33064 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
33065 }
33066 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
33067 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
33068 }
33069 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
33070 return (void *)((wxWindow *) ((wxPyWindow *) x));
33071 }
33072 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
33073 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
33074 }
33075 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
33076 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33077 }
33078 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
33079 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33080 }
33081 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
33082 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
33083 }
33084 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
33085 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33086 }
33087 static void *_p_wxFrameTo_p_wxWindow(void *x) {
33088 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
33089 }
33090 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
33091 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
33092 }
33093 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
33094 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
33095 }
33096 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
33097 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
33098 }
33099 static void *_p_wxDialogTo_p_wxWindow(void *x) {
33100 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
33101 }
33102 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
33103 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
33104 }
33105 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
33106 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33107 }
33108 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
33109 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
33110 }
33111 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
33112 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
33113 }
33114 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
33115 return (void *)((wxDialog *) ((wxColourDialog *) x));
33116 }
33117 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
33118 return (void *)((wxDialog *) ((wxDirDialog *) x));
33119 }
33120 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
33121 return (void *)((wxDialog *) ((wxFontDialog *) x));
33122 }
33123 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
33124 return (void *)((wxDialog *) ((wxFileDialog *) x));
33125 }
33126 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
33127 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
33128 }
33129 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
33130 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
33131 }
33132 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
33133 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
33134 }
33135 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
33136 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
33137 }
33138 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x) {
33139 return (void *)((wxDialog *) ((wxNumberEntryDialog *) x));
33140 }
33141 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
33142 return (void *)((wxDialog *) ((wxMessageDialog *) x));
33143 }
33144 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
33145 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
33146 }
33147 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
33148 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
33149 }
33150 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
33151 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
33152 }
33153 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
33154 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33155 }
33156 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
33157 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33158 }
33159 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
33160 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33161 }
33162 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
33163 return (void *)((wxPanel *) ((wxPyPanel *) x));
33164 }
33165 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
33166 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
33167 }
33168 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
33169 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
33170 }
33171 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
33172 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33173 }
33174 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
33175 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
33176 }
33177 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
33178 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
33179 }
33180 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
33181 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
33182 }
33183 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
33184 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
33185 }
33186 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
33187 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
33188 }
33189 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
33190 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
33191 }
33192 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
33193 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
33194 }
33195 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
33196 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33197 }
33198 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
33199 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
33200 }
33201 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
33202 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
33203 }
33204 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
33205 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
33206 }
33207 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
33208 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
33209 }
33210 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
33211 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
33212 }
33213 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
33214 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33215 }
33216 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
33217 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
33218 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};
33219 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
33220 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
33221 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
33222 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
33223 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
33224 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
33225 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
33226 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
33227 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
33228 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
33229 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
33230 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
33231 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
33232 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
33233 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
33234 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
33235 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
33236 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
33237 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
33238 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
33239 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
33240 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
33241 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
33242 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
33243 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
33244 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
33245 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
33246 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
33247 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
33248 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
33249 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
33250 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
33251 static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
33252 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
33253 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
33254 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
33255 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
33256 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
33257 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
33258 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
33259 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
33260 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
33261 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
33262 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
33263 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
33264 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
33265 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
33266 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
33267 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
33268 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
33269 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
33270 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
33271 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
33272 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
33273 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
33274 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
33275 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
33276 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
33277 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
33278 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
33279 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
33280 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
33281 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
33282 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
33283 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
33284 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
33285 static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
33286 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
33287 static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
33288 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
33289 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
33290 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
33291 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
33292 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
33293 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
33294 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
33295 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
33296 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
33297 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
33298 static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
33299 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
33300 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
33301 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
33302 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
33303 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
33304 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
33305 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
33306 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
33307 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
33308 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
33309 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
33310 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
33311 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
33312 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
33313 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
33314 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
33315 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
33316 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
33317 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
33318 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
33319 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
33320 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
33321 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
33322 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
33323 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
33324 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
33325 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
33326 static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
33327 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
33328 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
33329 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
33330 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
33331 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
33332 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
33333 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
33334 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
33335 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
33336 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
33337 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
33338 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
33339 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
33340 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
33341 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
33342 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
33343 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
33344 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
33345 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
33346 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
33347 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
33348 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
33349 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
33350 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
33351 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
33352 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
33353 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
33354 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
33355 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
33356 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
33357 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
33358 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
33359 static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
33360 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
33361 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
33362 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
33363 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
33364 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
33365 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
33366 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
33367 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
33368 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
33369 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
33370 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
33371 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
33372 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
33373 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
33374 static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
33375 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
33376 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
33377 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
33378 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
33379 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
33380 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
33381 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
33382
33383 static swig_type_info *swig_type_initial[] = {
33384 &_swigt__p_bool,
33385 &_swigt__p_char,
33386 &_swigt__p_form_ops_t,
33387 &_swigt__p_int,
33388 &_swigt__p_unsigned_char,
33389 &_swigt__p_unsigned_int,
33390 &_swigt__p_unsigned_long,
33391 &_swigt__p_wxANIHandler,
33392 &_swigt__p_wxAcceleratorTable,
33393 &_swigt__p_wxActivateEvent,
33394 &_swigt__p_wxArrayInt,
33395 &_swigt__p_wxBMPHandler,
33396 &_swigt__p_wxBitmap,
33397 &_swigt__p_wxBoxSizer,
33398 &_swigt__p_wxCURHandler,
33399 &_swigt__p_wxCalculateLayoutEvent,
33400 &_swigt__p_wxChildFocusEvent,
33401 &_swigt__p_wxClipboardTextEvent,
33402 &_swigt__p_wxCloseEvent,
33403 &_swigt__p_wxColour,
33404 &_swigt__p_wxColourData,
33405 &_swigt__p_wxColourDialog,
33406 &_swigt__p_wxCommandEvent,
33407 &_swigt__p_wxContextMenuEvent,
33408 &_swigt__p_wxControl,
33409 &_swigt__p_wxControlWithItems,
33410 &_swigt__p_wxDC,
33411 &_swigt__p_wxDateEvent,
33412 &_swigt__p_wxDialog,
33413 &_swigt__p_wxDirDialog,
33414 &_swigt__p_wxDisplayChangedEvent,
33415 &_swigt__p_wxDropFilesEvent,
33416 &_swigt__p_wxDuplexMode,
33417 &_swigt__p_wxEraseEvent,
33418 &_swigt__p_wxEvent,
33419 &_swigt__p_wxEvtHandler,
33420 &_swigt__p_wxFSFile,
33421 &_swigt__p_wxFileDialog,
33422 &_swigt__p_wxFileSystem,
33423 &_swigt__p_wxFindDialogEvent,
33424 &_swigt__p_wxFindReplaceData,
33425 &_swigt__p_wxFindReplaceDialog,
33426 &_swigt__p_wxFlexGridSizer,
33427 &_swigt__p_wxFocusEvent,
33428 &_swigt__p_wxFont,
33429 &_swigt__p_wxFontData,
33430 &_swigt__p_wxFontDialog,
33431 &_swigt__p_wxFrame,
33432 &_swigt__p_wxGBSizerItem,
33433 &_swigt__p_wxGIFHandler,
33434 &_swigt__p_wxGridBagSizer,
33435 &_swigt__p_wxGridSizer,
33436 &_swigt__p_wxHtmlLinkInfo,
33437 &_swigt__p_wxICOHandler,
33438 &_swigt__p_wxIcon,
33439 &_swigt__p_wxIconBundle,
33440 &_swigt__p_wxIconizeEvent,
33441 &_swigt__p_wxIdleEvent,
33442 &_swigt__p_wxImage,
33443 &_swigt__p_wxImageHandler,
33444 &_swigt__p_wxIndividualLayoutConstraint,
33445 &_swigt__p_wxInitDialogEvent,
33446 &_swigt__p_wxJPEGHandler,
33447 &_swigt__p_wxKeyEvent,
33448 &_swigt__p_wxLayoutAlgorithm,
33449 &_swigt__p_wxLayoutConstraints,
33450 &_swigt__p_wxMDIChildFrame,
33451 &_swigt__p_wxMDIClientWindow,
33452 &_swigt__p_wxMDIParentFrame,
33453 &_swigt__p_wxMaximizeEvent,
33454 &_swigt__p_wxMenu,
33455 &_swigt__p_wxMenuBar,
33456 &_swigt__p_wxMenuEvent,
33457 &_swigt__p_wxMenuItem,
33458 &_swigt__p_wxMessageDialog,
33459 &_swigt__p_wxMiniFrame,
33460 &_swigt__p_wxMouseCaptureChangedEvent,
33461 &_swigt__p_wxMouseCaptureLostEvent,
33462 &_swigt__p_wxMouseEvent,
33463 &_swigt__p_wxMoveEvent,
33464 &_swigt__p_wxMultiChoiceDialog,
33465 &_swigt__p_wxNavigationKeyEvent,
33466 &_swigt__p_wxNcPaintEvent,
33467 &_swigt__p_wxNotifyEvent,
33468 &_swigt__p_wxNumberEntryDialog,
33469 &_swigt__p_wxObject,
33470 &_swigt__p_wxPCXHandler,
33471 &_swigt__p_wxPNGHandler,
33472 &_swigt__p_wxPNMHandler,
33473 &_swigt__p_wxPageSetupDialog,
33474 &_swigt__p_wxPageSetupDialogData,
33475 &_swigt__p_wxPaintEvent,
33476 &_swigt__p_wxPaletteChangedEvent,
33477 &_swigt__p_wxPanel,
33478 &_swigt__p_wxPaperSize,
33479 &_swigt__p_wxPasswordEntryDialog,
33480 &_swigt__p_wxPoint,
33481 &_swigt__p_wxPopupWindow,
33482 &_swigt__p_wxPreviewCanvas,
33483 &_swigt__p_wxPreviewControlBar,
33484 &_swigt__p_wxPreviewFrame,
33485 &_swigt__p_wxPrintData,
33486 &_swigt__p_wxPrintDialog,
33487 &_swigt__p_wxPrintDialogData,
33488 &_swigt__p_wxPrintPreview,
33489 &_swigt__p_wxPrinter,
33490 &_swigt__p_wxProgressDialog,
33491 &_swigt__p_wxPyApp,
33492 &_swigt__p_wxPyCommandEvent,
33493 &_swigt__p_wxPyEvent,
33494 &_swigt__p_wxPyHtmlListBox,
33495 &_swigt__p_wxPyImageHandler,
33496 &_swigt__p_wxPyPanel,
33497 &_swigt__p_wxPyPopupTransientWindow,
33498 &_swigt__p_wxPyPreviewControlBar,
33499 &_swigt__p_wxPyPreviewFrame,
33500 &_swigt__p_wxPyPrintPreview,
33501 &_swigt__p_wxPyPrintout,
33502 &_swigt__p_wxPyScrolledWindow,
33503 &_swigt__p_wxPySizer,
33504 &_swigt__p_wxPyTaskBarIcon,
33505 &_swigt__p_wxPyVListBox,
33506 &_swigt__p_wxPyVScrolledWindow,
33507 &_swigt__p_wxPyValidator,
33508 &_swigt__p_wxPyWindow,
33509 &_swigt__p_wxQueryLayoutInfoEvent,
33510 &_swigt__p_wxQueryNewPaletteEvent,
33511 &_swigt__p_wxRect,
33512 &_swigt__p_wxRegion,
33513 &_swigt__p_wxSashEvent,
33514 &_swigt__p_wxSashLayoutWindow,
33515 &_swigt__p_wxSashWindow,
33516 &_swigt__p_wxScrollEvent,
33517 &_swigt__p_wxScrollWinEvent,
33518 &_swigt__p_wxScrolledWindow,
33519 &_swigt__p_wxSetCursorEvent,
33520 &_swigt__p_wxShowEvent,
33521 &_swigt__p_wxSingleChoiceDialog,
33522 &_swigt__p_wxSize,
33523 &_swigt__p_wxSizeEvent,
33524 &_swigt__p_wxSizer,
33525 &_swigt__p_wxSizerItem,
33526 &_swigt__p_wxSplashScreen,
33527 &_swigt__p_wxSplashScreenWindow,
33528 &_swigt__p_wxSplitterEvent,
33529 &_swigt__p_wxSplitterWindow,
33530 &_swigt__p_wxStaticBoxSizer,
33531 &_swigt__p_wxStatusBar,
33532 &_swigt__p_wxStdDialogButtonSizer,
33533 &_swigt__p_wxString,
33534 &_swigt__p_wxSysColourChangedEvent,
33535 &_swigt__p_wxTGAHandler,
33536 &_swigt__p_wxTIFFHandler,
33537 &_swigt__p_wxTaskBarIcon,
33538 &_swigt__p_wxTaskBarIconEvent,
33539 &_swigt__p_wxTextEntryDialog,
33540 &_swigt__p_wxTipWindow,
33541 &_swigt__p_wxToolBar,
33542 &_swigt__p_wxTopLevelWindow,
33543 &_swigt__p_wxUpdateUIEvent,
33544 &_swigt__p_wxValidator,
33545 &_swigt__p_wxVisualAttributes,
33546 &_swigt__p_wxWindow,
33547 &_swigt__p_wxWindowCreateEvent,
33548 &_swigt__p_wxWindowDestroyEvent,
33549 &_swigt__p_wxXPMHandler,
33550 };
33551
33552 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
33553 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
33554 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
33555 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
33556 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
33557 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
33558 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
33559 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
33560 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
33561 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
33562 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
33563 static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
33564 static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
33565 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
33566 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
33567 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
33568 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
33569 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
33570 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
33571 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
33572 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
33573 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
33574 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}};
33575 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
33576 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_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_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}};
33577 static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
33578 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
33579 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
33580 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
33581 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
33582 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
33583 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
33584 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
33585 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
33586 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
33587 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
33588 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
33589 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33590 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33591 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
33592 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33593 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
33594 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
33595 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
33596 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33597 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33598 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33599 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33600 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
33601 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
33602 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
33603 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
33604 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
33605 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_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_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_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_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}};
33606 static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
33607 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
33608 static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
33609 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
33610 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
33611 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_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_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_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_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_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}};
33612 static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
33613 static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
33614 static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
33615 static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
33616 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
33617 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
33618 static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
33619 static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
33620 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}};
33621 static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
33622 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
33623 static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
33624 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
33625 static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
33626 static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
33627 static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
33628 static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
33629 static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
33630 static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
33631 static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
33632 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
33633 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}};
33634 static swig_cast_info _swigc__p_wxNumberEntryDialog[] = { {&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
33635 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
33636 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
33637 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
33638 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
33639 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
33640 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
33641 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
33642 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
33643 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
33644 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
33645 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
33646 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
33647 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
33648 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
33649 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
33650 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
33651 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
33652 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
33653 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
33654 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
33655 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
33656 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
33657 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
33658 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
33659 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
33660 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
33661 static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}};
33662 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
33663 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
33664 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_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_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_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_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_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_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_wxActivateEvent, _p_wxActivateEventTo_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_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_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_wxPyImageHandler, _p_wxPyImageHandlerTo_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_wxTGAHandler, _p_wxTGAHandlerTo_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_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_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_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_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}};
33665 static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
33666 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
33667 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}};
33668 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
33669 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
33670 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
33671 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}};
33672 static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
33673 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}};
33674 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}};
33675 static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
33676 static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
33677 static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
33678 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}};
33679 static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
33680 static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
33681 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
33682 static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
33683 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}};
33684 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
33685 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
33686 static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
33687 static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
33688 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
33689 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
33690 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}};
33691 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}};
33692 static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
33693 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
33694 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
33695 static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
33696 static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
33697 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
33698 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}};
33699 static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
33700 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}};
33701 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
33702 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
33703 static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
33704 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
33705 static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
33706 static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
33707 static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
33708 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
33709 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
33710 static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
33711 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
33712 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}};
33713 static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
33714 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
33715 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_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_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}};
33716 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
33717 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_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_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}};
33718
33719 static swig_cast_info *swig_cast_initial[] = {
33720 _swigc__p_bool,
33721 _swigc__p_char,
33722 _swigc__p_form_ops_t,
33723 _swigc__p_int,
33724 _swigc__p_unsigned_char,
33725 _swigc__p_unsigned_int,
33726 _swigc__p_unsigned_long,
33727 _swigc__p_wxANIHandler,
33728 _swigc__p_wxAcceleratorTable,
33729 _swigc__p_wxActivateEvent,
33730 _swigc__p_wxArrayInt,
33731 _swigc__p_wxBMPHandler,
33732 _swigc__p_wxBitmap,
33733 _swigc__p_wxBoxSizer,
33734 _swigc__p_wxCURHandler,
33735 _swigc__p_wxCalculateLayoutEvent,
33736 _swigc__p_wxChildFocusEvent,
33737 _swigc__p_wxClipboardTextEvent,
33738 _swigc__p_wxCloseEvent,
33739 _swigc__p_wxColour,
33740 _swigc__p_wxColourData,
33741 _swigc__p_wxColourDialog,
33742 _swigc__p_wxCommandEvent,
33743 _swigc__p_wxContextMenuEvent,
33744 _swigc__p_wxControl,
33745 _swigc__p_wxControlWithItems,
33746 _swigc__p_wxDC,
33747 _swigc__p_wxDateEvent,
33748 _swigc__p_wxDialog,
33749 _swigc__p_wxDirDialog,
33750 _swigc__p_wxDisplayChangedEvent,
33751 _swigc__p_wxDropFilesEvent,
33752 _swigc__p_wxDuplexMode,
33753 _swigc__p_wxEraseEvent,
33754 _swigc__p_wxEvent,
33755 _swigc__p_wxEvtHandler,
33756 _swigc__p_wxFSFile,
33757 _swigc__p_wxFileDialog,
33758 _swigc__p_wxFileSystem,
33759 _swigc__p_wxFindDialogEvent,
33760 _swigc__p_wxFindReplaceData,
33761 _swigc__p_wxFindReplaceDialog,
33762 _swigc__p_wxFlexGridSizer,
33763 _swigc__p_wxFocusEvent,
33764 _swigc__p_wxFont,
33765 _swigc__p_wxFontData,
33766 _swigc__p_wxFontDialog,
33767 _swigc__p_wxFrame,
33768 _swigc__p_wxGBSizerItem,
33769 _swigc__p_wxGIFHandler,
33770 _swigc__p_wxGridBagSizer,
33771 _swigc__p_wxGridSizer,
33772 _swigc__p_wxHtmlLinkInfo,
33773 _swigc__p_wxICOHandler,
33774 _swigc__p_wxIcon,
33775 _swigc__p_wxIconBundle,
33776 _swigc__p_wxIconizeEvent,
33777 _swigc__p_wxIdleEvent,
33778 _swigc__p_wxImage,
33779 _swigc__p_wxImageHandler,
33780 _swigc__p_wxIndividualLayoutConstraint,
33781 _swigc__p_wxInitDialogEvent,
33782 _swigc__p_wxJPEGHandler,
33783 _swigc__p_wxKeyEvent,
33784 _swigc__p_wxLayoutAlgorithm,
33785 _swigc__p_wxLayoutConstraints,
33786 _swigc__p_wxMDIChildFrame,
33787 _swigc__p_wxMDIClientWindow,
33788 _swigc__p_wxMDIParentFrame,
33789 _swigc__p_wxMaximizeEvent,
33790 _swigc__p_wxMenu,
33791 _swigc__p_wxMenuBar,
33792 _swigc__p_wxMenuEvent,
33793 _swigc__p_wxMenuItem,
33794 _swigc__p_wxMessageDialog,
33795 _swigc__p_wxMiniFrame,
33796 _swigc__p_wxMouseCaptureChangedEvent,
33797 _swigc__p_wxMouseCaptureLostEvent,
33798 _swigc__p_wxMouseEvent,
33799 _swigc__p_wxMoveEvent,
33800 _swigc__p_wxMultiChoiceDialog,
33801 _swigc__p_wxNavigationKeyEvent,
33802 _swigc__p_wxNcPaintEvent,
33803 _swigc__p_wxNotifyEvent,
33804 _swigc__p_wxNumberEntryDialog,
33805 _swigc__p_wxObject,
33806 _swigc__p_wxPCXHandler,
33807 _swigc__p_wxPNGHandler,
33808 _swigc__p_wxPNMHandler,
33809 _swigc__p_wxPageSetupDialog,
33810 _swigc__p_wxPageSetupDialogData,
33811 _swigc__p_wxPaintEvent,
33812 _swigc__p_wxPaletteChangedEvent,
33813 _swigc__p_wxPanel,
33814 _swigc__p_wxPaperSize,
33815 _swigc__p_wxPasswordEntryDialog,
33816 _swigc__p_wxPoint,
33817 _swigc__p_wxPopupWindow,
33818 _swigc__p_wxPreviewCanvas,
33819 _swigc__p_wxPreviewControlBar,
33820 _swigc__p_wxPreviewFrame,
33821 _swigc__p_wxPrintData,
33822 _swigc__p_wxPrintDialog,
33823 _swigc__p_wxPrintDialogData,
33824 _swigc__p_wxPrintPreview,
33825 _swigc__p_wxPrinter,
33826 _swigc__p_wxProgressDialog,
33827 _swigc__p_wxPyApp,
33828 _swigc__p_wxPyCommandEvent,
33829 _swigc__p_wxPyEvent,
33830 _swigc__p_wxPyHtmlListBox,
33831 _swigc__p_wxPyImageHandler,
33832 _swigc__p_wxPyPanel,
33833 _swigc__p_wxPyPopupTransientWindow,
33834 _swigc__p_wxPyPreviewControlBar,
33835 _swigc__p_wxPyPreviewFrame,
33836 _swigc__p_wxPyPrintPreview,
33837 _swigc__p_wxPyPrintout,
33838 _swigc__p_wxPyScrolledWindow,
33839 _swigc__p_wxPySizer,
33840 _swigc__p_wxPyTaskBarIcon,
33841 _swigc__p_wxPyVListBox,
33842 _swigc__p_wxPyVScrolledWindow,
33843 _swigc__p_wxPyValidator,
33844 _swigc__p_wxPyWindow,
33845 _swigc__p_wxQueryLayoutInfoEvent,
33846 _swigc__p_wxQueryNewPaletteEvent,
33847 _swigc__p_wxRect,
33848 _swigc__p_wxRegion,
33849 _swigc__p_wxSashEvent,
33850 _swigc__p_wxSashLayoutWindow,
33851 _swigc__p_wxSashWindow,
33852 _swigc__p_wxScrollEvent,
33853 _swigc__p_wxScrollWinEvent,
33854 _swigc__p_wxScrolledWindow,
33855 _swigc__p_wxSetCursorEvent,
33856 _swigc__p_wxShowEvent,
33857 _swigc__p_wxSingleChoiceDialog,
33858 _swigc__p_wxSize,
33859 _swigc__p_wxSizeEvent,
33860 _swigc__p_wxSizer,
33861 _swigc__p_wxSizerItem,
33862 _swigc__p_wxSplashScreen,
33863 _swigc__p_wxSplashScreenWindow,
33864 _swigc__p_wxSplitterEvent,
33865 _swigc__p_wxSplitterWindow,
33866 _swigc__p_wxStaticBoxSizer,
33867 _swigc__p_wxStatusBar,
33868 _swigc__p_wxStdDialogButtonSizer,
33869 _swigc__p_wxString,
33870 _swigc__p_wxSysColourChangedEvent,
33871 _swigc__p_wxTGAHandler,
33872 _swigc__p_wxTIFFHandler,
33873 _swigc__p_wxTaskBarIcon,
33874 _swigc__p_wxTaskBarIconEvent,
33875 _swigc__p_wxTextEntryDialog,
33876 _swigc__p_wxTipWindow,
33877 _swigc__p_wxToolBar,
33878 _swigc__p_wxTopLevelWindow,
33879 _swigc__p_wxUpdateUIEvent,
33880 _swigc__p_wxValidator,
33881 _swigc__p_wxVisualAttributes,
33882 _swigc__p_wxWindow,
33883 _swigc__p_wxWindowCreateEvent,
33884 _swigc__p_wxWindowDestroyEvent,
33885 _swigc__p_wxXPMHandler,
33886 };
33887
33888
33889 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33890
33891 static swig_const_info swig_const_table[] = {
33892 {0, 0, 0, 0.0, 0, 0}};
33893
33894 #ifdef __cplusplus
33895 }
33896 #endif
33897 /* -----------------------------------------------------------------------------
33898 * Type initialization:
33899 * This problem is tough by the requirement that no dynamic
33900 * memory is used. Also, since swig_type_info structures store pointers to
33901 * swig_cast_info structures and swig_cast_info structures store pointers back
33902 * to swig_type_info structures, we need some lookup code at initialization.
33903 * The idea is that swig generates all the structures that are needed.
33904 * The runtime then collects these partially filled structures.
33905 * The SWIG_InitializeModule function takes these initial arrays out of
33906 * swig_module, and does all the lookup, filling in the swig_module.types
33907 * array with the correct data and linking the correct swig_cast_info
33908 * structures together.
33909 *
33910 * The generated swig_type_info structures are assigned staticly to an initial
33911 * array. We just loop though that array, and handle each type individually.
33912 * First we lookup if this type has been already loaded, and if so, use the
33913 * loaded structure instead of the generated one. Then we have to fill in the
33914 * cast linked list. The cast data is initially stored in something like a
33915 * two-dimensional array. Each row corresponds to a type (there are the same
33916 * number of rows as there are in the swig_type_initial array). Each entry in
33917 * a column is one of the swig_cast_info structures for that type.
33918 * The cast_initial array is actually an array of arrays, because each row has
33919 * a variable number of columns. So to actually build the cast linked list,
33920 * we find the array of casts associated with the type, and loop through it
33921 * adding the casts to the list. The one last trick we need to do is making
33922 * sure the type pointer in the swig_cast_info struct is correct.
33923 *
33924 * First off, we lookup the cast->type name to see if it is already loaded.
33925 * There are three cases to handle:
33926 * 1) If the cast->type has already been loaded AND the type we are adding
33927 * casting info to has not been loaded (it is in this module), THEN we
33928 * replace the cast->type pointer with the type pointer that has already
33929 * been loaded.
33930 * 2) If BOTH types (the one we are adding casting info to, and the
33931 * cast->type) are loaded, THEN the cast info has already been loaded by
33932 * the previous module so we just ignore it.
33933 * 3) Finally, if cast->type has not already been loaded, then we add that
33934 * swig_cast_info to the linked list (because the cast->type) pointer will
33935 * be correct.
33936 * ----------------------------------------------------------------------------- */
33937
33938 #ifdef __cplusplus
33939 extern "C" {
33940 #if 0
33941 } /* c-mode */
33942 #endif
33943 #endif
33944
33945 #if 0
33946 #define SWIGRUNTIME_DEBUG
33947 #endif
33948
33949 SWIGRUNTIME void
33950 SWIG_InitializeModule(void *clientdata) {
33951 size_t i;
33952 swig_module_info *module_head;
33953 static int init_run = 0;
33954
33955 clientdata = clientdata;
33956
33957 if (init_run) return;
33958 init_run = 1;
33959
33960 /* Initialize the swig_module */
33961 swig_module.type_initial = swig_type_initial;
33962 swig_module.cast_initial = swig_cast_initial;
33963
33964 /* Try and load any already created modules */
33965 module_head = SWIG_GetModule(clientdata);
33966 if (module_head) {
33967 swig_module.next = module_head->next;
33968 module_head->next = &swig_module;
33969 } else {
33970 /* This is the first module loaded */
33971 swig_module.next = &swig_module;
33972 SWIG_SetModule(clientdata, &swig_module);
33973 }
33974
33975 /* Now work on filling in swig_module.types */
33976 #ifdef SWIGRUNTIME_DEBUG
33977 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
33978 #endif
33979 for (i = 0; i < swig_module.size; ++i) {
33980 swig_type_info *type = 0;
33981 swig_type_info *ret;
33982 swig_cast_info *cast;
33983
33984 #ifdef SWIGRUNTIME_DEBUG
33985 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33986 #endif
33987
33988 /* if there is another module already loaded */
33989 if (swig_module.next != &swig_module) {
33990 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
33991 }
33992 if (type) {
33993 /* Overwrite clientdata field */
33994 #ifdef SWIGRUNTIME_DEBUG
33995 printf("SWIG_InitializeModule: found type %s\n", type->name);
33996 #endif
33997 if (swig_module.type_initial[i]->clientdata) {
33998 type->clientdata = swig_module.type_initial[i]->clientdata;
33999 #ifdef SWIGRUNTIME_DEBUG
34000 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
34001 #endif
34002 }
34003 } else {
34004 type = swig_module.type_initial[i];
34005 }
34006
34007 /* Insert casting types */
34008 cast = swig_module.cast_initial[i];
34009 while (cast->type) {
34010 /* Don't need to add information already in the list */
34011 ret = 0;
34012 #ifdef SWIGRUNTIME_DEBUG
34013 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
34014 #endif
34015 if (swig_module.next != &swig_module) {
34016 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
34017 #ifdef SWIGRUNTIME_DEBUG
34018 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
34019 #endif
34020 }
34021 if (ret) {
34022 if (type == swig_module.type_initial[i]) {
34023 #ifdef SWIGRUNTIME_DEBUG
34024 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
34025 #endif
34026 cast->type = ret;
34027 ret = 0;
34028 } else {
34029 /* Check for casting already in the list */
34030 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
34031 #ifdef SWIGRUNTIME_DEBUG
34032 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
34033 #endif
34034 if (!ocast) ret = 0;
34035 }
34036 }
34037
34038 if (!ret) {
34039 #ifdef SWIGRUNTIME_DEBUG
34040 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
34041 #endif
34042 if (type->cast) {
34043 type->cast->prev = cast;
34044 cast->next = type->cast;
34045 }
34046 type->cast = cast;
34047 }
34048 cast++;
34049 }
34050 /* Set entry in modules->types array equal to the type */
34051 swig_module.types[i] = type;
34052 }
34053 swig_module.types[i] = 0;
34054
34055 #ifdef SWIGRUNTIME_DEBUG
34056 printf("**** SWIG_InitializeModule: Cast List ******\n");
34057 for (i = 0; i < swig_module.size; ++i) {
34058 int j = 0;
34059 swig_cast_info *cast = swig_module.cast_initial[i];
34060 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
34061 while (cast->type) {
34062 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
34063 cast++;
34064 ++j;
34065 }
34066 printf("---- Total casts: %d\n",j);
34067 }
34068 printf("**** SWIG_InitializeModule: Cast List ******\n");
34069 #endif
34070 }
34071
34072 /* This function will propagate the clientdata field of type to
34073 * any new swig_type_info structures that have been added into the list
34074 * of equivalent types. It is like calling
34075 * SWIG_TypeClientData(type, clientdata) a second time.
34076 */
34077 SWIGRUNTIME void
34078 SWIG_PropagateClientData(void) {
34079 size_t i;
34080 swig_cast_info *equiv;
34081 static int init_run = 0;
34082
34083 if (init_run) return;
34084 init_run = 1;
34085
34086 for (i = 0; i < swig_module.size; i++) {
34087 if (swig_module.types[i]->clientdata) {
34088 equiv = swig_module.types[i]->cast;
34089 while (equiv) {
34090 if (!equiv->converter) {
34091 if (equiv->type && !equiv->type->clientdata)
34092 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
34093 }
34094 equiv = equiv->next;
34095 }
34096 }
34097 }
34098 }
34099
34100 #ifdef __cplusplus
34101 #if 0
34102 {
34103 /* c-mode */
34104 #endif
34105 }
34106 #endif
34107
34108
34109
34110 #ifdef __cplusplus
34111 extern "C" {
34112 #endif
34113
34114 /* Python-specific SWIG API */
34115 #define SWIG_newvarlink() SWIG_Python_newvarlink()
34116 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
34117 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
34118
34119 /* -----------------------------------------------------------------------------
34120 * global variable support code.
34121 * ----------------------------------------------------------------------------- */
34122
34123 typedef struct swig_globalvar {
34124 char *name; /* Name of global variable */
34125 PyObject *(*get_attr)(void); /* Return the current value */
34126 int (*set_attr)(PyObject *); /* Set the value */
34127 struct swig_globalvar *next;
34128 } swig_globalvar;
34129
34130 typedef struct swig_varlinkobject {
34131 PyObject_HEAD
34132 swig_globalvar *vars;
34133 } swig_varlinkobject;
34134
34135 SWIGINTERN PyObject *
34136 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
34137 return PyString_FromString("<Swig global variables>");
34138 }
34139
34140 SWIGINTERN PyObject *
34141 swig_varlink_str(swig_varlinkobject *v) {
34142 PyObject *str = PyString_FromString("(");
34143 swig_globalvar *var;
34144 for (var = v->vars; var; var=var->next) {
34145 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
34146 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
34147 }
34148 PyString_ConcatAndDel(&str,PyString_FromString(")"));
34149 return str;
34150 }
34151
34152 SWIGINTERN int
34153 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
34154 PyObject *str = swig_varlink_str(v);
34155 fprintf(fp,"Swig global variables ");
34156 fprintf(fp,"%s\n", PyString_AsString(str));
34157 Py_DECREF(str);
34158 return 0;
34159 }
34160
34161 SWIGINTERN void
34162 swig_varlink_dealloc(swig_varlinkobject *v) {
34163 swig_globalvar *var = v->vars;
34164 while (var) {
34165 swig_globalvar *n = var->next;
34166 free(var->name);
34167 free(var);
34168 var = n;
34169 }
34170 }
34171
34172 SWIGINTERN PyObject *
34173 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
34174 PyObject *res = NULL;
34175 swig_globalvar *var = v->vars;
34176 while (var) {
34177 if (strcmp(var->name,n) == 0) {
34178 res = (*var->get_attr)();
34179 break;
34180 }
34181 var = var->next;
34182 }
34183 if (res == NULL && !PyErr_Occurred()) {
34184 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
34185 }
34186 return res;
34187 }
34188
34189 SWIGINTERN int
34190 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
34191 int res = 1;
34192 swig_globalvar *var = v->vars;
34193 while (var) {
34194 if (strcmp(var->name,n) == 0) {
34195 res = (*var->set_attr)(p);
34196 break;
34197 }
34198 var = var->next;
34199 }
34200 if (res == 1 && !PyErr_Occurred()) {
34201 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
34202 }
34203 return res;
34204 }
34205
34206 SWIGINTERN PyTypeObject*
34207 swig_varlink_type(void) {
34208 static char varlink__doc__[] = "Swig var link object";
34209 static PyTypeObject varlink_type;
34210 static int type_init = 0;
34211 if (!type_init) {
34212 const PyTypeObject tmp
34213 = {
34214 PyObject_HEAD_INIT(NULL)
34215 0, /* Number of items in variable part (ob_size) */
34216 (char *)"swigvarlink", /* Type name (tp_name) */
34217 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
34218 0, /* Itemsize (tp_itemsize) */
34219 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
34220 (printfunc) swig_varlink_print, /* Print (tp_print) */
34221 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
34222 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
34223 0, /* tp_compare */
34224 (reprfunc) swig_varlink_repr, /* tp_repr */
34225 0, /* tp_as_number */
34226 0, /* tp_as_sequence */
34227 0, /* tp_as_mapping */
34228 0, /* tp_hash */
34229 0, /* tp_call */
34230 (reprfunc)swig_varlink_str, /* tp_str */
34231 0, /* tp_getattro */
34232 0, /* tp_setattro */
34233 0, /* tp_as_buffer */
34234 0, /* tp_flags */
34235 varlink__doc__, /* tp_doc */
34236 0, /* tp_traverse */
34237 0, /* tp_clear */
34238 0, /* tp_richcompare */
34239 0, /* tp_weaklistoffset */
34240 #if PY_VERSION_HEX >= 0x02020000
34241 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
34242 #endif
34243 #if PY_VERSION_HEX >= 0x02030000
34244 0, /* tp_del */
34245 #endif
34246 #ifdef COUNT_ALLOCS
34247 0,0,0,0 /* tp_alloc -> tp_next */
34248 #endif
34249 };
34250 varlink_type = tmp;
34251 varlink_type.ob_type = &PyType_Type;
34252 type_init = 1;
34253 }
34254 return &varlink_type;
34255 }
34256
34257 /* Create a variable linking object for use later */
34258 SWIGINTERN PyObject *
34259 SWIG_Python_newvarlink(void) {
34260 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
34261 if (result) {
34262 result->vars = 0;
34263 }
34264 return ((PyObject*) result);
34265 }
34266
34267 SWIGINTERN void
34268 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
34269 swig_varlinkobject *v = (swig_varlinkobject *) p;
34270 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
34271 if (gv) {
34272 size_t size = strlen(name)+1;
34273 gv->name = (char *)malloc(size);
34274 if (gv->name) {
34275 strncpy(gv->name,name,size);
34276 gv->get_attr = get_attr;
34277 gv->set_attr = set_attr;
34278 gv->next = v->vars;
34279 }
34280 }
34281 v->vars = gv;
34282 }
34283
34284 SWIGINTERN PyObject *
34285 SWIG_globals() {
34286 static PyObject *_SWIG_globals = 0;
34287 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
34288 return _SWIG_globals;
34289 }
34290
34291 /* -----------------------------------------------------------------------------
34292 * constants/methods manipulation
34293 * ----------------------------------------------------------------------------- */
34294
34295 /* Install Constants */
34296 SWIGINTERN void
34297 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
34298 PyObject *obj = 0;
34299 size_t i;
34300 for (i = 0; constants[i].type; ++i) {
34301 switch(constants[i].type) {
34302 case SWIG_PY_POINTER:
34303 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
34304 break;
34305 case SWIG_PY_BINARY:
34306 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
34307 break;
34308 default:
34309 obj = 0;
34310 break;
34311 }
34312 if (obj) {
34313 PyDict_SetItemString(d, constants[i].name, obj);
34314 Py_DECREF(obj);
34315 }
34316 }
34317 }
34318
34319 /* -----------------------------------------------------------------------------*/
34320 /* Fix SwigMethods to carry the callback ptrs when needed */
34321 /* -----------------------------------------------------------------------------*/
34322
34323 SWIGINTERN void
34324 SWIG_Python_FixMethods(PyMethodDef *methods,
34325 swig_const_info *const_table,
34326 swig_type_info **types,
34327 swig_type_info **types_initial) {
34328 size_t i;
34329 for (i = 0; methods[i].ml_name; ++i) {
34330 const char *c = methods[i].ml_doc;
34331 if (c && (c = strstr(c, "swig_ptr: "))) {
34332 int j;
34333 swig_const_info *ci = 0;
34334 const char *name = c + 10;
34335 for (j = 0; const_table[j].type; ++j) {
34336 if (strncmp(const_table[j].name, name,
34337 strlen(const_table[j].name)) == 0) {
34338 ci = &(const_table[j]);
34339 break;
34340 }
34341 }
34342 if (ci) {
34343 size_t shift = (ci->ptype) - types;
34344 swig_type_info *ty = types_initial[shift];
34345 size_t ldoc = (c - methods[i].ml_doc);
34346 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
34347 char *ndoc = (char*)malloc(ldoc + lptr + 10);
34348 if (ndoc) {
34349 char *buff = ndoc;
34350 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
34351 if (ptr) {
34352 strncpy(buff, methods[i].ml_doc, ldoc);
34353 buff += ldoc;
34354 strncpy(buff, "swig_ptr: ", 10);
34355 buff += 10;
34356 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
34357 methods[i].ml_doc = ndoc;
34358 }
34359 }
34360 }
34361 }
34362 }
34363 }
34364
34365 #ifdef __cplusplus
34366 }
34367 #endif
34368
34369 /* -----------------------------------------------------------------------------*
34370 * Partial Init method
34371 * -----------------------------------------------------------------------------*/
34372
34373 #ifdef __cplusplus
34374 extern "C"
34375 #endif
34376 SWIGEXPORT void SWIG_init(void) {
34377 PyObject *m, *d;
34378
34379 /* Fix SwigMethods to carry the callback ptrs when needed */
34380 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
34381
34382 m = Py_InitModule((char *) SWIG_name, SwigMethods);
34383 d = PyModule_GetDict(m);
34384
34385 SWIG_InitializeModule(0);
34386 SWIG_InstallConstants(d,swig_const_table);
34387
34388
34389 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
34390 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
34391 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
34392 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
34393 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
34394 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
34395 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
34396 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
34397 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
34398 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
34399 SWIG_Python_SetConstant(d, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME)));
34400 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
34401 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
34402 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
34403 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
34404 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
34405 SWIG_Python_SetConstant(d, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX)));
34406 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
34407 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
34408 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
34409 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
34410 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
34411 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
34412 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
34413 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
34414 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
34415 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
34416 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
34417 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
34418 SWIG_Python_SetConstant(d, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP)));
34419 SWIG_Python_SetConstant(d, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL)));
34420 SWIG_Python_SetConstant(d, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS)));
34421 SWIG_Python_SetConstant(d, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS)));
34422 SWIG_Python_SetConstant(d, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D)));
34423 SWIG_Python_SetConstant(d, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP)));
34424 SWIG_Python_SetConstant(d, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP)));
34425 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
34426 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
34427 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
34428 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
34429 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
34430 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
34431 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
34432 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
34433 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
34434 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
34435 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
34436 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
34437 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
34438 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
34439 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
34440 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
34441 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
34442 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
34443 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
34444 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
34445 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
34446 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
34447 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
34448 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
34449 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
34450 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
34451 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
34452 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
34453 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
34454 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
34455 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
34456 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
34457 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
34458 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
34459 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
34460 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
34461 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
34462 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
34463 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
34464 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
34465 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
34466 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
34467 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
34468 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
34469 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
34470 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
34471 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
34472 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
34473 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
34474 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
34475 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
34476 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
34477 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
34478 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
34479 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
34480 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
34481 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
34482 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
34483 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
34484 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
34485 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
34486 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
34487 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
34488 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
34489 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
34490 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
34491 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
34492 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
34493 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
34494
34495 // Map renamed classes back to their common name for OOR
34496 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
34497 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
34498 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
34499
34500 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
34501 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
34502 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
34503 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
34504 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
34505 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
34506 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
34507 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
34508 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
34509 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
34510 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
34511 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
34512 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
34513 SWIG_Python_SetConstant(d, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON)));
34514 SWIG_Python_SetConstant(d, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE)));
34515 SWIG_Python_SetConstant(d, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR)));
34516 SWIG_Python_SetConstant(d, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN)));
34517 SWIG_Python_SetConstant(d, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE)));
34518 SWIG_Python_SetConstant(d, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT)));
34519 SWIG_Python_SetConstant(d, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST)));
34520 SWIG_Python_SetConstant(d, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE)));
34521 SWIG_Python_SetConstant(d, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR)));
34522 SWIG_Python_SetConstant(d, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY)));
34523 SWIG_Python_SetConstant(d, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN)));
34524 SWIG_Python_SetConstant(d, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE)));
34525 SWIG_Python_SetConstant(d, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT)));
34526 SWIG_Python_SetConstant(d, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST)));
34527 SWIG_Python_SetConstant(d, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE)));
34528 SWIG_Python_SetConstant(d, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR)));
34529 SWIG_Python_SetConstant(d, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW)));
34530 SWIG_Python_SetConstant(d, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE)));
34531 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
34532 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
34533 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
34534 SWIG_Python_SetConstant(d, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE)));
34535 SWIG_Python_SetConstant(d, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL)));
34536 SWIG_Python_SetConstant(d, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT)));
34537 SWIG_Python_SetConstant(d, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME)));
34538 SWIG_Python_SetConstant(d, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME)));
34539 SWIG_Python_SetConstant(d, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME)));
34540 SWIG_Python_SetConstant(d, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH)));
34541 SWIG_Python_SetConstant(d, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP)));
34542 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
34543 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
34544 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
34545 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
34546 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
34547 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
34548 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
34549 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
34550 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
34551 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
34552 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
34553 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
34554 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
34555 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
34556 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
34557 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
34558 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
34559 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
34560 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
34561 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
34562 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
34563 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
34564 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
34565 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
34566 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
34567 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
34568 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
34569 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
34570 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
34571 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
34572 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
34573 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
34574 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
34575 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
34576 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
34577 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
34578 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
34579 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
34580 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
34581 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
34582 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
34583 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
34584 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
34585 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
34586 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
34587 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
34588 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
34589 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
34590 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
34591 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
34592 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
34593 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
34594 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
34595 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
34596 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
34597 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
34598 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
34599 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
34600 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
34601 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
34602 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
34603 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
34604
34605 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
34606
34607 }
34608