]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/_windows_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / mac / _windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.29
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
34
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
40 # else
41 # define SWIGTEMPLATEDISAMBIGUATOR
42 # endif
43 # else
44 # define SWIGTEMPLATEDISAMBIGUATOR
45 # endif
46 #endif
47
48 /* inline attribute */
49 #ifndef SWIGINLINE
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
52 # else
53 # define SWIGINLINE
54 # endif
55 #endif
56
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
58 #ifndef SWIGUNUSED
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
62 # else
63 # define SWIGUNUSED
64 # endif
65 # elif defined(__ICC)
66 # define SWIGUNUSED __attribute__ ((__unused__))
67 # else
68 # define SWIGUNUSED
69 # endif
70 #endif
71
72 #ifndef SWIGUNUSEDPARM
73 # ifdef __cplusplus
74 # define SWIGUNUSEDPARM(p)
75 # else
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
77 # endif
78 #endif
79
80 /* internal SWIG method */
81 #ifndef SWIGINTERN
82 # define SWIGINTERN static SWIGUNUSED
83 #endif
84
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
88 #endif
89
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
94 # endif
95 #endif
96
97 #ifndef SWIGEXPORT
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
100 # define SWIGEXPORT
101 # else
102 # define SWIGEXPORT __declspec(dllexport)
103 # endif
104 # else
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
107 # else
108 # define SWIGEXPORT
109 # endif
110 # endif
111 #endif
112
113 /* calling conventions for Windows */
114 #ifndef SWIGSTDCALL
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
117 # else
118 # define SWIGSTDCALL
119 # endif
120 #endif
121
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
125 #endif
126
127
128 /* Python.h has to appear first */
129 #include <Python.h>
130
131 /* -----------------------------------------------------------------------------
132 * swigrun.swg
133 *
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
137
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
141
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
147 #else
148 # define SWIG_TYPE_TABLE_NAME
149 #endif
150
151 /*
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
155
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
158 */
159
160 #ifndef SWIGRUNTIME
161 # define SWIGRUNTIME SWIGINTERN
162 #endif
163
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
166 #endif
167
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
171 #endif
172
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
175
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
178
179
180 /*
181 Flags/methods for returning states.
182
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
186
187 Use the following macros/flags to set or process the returning
188 states.
189
190 In old swig versions, you usually write code as:
191
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
193 // success code
194 } else {
195 //fail code
196 }
197
198 Now you can be more explicit as:
199
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
202 // success code
203 } else {
204 // fail code
205 }
206
207 that seems to be the same, but now you can also do
208
209 Type *ptr;
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
212 // success code
213 if (SWIG_IsNewObj(res) {
214 ...
215 delete *ptr;
216 } else {
217 ...
218 }
219 } else {
220 // fail code
221 }
222
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
226
227 int SWIG_ConvertPtr(obj, ptr,...) {
228 if (<obj is ok>) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
231 return SWIG_NEWOBJ;
232 } else {
233 *ptr = <ptr to old object>;
234 return SWIG_OLDOBJ;
235 }
236 } else {
237 return SWIG_BADOBJ;
238 }
239 }
240
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
243 swig errors code.
244
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
247
248 int food(double)
249 int fooi(int);
250
251 and you call
252
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
255
256 just use the SWIG_AddCast()/SWIG_CheckState()
257
258
259 */
260 #define SWIG_OK (0)
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
264
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
283
284
285 /* Cast-Rank Mode */
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
289 # endif
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
292 # endif
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297 }
298 SWIGINTERNINLINE int SWIG_CheckState(int r) {
299 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
300 }
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
304 #endif
305
306
307
308
309 #include <string.h>
310
311 #ifdef __cplusplus
312 extern "C" {
313 #endif
314
315 typedef void *(*swig_converter_func)(void *);
316 typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info {
320 const char *name; /* mangled name of this type */
321 const char *str; /* human readable name of this type */
322 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
324 void *clientdata; /* language specific type data */
325 int owndata; /* flag if the structure owns the clientdata */
326 } swig_type_info;
327
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info {
330 swig_type_info *type; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter; /* function to cast the void pointers */
332 struct swig_cast_info *next; /* pointer to next cast in linked list */
333 struct swig_cast_info *prev; /* pointer to the previous cast */
334 } swig_cast_info;
335
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info {
340 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size; /* Number of types in this module */
342 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
343 swig_type_info **type_initial; /* Array of initially generated type structures */
344 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
345 void *clientdata; /* Language specific module data */
346 } swig_module_info;
347
348 /*
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
351
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
354 */
355 SWIGRUNTIME int
356 SWIG_TypeNameComp(const char *f1, const char *l1,
357 const char *f2, const char *l2) {
358 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
359 while ((*f1 == ' ') && (f1 != l1)) ++f1;
360 while ((*f2 == ' ') && (f2 != l2)) ++f2;
361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
362 }
363 return (l1 - f1) - (l2 - f2);
364 }
365
366 /*
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
369 */
370 SWIGRUNTIME int
371 SWIG_TypeEquiv(const char *nb, const char *tb) {
372 int equiv = 0;
373 const char* te = tb + strlen(tb);
374 const char* ne = nb;
375 while (!equiv && *ne) {
376 for (nb = ne; *ne; ++ne) {
377 if (*ne == '|') break;
378 }
379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
380 if (*ne) ++ne;
381 }
382 return equiv;
383 }
384
385 /*
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
388 */
389 SWIGRUNTIME int
390 SWIG_TypeCompare(const char *nb, const char *tb) {
391 int equiv = 0;
392 const char* te = tb + strlen(tb);
393 const char* ne = nb;
394 while (!equiv && *ne) {
395 for (nb = ne; *ne; ++ne) {
396 if (*ne == '|') break;
397 }
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
400 }
401 return equiv;
402 }
403
404
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
407 if (ty) { \
408 swig_cast_info *iter = ty->cast; \
409 while (iter) { \
410 if (comparison) { \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
414 if (iter->next) \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
417 iter->prev = 0; \
418 if (ty->cast) ty->cast->prev = iter; \
419 ty->cast = iter; \
420 return iter; \
421 } \
422 iter = iter->next; \
423 } \
424 } \
425 return 0
426
427 /*
428 Check the typename
429 */
430 SWIGRUNTIME swig_cast_info *
431 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
432 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
433 }
434
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info *
437 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
439 }
440
441 /*
442 Cast a pointer up an inheritance hierarchy
443 */
444 SWIGRUNTIMEINLINE void *
445 SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
446 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
447 }
448
449 /*
450 Dynamic pointer casting. Down an inheritance hierarchy
451 */
452 SWIGRUNTIME swig_type_info *
453 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
454 swig_type_info *lastty = ty;
455 if (!ty || !ty->dcast) return ty;
456 while (ty && (ty->dcast)) {
457 ty = (*ty->dcast)(ptr);
458 if (ty) lastty = ty;
459 }
460 return lastty;
461 }
462
463 /*
464 Return the name associated with this type
465 */
466 SWIGRUNTIMEINLINE const char *
467 SWIG_TypeName(const swig_type_info *ty) {
468 return ty->name;
469 }
470
471 /*
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
474 */
475 SWIGRUNTIME const char *
476 SWIG_TypePrettyName(const swig_type_info *type) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
480 specific. */
481 if (!type) return NULL;
482 if (type->str != NULL) {
483 const char *last_name = type->str;
484 const char *s;
485 for (s = type->str; *s; s++)
486 if (*s == '|') last_name = s+1;
487 return last_name;
488 }
489 else
490 return type->name;
491 }
492
493 /*
494 Set the clientdata field for a type
495 */
496 SWIGRUNTIME void
497 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
507 }
508 }
509 cast = cast->next;
510 }
511 }
512 SWIGRUNTIME void
513 SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516 }
517
518 /*
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
521
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
524 the circular list.
525 */
526 SWIGRUNTIME swig_type_info *
527 SWIG_MangledTypeQueryModule(swig_module_info *start,
528 swig_module_info *end,
529 const char *name) {
530 swig_module_info *iter = start;
531 do {
532 if (iter->size) {
533 register size_t l = 0;
534 register size_t r = iter->size - 1;
535 do {
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i = (l + r) >> 1;
538 const char *iname = iter->types[i]->name;
539 if (iname) {
540 register int compare = strcmp(name, iname);
541 if (compare == 0) {
542 return iter->types[i];
543 } else if (compare < 0) {
544 if (i) {
545 r = i - 1;
546 } else {
547 break;
548 }
549 } else if (compare > 0) {
550 l = i + 1;
551 }
552 } else {
553 break; /* should never happen */
554 }
555 } while (l <= r);
556 }
557 iter = iter->next;
558 } while (iter != end);
559 return 0;
560 }
561
562 /*
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
566
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
569 the circular list.
570 */
571 SWIGRUNTIME swig_type_info *
572 SWIG_TypeQueryModule(swig_module_info *start,
573 swig_module_info *end,
574 const char *name) {
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
577 if (ret) {
578 return ret;
579 } else {
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info *iter = start;
583 do {
584 register size_t i = 0;
585 for (; i < iter->size; ++i) {
586 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
587 return iter->types[i];
588 }
589 iter = iter->next;
590 } while (iter != end);
591 }
592
593 /* neither found a match */
594 return 0;
595 }
596
597 /*
598 Pack binary data into a string
599 */
600 SWIGRUNTIME char *
601 SWIG_PackData(char *c, void *ptr, size_t sz) {
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
605 for (; u != eu; ++u) {
606 register unsigned char uu = *u;
607 *(c++) = hex[(uu & 0xf0) >> 4];
608 *(c++) = hex[uu & 0xf];
609 }
610 return c;
611 }
612
613 /*
614 Unpack binary data from a string
615 */
616 SWIGRUNTIME const char *
617 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
618 register unsigned char *u = (unsigned char *) ptr;
619 register const unsigned char *eu = u + sz;
620 for (; u != eu; ++u) {
621 register char d = *(c++);
622 register unsigned char uu;
623 if ((d >= '0') && (d <= '9'))
624 uu = ((d - '0') << 4);
625 else if ((d >= 'a') && (d <= 'f'))
626 uu = ((d - ('a'-10)) << 4);
627 else
628 return (char *) 0;
629 d = *(c++);
630 if ((d >= '0') && (d <= '9'))
631 uu |= (d - '0');
632 else if ((d >= 'a') && (d <= 'f'))
633 uu |= (d - ('a'-10));
634 else
635 return (char *) 0;
636 *u = uu;
637 }
638 return c;
639 }
640
641 /*
642 Pack 'void *' into a string buffer.
643 */
644 SWIGRUNTIME char *
645 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
646 char *r = buff;
647 if ((2*sizeof(void *) + 2) > bsz) return 0;
648 *(r++) = '_';
649 r = SWIG_PackData(r,&ptr,sizeof(void *));
650 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
651 strcpy(r,name);
652 return buff;
653 }
654
655 SWIGRUNTIME const char *
656 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
657 if (*c != '_') {
658 if (strcmp(c,"NULL") == 0) {
659 *ptr = (void *) 0;
660 return name;
661 } else {
662 return 0;
663 }
664 }
665 return SWIG_UnpackData(++c,ptr,sizeof(void *));
666 }
667
668 SWIGRUNTIME char *
669 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
670 char *r = buff;
671 size_t lname = (name ? strlen(name) : 0);
672 if ((2*sz + 2 + lname) > bsz) return 0;
673 *(r++) = '_';
674 r = SWIG_PackData(r,ptr,sz);
675 if (lname) {
676 strncpy(r,name,lname+1);
677 } else {
678 *r = 0;
679 }
680 return buff;
681 }
682
683 SWIGRUNTIME const char *
684 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
685 if (*c != '_') {
686 if (strcmp(c,"NULL") == 0) {
687 memset(ptr,0,sz);
688 return name;
689 } else {
690 return 0;
691 }
692 }
693 return SWIG_UnpackData(++c,ptr,sz);
694 }
695
696 #ifdef __cplusplus
697 }
698 #endif
699
700 /* Errors in SWIG */
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
714
715
716
717 /* Python.h has to appear first */
718 #include <Python.h>
719
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
724 # else
725 # define PyOS_snprintf snprintf
726 # endif
727 #endif
728
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
731
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
734 #endif
735
736 static PyObject *
737 PyString_FromFormat(const char *fmt, ...) {
738 va_list ap;
739 char buf[SWIG_PYBUFFER_SIZE * 2];
740 int res;
741 va_start(ap, fmt);
742 res = vsnprintf(buf, sizeof(buf), fmt, ap);
743 va_end(ap);
744 return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
745 }
746 #endif
747
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
751 #endif
752 #ifndef PyObject_DEL
753 # define PyObject_DEL PyObject_Del
754 #endif
755
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
760 # endif
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
763 # endif
764 #endif
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
769 # endif
770 #endif
771
772
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
777 # endif
778 #endif
779
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
784 # endif
785 #endif
786
787
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
790 static
791 PyObject *PyBool_FromLong(long ok)
792 {
793 PyObject *result = ok ? Py_True : Py_False;
794 Py_INCREF(result);
795 return result;
796 }
797 #endif
798
799
800 /* -----------------------------------------------------------------------------
801 * error manipulation
802 * ----------------------------------------------------------------------------- */
803
804 SWIGRUNTIME PyObject*
805 SWIG_Python_ErrorType(int code) {
806 PyObject* type = 0;
807 switch(code) {
808 case SWIG_MemoryError:
809 type = PyExc_MemoryError;
810 break;
811 case SWIG_IOError:
812 type = PyExc_IOError;
813 break;
814 case SWIG_RuntimeError:
815 type = PyExc_RuntimeError;
816 break;
817 case SWIG_IndexError:
818 type = PyExc_IndexError;
819 break;
820 case SWIG_TypeError:
821 type = PyExc_TypeError;
822 break;
823 case SWIG_DivisionByZero:
824 type = PyExc_ZeroDivisionError;
825 break;
826 case SWIG_OverflowError:
827 type = PyExc_OverflowError;
828 break;
829 case SWIG_SyntaxError:
830 type = PyExc_SyntaxError;
831 break;
832 case SWIG_ValueError:
833 type = PyExc_ValueError;
834 break;
835 case SWIG_SystemError:
836 type = PyExc_SystemError;
837 break;
838 case SWIG_AttributeError:
839 type = PyExc_AttributeError;
840 break;
841 default:
842 type = PyExc_RuntimeError;
843 }
844 return type;
845 }
846
847
848 SWIGRUNTIME void
849 SWIG_Python_AddErrorMsg(const char* mesg)
850 {
851 PyObject *type = 0;
852 PyObject *value = 0;
853 PyObject *traceback = 0;
854
855 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
856 if (value) {
857 PyObject *old_str = PyObject_Str(value);
858 PyErr_Clear();
859 Py_XINCREF(type);
860 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
861 Py_DECREF(old_str);
862 Py_DECREF(value);
863 } else {
864 PyErr_Format(PyExc_RuntimeError, mesg);
865 }
866 }
867
868
869
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
873 # endif
874 #endif
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
879 # endif
880 # endif
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
884 # endif
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block {
887 bool status;
888 PyGILState_STATE state;
889 public:
890 void end() { if (status) { PyGILState_Release(state); status = false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
893 };
894 class SWIG_Python_Thread_Allow {
895 bool status;
896 PyThreadState *save;
897 public:
898 void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
901 };
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
906 # else /* C code */
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
911 # endif
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
915 # endif
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
918 # endif
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
921 # endif
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
924 # endif
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
927 # endif
928 # endif
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
935 #endif
936
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
940
941 #ifdef __cplusplus
942 extern "C" {
943 #if 0
944 } /* cc-mode */
945 #endif
946 #endif
947
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
951
952 /* Constant Types */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
955
956 /* Constant information structure */
957 typedef struct swig_const_info {
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
964 } swig_const_info;
965
966 #ifdef __cplusplus
967 #if 0
968 { /* cc-mode */
969 #endif
970 }
971 #endif
972
973
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
977 *
978 * pyrun.swg
979 *
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
983 *
984 * ----------------------------------------------------------------------------- */
985
986 /* Common SWIG API */
987
988 /* for raw pointers */
989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995 #define swig_owntype int
996
997 /* for raw packed data */
998 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1000
1001 /* for class or struct pointers */
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1004
1005 /* for C or C++ function pointers */
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1008
1009 /* for C++ member pointers, ie, member methods */
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1012
1013
1014 /* Runtime API */
1015
1016 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1019
1020 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024 #define SWIG_fail goto fail
1025
1026
1027 /* Runtime API implementation */
1028
1029 /* Error manipulation */
1030
1031 SWIGINTERN void
1032 SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1034 PyErr_SetObject(errtype, obj);
1035 Py_DECREF(obj);
1036 SWIG_PYTHON_THREAD_END_BLOCK;
1037 }
1038
1039 SWIGINTERN void
1040 SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1042 PyErr_SetString(errtype, (char *) msg);
1043 SWIG_PYTHON_THREAD_END_BLOCK;
1044 }
1045
1046 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1047
1048 /* Set a constant value */
1049
1050 SWIGINTERN void
1051 SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1052 PyDict_SetItemString(d, (char*) name, obj);
1053 Py_DECREF(obj);
1054 }
1055
1056 /* Append a value to the result obj */
1057
1058 SWIGINTERN PyObject*
1059 SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1061 if (!result) {
1062 result = obj;
1063 } else if (result == Py_None) {
1064 Py_DECREF(result);
1065 result = obj;
1066 } else {
1067 if (!PyList_Check(result)) {
1068 PyObject *o2 = result;
1069 result = PyList_New(1);
1070 PyList_SetItem(result, 0, o2);
1071 }
1072 PyList_Append(result,obj);
1073 Py_DECREF(obj);
1074 }
1075 return result;
1076 #else
1077 PyObject* o2;
1078 PyObject* o3;
1079 if (!result) {
1080 result = obj;
1081 } else if (result == Py_None) {
1082 Py_DECREF(result);
1083 result = obj;
1084 } else {
1085 if (!PyTuple_Check(result)) {
1086 o2 = result;
1087 result = PyTuple_New(1);
1088 PyTuple_SET_ITEM(result, 0, o2);
1089 }
1090 o3 = PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3, 0, obj);
1092 o2 = result;
1093 result = PySequence_Concat(o2, o3);
1094 Py_DECREF(o2);
1095 Py_DECREF(o3);
1096 }
1097 return result;
1098 #endif
1099 }
1100
1101 /* Unpack the argument tuple */
1102
1103 SWIGINTERN int
1104 SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1105 {
1106 if (!args) {
1107 if (!min && !max) {
1108 return 1;
1109 } else {
1110 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1111 name, (min == max ? "" : "at least "), min);
1112 return 0;
1113 }
1114 }
1115 if (!PyTuple_Check(args)) {
1116 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1117 return 0;
1118 } else {
1119 register int l = PyTuple_GET_SIZE(args);
1120 if (l < min) {
1121 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1122 name, (min == max ? "" : "at least "), min, l);
1123 return 0;
1124 } else if (l > max) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at most "), max, l);
1127 return 0;
1128 } else {
1129 register int i;
1130 for (i = 0; i < l; ++i) {
1131 objs[i] = PyTuple_GET_ITEM(args, i);
1132 }
1133 for (; l < max; ++l) {
1134 objs[l] = 0;
1135 }
1136 return i + 1;
1137 }
1138 }
1139 }
1140
1141 /* A functor is a function object with one single object argument */
1142 #if PY_VERSION_HEX >= 0x02020000
1143 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1144 #else
1145 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1146 #endif
1147
1148 /*
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1151 */
1152 #ifdef __cplusplus
1153 #define SWIG_STATIC_POINTER(var) var
1154 #else
1155 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1156 #endif
1157
1158 /* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1161
1162 /* Flags for new pointer objects */
1163 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1165
1166 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1167
1168 #ifdef __cplusplus
1169 extern "C" {
1170 #if 0
1171 } /* cc-mode */
1172 #endif
1173 #endif
1174
1175 /* How to access Py_None */
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1178 # ifndef SWIG_PYTHON_BUILD_NONE
1179 # define SWIG_PYTHON_BUILD_NONE
1180 # endif
1181 # endif
1182 #endif
1183
1184 #ifdef SWIG_PYTHON_BUILD_NONE
1185 # ifdef Py_None
1186 # undef Py_None
1187 # define Py_None SWIG_Py_None()
1188 # endif
1189 SWIGRUNTIMEINLINE PyObject *
1190 _SWIG_Py_None(void)
1191 {
1192 PyObject *none = Py_BuildValue("");
1193 Py_DECREF(none);
1194 return none;
1195 }
1196 SWIGRUNTIME PyObject *
1197 SWIG_Py_None(void)
1198 {
1199 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1200 return none;
1201 }
1202 #endif
1203
1204 /* The python void return value */
1205
1206 SWIGRUNTIMEINLINE PyObject *
1207 SWIG_Py_Void(void)
1208 {
1209 PyObject *none = Py_None;
1210 Py_INCREF(none);
1211 return none;
1212 }
1213
1214 /* PySwigClientData */
1215
1216 typedef struct {
1217 PyObject *klass;
1218 PyObject *newraw;
1219 PyObject *newargs;
1220 PyObject *destroy;
1221 int delargs;
1222 int implicitconv;
1223 } PySwigClientData;
1224
1225 SWIGRUNTIMEINLINE int
1226 SWIG_Python_CheckImplicit(swig_type_info *ty)
1227 {
1228 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1229 return data ? data->implicitconv : 0;
1230 }
1231
1232 SWIGRUNTIMEINLINE PyObject *
1233 SWIG_Python_ExceptionType(swig_type_info *desc) {
1234 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1235 PyObject *klass = data ? data->klass : 0;
1236 return (klass ? klass : PyExc_RuntimeError);
1237 }
1238
1239
1240 SWIGRUNTIME PySwigClientData *
1241 PySwigClientData_New(PyObject* obj)
1242 {
1243 if (!obj) {
1244 return 0;
1245 } else {
1246 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1247 /* the klass element */
1248 data->klass = obj;
1249 Py_INCREF(data->klass);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj)) {
1252 data->newraw = 0;
1253 data->newargs = obj;
1254 Py_INCREF(obj);
1255 } else {
1256 #if (PY_VERSION_HEX < 0x02020000)
1257 data->newraw = 0;
1258 #else
1259 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1260 #endif
1261 if (data->newraw) {
1262 Py_INCREF(data->newraw);
1263 data->newargs = PyTuple_New(1);
1264 PyTuple_SetItem(data->newargs, 0, obj);
1265 } else {
1266 data->newargs = obj;
1267 }
1268 Py_INCREF(data->newargs);
1269 }
1270 /* the destroy method, aka as the C++ delete method */
1271 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1273 PyErr_Clear();
1274 data->destroy = 0;
1275 }
1276 if (data->destroy) {
1277 int flags;
1278 Py_INCREF(data->destroy);
1279 flags = PyCFunction_GET_FLAGS(data->destroy);
1280 #ifdef METH_O
1281 data->delargs = !(flags & (METH_O));
1282 #else
1283 data->delargs = 0;
1284 #endif
1285 } else {
1286 data->delargs = 0;
1287 }
1288 data->implicitconv = 0;
1289 return data;
1290 }
1291 }
1292
1293 SWIGRUNTIME void
1294 PySwigClientData_Del(PySwigClientData* data)
1295 {
1296 Py_XDECREF(data->newraw);
1297 Py_XDECREF(data->newargs);
1298 Py_XDECREF(data->destroy);
1299 }
1300
1301 /* =============== PySwigObject =====================*/
1302
1303 typedef struct {
1304 PyObject_HEAD
1305 void *ptr;
1306 swig_type_info *ty;
1307 int own;
1308 PyObject *next;
1309 } PySwigObject;
1310
1311 SWIGRUNTIME PyObject *
1312 PySwigObject_long(PySwigObject *v)
1313 {
1314 return PyLong_FromVoidPtr(v->ptr);
1315 }
1316
1317 SWIGRUNTIME PyObject *
1318 PySwigObject_format(const char* fmt, PySwigObject *v)
1319 {
1320 PyObject *res = NULL;
1321 PyObject *args = PyTuple_New(1);
1322 if (args) {
1323 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1324 PyObject *ofmt = PyString_FromString(fmt);
1325 if (ofmt) {
1326 res = PyString_Format(ofmt,args);
1327 Py_DECREF(ofmt);
1328 }
1329 Py_DECREF(args);
1330 }
1331 }
1332 return res;
1333 }
1334
1335 SWIGRUNTIME PyObject *
1336 PySwigObject_oct(PySwigObject *v)
1337 {
1338 return PySwigObject_format("%o",v);
1339 }
1340
1341 SWIGRUNTIME PyObject *
1342 PySwigObject_hex(PySwigObject *v)
1343 {
1344 return PySwigObject_format("%x",v);
1345 }
1346
1347 SWIGRUNTIME PyObject *
1348 #ifdef METH_NOARGS
1349 PySwigObject_repr(PySwigObject *v)
1350 #else
1351 PySwigObject_repr(PySwigObject *v, PyObject *args)
1352 #endif
1353 {
1354 const char *name = SWIG_TypePrettyName(v->ty);
1355 PyObject *hex = PySwigObject_hex(v);
1356 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1357 Py_DECREF(hex);
1358 if (v->next) {
1359 #ifdef METH_NOARGS
1360 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1361 #else
1362 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1363 #endif
1364 PyString_ConcatAndDel(&repr,nrep);
1365 }
1366 return repr;
1367 }
1368
1369 SWIGRUNTIME int
1370 PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1371 {
1372 #ifdef METH_NOARGS
1373 PyObject *repr = PySwigObject_repr(v);
1374 #else
1375 PyObject *repr = PySwigObject_repr(v, NULL);
1376 #endif
1377 if (repr) {
1378 fputs(PyString_AsString(repr), fp);
1379 Py_DECREF(repr);
1380 return 0;
1381 } else {
1382 return 1;
1383 }
1384 }
1385
1386 SWIGRUNTIME PyObject *
1387 PySwigObject_str(PySwigObject *v)
1388 {
1389 char result[SWIG_BUFFER_SIZE];
1390 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1391 PyString_FromString(result) : 0;
1392 }
1393
1394 SWIGRUNTIME int
1395 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1396 {
1397 void *i = v->ptr;
1398 void *j = w->ptr;
1399 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1400 }
1401
1402 SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1403
1404 SWIGRUNTIME PyTypeObject*
1405 PySwigObject_type(void) {
1406 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1407 return type;
1408 }
1409
1410 SWIGRUNTIMEINLINE int
1411 PySwigObject_Check(PyObject *op) {
1412 return ((op)->ob_type == PySwigObject_type())
1413 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1414 }
1415
1416 SWIGRUNTIME PyObject *
1417 PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1418
1419 SWIGRUNTIME void
1420 PySwigObject_dealloc(PyObject *v)
1421 {
1422 PySwigObject *sobj = (PySwigObject *) v;
1423 PyObject *next = sobj->next;
1424 if (sobj->own) {
1425 swig_type_info *ty = sobj->ty;
1426 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1427 PyObject *destroy = data ? data->destroy : 0;
1428 if (destroy) {
1429 /* destroy is always a VARARGS method */
1430 PyObject *res;
1431 if (data->delargs) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1434 res = SWIG_Python_CallFunctor(destroy, tmp);
1435 Py_DECREF(tmp);
1436 } else {
1437 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1438 PyObject *mself = PyCFunction_GET_SELF(destroy);
1439 res = ((*meth)(mself, v));
1440 }
1441 Py_XDECREF(res);
1442 } else {
1443 const char *name = SWIG_TypePrettyName(ty);
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1446 #endif
1447 }
1448 }
1449 Py_XDECREF(next);
1450 PyObject_DEL(v);
1451 }
1452
1453 SWIGRUNTIME PyObject*
1454 PySwigObject_append(PyObject* v, PyObject* next)
1455 {
1456 PySwigObject *sobj = (PySwigObject *) v;
1457 #ifndef METH_O
1458 PyObject *tmp = 0;
1459 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1460 next = tmp;
1461 #endif
1462 if (!PySwigObject_Check(next)) {
1463 return NULL;
1464 }
1465 sobj->next = next;
1466 Py_INCREF(next);
1467 return SWIG_Py_Void();
1468 }
1469
1470 SWIGRUNTIME PyObject*
1471 #ifdef METH_NOARGS
1472 PySwigObject_next(PyObject* v)
1473 #else
1474 PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1475 #endif
1476 {
1477 PySwigObject *sobj = (PySwigObject *) v;
1478 if (sobj->next) {
1479 Py_INCREF(sobj->next);
1480 return sobj->next;
1481 } else {
1482 return SWIG_Py_Void();
1483 }
1484 }
1485
1486 SWIGINTERN PyObject*
1487 #ifdef METH_NOARGS
1488 PySwigObject_disown(PyObject *v)
1489 #else
1490 PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1491 #endif
1492 {
1493 PySwigObject *sobj = (PySwigObject *)v;
1494 sobj->own = 0;
1495 return SWIG_Py_Void();
1496 }
1497
1498 SWIGINTERN PyObject*
1499 #ifdef METH_NOARGS
1500 PySwigObject_acquire(PyObject *v)
1501 #else
1502 PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1503 #endif
1504 {
1505 PySwigObject *sobj = (PySwigObject *)v;
1506 sobj->own = SWIG_POINTER_OWN;
1507 return SWIG_Py_Void();
1508 }
1509
1510 SWIGINTERN PyObject*
1511 PySwigObject_own(PyObject *v, PyObject *args)
1512 {
1513 PyObject *val = 0;
1514 #if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1516 #else
1517 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1518 #endif
1519 {
1520 return NULL;
1521 }
1522 else
1523 {
1524 PySwigObject *sobj = (PySwigObject *)v;
1525 PyObject *obj = PyBool_FromLong(sobj->own);
1526 if (val) {
1527 #ifdef METH_NOARGS
1528 if (PyObject_IsTrue(val)) {
1529 PySwigObject_acquire(v);
1530 } else {
1531 PySwigObject_disown(v);
1532 }
1533 #else
1534 if (PyObject_IsTrue(val)) {
1535 PySwigObject_acquire(v,args);
1536 } else {
1537 PySwigObject_disown(v,args);
1538 }
1539 #endif
1540 }
1541 return obj;
1542 }
1543 }
1544
1545 #ifdef METH_O
1546 static PyMethodDef
1547 swigobject_methods[] = {
1548 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1554 {0, 0, 0, 0}
1555 };
1556 #else
1557 static PyMethodDef
1558 swigobject_methods[] = {
1559 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1565 {0, 0, 0, 0}
1566 };
1567 #endif
1568
1569 #if PY_VERSION_HEX < 0x02020000
1570 SWIGINTERN PyObject *
1571 PySwigObject_getattr(PySwigObject *sobj,char *name)
1572 {
1573 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1574 }
1575 #endif
1576
1577 SWIGRUNTIME PyTypeObject*
1578 _PySwigObject_type(void) {
1579 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1580
1581 static PyNumberMethods PySwigObject_as_number = {
1582 (binaryfunc)0, /*nb_add*/
1583 (binaryfunc)0, /*nb_subtract*/
1584 (binaryfunc)0, /*nb_multiply*/
1585 (binaryfunc)0, /*nb_divide*/
1586 (binaryfunc)0, /*nb_remainder*/
1587 (binaryfunc)0, /*nb_divmod*/
1588 (ternaryfunc)0,/*nb_power*/
1589 (unaryfunc)0, /*nb_negative*/
1590 (unaryfunc)0, /*nb_positive*/
1591 (unaryfunc)0, /*nb_absolute*/
1592 (inquiry)0, /*nb_nonzero*/
1593 0, /*nb_invert*/
1594 0, /*nb_lshift*/
1595 0, /*nb_rshift*/
1596 0, /*nb_and*/
1597 0, /*nb_xor*/
1598 0, /*nb_or*/
1599 (coercion)0, /*nb_coerce*/
1600 (unaryfunc)PySwigObject_long, /*nb_int*/
1601 (unaryfunc)PySwigObject_long, /*nb_long*/
1602 (unaryfunc)0, /*nb_float*/
1603 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1604 (unaryfunc)PySwigObject_hex, /*nb_hex*/
1605 #if PY_VERSION_HEX >= 0x02020000
1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1607 #elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1609 #endif
1610 };
1611
1612 static PyTypeObject pyswigobject_type;
1613 static int type_init = 0;
1614 if (!type_init) {
1615 const PyTypeObject tmp
1616 = {
1617 PyObject_HEAD_INIT(NULL)
1618 0, /* ob_size */
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1623 (printfunc)PySwigObject_print, /* tp_print */
1624 #if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1626 #else
1627 (getattrfunc)0, /* tp_getattr */
1628 #endif
1629 (setattrfunc)0, /* tp_setattr */
1630 (cmpfunc)PySwigObject_compare, /* tp_compare */
1631 (reprfunc)PySwigObject_repr, /* tp_repr */
1632 &PySwigObject_as_number, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc)0, /* tp_hash */
1636 (ternaryfunc)0, /* tp_call */
1637 (reprfunc)PySwigObject_str, /* tp_str */
1638 PyObject_GenericGetAttr, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT, /* tp_flags */
1642 swigobject_doc, /* tp_doc */
1643 0, /* tp_traverse */
1644 0, /* tp_clear */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
1647 #if PY_VERSION_HEX >= 0x02020000
1648 0, /* tp_iter */
1649 0, /* tp_iternext */
1650 swigobject_methods, /* tp_methods */
1651 0, /* tp_members */
1652 0, /* tp_getset */
1653 0, /* tp_base */
1654 0, /* tp_dict */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1658 0, /* tp_init */
1659 0, /* tp_alloc */
1660 0, /* tp_new */
1661 0, /* tp_free */
1662 0, /* tp_is_gc */
1663 0, /* tp_bases */
1664 0, /* tp_mro */
1665 0, /* tp_cache */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
1668 #endif
1669 #if PY_VERSION_HEX >= 0x02030000
1670 0, /* tp_del */
1671 #endif
1672 #ifdef COUNT_ALLOCS
1673 0,0,0,0 /* tp_alloc -> tp_next */
1674 #endif
1675 };
1676 pyswigobject_type = tmp;
1677 pyswigobject_type.ob_type = &PyType_Type;
1678 type_init = 1;
1679 }
1680 return &pyswigobject_type;
1681 }
1682
1683 SWIGRUNTIME PyObject *
1684 PySwigObject_New(void *ptr, swig_type_info *ty, int own)
1685 {
1686 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1687 if (sobj) {
1688 sobj->ptr = ptr;
1689 sobj->ty = ty;
1690 sobj->own = own;
1691 sobj->next = 0;
1692 }
1693 return (PyObject *)sobj;
1694 }
1695
1696 /* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1699
1700 typedef struct {
1701 PyObject_HEAD
1702 void *pack;
1703 swig_type_info *ty;
1704 size_t size;
1705 } PySwigPacked;
1706
1707 SWIGRUNTIME int
1708 PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1709 {
1710 char result[SWIG_BUFFER_SIZE];
1711 fputs("<Swig Packed ", fp);
1712 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1713 fputs("at ", fp);
1714 fputs(result, fp);
1715 }
1716 fputs(v->ty->name,fp);
1717 fputs(">", fp);
1718 return 0;
1719 }
1720
1721 SWIGRUNTIME PyObject *
1722 PySwigPacked_repr(PySwigPacked *v)
1723 {
1724 char result[SWIG_BUFFER_SIZE];
1725 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1726 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
1727 } else {
1728 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
1729 }
1730 }
1731
1732 SWIGRUNTIME PyObject *
1733 PySwigPacked_str(PySwigPacked *v)
1734 {
1735 char result[SWIG_BUFFER_SIZE];
1736 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
1737 return PyString_FromFormat("%s%s", result, v->ty->name);
1738 } else {
1739 return PyString_FromString(v->ty->name);
1740 }
1741 }
1742
1743 SWIGRUNTIME int
1744 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1745 {
1746 size_t i = v->size;
1747 size_t j = w->size;
1748 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1749 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
1750 }
1751
1752 SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
1753
1754 SWIGRUNTIME PyTypeObject*
1755 PySwigPacked_type(void) {
1756 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1757 return type;
1758 }
1759
1760 SWIGRUNTIMEINLINE int
1761 PySwigPacked_Check(PyObject *op) {
1762 return ((op)->ob_type == _PySwigPacked_type())
1763 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1764 }
1765
1766 SWIGRUNTIME void
1767 PySwigPacked_dealloc(PyObject *v)
1768 {
1769 if (PySwigPacked_Check(v)) {
1770 PySwigPacked *sobj = (PySwigPacked *) v;
1771 free(sobj->pack);
1772 }
1773 PyObject_DEL(v);
1774 }
1775
1776 SWIGRUNTIME PyTypeObject*
1777 _PySwigPacked_type(void) {
1778 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type;
1780 static int type_init = 0;
1781 if (!type_init) {
1782 const PyTypeObject tmp
1783 = {
1784 PyObject_HEAD_INIT(NULL)
1785 0, /* ob_size */
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1790 (printfunc)PySwigPacked_print, /* tp_print */
1791 (getattrfunc)0, /* tp_getattr */
1792 (setattrfunc)0, /* tp_setattr */
1793 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1794 (reprfunc)PySwigPacked_repr, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc)0, /* tp_hash */
1799 (ternaryfunc)0, /* tp_call */
1800 (reprfunc)PySwigPacked_str, /* tp_str */
1801 PyObject_GenericGetAttr, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT, /* tp_flags */
1805 swigpacked_doc, /* tp_doc */
1806 0, /* tp_traverse */
1807 0, /* tp_clear */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810 #if PY_VERSION_HEX >= 0x02020000
1811 0, /* tp_iter */
1812 0, /* tp_iternext */
1813 0, /* tp_methods */
1814 0, /* tp_members */
1815 0, /* tp_getset */
1816 0, /* tp_base */
1817 0, /* tp_dict */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1821 0, /* tp_init */
1822 0, /* tp_alloc */
1823 0, /* tp_new */
1824 0, /* tp_free */
1825 0, /* tp_is_gc */
1826 0, /* tp_bases */
1827 0, /* tp_mro */
1828 0, /* tp_cache */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
1831 #endif
1832 #if PY_VERSION_HEX >= 0x02030000
1833 0, /* tp_del */
1834 #endif
1835 #ifdef COUNT_ALLOCS
1836 0,0,0,0 /* tp_alloc -> tp_next */
1837 #endif
1838 };
1839 pyswigpacked_type = tmp;
1840 pyswigpacked_type.ob_type = &PyType_Type;
1841 type_init = 1;
1842 }
1843 return &pyswigpacked_type;
1844 }
1845
1846 SWIGRUNTIME PyObject *
1847 PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
1848 {
1849 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1850 if (sobj) {
1851 void *pack = malloc(size);
1852 if (pack) {
1853 memcpy(pack, ptr, size);
1854 sobj->pack = pack;
1855 sobj->ty = ty;
1856 sobj->size = size;
1857 } else {
1858 PyObject_DEL((PyObject *) sobj);
1859 sobj = 0;
1860 }
1861 }
1862 return (PyObject *) sobj;
1863 }
1864
1865 SWIGRUNTIME swig_type_info *
1866 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1867 {
1868 if (PySwigPacked_Check(obj)) {
1869 PySwigPacked *sobj = (PySwigPacked *)obj;
1870 if (sobj->size != size) return 0;
1871 memcpy(ptr, sobj->pack, size);
1872 return sobj->ty;
1873 } else {
1874 return 0;
1875 }
1876 }
1877
1878 /* -----------------------------------------------------------------------------
1879 * pointers/data manipulation
1880 * ----------------------------------------------------------------------------- */
1881
1882 SWIGRUNTIMEINLINE PyObject *
1883 _SWIG_This(void)
1884 {
1885 return PyString_FromString("this");
1886 }
1887
1888 SWIGRUNTIME PyObject *
1889 SWIG_This(void)
1890 {
1891 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1892 return swig_this;
1893 }
1894
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1896
1897 SWIGRUNTIME PySwigObject *
1898 SWIG_Python_GetSwigThis(PyObject *pyobj)
1899 {
1900 if (PySwigObject_Check(pyobj)) {
1901 return (PySwigObject *) pyobj;
1902 } else {
1903 PyObject *obj = 0;
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj)) {
1906 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1907 } else {
1908 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1909 if (dictptr != NULL) {
1910 PyObject *dict = *dictptr;
1911 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1912 } else {
1913 #ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj)) {
1915 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1916 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1917 }
1918 #endif
1919 obj = PyObject_GetAttr(pyobj,SWIG_This());
1920 if (obj) {
1921 Py_DECREF(obj);
1922 } else {
1923 if (PyErr_Occurred()) PyErr_Clear();
1924 return 0;
1925 }
1926 }
1927 }
1928 #else
1929 obj = PyObject_GetAttr(pyobj,SWIG_This());
1930 if (obj) {
1931 Py_DECREF(obj);
1932 } else {
1933 if (PyErr_Occurred()) PyErr_Clear();
1934 return 0;
1935 }
1936 #endif
1937 if (obj && !PySwigObject_Check(obj)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj);
1941 }
1942 return (PySwigObject *)obj;
1943 }
1944 }
1945
1946 /* Acquire a pointer value */
1947
1948 SWIGRUNTIME int
1949 SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1950 if (own) {
1951 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1952 if (sobj) {
1953 int oldown = sobj->own;
1954 sobj->own = own;
1955 return oldown;
1956 }
1957 }
1958 return 0;
1959 }
1960
1961 /* Convert a pointer value */
1962
1963 SWIGRUNTIME int
1964 SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1965 if (!obj) return SWIG_ERROR;
1966 if (obj == Py_None) {
1967 if (ptr) *ptr = 0;
1968 return SWIG_OK;
1969 } else {
1970 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1971 while (sobj) {
1972 void *vptr = sobj->ptr;
1973 if (ty) {
1974 swig_type_info *to = sobj->ty;
1975 if (to == ty) {
1976 /* no type cast needed */
1977 if (ptr) *ptr = vptr;
1978 break;
1979 } else {
1980 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1981 if (!tc) {
1982 sobj = (PySwigObject *)sobj->next;
1983 } else {
1984 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1985 break;
1986 }
1987 }
1988 } else {
1989 if (ptr) *ptr = vptr;
1990 break;
1991 }
1992 }
1993 if (sobj) {
1994 if (own) *own = sobj->own;
1995 if (flags & SWIG_POINTER_DISOWN) {
1996 sobj->own = 0;
1997 }
1998 return SWIG_OK;
1999 } else {
2000 int res = SWIG_ERROR;
2001 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2002 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2003 if (data && !data->implicitconv) {
2004 PyObject *klass = data->klass;
2005 if (klass) {
2006 PyObject *impconv;
2007 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv = SWIG_Python_CallFunctor(klass, obj);
2009 data->implicitconv = 0;
2010 if (PyErr_Occurred()) {
2011 PyErr_Clear();
2012 impconv = 0;
2013 }
2014 if (impconv) {
2015 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2016 if (iobj) {
2017 void *vptr;
2018 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2019 if (SWIG_IsOK(res)) {
2020 if (ptr) {
2021 *ptr = vptr;
2022 /* transfer the ownership to 'ptr' */
2023 iobj->own = 0;
2024 res = SWIG_AddCast(res);
2025 res = SWIG_AddNewMask(res);
2026 } else {
2027 res = SWIG_AddCast(res);
2028 }
2029 }
2030 }
2031 Py_DECREF(impconv);
2032 }
2033 }
2034 }
2035 }
2036 return res;
2037 }
2038 }
2039 }
2040
2041 /* Convert a function ptr value */
2042
2043 SWIGRUNTIME int
2044 SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2045 if (!PyCFunction_Check(obj)) {
2046 return SWIG_ConvertPtr(obj, ptr, ty, 0);
2047 } else {
2048 void *vptr = 0;
2049
2050 /* here we get the method pointer for callbacks */
2051 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2052 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2053 if (desc) {
2054 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2055 if (!desc) return SWIG_ERROR;
2056 }
2057 if (ty) {
2058 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2059 if (!tc) return SWIG_ERROR;
2060 *ptr = SWIG_TypeCast(tc,vptr);
2061 } else {
2062 *ptr = vptr;
2063 }
2064 return SWIG_OK;
2065 }
2066 }
2067
2068 /* Convert a packed value value */
2069
2070 SWIGRUNTIME int
2071 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2072 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2073 if (!to) return SWIG_ERROR;
2074 if (ty) {
2075 if (to != ty) {
2076 /* check type cast? */
2077 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2078 if (!tc) return SWIG_ERROR;
2079 }
2080 }
2081 return SWIG_OK;
2082 }
2083
2084 /* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
2087
2088 /*
2089 Create a new instance object, whitout calling __init__, and set the
2090 'this' attribute.
2091 */
2092
2093 SWIGRUNTIME PyObject*
2094 SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2095 {
2096 #if (PY_VERSION_HEX >= 0x02020000)
2097 PyObject *inst = 0;
2098 PyObject *newraw = data->newraw;
2099 if (newraw) {
2100 inst = PyObject_Call(newraw, data->newargs, NULL);
2101 if (inst) {
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2104 if (dictptr != NULL) {
2105 PyObject *dict = *dictptr;
2106 if (dict == NULL) {
2107 dict = PyDict_New();
2108 *dictptr = dict;
2109 PyDict_SetItem(dict, SWIG_This(), swig_this);
2110 }
2111 }
2112 #else
2113 PyObject *key = SWIG_This();
2114 PyObject_SetAttr(inst, key, swig_this);
2115 #endif
2116 }
2117 } else {
2118 PyObject *dict = PyDict_New();
2119 PyDict_SetItem(dict, SWIG_This(), swig_this);
2120 inst = PyInstance_NewRaw(data->newargs, dict);
2121 Py_DECREF(dict);
2122 }
2123 return inst;
2124 #else
2125 #if (PY_VERSION_HEX >= 0x02010000)
2126 PyObject *inst;
2127 PyObject *dict = PyDict_New();
2128 PyDict_SetItem(dict, SWIG_This(), swig_this);
2129 inst = PyInstance_NewRaw(data->newargs, dict);
2130 Py_DECREF(dict);
2131 return (PyObject *) inst;
2132 #else
2133 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2134 if (inst == NULL) {
2135 return NULL;
2136 }
2137 inst->in_class = (PyClassObject *)data->newargs;
2138 Py_INCREF(inst->in_class);
2139 inst->in_dict = PyDict_New();
2140 if (inst->in_dict == NULL) {
2141 Py_DECREF(inst);
2142 return NULL;
2143 }
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst->in_weakreflist = NULL;
2146 #endif
2147 #ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst);
2149 #endif
2150 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2151 return (PyObject *) inst;
2152 #endif
2153 #endif
2154 }
2155
2156 SWIGRUNTIME void
2157 SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2158 {
2159 PyObject *dict;
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2162 if (dictptr != NULL) {
2163 dict = *dictptr;
2164 if (dict == NULL) {
2165 dict = PyDict_New();
2166 *dictptr = dict;
2167 }
2168 PyDict_SetItem(dict, SWIG_This(), swig_this);
2169 return;
2170 }
2171 #endif
2172 dict = PyObject_GetAttrString(inst, "__dict__");
2173 PyDict_SetItem(dict, SWIG_This(), swig_this);
2174 Py_DECREF(dict);
2175 }
2176
2177
2178 SWIGINTERN PyObject *
2179 SWIG_Python_InitShadowInstance(PyObject *args) {
2180 PyObject *obj[2];
2181 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2182 return NULL;
2183 } else {
2184 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2185 if (sthis) {
2186 PySwigObject_append((PyObject*) sthis, obj[1]);
2187 } else {
2188 SWIG_Python_SetSwigThis(obj[0], obj[1]);
2189 }
2190 return SWIG_Py_Void();
2191 }
2192 }
2193
2194 /* Create a new pointer object */
2195
2196 SWIGRUNTIME PyObject *
2197 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
2198 if (!ptr) {
2199 return SWIG_Py_Void();
2200 } else {
2201 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2202 PyObject *robj = PySwigObject_New(ptr, type, own);
2203 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2204 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2205 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2206 if (inst) {
2207 Py_DECREF(robj);
2208 robj = inst;
2209 }
2210 }
2211 return robj;
2212 }
2213 }
2214
2215 /* Create a new packed object */
2216
2217 SWIGRUNTIMEINLINE PyObject *
2218 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
2219 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
2220 }
2221
2222 /* -----------------------------------------------------------------------------*
2223 * Get type list
2224 * -----------------------------------------------------------------------------*/
2225
2226 #ifdef SWIG_LINK_RUNTIME
2227 void *SWIG_ReturnGlobalTypeList(void *);
2228 #endif
2229
2230 SWIGRUNTIME swig_module_info *
2231 SWIG_Python_GetModule(void) {
2232 static void *type_pointer = (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer) {
2235 #ifdef SWIG_LINK_RUNTIME
2236 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2237 #else
2238 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2240 if (PyErr_Occurred()) {
2241 PyErr_Clear();
2242 type_pointer = (void *)0;
2243 }
2244 #endif
2245 }
2246 return (swig_module_info *) type_pointer;
2247 }
2248
2249 #if PY_MAJOR_VERSION < 2
2250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2251 is copied out of Python/modsupport.c in python version 2.3.4 */
2252 SWIGINTERN int
2253 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2254 {
2255 PyObject *dict;
2256 if (!PyModule_Check(m)) {
2257 PyErr_SetString(PyExc_TypeError,
2258 "PyModule_AddObject() needs module as first arg");
2259 return SWIG_ERROR;
2260 }
2261 if (!o) {
2262 PyErr_SetString(PyExc_TypeError,
2263 "PyModule_AddObject() needs non-NULL value");
2264 return SWIG_ERROR;
2265 }
2266
2267 dict = PyModule_GetDict(m);
2268 if (dict == NULL) {
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2271 PyModule_GetName(m));
2272 return SWIG_ERROR;
2273 }
2274 if (PyDict_SetItemString(dict, name, o))
2275 return SWIG_ERROR;
2276 Py_DECREF(o);
2277 return SWIG_OK;
2278 }
2279 #endif
2280
2281 SWIGRUNTIME void
2282 SWIG_Python_DestroyModule(void *vptr)
2283 {
2284 swig_module_info *swig_module = (swig_module_info *) vptr;
2285 swig_type_info **types = swig_module->types;
2286 size_t i;
2287 for (i =0; i < swig_module->size; ++i) {
2288 swig_type_info *ty = types[i];
2289 if (ty->owndata) {
2290 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2291 if (data) PySwigClientData_Del(data);
2292 }
2293 }
2294 Py_DECREF(SWIG_This());
2295 }
2296
2297 SWIGRUNTIME void
2298 SWIG_Python_SetModule(swig_module_info *swig_module) {
2299 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2300
2301 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2302 swig_empty_runtime_method_table);
2303 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
2304 if (pointer && module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
2306 } else {
2307 Py_XDECREF(pointer);
2308 }
2309 }
2310
2311 /* The python cached type query */
2312 SWIGRUNTIME PyObject *
2313 SWIG_Python_TypeCache() {
2314 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2315 return cache;
2316 }
2317
2318 SWIGRUNTIME swig_type_info *
2319 SWIG_Python_TypeQuery(const char *type)
2320 {
2321 PyObject *cache = SWIG_Python_TypeCache();
2322 PyObject *key = PyString_FromString(type);
2323 PyObject *obj = PyDict_GetItem(cache, key);
2324 swig_type_info *descriptor;
2325 if (obj) {
2326 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2327 } else {
2328 swig_module_info *swig_module = SWIG_Python_GetModule();
2329 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2330 if (descriptor) {
2331 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2332 PyDict_SetItem(cache, key, obj);
2333 Py_DECREF(obj);
2334 }
2335 }
2336 Py_DECREF(key);
2337 return descriptor;
2338 }
2339
2340 /*
2341 For backward compatibility only
2342 */
2343 #define SWIG_POINTER_EXCEPTION 0
2344 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2346
2347 SWIGRUNTIME int
2348 SWIG_Python_AddErrMesg(const char* mesg, int infront)
2349 {
2350 if (PyErr_Occurred()) {
2351 PyObject *type = 0;
2352 PyObject *value = 0;
2353 PyObject *traceback = 0;
2354 PyErr_Fetch(&type, &value, &traceback);
2355 if (value) {
2356 PyObject *old_str = PyObject_Str(value);
2357 Py_XINCREF(type);
2358 PyErr_Clear();
2359 if (infront) {
2360 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2361 } else {
2362 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2363 }
2364 Py_DECREF(old_str);
2365 }
2366 return 1;
2367 } else {
2368 return 0;
2369 }
2370 }
2371
2372 SWIGRUNTIME int
2373 SWIG_Python_ArgFail(int argnum)
2374 {
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2377 char mesg[256];
2378 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2379 return SWIG_Python_AddErrMesg(mesg, 1);
2380 } else {
2381 return 0;
2382 }
2383 }
2384
2385 SWIGRUNTIMEINLINE const char *
2386 PySwigObject_GetDesc(PyObject *self)
2387 {
2388 PySwigObject *v = (PySwigObject *)self;
2389 swig_type_info *ty = v ? v->ty : 0;
2390 return ty ? ty->str : (char*)"";
2391 }
2392
2393 SWIGRUNTIME void
2394 SWIG_Python_TypeError(const char *type, PyObject *obj)
2395 {
2396 if (type) {
2397 #if defined(SWIG_COBJECT_TYPES)
2398 if (obj && PySwigObject_Check(obj)) {
2399 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2400 if (otype) {
2401 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2402 type, otype);
2403 return;
2404 }
2405 } else
2406 #endif
2407 {
2408 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2409 if (otype) {
2410 PyObject *str = PyObject_Str(obj);
2411 const char *cstr = str ? PyString_AsString(str) : 0;
2412 if (cstr) {
2413 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2414 type, otype, cstr);
2415 } else {
2416 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2417 type, otype);
2418 }
2419 Py_XDECREF(str);
2420 return;
2421 }
2422 }
2423 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2424 } else {
2425 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2426 }
2427 }
2428
2429
2430 /* Convert a pointer value, signal an exception on a type mismatch */
2431 SWIGRUNTIME void *
2432 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2433 void *result;
2434 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2435 PyErr_Clear();
2436 if (flags & SWIG_POINTER_EXCEPTION) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2438 SWIG_Python_ArgFail(argnum);
2439 }
2440 }
2441 return result;
2442 }
2443
2444
2445 #ifdef __cplusplus
2446 #if 0
2447 { /* cc-mode */
2448 #endif
2449 }
2450 #endif
2451
2452
2453
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2455
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2457
2458
2459
2460 /* -------- TYPES TABLE (BEGIN) -------- */
2461
2462 #define SWIGTYPE_p_bool swig_types[0]
2463 #define SWIGTYPE_p_char swig_types[1]
2464 #define SWIGTYPE_p_form_ops_t swig_types[2]
2465 #define SWIGTYPE_p_int swig_types[3]
2466 #define SWIGTYPE_p_unsigned_char swig_types[4]
2467 #define SWIGTYPE_p_unsigned_int swig_types[5]
2468 #define SWIGTYPE_p_unsigned_long swig_types[6]
2469 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2470 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2471 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2472 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2473 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2474 #define SWIGTYPE_p_wxBitmap swig_types[12]
2475 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2476 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2477 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2478 #define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2479 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2480 #define SWIGTYPE_p_wxCloseEvent swig_types[18]
2481 #define SWIGTYPE_p_wxColour swig_types[19]
2482 #define SWIGTYPE_p_wxColourData swig_types[20]
2483 #define SWIGTYPE_p_wxColourDialog swig_types[21]
2484 #define SWIGTYPE_p_wxCommandEvent swig_types[22]
2485 #define SWIGTYPE_p_wxContextMenuEvent swig_types[23]
2486 #define SWIGTYPE_p_wxControl swig_types[24]
2487 #define SWIGTYPE_p_wxControlWithItems swig_types[25]
2488 #define SWIGTYPE_p_wxDC swig_types[26]
2489 #define SWIGTYPE_p_wxDateEvent swig_types[27]
2490 #define SWIGTYPE_p_wxDialog swig_types[28]
2491 #define SWIGTYPE_p_wxDirDialog swig_types[29]
2492 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2493 #define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2494 #define SWIGTYPE_p_wxDuplexMode swig_types[32]
2495 #define SWIGTYPE_p_wxEraseEvent swig_types[33]
2496 #define SWIGTYPE_p_wxEvent swig_types[34]
2497 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
2498 #define SWIGTYPE_p_wxFSFile swig_types[36]
2499 #define SWIGTYPE_p_wxFileDialog swig_types[37]
2500 #define SWIGTYPE_p_wxFileSystem swig_types[38]
2501 #define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2502 #define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2503 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2504 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2505 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2506 #define SWIGTYPE_p_wxFont swig_types[44]
2507 #define SWIGTYPE_p_wxFontData swig_types[45]
2508 #define SWIGTYPE_p_wxFontDialog swig_types[46]
2509 #define SWIGTYPE_p_wxFrame swig_types[47]
2510 #define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2511 #define SWIGTYPE_p_wxGIFHandler swig_types[49]
2512 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2513 #define SWIGTYPE_p_wxGridSizer swig_types[51]
2514 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[52]
2515 #define SWIGTYPE_p_wxICOHandler swig_types[53]
2516 #define SWIGTYPE_p_wxIcon swig_types[54]
2517 #define SWIGTYPE_p_wxIconBundle swig_types[55]
2518 #define SWIGTYPE_p_wxIconizeEvent swig_types[56]
2519 #define SWIGTYPE_p_wxIdleEvent swig_types[57]
2520 #define SWIGTYPE_p_wxImage swig_types[58]
2521 #define SWIGTYPE_p_wxImageHandler swig_types[59]
2522 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2523 #define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2524 #define SWIGTYPE_p_wxJPEGHandler swig_types[62]
2525 #define SWIGTYPE_p_wxKeyEvent swig_types[63]
2526 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[64]
2527 #define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
2528 #define SWIGTYPE_p_wxMDIChildFrame swig_types[66]
2529 #define SWIGTYPE_p_wxMDIClientWindow swig_types[67]
2530 #define SWIGTYPE_p_wxMDIParentFrame swig_types[68]
2531 #define SWIGTYPE_p_wxMaximizeEvent swig_types[69]
2532 #define SWIGTYPE_p_wxMenu swig_types[70]
2533 #define SWIGTYPE_p_wxMenuBar swig_types[71]
2534 #define SWIGTYPE_p_wxMenuEvent swig_types[72]
2535 #define SWIGTYPE_p_wxMenuItem swig_types[73]
2536 #define SWIGTYPE_p_wxMessageDialog swig_types[74]
2537 #define SWIGTYPE_p_wxMiniFrame swig_types[75]
2538 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[76]
2539 #define SWIGTYPE_p_wxMouseEvent swig_types[77]
2540 #define SWIGTYPE_p_wxMoveEvent swig_types[78]
2541 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[79]
2542 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[80]
2543 #define SWIGTYPE_p_wxNcPaintEvent swig_types[81]
2544 #define SWIGTYPE_p_wxNotifyEvent swig_types[82]
2545 #define SWIGTYPE_p_wxObject swig_types[83]
2546 #define SWIGTYPE_p_wxPCXHandler swig_types[84]
2547 #define SWIGTYPE_p_wxPNGHandler swig_types[85]
2548 #define SWIGTYPE_p_wxPNMHandler swig_types[86]
2549 #define SWIGTYPE_p_wxPageSetupDialog swig_types[87]
2550 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[88]
2551 #define SWIGTYPE_p_wxPaintEvent swig_types[89]
2552 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[90]
2553 #define SWIGTYPE_p_wxPanel swig_types[91]
2554 #define SWIGTYPE_p_wxPaperSize swig_types[92]
2555 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[93]
2556 #define SWIGTYPE_p_wxPoint swig_types[94]
2557 #define SWIGTYPE_p_wxPopupWindow swig_types[95]
2558 #define SWIGTYPE_p_wxPreviewCanvas swig_types[96]
2559 #define SWIGTYPE_p_wxPreviewControlBar swig_types[97]
2560 #define SWIGTYPE_p_wxPreviewFrame swig_types[98]
2561 #define SWIGTYPE_p_wxPrintData swig_types[99]
2562 #define SWIGTYPE_p_wxPrintDialog swig_types[100]
2563 #define SWIGTYPE_p_wxPrintDialogData swig_types[101]
2564 #define SWIGTYPE_p_wxPrintPreview swig_types[102]
2565 #define SWIGTYPE_p_wxPrinter swig_types[103]
2566 #define SWIGTYPE_p_wxProgressDialog swig_types[104]
2567 #define SWIGTYPE_p_wxPyApp swig_types[105]
2568 #define SWIGTYPE_p_wxPyCommandEvent swig_types[106]
2569 #define SWIGTYPE_p_wxPyEvent swig_types[107]
2570 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[108]
2571 #define SWIGTYPE_p_wxPyImageHandler swig_types[109]
2572 #define SWIGTYPE_p_wxPyPanel swig_types[110]
2573 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[111]
2574 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[112]
2575 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[113]
2576 #define SWIGTYPE_p_wxPyPrintPreview swig_types[114]
2577 #define SWIGTYPE_p_wxPyPrintout swig_types[115]
2578 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[116]
2579 #define SWIGTYPE_p_wxPySizer swig_types[117]
2580 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[118]
2581 #define SWIGTYPE_p_wxPyVListBox swig_types[119]
2582 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[120]
2583 #define SWIGTYPE_p_wxPyValidator swig_types[121]
2584 #define SWIGTYPE_p_wxPyWindow swig_types[122]
2585 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[123]
2586 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[124]
2587 #define SWIGTYPE_p_wxRect swig_types[125]
2588 #define SWIGTYPE_p_wxRegion swig_types[126]
2589 #define SWIGTYPE_p_wxSashEvent swig_types[127]
2590 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[128]
2591 #define SWIGTYPE_p_wxSashWindow swig_types[129]
2592 #define SWIGTYPE_p_wxScrollEvent swig_types[130]
2593 #define SWIGTYPE_p_wxScrollWinEvent swig_types[131]
2594 #define SWIGTYPE_p_wxScrolledWindow swig_types[132]
2595 #define SWIGTYPE_p_wxSetCursorEvent swig_types[133]
2596 #define SWIGTYPE_p_wxShowEvent swig_types[134]
2597 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[135]
2598 #define SWIGTYPE_p_wxSize swig_types[136]
2599 #define SWIGTYPE_p_wxSizeEvent swig_types[137]
2600 #define SWIGTYPE_p_wxSizer swig_types[138]
2601 #define SWIGTYPE_p_wxSizerItem swig_types[139]
2602 #define SWIGTYPE_p_wxSplashScreen swig_types[140]
2603 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[141]
2604 #define SWIGTYPE_p_wxSplitterEvent swig_types[142]
2605 #define SWIGTYPE_p_wxSplitterWindow swig_types[143]
2606 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[144]
2607 #define SWIGTYPE_p_wxStatusBar swig_types[145]
2608 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[146]
2609 #define SWIGTYPE_p_wxString swig_types[147]
2610 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[148]
2611 #define SWIGTYPE_p_wxTIFFHandler swig_types[149]
2612 #define SWIGTYPE_p_wxTaskBarIcon swig_types[150]
2613 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[151]
2614 #define SWIGTYPE_p_wxTextEntryDialog swig_types[152]
2615 #define SWIGTYPE_p_wxTipWindow swig_types[153]
2616 #define SWIGTYPE_p_wxToolBar swig_types[154]
2617 #define SWIGTYPE_p_wxTopLevelWindow swig_types[155]
2618 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[156]
2619 #define SWIGTYPE_p_wxValidator swig_types[157]
2620 #define SWIGTYPE_p_wxVisualAttributes swig_types[158]
2621 #define SWIGTYPE_p_wxWindow swig_types[159]
2622 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[160]
2623 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[161]
2624 #define SWIGTYPE_p_wxXPMHandler swig_types[162]
2625 static swig_type_info *swig_types[164];
2626 static swig_module_info swig_module = {swig_types, 163, 0, 0, 0, 0};
2627 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2628 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2629
2630 /* -------- TYPES TABLE (END) -------- */
2631
2632 #if (PY_VERSION_HEX <= 0x02000000)
2633 # if !defined(SWIG_PYTHON_CLASSIC)
2634 # error "This python version requires to use swig with the '-classic' option"
2635 # endif
2636 #endif
2637 #if (PY_VERSION_HEX <= 0x02020000)
2638 # error "This python version requires to use swig with the '-nomodern' option"
2639 #endif
2640 #if (PY_VERSION_HEX <= 0x02020000)
2641 # error "This python version requires to use swig with the '-nomodernargs' option"
2642 #endif
2643 #ifndef METH_O
2644 # error "This python version requires to use swig with the '-nofastunpack' option"
2645 #endif
2646
2647 /*-----------------------------------------------
2648 @(target):= _windows_.so
2649 ------------------------------------------------*/
2650 #define SWIG_init init_windows_
2651
2652 #define SWIG_name "_windows_"
2653
2654 #define SWIGVERSION 0x010329
2655
2656
2657 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2658 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2659
2660
2661 #include <stdexcept>
2662
2663
2664 namespace swig {
2665 class PyObject_ptr {
2666 protected:
2667 PyObject *_obj;
2668
2669 public:
2670 PyObject_ptr() :_obj(0)
2671 {
2672 }
2673
2674 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2675 {
2676 Py_XINCREF(_obj);
2677 }
2678
2679 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2680 {
2681 if (initial_ref) Py_XINCREF(_obj);
2682 }
2683
2684 PyObject_ptr & operator=(const PyObject_ptr& item)
2685 {
2686 Py_XINCREF(item._obj);
2687 Py_XDECREF(_obj);
2688 _obj = item._obj;
2689 return *this;
2690 }
2691
2692 ~PyObject_ptr()
2693 {
2694 Py_XDECREF(_obj);
2695 }
2696
2697 operator PyObject *() const
2698 {
2699 return _obj;
2700 }
2701
2702 PyObject *operator->() const
2703 {
2704 return _obj;
2705 }
2706 };
2707 }
2708
2709
2710 namespace swig {
2711 struct PyObject_var : PyObject_ptr {
2712 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2713
2714 PyObject_var & operator = (PyObject* obj)
2715 {
2716 Py_XDECREF(_obj);
2717 _obj = obj;
2718 return *this;
2719 }
2720 };
2721 }
2722
2723
2724 #include "wx/wxPython/wxPython.h"
2725 #include "wx/wxPython/pyclasses.h"
2726
2727
2728 static const wxString wxPyEmptyString(wxEmptyString);
2729 static const wxString wxPyPanelNameStr(wxPanelNameStr);
2730
2731
2732
2733 #include <limits.h>
2734 #ifndef LLONG_MIN
2735 # define LLONG_MIN LONG_LONG_MIN
2736 #endif
2737 #ifndef LLONG_MAX
2738 # define LLONG_MAX LONG_LONG_MAX
2739 #endif
2740 #ifndef ULLONG_MAX
2741 # define ULLONG_MAX ULONG_LONG_MAX
2742 #endif
2743
2744
2745 SWIGINTERN int
2746 SWIG_AsVal_long (PyObject* obj, long* val)
2747 {
2748 if (PyNumber_Check(obj)) {
2749 if (val) *val = PyInt_AsLong(obj);
2750 return SWIG_OK;
2751 }
2752 return SWIG_TypeError;
2753 }
2754
2755
2756 SWIGINTERN int
2757 SWIG_AsVal_int (PyObject * obj, int *val)
2758 {
2759 long v;
2760 int res = SWIG_AsVal_long (obj, &v);
2761 if (SWIG_IsOK(res)) {
2762 if ((v < INT_MIN || v > INT_MAX)) {
2763 return SWIG_OverflowError;
2764 } else {
2765 if (val) *val = static_cast< int >(v);
2766 }
2767 }
2768 return res;
2769 }
2770
2771
2772 SWIGINTERN int
2773 SWIG_AsVal_bool (PyObject *obj, bool *val)
2774 {
2775 if (obj == Py_True) {
2776 if (val) *val = true;
2777 return SWIG_OK;
2778 } else if (obj == Py_False) {
2779 if (val) *val = false;
2780 return SWIG_OK;
2781 } else {
2782 long v = 0;
2783 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2784 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2785 return res;
2786 }
2787 }
2788
2789
2790 #define SWIG_From_long PyInt_FromLong
2791
2792
2793 SWIGINTERNINLINE PyObject *
2794 SWIG_From_int (int value)
2795 {
2796 return SWIG_From_long (value);
2797 }
2798
2799
2800 SWIGINTERN int
2801 SWIG_AsVal_double (PyObject *obj, double* val)
2802 {
2803 if (PyNumber_Check(obj)) {
2804 if (val) *val = PyFloat_AsDouble(obj);
2805 return SWIG_OK;
2806 }
2807 return SWIG_TypeError;
2808 }
2809
2810
2811 #define SWIG_From_double PyFloat_FromDouble
2812
2813 static const wxString wxPyFrameNameStr(wxFrameNameStr);
2814 static const wxString wxPyDialogNameStr(wxDialogNameStr);
2815 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
2816 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
2817 SWIGINTERN void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){
2818 int style = self->GetExtraStyle();
2819 if ( on )
2820 style |= wxFRAME_EX_METAL;
2821 else
2822 style &= ~wxFRAME_EX_METAL;
2823 self->SetExtraStyle(style);
2824 }
2825
2826
2827 SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
2828 wxRect r;
2829 self->GetFieldRect(i, r);
2830 return r;
2831 }
2832 static const wxString wxPySplitterNameStr(wxT("splitter"));
2833 static const wxString wxPySashNameStr(wxT("sashWindow"));
2834 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
2835
2836 #include <wx/popupwin.h>
2837
2838
2839 class wxPopupWindow : public wxWindow {
2840 public:
2841 wxPopupWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
2842 wxPopupWindow() { wxPyRaiseNotImplemented(); }
2843 };
2844
2845 class wxPyPopupTransientWindow : public wxPopupWindow
2846 {
2847 public:
2848 wxPyPopupTransientWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
2849 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
2850 };
2851
2852
2853 #include <wx/tipwin.h>
2854
2855 SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
2856 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2857 }
2858
2859 #include <wx/tipwin.h>
2860
2861
2862 #include <wx/vscroll.h>
2863
2864
2865 class wxPyVScrolledWindow : public wxVScrolledWindow
2866 {
2867 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
2868 public:
2869 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2870
2871 wxPyVScrolledWindow(wxWindow *parent,
2872 wxWindowID id = wxID_ANY,
2873 const wxPoint& pos = wxDefaultPosition,
2874 const wxSize& size = wxDefaultSize,
2875 long style = 0,
2876 const wxString& name = wxPyPanelNameStr)
2877 : wxVScrolledWindow(parent, id, pos, size, style, name)
2878 {}
2879
2880 // Overridable virtuals
2881
2882 // this function must be overridden in the derived class and it should
2883 // return the height of the given line in pixels
2884 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
2885
2886
2887 // this function doesn't have to be overridden but it may be useful to do
2888 // it if calculating the lines heights is a relatively expensive operation
2889 // as it gives the user code a possibility to calculate several of them at
2890 // once
2891 //
2892 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2893 // shouldn't rely on the latter being called for all lines in the interval
2894 // specified here. It is also possible that OnGetLineHeight() will be
2895 // called for the lines outside of this interval, so this is really just a
2896 // hint, not a promise.
2897 //
2898 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2899 // usual
2900 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
2901
2902
2903 // when the number of lines changes, we try to estimate the total height
2904 // of all lines which is a rather expensive operation in terms of lines
2905 // access, so if the user code may estimate the average height
2906 // better/faster than we do, it should override this function to implement
2907 // its own logic
2908 //
2909 // this function should return the best guess for the total height it may
2910 // make
2911 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2912
2913
2914 // Also expose some other interesting protected methods
2915
2916
2917 // find the index of the line we need to show at the top of the window such
2918 // that the last (fully or partially) visible line is the given one
2919 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
2920 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
2921
2922 // get the total height of the lines between lineMin (inclusive) and
2923 // lineMax (exclusive)
2924 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
2925 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
2926
2927 // update the thumb size shown by the scrollbar
2928 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2929
2930 // remove the scrollbar completely because we don't need it
2931 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2932
2933 PYPRIVATE;
2934 };
2935
2936 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
2937
2938 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
2939 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
2940 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2941
2942
2943 SWIGINTERN int
2944 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2945 {
2946 long v = 0;
2947 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2948 return SWIG_TypeError;
2949 }
2950 else if (val)
2951 *val = (unsigned long)v;
2952 return SWIG_OK;
2953 }
2954
2955
2956 SWIGINTERNINLINE int
2957 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2958 {
2959 unsigned long v;
2960 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2961 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2962 return res;
2963 }
2964
2965
2966 SWIGINTERNINLINE PyObject*
2967 SWIG_From_unsigned_SS_long (unsigned long value)
2968 {
2969 return (value > LONG_MAX) ?
2970 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2971 }
2972
2973
2974 SWIGINTERNINLINE PyObject *
2975 SWIG_From_size_t (size_t value)
2976 {
2977 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2978 }
2979
2980
2981 #include <wx/vlbox.h>
2982
2983 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
2984
2985 class wxPyVListBox : public wxVListBox
2986 {
2987 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
2988 public:
2989 wxPyVListBox() : wxVListBox() {}
2990
2991 wxPyVListBox(wxWindow *parent,
2992 wxWindowID id = wxID_ANY,
2993 const wxPoint& pos = wxDefaultPosition,
2994 const wxSize& size = wxDefaultSize,
2995 long style = 0,
2996 const wxString& name = wxPyVListBoxNameStr)
2997 : wxVListBox(parent, id, pos, size, style, name)
2998 {}
2999
3000 // Overridable virtuals
3001
3002 // the derived class must implement this function to actually draw the item
3003 // with the given index on the provided DC
3004 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3005 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
3006
3007
3008 // the derived class must implement this method to return the height of the
3009 // specified item
3010 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3011 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3012
3013
3014 // this method may be used to draw separators between the lines; note that
3015 // the rectangle may be modified, typically to deflate it a bit before
3016 // passing to OnDrawItem()
3017 //
3018 // the base class version doesn't do anything
3019 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3020 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3021
3022
3023 // this method is used to draw the items background and, maybe, a border
3024 // around it
3025 //
3026 // the base class version implements a reasonable default behaviour which
3027 // consists in drawing the selected item with the standard background
3028 // colour and drawing a border around the item if it is either selected or
3029 // current
3030 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3031 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3032
3033
3034 PYPRIVATE;
3035 };
3036
3037 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3038
3039 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3040 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
3041 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox, wxVListBox, OnDrawSeparator);
3042 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3043
3044
3045 SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
3046 unsigned long cookie = 0;
3047 int selected = self->GetFirstSelected(cookie);
3048 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3049 PyObject* tup = PyTuple_New(2);
3050 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3051 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3052 wxPyEndBlockThreads(blocked);
3053 return tup;
3054 }
3055 SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
3056 int selected = self->GetNextSelected(cookie);
3057 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3058 PyObject* tup = PyTuple_New(2);
3059 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3060 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3061 wxPyEndBlockThreads(blocked);
3062 return tup;
3063 }
3064
3065 #include <wx/htmllbox.h>
3066
3067
3068 class wxPyHtmlListBox : public wxHtmlListBox
3069 {
3070 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
3071 public:
3072 wxPyHtmlListBox() : wxHtmlListBox() {}
3073
3074 wxPyHtmlListBox(wxWindow *parent,
3075 wxWindowID id = wxID_ANY,
3076 const wxPoint& pos = wxDefaultPosition,
3077 const wxSize& size = wxDefaultSize,
3078 long style = 0,
3079 const wxString& name = wxPyVListBoxNameStr)
3080 : wxHtmlListBox(parent, id, pos, size, style, name)
3081 {}
3082
3083 // Overridable virtuals
3084
3085 // this method must be implemented in the derived class and should return
3086 // the body (i.e. without <html>) of the HTML for the given item
3087 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3088
3089 // this function may be overridden to decorate HTML returned by OnGetItem()
3090 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3091
3092 // These are from wxVListBox
3093 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3094 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3095
3096 // TODO:
3097 // // this method allows to customize the selection appearance: it may be used
3098 // // to specify the colour of the text which normally has the given colour
3099 // // colFg when it is inside the selection
3100 // //
3101 // // by default, the original colour is not used at all and all text has the
3102 // // same (default for this system) colour inside selection
3103 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3104
3105 // // this is the same as GetSelectedTextColour() but allows to customize the
3106 // // background colour -- this is even more rarely used as you can change it
3107 // // globally using SetSelectionBackground()
3108 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3109
3110
3111 // This method may be overriden to handle clicking on a link in
3112 // the listbox. By default, clicking links is ignored.
3113 virtual void OnLinkClicked(size_t n,
3114 const wxHtmlLinkInfo& link);
3115
3116 PYPRIVATE;
3117 };
3118
3119
3120 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3121
3122 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3123 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
3124 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawSeparator);
3125 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawBackground);
3126
3127
3128 void wxPyHtmlListBox::OnLinkClicked(size_t n,
3129 const wxHtmlLinkInfo& link) {
3130 bool found;
3131 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3132 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3133 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3134 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", n, obj));
3135 Py_DECREF(obj);
3136 }
3137 wxPyEndBlockThreads(blocked);
3138 if (! found)
3139 wxPyHtmlListBox::OnLinkClicked(n, link);
3140 }
3141
3142
3143
3144
3145
3146 #ifndef wxHAS_TASK_BAR_ICON
3147 // implement dummy classes for platforms that don't have it
3148
3149 class wxTaskBarIcon : public wxEvtHandler
3150 {
3151 public:
3152 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3153 };
3154
3155
3156 class wxTaskBarIconEvent : public wxEvent
3157 {
3158 public:
3159 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
3160 { wxPyRaiseNotImplemented(); }
3161 virtual wxEvent* Clone() const { return NULL; }
3162 bool IsOk() const { return false; }
3163 bool IsIconInstalled() const { return false; }
3164 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3165 bool RemoveIcon() { return false; }
3166 bool PopupMenu(wxMenu *menu) { return false; }
3167 };
3168
3169 enum {
3170 wxEVT_TASKBAR_MOVE = 0,
3171 wxEVT_TASKBAR_LEFT_DOWN = 0,
3172 wxEVT_TASKBAR_LEFT_UP = 0,
3173 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3174 wxEVT_TASKBAR_RIGHT_UP = 0,
3175 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3176 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3177 };
3178
3179
3180 #else
3181 // Otherwise make a class that can virtualize CreatePopupMenu
3182 class wxPyTaskBarIcon : public wxTaskBarIcon
3183 {
3184 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
3185 public:
3186 wxPyTaskBarIcon() : wxTaskBarIcon()
3187 {}
3188
3189 wxMenu* CreatePopupMenu() {
3190 wxMenu *rval = NULL;
3191 bool found;
3192 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3193 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3194 PyObject* ro;
3195 wxMenu* ptr;
3196 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3197 if (ro) {
3198 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3199 rval = ptr;
3200 Py_DECREF(ro);
3201 }
3202 }
3203 wxPyEndBlockThreads(blocked);
3204 if (! found)
3205 rval = wxTaskBarIcon::CreatePopupMenu();
3206 return rval;
3207 }
3208
3209 PYPRIVATE;
3210 };
3211
3212 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
3213
3214 #endif
3215
3216 SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
3217 self->RemoveIcon();
3218 delete self;
3219 }
3220 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3221 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3222 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3223 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3224 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3225 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
3226 SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
3227 wxArrayString arr;
3228 self->GetFilenames(arr);
3229 return wxArrayString2PyList_helper(arr);
3230 }
3231 SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
3232 wxArrayString arr;
3233 self->GetPaths(arr);
3234 return wxArrayString2PyList_helper(arr);
3235 }
3236 SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
3237 return wxArrayInt2PyList_helper(self->GetSelections());
3238 }
3239 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){
3240 return new wxSingleChoiceDialog(parent, message, caption,
3241 choices, choices_array, NULL, style, pos);
3242 }
3243 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
3244
3245 SWIGINTERNINLINE PyObject*
3246 SWIG_From_bool (bool value)
3247 {
3248 return PyBool_FromLong(value ? 1 : 0);
3249 }
3250
3251
3252 #include <wx/mdi.h>
3253
3254 // C++ version of Python aware wxWindow
3255 class wxPyWindow : public wxWindow
3256 {
3257 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3258 public:
3259 wxPyWindow() : wxWindow() {}
3260 wxPyWindow(wxWindow* parent, const wxWindowID id,
3261 const wxPoint& pos = wxDefaultPosition,
3262 const wxSize& size = wxDefaultSize,
3263 long style = 0,
3264 const wxString& name = wxPyPanelNameStr)
3265 : wxWindow(parent, id, pos, size, style, name) {}
3266
3267 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
3268
3269 bool DoEraseBackground(wxDC* dc) {
3270 #ifdef __WXMSW__
3271 return wxWindow::DoEraseBackground(dc->GetHDC());
3272 #else
3273 dc->SetBackground(wxBrush(GetBackgroundColour()));
3274 dc->Clear();
3275 return true;
3276 #endif
3277 }
3278
3279 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3280 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3281 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3282 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3283
3284 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3285 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3286 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3287
3288 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3289 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3290
3291 DEC_PYCALLBACK__(InitDialog);
3292 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3293 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3294 DEC_PYCALLBACK_BOOL_(Validate);
3295
3296 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3297 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3298 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3299
3300 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3301 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3302
3303 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3304 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3305
3306 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3307
3308 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3309
3310 PYPRIVATE;
3311 };
3312
3313 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3314
3315 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3316 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3317 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3318 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3319
3320 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3321 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3322 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3323
3324 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3325 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3326
3327 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3328 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3329 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3330 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3331
3332 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3333 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3334 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3335
3336 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3337 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3338
3339 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
3340 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
3341
3342 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
3343
3344 IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3345
3346 // C++ version of Python aware wxPanel
3347 class wxPyPanel : public wxPanel
3348 {
3349 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3350 public:
3351 wxPyPanel() : wxPanel() {}
3352 wxPyPanel(wxWindow* parent, const wxWindowID id,
3353 const wxPoint& pos = wxDefaultPosition,
3354 const wxSize& size = wxDefaultSize,
3355 long style = 0,
3356 const wxString& name = wxPyPanelNameStr)
3357 : wxPanel(parent, id, pos, size, style, name) {}
3358
3359 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
3360 bool DoEraseBackground(wxDC* dc) {
3361 #ifdef __WXMSW__
3362 return wxWindow::DoEraseBackground(dc->GetHDC());
3363 #else
3364 dc->SetBackground(wxBrush(GetBackgroundColour()));
3365 dc->Clear();
3366 return true;
3367 #endif
3368 }
3369
3370
3371 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3372 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3373 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3374 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3375
3376 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3377 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3378 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3379
3380 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3381 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3382
3383 DEC_PYCALLBACK__(InitDialog);
3384 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3385 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3386 DEC_PYCALLBACK_BOOL_(Validate);
3387
3388 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3389 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3390 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3391
3392 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3393 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3394
3395 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3396 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3397
3398 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3399
3400 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3401
3402 PYPRIVATE;
3403 };
3404
3405 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3406
3407 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3408 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3409 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3410 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3411
3412 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3413 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3414 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3415
3416 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3417 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3418
3419 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3420 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3421 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3422 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3423
3424 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3425 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3426 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3427
3428 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3429 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3430
3431 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
3432 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
3433
3434 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3435
3436 IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3437
3438 // C++ version of Python aware wxScrolledWindow
3439 class wxPyScrolledWindow : public wxScrolledWindow
3440 {
3441 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3442 public:
3443 wxPyScrolledWindow() : wxScrolledWindow() {}
3444 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3445 const wxPoint& pos = wxDefaultPosition,
3446 const wxSize& size = wxDefaultSize,
3447 long style = 0,
3448 const wxString& name = wxPyPanelNameStr)
3449 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3450
3451 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
3452 bool DoEraseBackground(wxDC* dc) {
3453 #ifdef __WXMSW__
3454 return wxWindow::DoEraseBackground(dc->GetHDC());
3455 #else
3456 dc->SetBackground(wxBrush(GetBackgroundColour()));
3457 dc->Clear();
3458 return true;
3459 #endif
3460 }
3461
3462 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3463 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3464 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3465 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3466
3467 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3468 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3469 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3470
3471 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3472 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3473
3474 DEC_PYCALLBACK__(InitDialog);
3475 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3476 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3477 DEC_PYCALLBACK_BOOL_(Validate);
3478
3479 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3480 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3481 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3482
3483 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3484 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3485
3486 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3487 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3488
3489 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3490
3491 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3492
3493 PYPRIVATE;
3494 };
3495
3496 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3497
3498 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3499 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3500 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3501 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3502
3503 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3504 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3505 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3506
3507 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3508 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3509
3510 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3511 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3512 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3513 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3514
3515 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3516 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3517 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3518
3519 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3520 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3521
3522 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
3523 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3524
3525 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
3526
3527 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3528
3529
3530 #include "wx/wxPython/printfw.h"
3531
3532
3533 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3534 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3535 SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
3536 PyObject* data;
3537 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3538 data = PyString_FromStringAndSize(self->GetPrivData(),
3539 self->GetPrivDataLen());
3540 wxPyEndBlockThreads(blocked);
3541 return data;
3542 }
3543 SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
3544 if (! PyString_Check(data)) {
3545 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3546 "Expected string object"));
3547 return /* NULL */ ;
3548 }
3549
3550 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3551 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3552 wxPyEndBlockThreads(blocked);
3553 }
3554
3555
3556 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
3557
3558 // Since this one would be tough and ugly to do with the Macros...
3559 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
3560 bool hadErr = false;
3561 bool found;
3562
3563 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3564 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3565 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3566 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3567 PyObject* val;
3568
3569 val = PyTuple_GetItem(result, 0);
3570 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
3571 else hadErr = true;
3572
3573 val = PyTuple_GetItem(result, 1);
3574 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
3575 else hadErr = true;
3576
3577 val = PyTuple_GetItem(result, 2);
3578 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
3579 else hadErr = true;
3580
3581 val = PyTuple_GetItem(result, 3);
3582 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
3583 else hadErr = true;
3584 }
3585 else
3586 hadErr = true;
3587
3588 if (hadErr) {
3589 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3590 PyErr_Print();
3591 }
3592 Py_DECREF(result);
3593 }
3594 wxPyEndBlockThreads(blocked);
3595 if (! found)
3596 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3597 }
3598
3599
3600
3601 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3602 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3603 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3604 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3605 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3606 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3607 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3608
3609
3610
3611
3612
3613 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3614 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3615
3616
3617 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3618 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3619 bool rval=false; \
3620 bool found; \
3621 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3622 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3623 PyObject* win = wxPyMake_wxObject(a,false); \
3624 PyObject* dc = wxPyMake_wxObject(&b,false); \
3625 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3626 Py_DECREF(win); \
3627 Py_DECREF(dc); \
3628 } \
3629 wxPyEndBlockThreads(blocked); \
3630 if (! found) \
3631 rval = PCLASS::CBNAME(a, b); \
3632 return rval; \
3633 }
3634
3635
3636
3637
3638 class wxPyPrintPreview : public wxPrintPreview
3639 {
3640 DECLARE_CLASS(wxPyPrintPreview)
3641 public:
3642 wxPyPrintPreview(wxPyPrintout* printout,
3643 wxPyPrintout* printoutForPrinting,
3644 wxPrintDialogData* data=NULL)
3645 : wxPrintPreview(printout, printoutForPrinting, data)
3646 {}
3647 wxPyPrintPreview(wxPyPrintout* printout,
3648 wxPyPrintout* printoutForPrinting,
3649 wxPrintData* data)
3650 : wxPrintPreview(printout, printoutForPrinting, data)
3651 {}
3652
3653 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3654 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3655 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3656 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3657 DEC_PYCALLBACK_VOID_INT(SetZoom);
3658 DEC_PYCALLBACK_BOOL_BOOL(Print);
3659 DEC_PYCALLBACK_VOID_(DetermineScaling);
3660
3661 PYPRIVATE;
3662 };
3663
3664 // Stupid renamed classes... Fix this in 2.5...
3665 #if defined(__WXMSW__)
3666 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3667 #elif defined(__WXMAC__)
3668 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3669 #else
3670 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3671 #endif
3672
3673 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3674 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3675 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3676 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3677 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3678 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3679 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3680
3681
3682 class wxPyPreviewFrame : public wxPreviewFrame
3683 {
3684 DECLARE_CLASS(wxPyPreviewFrame)
3685 public:
3686 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3687 const wxString& title,
3688 const wxPoint& pos = wxDefaultPosition,
3689 const wxSize& size = wxDefaultSize,
3690 long style = wxDEFAULT_FRAME_STYLE,
3691 const wxString& name = wxPyFrameNameStr)
3692 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3693 {}
3694
3695 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3696 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3697
3698 DEC_PYCALLBACK_VOID_(Initialize);
3699 DEC_PYCALLBACK_VOID_(CreateCanvas);
3700 DEC_PYCALLBACK_VOID_(CreateControlBar);
3701
3702 PYPRIVATE;
3703 };
3704
3705 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3706
3707 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3708 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3709 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3710
3711
3712 class wxPyPreviewControlBar : public wxPreviewControlBar
3713 {
3714 DECLARE_CLASS(wxPyPreviewControlBar)
3715 public:
3716 wxPyPreviewControlBar(wxPrintPreview *preview,
3717 long buttons,
3718 wxWindow *parent,
3719 const wxPoint& pos = wxDefaultPosition,
3720 const wxSize& size = wxDefaultSize,
3721 long style = 0,
3722 const wxString& name = wxPyPanelNameStr)
3723 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3724 {}
3725
3726 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3727
3728 DEC_PYCALLBACK_VOID_(CreateButtons);
3729 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3730
3731 PYPRIVATE;
3732 };
3733
3734 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3735 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3736 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3737
3738 #ifdef __cplusplus
3739 extern "C" {
3740 #endif
3741 SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3742 PyObject *resultobj = 0;
3743 wxWindow *arg1 = (wxWindow *) 0 ;
3744 int arg2 = (int) (int)-1 ;
3745 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3746 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3747 wxSize const &arg4_defvalue = wxDefaultSize ;
3748 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3749 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3750 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3751 wxString *arg6 = (wxString *) &arg6_defvalue ;
3752 wxPanel *result = 0 ;
3753 void *argp1 = 0 ;
3754 int res1 = 0 ;
3755 int val2 ;
3756 int ecode2 = 0 ;
3757 wxPoint temp3 ;
3758 wxSize temp4 ;
3759 long val5 ;
3760 int ecode5 = 0 ;
3761 bool temp6 = false ;
3762 PyObject * obj0 = 0 ;
3763 PyObject * obj1 = 0 ;
3764 PyObject * obj2 = 0 ;
3765 PyObject * obj3 = 0 ;
3766 PyObject * obj4 = 0 ;
3767 PyObject * obj5 = 0 ;
3768 char * kwnames[] = {
3769 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3770 };
3771
3772 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3773 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3774 if (!SWIG_IsOK(res1)) {
3775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3776 }
3777 arg1 = reinterpret_cast< wxWindow * >(argp1);
3778 if (obj1) {
3779 ecode2 = SWIG_AsVal_int(obj1, &val2);
3780 if (!SWIG_IsOK(ecode2)) {
3781 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3782 }
3783 arg2 = static_cast< int >(val2);
3784 }
3785 if (obj2) {
3786 {
3787 arg3 = &temp3;
3788 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3789 }
3790 }
3791 if (obj3) {
3792 {
3793 arg4 = &temp4;
3794 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3795 }
3796 }
3797 if (obj4) {
3798 ecode5 = SWIG_AsVal_long(obj4, &val5);
3799 if (!SWIG_IsOK(ecode5)) {
3800 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3801 }
3802 arg5 = static_cast< long >(val5);
3803 }
3804 if (obj5) {
3805 {
3806 arg6 = wxString_in_helper(obj5);
3807 if (arg6 == NULL) SWIG_fail;
3808 temp6 = true;
3809 }
3810 }
3811 {
3812 if (!wxPyCheckForApp()) SWIG_fail;
3813 PyThreadState* __tstate = wxPyBeginAllowThreads();
3814 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3815 wxPyEndAllowThreads(__tstate);
3816 if (PyErr_Occurred()) SWIG_fail;
3817 }
3818 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3819 {
3820 if (temp6)
3821 delete arg6;
3822 }
3823 return resultobj;
3824 fail:
3825 {
3826 if (temp6)
3827 delete arg6;
3828 }
3829 return NULL;
3830 }
3831
3832
3833 SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3834 PyObject *resultobj = 0;
3835 wxPanel *result = 0 ;
3836
3837 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3838 {
3839 if (!wxPyCheckForApp()) SWIG_fail;
3840 PyThreadState* __tstate = wxPyBeginAllowThreads();
3841 result = (wxPanel *)new wxPanel();
3842 wxPyEndAllowThreads(__tstate);
3843 if (PyErr_Occurred()) SWIG_fail;
3844 }
3845 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3846 return resultobj;
3847 fail:
3848 return NULL;
3849 }
3850
3851
3852 SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3853 PyObject *resultobj = 0;
3854 wxPanel *arg1 = (wxPanel *) 0 ;
3855 wxWindow *arg2 = (wxWindow *) 0 ;
3856 int arg3 = (int) (int)-1 ;
3857 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3858 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3859 wxSize const &arg5_defvalue = wxDefaultSize ;
3860 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3861 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3862 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3863 wxString *arg7 = (wxString *) &arg7_defvalue ;
3864 bool result;
3865 void *argp1 = 0 ;
3866 int res1 = 0 ;
3867 void *argp2 = 0 ;
3868 int res2 = 0 ;
3869 int val3 ;
3870 int ecode3 = 0 ;
3871 wxPoint temp4 ;
3872 wxSize temp5 ;
3873 long val6 ;
3874 int ecode6 = 0 ;
3875 bool temp7 = false ;
3876 PyObject * obj0 = 0 ;
3877 PyObject * obj1 = 0 ;
3878 PyObject * obj2 = 0 ;
3879 PyObject * obj3 = 0 ;
3880 PyObject * obj4 = 0 ;
3881 PyObject * obj5 = 0 ;
3882 PyObject * obj6 = 0 ;
3883 char * kwnames[] = {
3884 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3885 };
3886
3887 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3888 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3889 if (!SWIG_IsOK(res1)) {
3890 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3891 }
3892 arg1 = reinterpret_cast< wxPanel * >(argp1);
3893 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3894 if (!SWIG_IsOK(res2)) {
3895 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3896 }
3897 arg2 = reinterpret_cast< wxWindow * >(argp2);
3898 if (obj2) {
3899 ecode3 = SWIG_AsVal_int(obj2, &val3);
3900 if (!SWIG_IsOK(ecode3)) {
3901 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3902 }
3903 arg3 = static_cast< int >(val3);
3904 }
3905 if (obj3) {
3906 {
3907 arg4 = &temp4;
3908 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3909 }
3910 }
3911 if (obj4) {
3912 {
3913 arg5 = &temp5;
3914 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3915 }
3916 }
3917 if (obj5) {
3918 ecode6 = SWIG_AsVal_long(obj5, &val6);
3919 if (!SWIG_IsOK(ecode6)) {
3920 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3921 }
3922 arg6 = static_cast< long >(val6);
3923 }
3924 if (obj6) {
3925 {
3926 arg7 = wxString_in_helper(obj6);
3927 if (arg7 == NULL) SWIG_fail;
3928 temp7 = true;
3929 }
3930 }
3931 {
3932 PyThreadState* __tstate = wxPyBeginAllowThreads();
3933 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3934 wxPyEndAllowThreads(__tstate);
3935 if (PyErr_Occurred()) SWIG_fail;
3936 }
3937 {
3938 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3939 }
3940 {
3941 if (temp7)
3942 delete arg7;
3943 }
3944 return resultobj;
3945 fail:
3946 {
3947 if (temp7)
3948 delete arg7;
3949 }
3950 return NULL;
3951 }
3952
3953
3954 SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3955 PyObject *resultobj = 0;
3956 wxPanel *arg1 = (wxPanel *) 0 ;
3957 void *argp1 = 0 ;
3958 int res1 = 0 ;
3959 PyObject *swig_obj[1] ;
3960
3961 if (!args) SWIG_fail;
3962 swig_obj[0] = args;
3963 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3964 if (!SWIG_IsOK(res1)) {
3965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3966 }
3967 arg1 = reinterpret_cast< wxPanel * >(argp1);
3968 {
3969 PyThreadState* __tstate = wxPyBeginAllowThreads();
3970 (arg1)->SetFocusIgnoringChildren();
3971 wxPyEndAllowThreads(__tstate);
3972 if (PyErr_Occurred()) SWIG_fail;
3973 }
3974 resultobj = SWIG_Py_Void();
3975 return resultobj;
3976 fail:
3977 return NULL;
3978 }
3979
3980
3981 SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3982 PyObject *resultobj = 0;
3983 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3984 SwigValueWrapper<wxVisualAttributes > result;
3985 int val1 ;
3986 int ecode1 = 0 ;
3987 PyObject * obj0 = 0 ;
3988 char * kwnames[] = {
3989 (char *) "variant", NULL
3990 };
3991
3992 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
3993 if (obj0) {
3994 ecode1 = SWIG_AsVal_int(obj0, &val1);
3995 if (!SWIG_IsOK(ecode1)) {
3996 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3997 }
3998 arg1 = static_cast< wxWindowVariant >(val1);
3999 }
4000 {
4001 if (!wxPyCheckForApp()) SWIG_fail;
4002 PyThreadState* __tstate = wxPyBeginAllowThreads();
4003 result = wxPanel::GetClassDefaultAttributes(arg1);
4004 wxPyEndAllowThreads(__tstate);
4005 if (PyErr_Occurred()) SWIG_fail;
4006 }
4007 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
4008 return resultobj;
4009 fail:
4010 return NULL;
4011 }
4012
4013
4014 SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4015 PyObject *obj;
4016 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4017 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
4018 return SWIG_Py_Void();
4019 }
4020
4021 SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4022 return SWIG_Python_InitShadowInstance(args);
4023 }
4024
4025 SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4026 PyObject *resultobj = 0;
4027 wxWindow *arg1 = (wxWindow *) 0 ;
4028 int arg2 = (int) (int)-1 ;
4029 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4030 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4031 wxSize const &arg4_defvalue = wxDefaultSize ;
4032 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4033 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
4034 wxString const &arg6_defvalue = wxPyPanelNameStr ;
4035 wxString *arg6 = (wxString *) &arg6_defvalue ;
4036 wxScrolledWindow *result = 0 ;
4037 void *argp1 = 0 ;
4038 int res1 = 0 ;
4039 int val2 ;
4040 int ecode2 = 0 ;
4041 wxPoint temp3 ;
4042 wxSize temp4 ;
4043 long val5 ;
4044 int ecode5 = 0 ;
4045 bool temp6 = false ;
4046 PyObject * obj0 = 0 ;
4047 PyObject * obj1 = 0 ;
4048 PyObject * obj2 = 0 ;
4049 PyObject * obj3 = 0 ;
4050 PyObject * obj4 = 0 ;
4051 PyObject * obj5 = 0 ;
4052 char * kwnames[] = {
4053 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4054 };
4055
4056 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4057 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4058 if (!SWIG_IsOK(res1)) {
4059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4060 }
4061 arg1 = reinterpret_cast< wxWindow * >(argp1);
4062 if (obj1) {
4063 ecode2 = SWIG_AsVal_int(obj1, &val2);
4064 if (!SWIG_IsOK(ecode2)) {
4065 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4066 }
4067 arg2 = static_cast< int >(val2);
4068 }
4069 if (obj2) {
4070 {
4071 arg3 = &temp3;
4072 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4073 }
4074 }
4075 if (obj3) {
4076 {
4077 arg4 = &temp4;
4078 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4079 }
4080 }
4081 if (obj4) {
4082 ecode5 = SWIG_AsVal_long(obj4, &val5);
4083 if (!SWIG_IsOK(ecode5)) {
4084 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4085 }
4086 arg5 = static_cast< long >(val5);
4087 }
4088 if (obj5) {
4089 {
4090 arg6 = wxString_in_helper(obj5);
4091 if (arg6 == NULL) SWIG_fail;
4092 temp6 = true;
4093 }
4094 }
4095 {
4096 if (!wxPyCheckForApp()) SWIG_fail;
4097 PyThreadState* __tstate = wxPyBeginAllowThreads();
4098 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4099 wxPyEndAllowThreads(__tstate);
4100 if (PyErr_Occurred()) SWIG_fail;
4101 }
4102 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4103 {
4104 if (temp6)
4105 delete arg6;
4106 }
4107 return resultobj;
4108 fail:
4109 {
4110 if (temp6)
4111 delete arg6;
4112 }
4113 return NULL;
4114 }
4115
4116
4117 SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4118 PyObject *resultobj = 0;
4119 wxScrolledWindow *result = 0 ;
4120
4121 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4122 {
4123 if (!wxPyCheckForApp()) SWIG_fail;
4124 PyThreadState* __tstate = wxPyBeginAllowThreads();
4125 result = (wxScrolledWindow *)new wxScrolledWindow();
4126 wxPyEndAllowThreads(__tstate);
4127 if (PyErr_Occurred()) SWIG_fail;
4128 }
4129 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4130 return resultobj;
4131 fail:
4132 return NULL;
4133 }
4134
4135
4136 SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4137 PyObject *resultobj = 0;
4138 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4139 wxWindow *arg2 = (wxWindow *) 0 ;
4140 int arg3 = (int) (int)-1 ;
4141 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4142 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4143 wxSize const &arg5_defvalue = wxDefaultSize ;
4144 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4145 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4146 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4147 wxString *arg7 = (wxString *) &arg7_defvalue ;
4148 bool result;
4149 void *argp1 = 0 ;
4150 int res1 = 0 ;
4151 void *argp2 = 0 ;
4152 int res2 = 0 ;
4153 int val3 ;
4154 int ecode3 = 0 ;
4155 wxPoint temp4 ;
4156 wxSize temp5 ;
4157 long val6 ;
4158 int ecode6 = 0 ;
4159 bool temp7 = false ;
4160 PyObject * obj0 = 0 ;
4161 PyObject * obj1 = 0 ;
4162 PyObject * obj2 = 0 ;
4163 PyObject * obj3 = 0 ;
4164 PyObject * obj4 = 0 ;
4165 PyObject * obj5 = 0 ;
4166 PyObject * obj6 = 0 ;
4167 char * kwnames[] = {
4168 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4169 };
4170
4171 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4172 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4173 if (!SWIG_IsOK(res1)) {
4174 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4175 }
4176 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4177 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4178 if (!SWIG_IsOK(res2)) {
4179 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4180 }
4181 arg2 = reinterpret_cast< wxWindow * >(argp2);
4182 if (obj2) {
4183 ecode3 = SWIG_AsVal_int(obj2, &val3);
4184 if (!SWIG_IsOK(ecode3)) {
4185 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4186 }
4187 arg3 = static_cast< int >(val3);
4188 }
4189 if (obj3) {
4190 {
4191 arg4 = &temp4;
4192 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4193 }
4194 }
4195 if (obj4) {
4196 {
4197 arg5 = &temp5;
4198 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4199 }
4200 }
4201 if (obj5) {
4202 ecode6 = SWIG_AsVal_long(obj5, &val6);
4203 if (!SWIG_IsOK(ecode6)) {
4204 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4205 }
4206 arg6 = static_cast< long >(val6);
4207 }
4208 if (obj6) {
4209 {
4210 arg7 = wxString_in_helper(obj6);
4211 if (arg7 == NULL) SWIG_fail;
4212 temp7 = true;
4213 }
4214 }
4215 {
4216 PyThreadState* __tstate = wxPyBeginAllowThreads();
4217 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4218 wxPyEndAllowThreads(__tstate);
4219 if (PyErr_Occurred()) SWIG_fail;
4220 }
4221 {
4222 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4223 }
4224 {
4225 if (temp7)
4226 delete arg7;
4227 }
4228 return resultobj;
4229 fail:
4230 {
4231 if (temp7)
4232 delete arg7;
4233 }
4234 return NULL;
4235 }
4236
4237
4238 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4239 PyObject *resultobj = 0;
4240 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4241 int arg2 ;
4242 int arg3 ;
4243 int arg4 ;
4244 int arg5 ;
4245 int arg6 = (int) 0 ;
4246 int arg7 = (int) 0 ;
4247 bool arg8 = (bool) false ;
4248 void *argp1 = 0 ;
4249 int res1 = 0 ;
4250 int val2 ;
4251 int ecode2 = 0 ;
4252 int val3 ;
4253 int ecode3 = 0 ;
4254 int val4 ;
4255 int ecode4 = 0 ;
4256 int val5 ;
4257 int ecode5 = 0 ;
4258 int val6 ;
4259 int ecode6 = 0 ;
4260 int val7 ;
4261 int ecode7 = 0 ;
4262 bool val8 ;
4263 int ecode8 = 0 ;
4264 PyObject * obj0 = 0 ;
4265 PyObject * obj1 = 0 ;
4266 PyObject * obj2 = 0 ;
4267 PyObject * obj3 = 0 ;
4268 PyObject * obj4 = 0 ;
4269 PyObject * obj5 = 0 ;
4270 PyObject * obj6 = 0 ;
4271 PyObject * obj7 = 0 ;
4272 char * kwnames[] = {
4273 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4274 };
4275
4276 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4277 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4278 if (!SWIG_IsOK(res1)) {
4279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4280 }
4281 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4282 ecode2 = SWIG_AsVal_int(obj1, &val2);
4283 if (!SWIG_IsOK(ecode2)) {
4284 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4285 }
4286 arg2 = static_cast< int >(val2);
4287 ecode3 = SWIG_AsVal_int(obj2, &val3);
4288 if (!SWIG_IsOK(ecode3)) {
4289 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4290 }
4291 arg3 = static_cast< int >(val3);
4292 ecode4 = SWIG_AsVal_int(obj3, &val4);
4293 if (!SWIG_IsOK(ecode4)) {
4294 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4295 }
4296 arg4 = static_cast< int >(val4);
4297 ecode5 = SWIG_AsVal_int(obj4, &val5);
4298 if (!SWIG_IsOK(ecode5)) {
4299 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4300 }
4301 arg5 = static_cast< int >(val5);
4302 if (obj5) {
4303 ecode6 = SWIG_AsVal_int(obj5, &val6);
4304 if (!SWIG_IsOK(ecode6)) {
4305 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4306 }
4307 arg6 = static_cast< int >(val6);
4308 }
4309 if (obj6) {
4310 ecode7 = SWIG_AsVal_int(obj6, &val7);
4311 if (!SWIG_IsOK(ecode7)) {
4312 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4313 }
4314 arg7 = static_cast< int >(val7);
4315 }
4316 if (obj7) {
4317 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4318 if (!SWIG_IsOK(ecode8)) {
4319 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4320 }
4321 arg8 = static_cast< bool >(val8);
4322 }
4323 {
4324 PyThreadState* __tstate = wxPyBeginAllowThreads();
4325 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4326 wxPyEndAllowThreads(__tstate);
4327 if (PyErr_Occurred()) SWIG_fail;
4328 }
4329 resultobj = SWIG_Py_Void();
4330 return resultobj;
4331 fail:
4332 return NULL;
4333 }
4334
4335
4336 SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4337 PyObject *resultobj = 0;
4338 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4339 int arg2 ;
4340 int arg3 ;
4341 void *argp1 = 0 ;
4342 int res1 = 0 ;
4343 int val2 ;
4344 int ecode2 = 0 ;
4345 int val3 ;
4346 int ecode3 = 0 ;
4347 PyObject * obj0 = 0 ;
4348 PyObject * obj1 = 0 ;
4349 PyObject * obj2 = 0 ;
4350 char * kwnames[] = {
4351 (char *) "self",(char *) "x",(char *) "y", NULL
4352 };
4353
4354 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4355 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4356 if (!SWIG_IsOK(res1)) {
4357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4358 }
4359 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4360 ecode2 = SWIG_AsVal_int(obj1, &val2);
4361 if (!SWIG_IsOK(ecode2)) {
4362 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4363 }
4364 arg2 = static_cast< int >(val2);
4365 ecode3 = SWIG_AsVal_int(obj2, &val3);
4366 if (!SWIG_IsOK(ecode3)) {
4367 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4368 }
4369 arg3 = static_cast< int >(val3);
4370 {
4371 PyThreadState* __tstate = wxPyBeginAllowThreads();
4372 (arg1)->Scroll(arg2,arg3);
4373 wxPyEndAllowThreads(__tstate);
4374 if (PyErr_Occurred()) SWIG_fail;
4375 }
4376 resultobj = SWIG_Py_Void();
4377 return resultobj;
4378 fail:
4379 return NULL;
4380 }
4381
4382
4383 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4384 PyObject *resultobj = 0;
4385 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4386 int arg2 ;
4387 int result;
4388 void *argp1 = 0 ;
4389 int res1 = 0 ;
4390 int val2 ;
4391 int ecode2 = 0 ;
4392 PyObject * obj0 = 0 ;
4393 PyObject * obj1 = 0 ;
4394 char * kwnames[] = {
4395 (char *) "self",(char *) "orient", NULL
4396 };
4397
4398 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
4399 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4400 if (!SWIG_IsOK(res1)) {
4401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4402 }
4403 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4404 ecode2 = SWIG_AsVal_int(obj1, &val2);
4405 if (!SWIG_IsOK(ecode2)) {
4406 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4407 }
4408 arg2 = static_cast< int >(val2);
4409 {
4410 PyThreadState* __tstate = wxPyBeginAllowThreads();
4411 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4412 wxPyEndAllowThreads(__tstate);
4413 if (PyErr_Occurred()) SWIG_fail;
4414 }
4415 resultobj = SWIG_From_int(static_cast< int >(result));
4416 return resultobj;
4417 fail:
4418 return NULL;
4419 }
4420
4421
4422 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4423 PyObject *resultobj = 0;
4424 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4425 int arg2 ;
4426 int arg3 ;
4427 void *argp1 = 0 ;
4428 int res1 = 0 ;
4429 int val2 ;
4430 int ecode2 = 0 ;
4431 int val3 ;
4432 int ecode3 = 0 ;
4433 PyObject * obj0 = 0 ;
4434 PyObject * obj1 = 0 ;
4435 PyObject * obj2 = 0 ;
4436 char * kwnames[] = {
4437 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4438 };
4439
4440 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4441 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4442 if (!SWIG_IsOK(res1)) {
4443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4444 }
4445 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4446 ecode2 = SWIG_AsVal_int(obj1, &val2);
4447 if (!SWIG_IsOK(ecode2)) {
4448 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4449 }
4450 arg2 = static_cast< int >(val2);
4451 ecode3 = SWIG_AsVal_int(obj2, &val3);
4452 if (!SWIG_IsOK(ecode3)) {
4453 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4454 }
4455 arg3 = static_cast< int >(val3);
4456 {
4457 PyThreadState* __tstate = wxPyBeginAllowThreads();
4458 (arg1)->SetScrollPageSize(arg2,arg3);
4459 wxPyEndAllowThreads(__tstate);
4460 if (PyErr_Occurred()) SWIG_fail;
4461 }
4462 resultobj = SWIG_Py_Void();
4463 return resultobj;
4464 fail:
4465 return NULL;
4466 }
4467
4468
4469 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4470 PyObject *resultobj = 0;
4471 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4472 int arg2 ;
4473 int arg3 ;
4474 void *argp1 = 0 ;
4475 int res1 = 0 ;
4476 int val2 ;
4477 int ecode2 = 0 ;
4478 int val3 ;
4479 int ecode3 = 0 ;
4480 PyObject * obj0 = 0 ;
4481 PyObject * obj1 = 0 ;
4482 PyObject * obj2 = 0 ;
4483 char * kwnames[] = {
4484 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4485 };
4486
4487 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4488 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4489 if (!SWIG_IsOK(res1)) {
4490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4491 }
4492 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4493 ecode2 = SWIG_AsVal_int(obj1, &val2);
4494 if (!SWIG_IsOK(ecode2)) {
4495 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4496 }
4497 arg2 = static_cast< int >(val2);
4498 ecode3 = SWIG_AsVal_int(obj2, &val3);
4499 if (!SWIG_IsOK(ecode3)) {
4500 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4501 }
4502 arg3 = static_cast< int >(val3);
4503 {
4504 PyThreadState* __tstate = wxPyBeginAllowThreads();
4505 (arg1)->SetScrollRate(arg2,arg3);
4506 wxPyEndAllowThreads(__tstate);
4507 if (PyErr_Occurred()) SWIG_fail;
4508 }
4509 resultobj = SWIG_Py_Void();
4510 return resultobj;
4511 fail:
4512 return NULL;
4513 }
4514
4515
4516 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4517 PyObject *resultobj = 0;
4518 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4519 int *arg2 = (int *) 0 ;
4520 int *arg3 = (int *) 0 ;
4521 void *argp1 = 0 ;
4522 int res1 = 0 ;
4523 int temp2 ;
4524 int res2 = SWIG_TMPOBJ ;
4525 int temp3 ;
4526 int res3 = SWIG_TMPOBJ ;
4527 PyObject *swig_obj[1] ;
4528
4529 arg2 = &temp2;
4530 arg3 = &temp3;
4531 if (!args) SWIG_fail;
4532 swig_obj[0] = args;
4533 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4534 if (!SWIG_IsOK(res1)) {
4535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4536 }
4537 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4538 {
4539 PyThreadState* __tstate = wxPyBeginAllowThreads();
4540 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4541 wxPyEndAllowThreads(__tstate);
4542 if (PyErr_Occurred()) SWIG_fail;
4543 }
4544 resultobj = SWIG_Py_Void();
4545 if (SWIG_IsTmpObj(res2)) {
4546 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4547 } else {
4548 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4549 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4550 }
4551 if (SWIG_IsTmpObj(res3)) {
4552 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4553 } else {
4554 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4555 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4556 }
4557 return resultobj;
4558 fail:
4559 return NULL;
4560 }
4561
4562
4563 SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4564 PyObject *resultobj = 0;
4565 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4566 bool arg2 ;
4567 bool arg3 ;
4568 void *argp1 = 0 ;
4569 int res1 = 0 ;
4570 bool val2 ;
4571 int ecode2 = 0 ;
4572 bool val3 ;
4573 int ecode3 = 0 ;
4574 PyObject * obj0 = 0 ;
4575 PyObject * obj1 = 0 ;
4576 PyObject * obj2 = 0 ;
4577 char * kwnames[] = {
4578 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4579 };
4580
4581 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4582 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4583 if (!SWIG_IsOK(res1)) {
4584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4585 }
4586 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4587 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4588 if (!SWIG_IsOK(ecode2)) {
4589 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4590 }
4591 arg2 = static_cast< bool >(val2);
4592 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4593 if (!SWIG_IsOK(ecode3)) {
4594 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4595 }
4596 arg3 = static_cast< bool >(val3);
4597 {
4598 PyThreadState* __tstate = wxPyBeginAllowThreads();
4599 (arg1)->EnableScrolling(arg2,arg3);
4600 wxPyEndAllowThreads(__tstate);
4601 if (PyErr_Occurred()) SWIG_fail;
4602 }
4603 resultobj = SWIG_Py_Void();
4604 return resultobj;
4605 fail:
4606 return NULL;
4607 }
4608
4609
4610 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4611 PyObject *resultobj = 0;
4612 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4613 int *arg2 = (int *) 0 ;
4614 int *arg3 = (int *) 0 ;
4615 void *argp1 = 0 ;
4616 int res1 = 0 ;
4617 int temp2 ;
4618 int res2 = SWIG_TMPOBJ ;
4619 int temp3 ;
4620 int res3 = SWIG_TMPOBJ ;
4621 PyObject *swig_obj[1] ;
4622
4623 arg2 = &temp2;
4624 arg3 = &temp3;
4625 if (!args) SWIG_fail;
4626 swig_obj[0] = args;
4627 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4628 if (!SWIG_IsOK(res1)) {
4629 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4630 }
4631 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4632 {
4633 PyThreadState* __tstate = wxPyBeginAllowThreads();
4634 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4635 wxPyEndAllowThreads(__tstate);
4636 if (PyErr_Occurred()) SWIG_fail;
4637 }
4638 resultobj = SWIG_Py_Void();
4639 if (SWIG_IsTmpObj(res2)) {
4640 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4641 } else {
4642 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4643 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4644 }
4645 if (SWIG_IsTmpObj(res3)) {
4646 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4647 } else {
4648 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4649 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4650 }
4651 return resultobj;
4652 fail:
4653 return NULL;
4654 }
4655
4656
4657 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4658 PyObject *resultobj = 0;
4659 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4660 double arg2 ;
4661 double arg3 ;
4662 void *argp1 = 0 ;
4663 int res1 = 0 ;
4664 double val2 ;
4665 int ecode2 = 0 ;
4666 double val3 ;
4667 int ecode3 = 0 ;
4668 PyObject * obj0 = 0 ;
4669 PyObject * obj1 = 0 ;
4670 PyObject * obj2 = 0 ;
4671 char * kwnames[] = {
4672 (char *) "self",(char *) "xs",(char *) "ys", NULL
4673 };
4674
4675 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4676 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4677 if (!SWIG_IsOK(res1)) {
4678 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4679 }
4680 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4681 ecode2 = SWIG_AsVal_double(obj1, &val2);
4682 if (!SWIG_IsOK(ecode2)) {
4683 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4684 }
4685 arg2 = static_cast< double >(val2);
4686 ecode3 = SWIG_AsVal_double(obj2, &val3);
4687 if (!SWIG_IsOK(ecode3)) {
4688 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4689 }
4690 arg3 = static_cast< double >(val3);
4691 {
4692 PyThreadState* __tstate = wxPyBeginAllowThreads();
4693 (arg1)->SetScale(arg2,arg3);
4694 wxPyEndAllowThreads(__tstate);
4695 if (PyErr_Occurred()) SWIG_fail;
4696 }
4697 resultobj = SWIG_Py_Void();
4698 return resultobj;
4699 fail:
4700 return NULL;
4701 }
4702
4703
4704 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4705 PyObject *resultobj = 0;
4706 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4707 double result;
4708 void *argp1 = 0 ;
4709 int res1 = 0 ;
4710 PyObject *swig_obj[1] ;
4711
4712 if (!args) SWIG_fail;
4713 swig_obj[0] = args;
4714 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4715 if (!SWIG_IsOK(res1)) {
4716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4717 }
4718 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4719 {
4720 PyThreadState* __tstate = wxPyBeginAllowThreads();
4721 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4722 wxPyEndAllowThreads(__tstate);
4723 if (PyErr_Occurred()) SWIG_fail;
4724 }
4725 resultobj = SWIG_From_double(static_cast< double >(result));
4726 return resultobj;
4727 fail:
4728 return NULL;
4729 }
4730
4731
4732 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4733 PyObject *resultobj = 0;
4734 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4735 double result;
4736 void *argp1 = 0 ;
4737 int res1 = 0 ;
4738 PyObject *swig_obj[1] ;
4739
4740 if (!args) SWIG_fail;
4741 swig_obj[0] = args;
4742 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4743 if (!SWIG_IsOK(res1)) {
4744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4745 }
4746 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4747 {
4748 PyThreadState* __tstate = wxPyBeginAllowThreads();
4749 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4750 wxPyEndAllowThreads(__tstate);
4751 if (PyErr_Occurred()) SWIG_fail;
4752 }
4753 resultobj = SWIG_From_double(static_cast< double >(result));
4754 return resultobj;
4755 fail:
4756 return NULL;
4757 }
4758
4759
4760 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4761 PyObject *resultobj = 0;
4762 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4763 wxPoint *arg2 = 0 ;
4764 wxPoint result;
4765 void *argp1 = 0 ;
4766 int res1 = 0 ;
4767 wxPoint temp2 ;
4768
4769 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4770 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4771 if (!SWIG_IsOK(res1)) {
4772 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4773 }
4774 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4775 {
4776 arg2 = &temp2;
4777 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4778 }
4779 {
4780 PyThreadState* __tstate = wxPyBeginAllowThreads();
4781 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4782 wxPyEndAllowThreads(__tstate);
4783 if (PyErr_Occurred()) SWIG_fail;
4784 }
4785 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4786 return resultobj;
4787 fail:
4788 return NULL;
4789 }
4790
4791
4792 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4793 PyObject *resultobj = 0;
4794 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4795 int arg2 ;
4796 int arg3 ;
4797 int *arg4 = (int *) 0 ;
4798 int *arg5 = (int *) 0 ;
4799 void *argp1 = 0 ;
4800 int res1 = 0 ;
4801 int val2 ;
4802 int ecode2 = 0 ;
4803 int val3 ;
4804 int ecode3 = 0 ;
4805 int temp4 ;
4806 int res4 = SWIG_TMPOBJ ;
4807 int temp5 ;
4808 int res5 = SWIG_TMPOBJ ;
4809
4810 arg4 = &temp4;
4811 arg5 = &temp5;
4812 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4813 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4814 if (!SWIG_IsOK(res1)) {
4815 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4816 }
4817 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4818 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4819 if (!SWIG_IsOK(ecode2)) {
4820 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4821 }
4822 arg2 = static_cast< int >(val2);
4823 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4824 if (!SWIG_IsOK(ecode3)) {
4825 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4826 }
4827 arg3 = static_cast< int >(val3);
4828 {
4829 PyThreadState* __tstate = wxPyBeginAllowThreads();
4830 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4831 wxPyEndAllowThreads(__tstate);
4832 if (PyErr_Occurred()) SWIG_fail;
4833 }
4834 resultobj = SWIG_Py_Void();
4835 if (SWIG_IsTmpObj(res4)) {
4836 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4837 } else {
4838 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4839 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4840 }
4841 if (SWIG_IsTmpObj(res5)) {
4842 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4843 } else {
4844 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4845 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4846 }
4847 return resultobj;
4848 fail:
4849 return NULL;
4850 }
4851
4852
4853 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4854 int argc;
4855 PyObject *argv[4];
4856
4857 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4858 --argc;
4859 if (argc == 2) {
4860 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4861 }
4862 if (argc == 3) {
4863 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4864 }
4865
4866 fail:
4867 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4868 return NULL;
4869 }
4870
4871
4872 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4873 PyObject *resultobj = 0;
4874 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4875 wxPoint *arg2 = 0 ;
4876 wxPoint result;
4877 void *argp1 = 0 ;
4878 int res1 = 0 ;
4879 wxPoint temp2 ;
4880
4881 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4882 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4883 if (!SWIG_IsOK(res1)) {
4884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4885 }
4886 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4887 {
4888 arg2 = &temp2;
4889 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4890 }
4891 {
4892 PyThreadState* __tstate = wxPyBeginAllowThreads();
4893 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4894 wxPyEndAllowThreads(__tstate);
4895 if (PyErr_Occurred()) SWIG_fail;
4896 }
4897 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4898 return resultobj;
4899 fail:
4900 return NULL;
4901 }
4902
4903
4904 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4905 PyObject *resultobj = 0;
4906 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4907 int arg2 ;
4908 int arg3 ;
4909 int *arg4 = (int *) 0 ;
4910 int *arg5 = (int *) 0 ;
4911 void *argp1 = 0 ;
4912 int res1 = 0 ;
4913 int val2 ;
4914 int ecode2 = 0 ;
4915 int val3 ;
4916 int ecode3 = 0 ;
4917 int temp4 ;
4918 int res4 = SWIG_TMPOBJ ;
4919 int temp5 ;
4920 int res5 = SWIG_TMPOBJ ;
4921
4922 arg4 = &temp4;
4923 arg5 = &temp5;
4924 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4925 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4926 if (!SWIG_IsOK(res1)) {
4927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4928 }
4929 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4930 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4931 if (!SWIG_IsOK(ecode2)) {
4932 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4933 }
4934 arg2 = static_cast< int >(val2);
4935 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4936 if (!SWIG_IsOK(ecode3)) {
4937 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4938 }
4939 arg3 = static_cast< int >(val3);
4940 {
4941 PyThreadState* __tstate = wxPyBeginAllowThreads();
4942 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
4943 wxPyEndAllowThreads(__tstate);
4944 if (PyErr_Occurred()) SWIG_fail;
4945 }
4946 resultobj = SWIG_Py_Void();
4947 if (SWIG_IsTmpObj(res4)) {
4948 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4949 } else {
4950 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4951 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4952 }
4953 if (SWIG_IsTmpObj(res5)) {
4954 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4955 } else {
4956 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4957 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4958 }
4959 return resultobj;
4960 fail:
4961 return NULL;
4962 }
4963
4964
4965 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
4966 int argc;
4967 PyObject *argv[4];
4968
4969 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
4970 --argc;
4971 if (argc == 2) {
4972 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
4973 }
4974 if (argc == 3) {
4975 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
4976 }
4977
4978 fail:
4979 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4980 return NULL;
4981 }
4982
4983
4984 SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4985 PyObject *resultobj = 0;
4986 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4987 void *argp1 = 0 ;
4988 int res1 = 0 ;
4989 PyObject *swig_obj[1] ;
4990
4991 if (!args) SWIG_fail;
4992 swig_obj[0] = args;
4993 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4994 if (!SWIG_IsOK(res1)) {
4995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4996 }
4997 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4998 {
4999 PyThreadState* __tstate = wxPyBeginAllowThreads();
5000 (arg1)->AdjustScrollbars();
5001 wxPyEndAllowThreads(__tstate);
5002 if (PyErr_Occurred()) SWIG_fail;
5003 }
5004 resultobj = SWIG_Py_Void();
5005 return resultobj;
5006 fail:
5007 return NULL;
5008 }
5009
5010
5011 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5012 PyObject *resultobj = 0;
5013 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5014 wxScrollWinEvent *arg2 = 0 ;
5015 int result;
5016 void *argp1 = 0 ;
5017 int res1 = 0 ;
5018 void *argp2 = 0 ;
5019 int res2 = 0 ;
5020 PyObject * obj0 = 0 ;
5021 PyObject * obj1 = 0 ;
5022 char * kwnames[] = {
5023 (char *) "self",(char *) "event", NULL
5024 };
5025
5026 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
5027 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5028 if (!SWIG_IsOK(res1)) {
5029 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5030 }
5031 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5032 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
5033 if (!SWIG_IsOK(res2)) {
5034 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5035 }
5036 if (!argp2) {
5037 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5038 }
5039 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
5040 {
5041 PyThreadState* __tstate = wxPyBeginAllowThreads();
5042 result = (int)(arg1)->CalcScrollInc(*arg2);
5043 wxPyEndAllowThreads(__tstate);
5044 if (PyErr_Occurred()) SWIG_fail;
5045 }
5046 resultobj = SWIG_From_int(static_cast< int >(result));
5047 return resultobj;
5048 fail:
5049 return NULL;
5050 }
5051
5052
5053 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5054 PyObject *resultobj = 0;
5055 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5056 wxWindow *arg2 = (wxWindow *) 0 ;
5057 void *argp1 = 0 ;
5058 int res1 = 0 ;
5059 void *argp2 = 0 ;
5060 int res2 = 0 ;
5061 PyObject * obj0 = 0 ;
5062 PyObject * obj1 = 0 ;
5063 char * kwnames[] = {
5064 (char *) "self",(char *) "target", NULL
5065 };
5066
5067 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
5068 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5069 if (!SWIG_IsOK(res1)) {
5070 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5071 }
5072 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5073 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5074 if (!SWIG_IsOK(res2)) {
5075 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5076 }
5077 arg2 = reinterpret_cast< wxWindow * >(argp2);
5078 {
5079 PyThreadState* __tstate = wxPyBeginAllowThreads();
5080 (arg1)->SetTargetWindow(arg2);
5081 wxPyEndAllowThreads(__tstate);
5082 if (PyErr_Occurred()) SWIG_fail;
5083 }
5084 resultobj = SWIG_Py_Void();
5085 return resultobj;
5086 fail:
5087 return NULL;
5088 }
5089
5090
5091 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5092 PyObject *resultobj = 0;
5093 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5094 wxWindow *result = 0 ;
5095 void *argp1 = 0 ;
5096 int res1 = 0 ;
5097 PyObject *swig_obj[1] ;
5098
5099 if (!args) SWIG_fail;
5100 swig_obj[0] = args;
5101 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5102 if (!SWIG_IsOK(res1)) {
5103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5104 }
5105 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5106 {
5107 PyThreadState* __tstate = wxPyBeginAllowThreads();
5108 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5109 wxPyEndAllowThreads(__tstate);
5110 if (PyErr_Occurred()) SWIG_fail;
5111 }
5112 {
5113 resultobj = wxPyMake_wxObject(result, 0);
5114 }
5115 return resultobj;
5116 fail:
5117 return NULL;
5118 }
5119
5120
5121 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5122 PyObject *resultobj = 0;
5123 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5124 wxRect *arg2 = 0 ;
5125 void *argp1 = 0 ;
5126 int res1 = 0 ;
5127 wxRect temp2 ;
5128 PyObject * obj0 = 0 ;
5129 PyObject * obj1 = 0 ;
5130 char * kwnames[] = {
5131 (char *) "self",(char *) "rect", NULL
5132 };
5133
5134 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) SWIG_fail;
5135 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5136 if (!SWIG_IsOK(res1)) {
5137 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5138 }
5139 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5140 {
5141 arg2 = &temp2;
5142 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5143 }
5144 {
5145 PyThreadState* __tstate = wxPyBeginAllowThreads();
5146 (arg1)->SetTargetRect((wxRect const &)*arg2);
5147 wxPyEndAllowThreads(__tstate);
5148 if (PyErr_Occurred()) SWIG_fail;
5149 }
5150 resultobj = SWIG_Py_Void();
5151 return resultobj;
5152 fail:
5153 return NULL;
5154 }
5155
5156
5157 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5158 PyObject *resultobj = 0;
5159 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5160 wxRect result;
5161 void *argp1 = 0 ;
5162 int res1 = 0 ;
5163 PyObject *swig_obj[1] ;
5164
5165 if (!args) SWIG_fail;
5166 swig_obj[0] = args;
5167 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5168 if (!SWIG_IsOK(res1)) {
5169 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5170 }
5171 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5172 {
5173 PyThreadState* __tstate = wxPyBeginAllowThreads();
5174 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
5175 wxPyEndAllowThreads(__tstate);
5176 if (PyErr_Occurred()) SWIG_fail;
5177 }
5178 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
5179 return resultobj;
5180 fail:
5181 return NULL;
5182 }
5183
5184
5185 SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5186 PyObject *resultobj = 0;
5187 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5188 wxDC *arg2 = 0 ;
5189 void *argp1 = 0 ;
5190 int res1 = 0 ;
5191 void *argp2 = 0 ;
5192 int res2 = 0 ;
5193 PyObject * obj0 = 0 ;
5194 PyObject * obj1 = 0 ;
5195 char * kwnames[] = {
5196 (char *) "self",(char *) "dc", NULL
5197 };
5198
5199 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) SWIG_fail;
5200 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5201 if (!SWIG_IsOK(res1)) {
5202 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5203 }
5204 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5205 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5206 if (!SWIG_IsOK(res2)) {
5207 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5208 }
5209 if (!argp2) {
5210 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5211 }
5212 arg2 = reinterpret_cast< wxDC * >(argp2);
5213 {
5214 PyThreadState* __tstate = wxPyBeginAllowThreads();
5215 (arg1)->DoPrepareDC(*arg2);
5216 wxPyEndAllowThreads(__tstate);
5217 if (PyErr_Occurred()) SWIG_fail;
5218 }
5219 resultobj = SWIG_Py_Void();
5220 return resultobj;
5221 fail:
5222 return NULL;
5223 }
5224
5225
5226 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5227 PyObject *resultobj = 0;
5228 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5229 SwigValueWrapper<wxVisualAttributes > result;
5230 int val1 ;
5231 int ecode1 = 0 ;
5232 PyObject * obj0 = 0 ;
5233 char * kwnames[] = {
5234 (char *) "variant", NULL
5235 };
5236
5237 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5238 if (obj0) {
5239 ecode1 = SWIG_AsVal_int(obj0, &val1);
5240 if (!SWIG_IsOK(ecode1)) {
5241 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5242 }
5243 arg1 = static_cast< wxWindowVariant >(val1);
5244 }
5245 {
5246 if (!wxPyCheckForApp()) SWIG_fail;
5247 PyThreadState* __tstate = wxPyBeginAllowThreads();
5248 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5249 wxPyEndAllowThreads(__tstate);
5250 if (PyErr_Occurred()) SWIG_fail;
5251 }
5252 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5253 return resultobj;
5254 fail:
5255 return NULL;
5256 }
5257
5258
5259 SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5260 PyObject *obj;
5261 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5262 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5263 return SWIG_Py_Void();
5264 }
5265
5266 SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5267 return SWIG_Python_InitShadowInstance(args);
5268 }
5269
5270 SWIGINTERN int FrameNameStr_set(PyObject *) {
5271 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5272 return 1;
5273 }
5274
5275
5276 SWIGINTERN PyObject *FrameNameStr_get(void) {
5277 PyObject *pyobj = 0;
5278
5279 {
5280 #if wxUSE_UNICODE
5281 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5282 #else
5283 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5284 #endif
5285 }
5286 return pyobj;
5287 }
5288
5289
5290 SWIGINTERN int DialogNameStr_set(PyObject *) {
5291 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5292 return 1;
5293 }
5294
5295
5296 SWIGINTERN PyObject *DialogNameStr_get(void) {
5297 PyObject *pyobj = 0;
5298
5299 {
5300 #if wxUSE_UNICODE
5301 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5302 #else
5303 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5304 #endif
5305 }
5306 return pyobj;
5307 }
5308
5309
5310 SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5311 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5312 return 1;
5313 }
5314
5315
5316 SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5317 PyObject *pyobj = 0;
5318
5319 {
5320 #if wxUSE_UNICODE
5321 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5322 #else
5323 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5324 #endif
5325 }
5326 return pyobj;
5327 }
5328
5329
5330 SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5331 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5332 return 1;
5333 }
5334
5335
5336 SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5337 PyObject *pyobj = 0;
5338
5339 {
5340 #if wxUSE_UNICODE
5341 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5342 #else
5343 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5344 #endif
5345 }
5346 return pyobj;
5347 }
5348
5349
5350 SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5351 PyObject *resultobj = 0;
5352 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5353 bool arg2 = (bool) true ;
5354 void *argp1 = 0 ;
5355 int res1 = 0 ;
5356 bool val2 ;
5357 int ecode2 = 0 ;
5358 PyObject * obj0 = 0 ;
5359 PyObject * obj1 = 0 ;
5360 char * kwnames[] = {
5361 (char *) "self",(char *) "maximize", NULL
5362 };
5363
5364 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5365 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5366 if (!SWIG_IsOK(res1)) {
5367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5368 }
5369 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5370 if (obj1) {
5371 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5372 if (!SWIG_IsOK(ecode2)) {
5373 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5374 }
5375 arg2 = static_cast< bool >(val2);
5376 }
5377 {
5378 PyThreadState* __tstate = wxPyBeginAllowThreads();
5379 (arg1)->Maximize(arg2);
5380 wxPyEndAllowThreads(__tstate);
5381 if (PyErr_Occurred()) SWIG_fail;
5382 }
5383 resultobj = SWIG_Py_Void();
5384 return resultobj;
5385 fail:
5386 return NULL;
5387 }
5388
5389
5390 SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5391 PyObject *resultobj = 0;
5392 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5393 void *argp1 = 0 ;
5394 int res1 = 0 ;
5395 PyObject *swig_obj[1] ;
5396
5397 if (!args) SWIG_fail;
5398 swig_obj[0] = args;
5399 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5400 if (!SWIG_IsOK(res1)) {
5401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5402 }
5403 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5404 {
5405 PyThreadState* __tstate = wxPyBeginAllowThreads();
5406 (arg1)->Restore();
5407 wxPyEndAllowThreads(__tstate);
5408 if (PyErr_Occurred()) SWIG_fail;
5409 }
5410 resultobj = SWIG_Py_Void();
5411 return resultobj;
5412 fail:
5413 return NULL;
5414 }
5415
5416
5417 SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5418 PyObject *resultobj = 0;
5419 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5420 bool arg2 = (bool) true ;
5421 void *argp1 = 0 ;
5422 int res1 = 0 ;
5423 bool val2 ;
5424 int ecode2 = 0 ;
5425 PyObject * obj0 = 0 ;
5426 PyObject * obj1 = 0 ;
5427 char * kwnames[] = {
5428 (char *) "self",(char *) "iconize", NULL
5429 };
5430
5431 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5432 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5433 if (!SWIG_IsOK(res1)) {
5434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5435 }
5436 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5437 if (obj1) {
5438 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5439 if (!SWIG_IsOK(ecode2)) {
5440 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5441 }
5442 arg2 = static_cast< bool >(val2);
5443 }
5444 {
5445 PyThreadState* __tstate = wxPyBeginAllowThreads();
5446 (arg1)->Iconize(arg2);
5447 wxPyEndAllowThreads(__tstate);
5448 if (PyErr_Occurred()) SWIG_fail;
5449 }
5450 resultobj = SWIG_Py_Void();
5451 return resultobj;
5452 fail:
5453 return NULL;
5454 }
5455
5456
5457 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5458 PyObject *resultobj = 0;
5459 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5460 bool result;
5461 void *argp1 = 0 ;
5462 int res1 = 0 ;
5463 PyObject *swig_obj[1] ;
5464
5465 if (!args) SWIG_fail;
5466 swig_obj[0] = args;
5467 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5468 if (!SWIG_IsOK(res1)) {
5469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5470 }
5471 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5472 {
5473 PyThreadState* __tstate = wxPyBeginAllowThreads();
5474 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
5475 wxPyEndAllowThreads(__tstate);
5476 if (PyErr_Occurred()) SWIG_fail;
5477 }
5478 {
5479 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5480 }
5481 return resultobj;
5482 fail:
5483 return NULL;
5484 }
5485
5486
5487 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5488 PyObject *resultobj = 0;
5489 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5490 bool result;
5491 void *argp1 = 0 ;
5492 int res1 = 0 ;
5493 PyObject *swig_obj[1] ;
5494
5495 if (!args) SWIG_fail;
5496 swig_obj[0] = args;
5497 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5498 if (!SWIG_IsOK(res1)) {
5499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5500 }
5501 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5502 {
5503 PyThreadState* __tstate = wxPyBeginAllowThreads();
5504 result = (bool)((wxTopLevelWindow const *)arg1)->IsAlwaysMaximized();
5505 wxPyEndAllowThreads(__tstate);
5506 if (PyErr_Occurred()) SWIG_fail;
5507 }
5508 {
5509 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5510 }
5511 return resultobj;
5512 fail:
5513 return NULL;
5514 }
5515
5516
5517 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5518 PyObject *resultobj = 0;
5519 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5520 bool result;
5521 void *argp1 = 0 ;
5522 int res1 = 0 ;
5523 PyObject *swig_obj[1] ;
5524
5525 if (!args) SWIG_fail;
5526 swig_obj[0] = args;
5527 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5528 if (!SWIG_IsOK(res1)) {
5529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5530 }
5531 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5532 {
5533 PyThreadState* __tstate = wxPyBeginAllowThreads();
5534 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
5535 wxPyEndAllowThreads(__tstate);
5536 if (PyErr_Occurred()) SWIG_fail;
5537 }
5538 {
5539 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5540 }
5541 return resultobj;
5542 fail:
5543 return NULL;
5544 }
5545
5546
5547 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5548 PyObject *resultobj = 0;
5549 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5550 wxIcon result;
5551 void *argp1 = 0 ;
5552 int res1 = 0 ;
5553 PyObject *swig_obj[1] ;
5554
5555 if (!args) SWIG_fail;
5556 swig_obj[0] = args;
5557 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5558 if (!SWIG_IsOK(res1)) {
5559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5560 }
5561 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5562 {
5563 PyThreadState* __tstate = wxPyBeginAllowThreads();
5564 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
5565 wxPyEndAllowThreads(__tstate);
5566 if (PyErr_Occurred()) SWIG_fail;
5567 }
5568 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
5569 return resultobj;
5570 fail:
5571 return NULL;
5572 }
5573
5574
5575 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5576 PyObject *resultobj = 0;
5577 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5578 wxIcon *arg2 = 0 ;
5579 void *argp1 = 0 ;
5580 int res1 = 0 ;
5581 void *argp2 = 0 ;
5582 int res2 = 0 ;
5583 PyObject * obj0 = 0 ;
5584 PyObject * obj1 = 0 ;
5585 char * kwnames[] = {
5586 (char *) "self",(char *) "icon", NULL
5587 };
5588
5589 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
5590 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5591 if (!SWIG_IsOK(res1)) {
5592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5593 }
5594 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5595 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
5596 if (!SWIG_IsOK(res2)) {
5597 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5598 }
5599 if (!argp2) {
5600 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5601 }
5602 arg2 = reinterpret_cast< wxIcon * >(argp2);
5603 {
5604 PyThreadState* __tstate = wxPyBeginAllowThreads();
5605 (arg1)->SetIcon((wxIcon const &)*arg2);
5606 wxPyEndAllowThreads(__tstate);
5607 if (PyErr_Occurred()) SWIG_fail;
5608 }
5609 resultobj = SWIG_Py_Void();
5610 return resultobj;
5611 fail:
5612 return NULL;
5613 }
5614
5615
5616 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5617 PyObject *resultobj = 0;
5618 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5619 wxIconBundle *arg2 = 0 ;
5620 void *argp1 = 0 ;
5621 int res1 = 0 ;
5622 void *argp2 = 0 ;
5623 int res2 = 0 ;
5624 PyObject * obj0 = 0 ;
5625 PyObject * obj1 = 0 ;
5626 char * kwnames[] = {
5627 (char *) "self",(char *) "icons", NULL
5628 };
5629
5630 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail;
5631 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5632 if (!SWIG_IsOK(res1)) {
5633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5634 }
5635 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5636 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0);
5637 if (!SWIG_IsOK(res2)) {
5638 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5639 }
5640 if (!argp2) {
5641 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5642 }
5643 arg2 = reinterpret_cast< wxIconBundle * >(argp2);
5644 {
5645 PyThreadState* __tstate = wxPyBeginAllowThreads();
5646 (arg1)->SetIcons((wxIconBundle const &)*arg2);
5647 wxPyEndAllowThreads(__tstate);
5648 if (PyErr_Occurred()) SWIG_fail;
5649 }
5650 resultobj = SWIG_Py_Void();
5651 return resultobj;
5652 fail:
5653 return NULL;
5654 }
5655
5656
5657 SWIGINTERN PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5658 PyObject *resultobj = 0;
5659 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5660 bool arg2 ;
5661 long arg3 = (long) wxFULLSCREEN_ALL ;
5662 bool result;
5663 void *argp1 = 0 ;
5664 int res1 = 0 ;
5665 bool val2 ;
5666 int ecode2 = 0 ;
5667 long val3 ;
5668 int ecode3 = 0 ;
5669 PyObject * obj0 = 0 ;
5670 PyObject * obj1 = 0 ;
5671 PyObject * obj2 = 0 ;
5672 char * kwnames[] = {
5673 (char *) "self",(char *) "show",(char *) "style", NULL
5674 };
5675
5676 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5677 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5678 if (!SWIG_IsOK(res1)) {
5679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5680 }
5681 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5682 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5683 if (!SWIG_IsOK(ecode2)) {
5684 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5685 }
5686 arg2 = static_cast< bool >(val2);
5687 if (obj2) {
5688 ecode3 = SWIG_AsVal_long(obj2, &val3);
5689 if (!SWIG_IsOK(ecode3)) {
5690 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5691 }
5692 arg3 = static_cast< long >(val3);
5693 }
5694 {
5695 PyThreadState* __tstate = wxPyBeginAllowThreads();
5696 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
5697 wxPyEndAllowThreads(__tstate);
5698 if (PyErr_Occurred()) SWIG_fail;
5699 }
5700 {
5701 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5702 }
5703 return resultobj;
5704 fail:
5705 return NULL;
5706 }
5707
5708
5709 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5710 PyObject *resultobj = 0;
5711 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5712 bool result;
5713 void *argp1 = 0 ;
5714 int res1 = 0 ;
5715 PyObject *swig_obj[1] ;
5716
5717 if (!args) SWIG_fail;
5718 swig_obj[0] = args;
5719 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5720 if (!SWIG_IsOK(res1)) {
5721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5722 }
5723 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5724 {
5725 PyThreadState* __tstate = wxPyBeginAllowThreads();
5726 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
5727 wxPyEndAllowThreads(__tstate);
5728 if (PyErr_Occurred()) SWIG_fail;
5729 }
5730 {
5731 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5732 }
5733 return resultobj;
5734 fail:
5735 return NULL;
5736 }
5737
5738
5739 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5740 PyObject *resultobj = 0;
5741 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5742 wxString *arg2 = 0 ;
5743 void *argp1 = 0 ;
5744 int res1 = 0 ;
5745 bool temp2 = false ;
5746 PyObject * obj0 = 0 ;
5747 PyObject * obj1 = 0 ;
5748 char * kwnames[] = {
5749 (char *) "self",(char *) "title", NULL
5750 };
5751
5752 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
5753 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5754 if (!SWIG_IsOK(res1)) {
5755 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5756 }
5757 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5758 {
5759 arg2 = wxString_in_helper(obj1);
5760 if (arg2 == NULL) SWIG_fail;
5761 temp2 = true;
5762 }
5763 {
5764 PyThreadState* __tstate = wxPyBeginAllowThreads();
5765 (arg1)->SetTitle((wxString const &)*arg2);
5766 wxPyEndAllowThreads(__tstate);
5767 if (PyErr_Occurred()) SWIG_fail;
5768 }
5769 resultobj = SWIG_Py_Void();
5770 {
5771 if (temp2)
5772 delete arg2;
5773 }
5774 return resultobj;
5775 fail:
5776 {
5777 if (temp2)
5778 delete arg2;
5779 }
5780 return NULL;
5781 }
5782
5783
5784 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5785 PyObject *resultobj = 0;
5786 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5787 wxString result;
5788 void *argp1 = 0 ;
5789 int res1 = 0 ;
5790 PyObject *swig_obj[1] ;
5791
5792 if (!args) SWIG_fail;
5793 swig_obj[0] = args;
5794 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5795 if (!SWIG_IsOK(res1)) {
5796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5797 }
5798 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5799 {
5800 PyThreadState* __tstate = wxPyBeginAllowThreads();
5801 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
5802 wxPyEndAllowThreads(__tstate);
5803 if (PyErr_Occurred()) SWIG_fail;
5804 }
5805 {
5806 #if wxUSE_UNICODE
5807 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5808 #else
5809 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5810 #endif
5811 }
5812 return resultobj;
5813 fail:
5814 return NULL;
5815 }
5816
5817
5818 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5819 PyObject *resultobj = 0;
5820 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5821 wxRegion *arg2 = 0 ;
5822 bool result;
5823 void *argp1 = 0 ;
5824 int res1 = 0 ;
5825 void *argp2 = 0 ;
5826 int res2 = 0 ;
5827 PyObject * obj0 = 0 ;
5828 PyObject * obj1 = 0 ;
5829 char * kwnames[] = {
5830 (char *) "self",(char *) "region", NULL
5831 };
5832
5833 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) SWIG_fail;
5834 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5835 if (!SWIG_IsOK(res1)) {
5836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5837 }
5838 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5839 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRegion, 0 | 0);
5840 if (!SWIG_IsOK(res2)) {
5841 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5842 }
5843 if (!argp2) {
5844 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5845 }
5846 arg2 = reinterpret_cast< wxRegion * >(argp2);
5847 {
5848 PyThreadState* __tstate = wxPyBeginAllowThreads();
5849 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
5850 wxPyEndAllowThreads(__tstate);
5851 if (PyErr_Occurred()) SWIG_fail;
5852 }
5853 {
5854 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5855 }
5856 return resultobj;
5857 fail:
5858 return NULL;
5859 }
5860
5861
5862 SWIGINTERN PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5863 PyObject *resultobj = 0;
5864 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5865 int arg2 = (int) wxUSER_ATTENTION_INFO ;
5866 void *argp1 = 0 ;
5867 int res1 = 0 ;
5868 int val2 ;
5869 int ecode2 = 0 ;
5870 PyObject * obj0 = 0 ;
5871 PyObject * obj1 = 0 ;
5872 char * kwnames[] = {
5873 (char *) "self",(char *) "flags", NULL
5874 };
5875
5876 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) SWIG_fail;
5877 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5878 if (!SWIG_IsOK(res1)) {
5879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5880 }
5881 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5882 if (obj1) {
5883 ecode2 = SWIG_AsVal_int(obj1, &val2);
5884 if (!SWIG_IsOK(ecode2)) {
5885 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5886 }
5887 arg2 = static_cast< int >(val2);
5888 }
5889 {
5890 PyThreadState* __tstate = wxPyBeginAllowThreads();
5891 (arg1)->RequestUserAttention(arg2);
5892 wxPyEndAllowThreads(__tstate);
5893 if (PyErr_Occurred()) SWIG_fail;
5894 }
5895 resultobj = SWIG_Py_Void();
5896 return resultobj;
5897 fail:
5898 return NULL;
5899 }
5900
5901
5902 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5903 PyObject *resultobj = 0;
5904 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5905 bool result;
5906 void *argp1 = 0 ;
5907 int res1 = 0 ;
5908 PyObject *swig_obj[1] ;
5909
5910 if (!args) SWIG_fail;
5911 swig_obj[0] = args;
5912 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5913 if (!SWIG_IsOK(res1)) {
5914 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5915 }
5916 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5917 {
5918 PyThreadState* __tstate = wxPyBeginAllowThreads();
5919 result = (bool)(arg1)->IsActive();
5920 wxPyEndAllowThreads(__tstate);
5921 if (PyErr_Occurred()) SWIG_fail;
5922 }
5923 {
5924 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5925 }
5926 return resultobj;
5927 fail:
5928 return NULL;
5929 }
5930
5931
5932 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5933 PyObject *resultobj = 0;
5934 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5935 bool arg2 ;
5936 void *argp1 = 0 ;
5937 int res1 = 0 ;
5938 bool val2 ;
5939 int ecode2 = 0 ;
5940 PyObject * obj0 = 0 ;
5941 PyObject * obj1 = 0 ;
5942 char * kwnames[] = {
5943 (char *) "self",(char *) "on", NULL
5944 };
5945
5946 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) SWIG_fail;
5947 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5948 if (!SWIG_IsOK(res1)) {
5949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5950 }
5951 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5952 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5953 if (!SWIG_IsOK(ecode2)) {
5954 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5955 }
5956 arg2 = static_cast< bool >(val2);
5957 {
5958 PyThreadState* __tstate = wxPyBeginAllowThreads();
5959 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
5960 wxPyEndAllowThreads(__tstate);
5961 if (PyErr_Occurred()) SWIG_fail;
5962 }
5963 resultobj = SWIG_Py_Void();
5964 return resultobj;
5965 fail:
5966 return NULL;
5967 }
5968
5969
5970 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5971 PyObject *resultobj = 0;
5972 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5973 bool result;
5974 void *argp1 = 0 ;
5975 int res1 = 0 ;
5976 PyObject *swig_obj[1] ;
5977
5978 if (!args) SWIG_fail;
5979 swig_obj[0] = args;
5980 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5981 if (!SWIG_IsOK(res1)) {
5982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5983 }
5984 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5985 {
5986 PyThreadState* __tstate = wxPyBeginAllowThreads();
5987 result = (bool)((wxTopLevelWindow const *)arg1)->MacGetMetalAppearance();
5988 wxPyEndAllowThreads(__tstate);
5989 if (PyErr_Occurred()) SWIG_fail;
5990 }
5991 {
5992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5993 }
5994 return resultobj;
5995 fail:
5996 return NULL;
5997 }
5998
5999
6000 SWIGINTERN PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6001 PyObject *resultobj = 0;
6002 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6003 int arg2 = (int) wxBOTH ;
6004 void *argp1 = 0 ;
6005 int res1 = 0 ;
6006 int val2 ;
6007 int ecode2 = 0 ;
6008 PyObject * obj0 = 0 ;
6009 PyObject * obj1 = 0 ;
6010 char * kwnames[] = {
6011 (char *) "self",(char *) "dir", NULL
6012 };
6013
6014 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) SWIG_fail;
6015 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6016 if (!SWIG_IsOK(res1)) {
6017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6018 }
6019 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6020 if (obj1) {
6021 ecode2 = SWIG_AsVal_int(obj1, &val2);
6022 if (!SWIG_IsOK(ecode2)) {
6023 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6024 }
6025 arg2 = static_cast< int >(val2);
6026 }
6027 {
6028 PyThreadState* __tstate = wxPyBeginAllowThreads();
6029 (arg1)->CenterOnScreen(arg2);
6030 wxPyEndAllowThreads(__tstate);
6031 if (PyErr_Occurred()) SWIG_fail;
6032 }
6033 resultobj = SWIG_Py_Void();
6034 return resultobj;
6035 fail:
6036 return NULL;
6037 }
6038
6039
6040 SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6041 PyObject *obj;
6042 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6043 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow, SWIG_NewClientData(obj));
6044 return SWIG_Py_Void();
6045 }
6046
6047 SWIGINTERN PyObject *_wrap_new_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6048 PyObject *resultobj = 0;
6049 wxWindow *arg1 = (wxWindow *) 0 ;
6050 int arg2 = (int) (int)-1 ;
6051 wxString const &arg3_defvalue = wxPyEmptyString ;
6052 wxString *arg3 = (wxString *) &arg3_defvalue ;
6053 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6054 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6055 wxSize const &arg5_defvalue = wxDefaultSize ;
6056 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6057 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6058 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6059 wxString *arg7 = (wxString *) &arg7_defvalue ;
6060 wxFrame *result = 0 ;
6061 void *argp1 = 0 ;
6062 int res1 = 0 ;
6063 int val2 ;
6064 int ecode2 = 0 ;
6065 bool temp3 = false ;
6066 wxPoint temp4 ;
6067 wxSize temp5 ;
6068 long val6 ;
6069 int ecode6 = 0 ;
6070 bool temp7 = false ;
6071 PyObject * obj0 = 0 ;
6072 PyObject * obj1 = 0 ;
6073 PyObject * obj2 = 0 ;
6074 PyObject * obj3 = 0 ;
6075 PyObject * obj4 = 0 ;
6076 PyObject * obj5 = 0 ;
6077 PyObject * obj6 = 0 ;
6078 char * kwnames[] = {
6079 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6080 };
6081
6082 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6083 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6084 if (!SWIG_IsOK(res1)) {
6085 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6086 }
6087 arg1 = reinterpret_cast< wxWindow * >(argp1);
6088 if (obj1) {
6089 ecode2 = SWIG_AsVal_int(obj1, &val2);
6090 if (!SWIG_IsOK(ecode2)) {
6091 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6092 }
6093 arg2 = static_cast< int >(val2);
6094 }
6095 if (obj2) {
6096 {
6097 arg3 = wxString_in_helper(obj2);
6098 if (arg3 == NULL) SWIG_fail;
6099 temp3 = true;
6100 }
6101 }
6102 if (obj3) {
6103 {
6104 arg4 = &temp4;
6105 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6106 }
6107 }
6108 if (obj4) {
6109 {
6110 arg5 = &temp5;
6111 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6112 }
6113 }
6114 if (obj5) {
6115 ecode6 = SWIG_AsVal_long(obj5, &val6);
6116 if (!SWIG_IsOK(ecode6)) {
6117 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6118 }
6119 arg6 = static_cast< long >(val6);
6120 }
6121 if (obj6) {
6122 {
6123 arg7 = wxString_in_helper(obj6);
6124 if (arg7 == NULL) SWIG_fail;
6125 temp7 = true;
6126 }
6127 }
6128 {
6129 if (!wxPyCheckForApp()) SWIG_fail;
6130 PyThreadState* __tstate = wxPyBeginAllowThreads();
6131 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6132 wxPyEndAllowThreads(__tstate);
6133 if (PyErr_Occurred()) SWIG_fail;
6134 }
6135 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_NEW | 0 );
6136 {
6137 if (temp3)
6138 delete arg3;
6139 }
6140 {
6141 if (temp7)
6142 delete arg7;
6143 }
6144 return resultobj;
6145 fail:
6146 {
6147 if (temp3)
6148 delete arg3;
6149 }
6150 {
6151 if (temp7)
6152 delete arg7;
6153 }
6154 return NULL;
6155 }
6156
6157
6158 SWIGINTERN PyObject *_wrap_new_PreFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6159 PyObject *resultobj = 0;
6160 wxFrame *result = 0 ;
6161
6162 if (!SWIG_Python_UnpackTuple(args,"new_PreFrame",0,0,0)) SWIG_fail;
6163 {
6164 if (!wxPyCheckForApp()) SWIG_fail;
6165 PyThreadState* __tstate = wxPyBeginAllowThreads();
6166 result = (wxFrame *)new wxFrame();
6167 wxPyEndAllowThreads(__tstate);
6168 if (PyErr_Occurred()) SWIG_fail;
6169 }
6170 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_OWN | 0 );
6171 return resultobj;
6172 fail:
6173 return NULL;
6174 }
6175
6176
6177 SWIGINTERN PyObject *_wrap_Frame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6178 PyObject *resultobj = 0;
6179 wxFrame *arg1 = (wxFrame *) 0 ;
6180 wxWindow *arg2 = (wxWindow *) 0 ;
6181 int arg3 = (int) (int)-1 ;
6182 wxString const &arg4_defvalue = wxPyEmptyString ;
6183 wxString *arg4 = (wxString *) &arg4_defvalue ;
6184 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6185 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6186 wxSize const &arg6_defvalue = wxDefaultSize ;
6187 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6188 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6189 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6190 wxString *arg8 = (wxString *) &arg8_defvalue ;
6191 bool result;
6192 void *argp1 = 0 ;
6193 int res1 = 0 ;
6194 void *argp2 = 0 ;
6195 int res2 = 0 ;
6196 int val3 ;
6197 int ecode3 = 0 ;
6198 bool temp4 = false ;
6199 wxPoint temp5 ;
6200 wxSize temp6 ;
6201 long val7 ;
6202 int ecode7 = 0 ;
6203 bool temp8 = false ;
6204 PyObject * obj0 = 0 ;
6205 PyObject * obj1 = 0 ;
6206 PyObject * obj2 = 0 ;
6207 PyObject * obj3 = 0 ;
6208 PyObject * obj4 = 0 ;
6209 PyObject * obj5 = 0 ;
6210 PyObject * obj6 = 0 ;
6211 PyObject * obj7 = 0 ;
6212 char * kwnames[] = {
6213 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6214 };
6215
6216 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6217 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6218 if (!SWIG_IsOK(res1)) {
6219 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6220 }
6221 arg1 = reinterpret_cast< wxFrame * >(argp1);
6222 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6223 if (!SWIG_IsOK(res2)) {
6224 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6225 }
6226 arg2 = reinterpret_cast< wxWindow * >(argp2);
6227 if (obj2) {
6228 ecode3 = SWIG_AsVal_int(obj2, &val3);
6229 if (!SWIG_IsOK(ecode3)) {
6230 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6231 }
6232 arg3 = static_cast< int >(val3);
6233 }
6234 if (obj3) {
6235 {
6236 arg4 = wxString_in_helper(obj3);
6237 if (arg4 == NULL) SWIG_fail;
6238 temp4 = true;
6239 }
6240 }
6241 if (obj4) {
6242 {
6243 arg5 = &temp5;
6244 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6245 }
6246 }
6247 if (obj5) {
6248 {
6249 arg6 = &temp6;
6250 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6251 }
6252 }
6253 if (obj6) {
6254 ecode7 = SWIG_AsVal_long(obj6, &val7);
6255 if (!SWIG_IsOK(ecode7)) {
6256 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6257 }
6258 arg7 = static_cast< long >(val7);
6259 }
6260 if (obj7) {
6261 {
6262 arg8 = wxString_in_helper(obj7);
6263 if (arg8 == NULL) SWIG_fail;
6264 temp8 = true;
6265 }
6266 }
6267 {
6268 PyThreadState* __tstate = wxPyBeginAllowThreads();
6269 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6270 wxPyEndAllowThreads(__tstate);
6271 if (PyErr_Occurred()) SWIG_fail;
6272 }
6273 {
6274 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6275 }
6276 {
6277 if (temp4)
6278 delete arg4;
6279 }
6280 {
6281 if (temp8)
6282 delete arg8;
6283 }
6284 return resultobj;
6285 fail:
6286 {
6287 if (temp4)
6288 delete arg4;
6289 }
6290 {
6291 if (temp8)
6292 delete arg8;
6293 }
6294 return NULL;
6295 }
6296
6297
6298 SWIGINTERN PyObject *_wrap_Frame_SendSizeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6299 PyObject *resultobj = 0;
6300 wxFrame *arg1 = (wxFrame *) 0 ;
6301 void *argp1 = 0 ;
6302 int res1 = 0 ;
6303 PyObject *swig_obj[1] ;
6304
6305 if (!args) SWIG_fail;
6306 swig_obj[0] = args;
6307 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6308 if (!SWIG_IsOK(res1)) {
6309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6310 }
6311 arg1 = reinterpret_cast< wxFrame * >(argp1);
6312 {
6313 PyThreadState* __tstate = wxPyBeginAllowThreads();
6314 (arg1)->SendSizeEvent();
6315 wxPyEndAllowThreads(__tstate);
6316 if (PyErr_Occurred()) SWIG_fail;
6317 }
6318 resultobj = SWIG_Py_Void();
6319 return resultobj;
6320 fail:
6321 return NULL;
6322 }
6323
6324
6325 SWIGINTERN PyObject *_wrap_Frame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6326 PyObject *resultobj = 0;
6327 wxFrame *arg1 = (wxFrame *) 0 ;
6328 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
6329 void *argp1 = 0 ;
6330 int res1 = 0 ;
6331 void *argp2 = 0 ;
6332 int res2 = 0 ;
6333 PyObject * obj0 = 0 ;
6334 PyObject * obj1 = 0 ;
6335 char * kwnames[] = {
6336 (char *) "self",(char *) "menubar", NULL
6337 };
6338
6339 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) 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_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6343 }
6344 arg1 = reinterpret_cast< wxFrame * >(argp1);
6345 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 );
6346 if (!SWIG_IsOK(res2)) {
6347 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6348 }
6349 arg2 = reinterpret_cast< wxMenuBar * >(argp2);
6350 {
6351 PyThreadState* __tstate = wxPyBeginAllowThreads();
6352 (arg1)->SetMenuBar(arg2);
6353 wxPyEndAllowThreads(__tstate);
6354 if (PyErr_Occurred()) SWIG_fail;
6355 }
6356 resultobj = SWIG_Py_Void();
6357 return resultobj;
6358 fail:
6359 return NULL;
6360 }
6361
6362
6363 SWIGINTERN PyObject *_wrap_Frame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6364 PyObject *resultobj = 0;
6365 wxFrame *arg1 = (wxFrame *) 0 ;
6366 wxMenuBar *result = 0 ;
6367 void *argp1 = 0 ;
6368 int res1 = 0 ;
6369 PyObject *swig_obj[1] ;
6370
6371 if (!args) SWIG_fail;
6372 swig_obj[0] = args;
6373 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6374 if (!SWIG_IsOK(res1)) {
6375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6376 }
6377 arg1 = reinterpret_cast< wxFrame * >(argp1);
6378 {
6379 PyThreadState* __tstate = wxPyBeginAllowThreads();
6380 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
6381 wxPyEndAllowThreads(__tstate);
6382 if (PyErr_Occurred()) SWIG_fail;
6383 }
6384 {
6385 resultobj = wxPyMake_wxObject(result, 0);
6386 }
6387 return resultobj;
6388 fail:
6389 return NULL;
6390 }
6391
6392
6393 SWIGINTERN PyObject *_wrap_Frame_ProcessCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6394 PyObject *resultobj = 0;
6395 wxFrame *arg1 = (wxFrame *) 0 ;
6396 int arg2 ;
6397 bool result;
6398 void *argp1 = 0 ;
6399 int res1 = 0 ;
6400 int val2 ;
6401 int ecode2 = 0 ;
6402 PyObject * obj0 = 0 ;
6403 PyObject * obj1 = 0 ;
6404 char * kwnames[] = {
6405 (char *) "self",(char *) "winid", NULL
6406 };
6407
6408 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) SWIG_fail;
6409 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6410 if (!SWIG_IsOK(res1)) {
6411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6412 }
6413 arg1 = reinterpret_cast< wxFrame * >(argp1);
6414 ecode2 = SWIG_AsVal_int(obj1, &val2);
6415 if (!SWIG_IsOK(ecode2)) {
6416 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6417 }
6418 arg2 = static_cast< int >(val2);
6419 {
6420 PyThreadState* __tstate = wxPyBeginAllowThreads();
6421 result = (bool)(arg1)->ProcessCommand(arg2);
6422 wxPyEndAllowThreads(__tstate);
6423 if (PyErr_Occurred()) SWIG_fail;
6424 }
6425 {
6426 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6427 }
6428 return resultobj;
6429 fail:
6430 return NULL;
6431 }
6432
6433
6434 SWIGINTERN PyObject *_wrap_Frame_CreateStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6435 PyObject *resultobj = 0;
6436 wxFrame *arg1 = (wxFrame *) 0 ;
6437 int arg2 = (int) 1 ;
6438 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6439 int arg4 = (int) 0 ;
6440 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6441 wxString *arg5 = (wxString *) &arg5_defvalue ;
6442 wxStatusBar *result = 0 ;
6443 void *argp1 = 0 ;
6444 int res1 = 0 ;
6445 int val2 ;
6446 int ecode2 = 0 ;
6447 long val3 ;
6448 int ecode3 = 0 ;
6449 int val4 ;
6450 int ecode4 = 0 ;
6451 bool temp5 = false ;
6452 PyObject * obj0 = 0 ;
6453 PyObject * obj1 = 0 ;
6454 PyObject * obj2 = 0 ;
6455 PyObject * obj3 = 0 ;
6456 PyObject * obj4 = 0 ;
6457 char * kwnames[] = {
6458 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6459 };
6460
6461 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
6462 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6463 if (!SWIG_IsOK(res1)) {
6464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6465 }
6466 arg1 = reinterpret_cast< wxFrame * >(argp1);
6467 if (obj1) {
6468 ecode2 = SWIG_AsVal_int(obj1, &val2);
6469 if (!SWIG_IsOK(ecode2)) {
6470 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6471 }
6472 arg2 = static_cast< int >(val2);
6473 }
6474 if (obj2) {
6475 ecode3 = SWIG_AsVal_long(obj2, &val3);
6476 if (!SWIG_IsOK(ecode3)) {
6477 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6478 }
6479 arg3 = static_cast< long >(val3);
6480 }
6481 if (obj3) {
6482 ecode4 = SWIG_AsVal_int(obj3, &val4);
6483 if (!SWIG_IsOK(ecode4)) {
6484 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6485 }
6486 arg4 = static_cast< int >(val4);
6487 }
6488 if (obj4) {
6489 {
6490 arg5 = wxString_in_helper(obj4);
6491 if (arg5 == NULL) SWIG_fail;
6492 temp5 = true;
6493 }
6494 }
6495 {
6496 PyThreadState* __tstate = wxPyBeginAllowThreads();
6497 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
6498 wxPyEndAllowThreads(__tstate);
6499 if (PyErr_Occurred()) SWIG_fail;
6500 }
6501 {
6502 resultobj = wxPyMake_wxObject(result, (bool)0);
6503 }
6504 {
6505 if (temp5)
6506 delete arg5;
6507 }
6508 return resultobj;
6509 fail:
6510 {
6511 if (temp5)
6512 delete arg5;
6513 }
6514 return NULL;
6515 }
6516
6517
6518 SWIGINTERN PyObject *_wrap_Frame_GetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6519 PyObject *resultobj = 0;
6520 wxFrame *arg1 = (wxFrame *) 0 ;
6521 wxStatusBar *result = 0 ;
6522 void *argp1 = 0 ;
6523 int res1 = 0 ;
6524 PyObject *swig_obj[1] ;
6525
6526 if (!args) SWIG_fail;
6527 swig_obj[0] = args;
6528 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6529 if (!SWIG_IsOK(res1)) {
6530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6531 }
6532 arg1 = reinterpret_cast< wxFrame * >(argp1);
6533 {
6534 PyThreadState* __tstate = wxPyBeginAllowThreads();
6535 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
6536 wxPyEndAllowThreads(__tstate);
6537 if (PyErr_Occurred()) SWIG_fail;
6538 }
6539 {
6540 resultobj = wxPyMake_wxObject(result, (bool)0);
6541 }
6542 return resultobj;
6543 fail:
6544 return NULL;
6545 }
6546
6547
6548 SWIGINTERN PyObject *_wrap_Frame_SetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6549 PyObject *resultobj = 0;
6550 wxFrame *arg1 = (wxFrame *) 0 ;
6551 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
6552 void *argp1 = 0 ;
6553 int res1 = 0 ;
6554 void *argp2 = 0 ;
6555 int res2 = 0 ;
6556 PyObject * obj0 = 0 ;
6557 PyObject * obj1 = 0 ;
6558 char * kwnames[] = {
6559 (char *) "self",(char *) "statBar", NULL
6560 };
6561
6562 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
6563 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6564 if (!SWIG_IsOK(res1)) {
6565 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6566 }
6567 arg1 = reinterpret_cast< wxFrame * >(argp1);
6568 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxStatusBar, 0 | 0 );
6569 if (!SWIG_IsOK(res2)) {
6570 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6571 }
6572 arg2 = reinterpret_cast< wxStatusBar * >(argp2);
6573 {
6574 PyThreadState* __tstate = wxPyBeginAllowThreads();
6575 (arg1)->SetStatusBar(arg2);
6576 wxPyEndAllowThreads(__tstate);
6577 if (PyErr_Occurred()) SWIG_fail;
6578 }
6579 resultobj = SWIG_Py_Void();
6580 return resultobj;
6581 fail:
6582 return NULL;
6583 }
6584
6585
6586 SWIGINTERN PyObject *_wrap_Frame_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6587 PyObject *resultobj = 0;
6588 wxFrame *arg1 = (wxFrame *) 0 ;
6589 wxString *arg2 = 0 ;
6590 int arg3 = (int) 0 ;
6591 void *argp1 = 0 ;
6592 int res1 = 0 ;
6593 bool temp2 = false ;
6594 int val3 ;
6595 int ecode3 = 0 ;
6596 PyObject * obj0 = 0 ;
6597 PyObject * obj1 = 0 ;
6598 PyObject * obj2 = 0 ;
6599 char * kwnames[] = {
6600 (char *) "self",(char *) "text",(char *) "number", NULL
6601 };
6602
6603 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6604 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6605 if (!SWIG_IsOK(res1)) {
6606 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6607 }
6608 arg1 = reinterpret_cast< wxFrame * >(argp1);
6609 {
6610 arg2 = wxString_in_helper(obj1);
6611 if (arg2 == NULL) SWIG_fail;
6612 temp2 = true;
6613 }
6614 if (obj2) {
6615 ecode3 = SWIG_AsVal_int(obj2, &val3);
6616 if (!SWIG_IsOK(ecode3)) {
6617 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6618 }
6619 arg3 = static_cast< int >(val3);
6620 }
6621 {
6622 PyThreadState* __tstate = wxPyBeginAllowThreads();
6623 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6624 wxPyEndAllowThreads(__tstate);
6625 if (PyErr_Occurred()) SWIG_fail;
6626 }
6627 resultobj = SWIG_Py_Void();
6628 {
6629 if (temp2)
6630 delete arg2;
6631 }
6632 return resultobj;
6633 fail:
6634 {
6635 if (temp2)
6636 delete arg2;
6637 }
6638 return NULL;
6639 }
6640
6641
6642 SWIGINTERN PyObject *_wrap_Frame_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6643 PyObject *resultobj = 0;
6644 wxFrame *arg1 = (wxFrame *) 0 ;
6645 int arg2 ;
6646 int *arg3 = (int *) 0 ;
6647 void *argp1 = 0 ;
6648 int res1 = 0 ;
6649 PyObject * obj0 = 0 ;
6650 PyObject * obj1 = 0 ;
6651 char * kwnames[] = {
6652 (char *) "self",(char *) "widths", NULL
6653 };
6654
6655 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
6656 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6657 if (!SWIG_IsOK(res1)) {
6658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6659 }
6660 arg1 = reinterpret_cast< wxFrame * >(argp1);
6661 {
6662 arg2 = PyList_Size(obj1);
6663 arg3 = int_LIST_helper(obj1);
6664 if (arg3 == NULL) SWIG_fail;
6665 }
6666 {
6667 PyThreadState* __tstate = wxPyBeginAllowThreads();
6668 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
6669 wxPyEndAllowThreads(__tstate);
6670 if (PyErr_Occurred()) SWIG_fail;
6671 }
6672 resultobj = SWIG_Py_Void();
6673 {
6674 if (arg3) delete [] arg3;
6675 }
6676 return resultobj;
6677 fail:
6678 {
6679 if (arg3) delete [] arg3;
6680 }
6681 return NULL;
6682 }
6683
6684
6685 SWIGINTERN PyObject *_wrap_Frame_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6686 PyObject *resultobj = 0;
6687 wxFrame *arg1 = (wxFrame *) 0 ;
6688 wxString *arg2 = 0 ;
6689 int arg3 = (int) 0 ;
6690 void *argp1 = 0 ;
6691 int res1 = 0 ;
6692 bool temp2 = false ;
6693 int val3 ;
6694 int ecode3 = 0 ;
6695 PyObject * obj0 = 0 ;
6696 PyObject * obj1 = 0 ;
6697 PyObject * obj2 = 0 ;
6698 char * kwnames[] = {
6699 (char *) "self",(char *) "text",(char *) "number", NULL
6700 };
6701
6702 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6703 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6704 if (!SWIG_IsOK(res1)) {
6705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6706 }
6707 arg1 = reinterpret_cast< wxFrame * >(argp1);
6708 {
6709 arg2 = wxString_in_helper(obj1);
6710 if (arg2 == NULL) SWIG_fail;
6711 temp2 = true;
6712 }
6713 if (obj2) {
6714 ecode3 = SWIG_AsVal_int(obj2, &val3);
6715 if (!SWIG_IsOK(ecode3)) {
6716 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6717 }
6718 arg3 = static_cast< int >(val3);
6719 }
6720 {
6721 PyThreadState* __tstate = wxPyBeginAllowThreads();
6722 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
6723 wxPyEndAllowThreads(__tstate);
6724 if (PyErr_Occurred()) SWIG_fail;
6725 }
6726 resultobj = SWIG_Py_Void();
6727 {
6728 if (temp2)
6729 delete arg2;
6730 }
6731 return resultobj;
6732 fail:
6733 {
6734 if (temp2)
6735 delete arg2;
6736 }
6737 return NULL;
6738 }
6739
6740
6741 SWIGINTERN PyObject *_wrap_Frame_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6742 PyObject *resultobj = 0;
6743 wxFrame *arg1 = (wxFrame *) 0 ;
6744 int arg2 = (int) 0 ;
6745 void *argp1 = 0 ;
6746 int res1 = 0 ;
6747 int val2 ;
6748 int ecode2 = 0 ;
6749 PyObject * obj0 = 0 ;
6750 PyObject * obj1 = 0 ;
6751 char * kwnames[] = {
6752 (char *) "self",(char *) "number", NULL
6753 };
6754
6755 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
6756 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6757 if (!SWIG_IsOK(res1)) {
6758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6759 }
6760 arg1 = reinterpret_cast< wxFrame * >(argp1);
6761 if (obj1) {
6762 ecode2 = SWIG_AsVal_int(obj1, &val2);
6763 if (!SWIG_IsOK(ecode2)) {
6764 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6765 }
6766 arg2 = static_cast< int >(val2);
6767 }
6768 {
6769 PyThreadState* __tstate = wxPyBeginAllowThreads();
6770 (arg1)->PopStatusText(arg2);
6771 wxPyEndAllowThreads(__tstate);
6772 if (PyErr_Occurred()) SWIG_fail;
6773 }
6774 resultobj = SWIG_Py_Void();
6775 return resultobj;
6776 fail:
6777 return NULL;
6778 }
6779
6780
6781 SWIGINTERN PyObject *_wrap_Frame_SetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6782 PyObject *resultobj = 0;
6783 wxFrame *arg1 = (wxFrame *) 0 ;
6784 int arg2 ;
6785 void *argp1 = 0 ;
6786 int res1 = 0 ;
6787 int val2 ;
6788 int ecode2 = 0 ;
6789 PyObject * obj0 = 0 ;
6790 PyObject * obj1 = 0 ;
6791 char * kwnames[] = {
6792 (char *) "self",(char *) "n", NULL
6793 };
6794
6795 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) SWIG_fail;
6796 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6797 if (!SWIG_IsOK(res1)) {
6798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6799 }
6800 arg1 = reinterpret_cast< wxFrame * >(argp1);
6801 ecode2 = SWIG_AsVal_int(obj1, &val2);
6802 if (!SWIG_IsOK(ecode2)) {
6803 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6804 }
6805 arg2 = static_cast< int >(val2);
6806 {
6807 PyThreadState* __tstate = wxPyBeginAllowThreads();
6808 (arg1)->SetStatusBarPane(arg2);
6809 wxPyEndAllowThreads(__tstate);
6810 if (PyErr_Occurred()) SWIG_fail;
6811 }
6812 resultobj = SWIG_Py_Void();
6813 return resultobj;
6814 fail:
6815 return NULL;
6816 }
6817
6818
6819 SWIGINTERN PyObject *_wrap_Frame_GetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6820 PyObject *resultobj = 0;
6821 wxFrame *arg1 = (wxFrame *) 0 ;
6822 int result;
6823 void *argp1 = 0 ;
6824 int res1 = 0 ;
6825 PyObject *swig_obj[1] ;
6826
6827 if (!args) SWIG_fail;
6828 swig_obj[0] = args;
6829 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6830 if (!SWIG_IsOK(res1)) {
6831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6832 }
6833 arg1 = reinterpret_cast< wxFrame * >(argp1);
6834 {
6835 PyThreadState* __tstate = wxPyBeginAllowThreads();
6836 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
6837 wxPyEndAllowThreads(__tstate);
6838 if (PyErr_Occurred()) SWIG_fail;
6839 }
6840 resultobj = SWIG_From_int(static_cast< int >(result));
6841 return resultobj;
6842 fail:
6843 return NULL;
6844 }
6845
6846
6847 SWIGINTERN PyObject *_wrap_Frame_CreateToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6848 PyObject *resultobj = 0;
6849 wxFrame *arg1 = (wxFrame *) 0 ;
6850 long arg2 = (long) -1 ;
6851 int arg3 = (int) -1 ;
6852 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
6853 wxString *arg4 = (wxString *) &arg4_defvalue ;
6854 wxToolBar *result = 0 ;
6855 void *argp1 = 0 ;
6856 int res1 = 0 ;
6857 long val2 ;
6858 int ecode2 = 0 ;
6859 int val3 ;
6860 int ecode3 = 0 ;
6861 bool temp4 = false ;
6862 PyObject * obj0 = 0 ;
6863 PyObject * obj1 = 0 ;
6864 PyObject * obj2 = 0 ;
6865 PyObject * obj3 = 0 ;
6866 char * kwnames[] = {
6867 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
6868 };
6869
6870 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
6871 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6872 if (!SWIG_IsOK(res1)) {
6873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6874 }
6875 arg1 = reinterpret_cast< wxFrame * >(argp1);
6876 if (obj1) {
6877 ecode2 = SWIG_AsVal_long(obj1, &val2);
6878 if (!SWIG_IsOK(ecode2)) {
6879 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
6880 }
6881 arg2 = static_cast< long >(val2);
6882 }
6883 if (obj2) {
6884 ecode3 = SWIG_AsVal_int(obj2, &val3);
6885 if (!SWIG_IsOK(ecode3)) {
6886 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
6887 }
6888 arg3 = static_cast< int >(val3);
6889 }
6890 if (obj3) {
6891 {
6892 arg4 = wxString_in_helper(obj3);
6893 if (arg4 == NULL) SWIG_fail;
6894 temp4 = true;
6895 }
6896 }
6897 {
6898 PyThreadState* __tstate = wxPyBeginAllowThreads();
6899 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
6900 wxPyEndAllowThreads(__tstate);
6901 if (PyErr_Occurred()) SWIG_fail;
6902 }
6903 {
6904 resultobj = wxPyMake_wxObject(result, (bool)0);
6905 }
6906 {
6907 if (temp4)
6908 delete arg4;
6909 }
6910 return resultobj;
6911 fail:
6912 {
6913 if (temp4)
6914 delete arg4;
6915 }
6916 return NULL;
6917 }
6918
6919
6920 SWIGINTERN PyObject *_wrap_Frame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6921 PyObject *resultobj = 0;
6922 wxFrame *arg1 = (wxFrame *) 0 ;
6923 wxToolBar *result = 0 ;
6924 void *argp1 = 0 ;
6925 int res1 = 0 ;
6926 PyObject *swig_obj[1] ;
6927
6928 if (!args) SWIG_fail;
6929 swig_obj[0] = args;
6930 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6931 if (!SWIG_IsOK(res1)) {
6932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6933 }
6934 arg1 = reinterpret_cast< wxFrame * >(argp1);
6935 {
6936 PyThreadState* __tstate = wxPyBeginAllowThreads();
6937 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
6938 wxPyEndAllowThreads(__tstate);
6939 if (PyErr_Occurred()) SWIG_fail;
6940 }
6941 {
6942 resultobj = wxPyMake_wxObject(result, (bool)0);
6943 }
6944 return resultobj;
6945 fail:
6946 return NULL;
6947 }
6948
6949
6950 SWIGINTERN PyObject *_wrap_Frame_SetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6951 PyObject *resultobj = 0;
6952 wxFrame *arg1 = (wxFrame *) 0 ;
6953 wxToolBar *arg2 = (wxToolBar *) 0 ;
6954 void *argp1 = 0 ;
6955 int res1 = 0 ;
6956 void *argp2 = 0 ;
6957 int res2 = 0 ;
6958 PyObject * obj0 = 0 ;
6959 PyObject * obj1 = 0 ;
6960 char * kwnames[] = {
6961 (char *) "self",(char *) "toolbar", NULL
6962 };
6963
6964 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) SWIG_fail;
6965 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6966 if (!SWIG_IsOK(res1)) {
6967 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6968 }
6969 arg1 = reinterpret_cast< wxFrame * >(argp1);
6970 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBar, 0 | 0 );
6971 if (!SWIG_IsOK(res2)) {
6972 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
6973 }
6974 arg2 = reinterpret_cast< wxToolBar * >(argp2);
6975 {
6976 PyThreadState* __tstate = wxPyBeginAllowThreads();
6977 (arg1)->SetToolBar(arg2);
6978 wxPyEndAllowThreads(__tstate);
6979 if (PyErr_Occurred()) SWIG_fail;
6980 }
6981 resultobj = SWIG_Py_Void();
6982 return resultobj;
6983 fail:
6984 return NULL;
6985 }
6986
6987
6988 SWIGINTERN PyObject *_wrap_Frame_DoGiveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6989 PyObject *resultobj = 0;
6990 wxFrame *arg1 = (wxFrame *) 0 ;
6991 wxString *arg2 = 0 ;
6992 bool arg3 ;
6993 void *argp1 = 0 ;
6994 int res1 = 0 ;
6995 bool temp2 = false ;
6996 bool val3 ;
6997 int ecode3 = 0 ;
6998 PyObject * obj0 = 0 ;
6999 PyObject * obj1 = 0 ;
7000 PyObject * obj2 = 0 ;
7001 char * kwnames[] = {
7002 (char *) "self",(char *) "text",(char *) "show", NULL
7003 };
7004
7005 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7006 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7007 if (!SWIG_IsOK(res1)) {
7008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7009 }
7010 arg1 = reinterpret_cast< wxFrame * >(argp1);
7011 {
7012 arg2 = wxString_in_helper(obj1);
7013 if (arg2 == NULL) SWIG_fail;
7014 temp2 = true;
7015 }
7016 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7017 if (!SWIG_IsOK(ecode3)) {
7018 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7019 }
7020 arg3 = static_cast< bool >(val3);
7021 {
7022 PyThreadState* __tstate = wxPyBeginAllowThreads();
7023 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
7024 wxPyEndAllowThreads(__tstate);
7025 if (PyErr_Occurred()) SWIG_fail;
7026 }
7027 resultobj = SWIG_Py_Void();
7028 {
7029 if (temp2)
7030 delete arg2;
7031 }
7032 return resultobj;
7033 fail:
7034 {
7035 if (temp2)
7036 delete arg2;
7037 }
7038 return NULL;
7039 }
7040
7041
7042 SWIGINTERN PyObject *_wrap_Frame_DoMenuUpdates(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7043 PyObject *resultobj = 0;
7044 wxFrame *arg1 = (wxFrame *) 0 ;
7045 wxMenu *arg2 = (wxMenu *) NULL ;
7046 void *argp1 = 0 ;
7047 int res1 = 0 ;
7048 void *argp2 = 0 ;
7049 int res2 = 0 ;
7050 PyObject * obj0 = 0 ;
7051 PyObject * obj1 = 0 ;
7052 char * kwnames[] = {
7053 (char *) "self",(char *) "menu", NULL
7054 };
7055
7056 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) SWIG_fail;
7057 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7058 if (!SWIG_IsOK(res1)) {
7059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7060 }
7061 arg1 = reinterpret_cast< wxFrame * >(argp1);
7062 if (obj1) {
7063 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
7064 if (!SWIG_IsOK(res2)) {
7065 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7066 }
7067 arg2 = reinterpret_cast< wxMenu * >(argp2);
7068 }
7069 {
7070 PyThreadState* __tstate = wxPyBeginAllowThreads();
7071 (arg1)->DoMenuUpdates(arg2);
7072 wxPyEndAllowThreads(__tstate);
7073 if (PyErr_Occurred()) SWIG_fail;
7074 }
7075 resultobj = SWIG_Py_Void();
7076 return resultobj;
7077 fail:
7078 return NULL;
7079 }
7080
7081
7082 SWIGINTERN PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7083 PyObject *resultobj = 0;
7084 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7085 SwigValueWrapper<wxVisualAttributes > result;
7086 int val1 ;
7087 int ecode1 = 0 ;
7088 PyObject * obj0 = 0 ;
7089 char * kwnames[] = {
7090 (char *) "variant", NULL
7091 };
7092
7093 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7094 if (obj0) {
7095 ecode1 = SWIG_AsVal_int(obj0, &val1);
7096 if (!SWIG_IsOK(ecode1)) {
7097 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7098 }
7099 arg1 = static_cast< wxWindowVariant >(val1);
7100 }
7101 {
7102 if (!wxPyCheckForApp()) SWIG_fail;
7103 PyThreadState* __tstate = wxPyBeginAllowThreads();
7104 result = wxFrame::GetClassDefaultAttributes(arg1);
7105 wxPyEndAllowThreads(__tstate);
7106 if (PyErr_Occurred()) SWIG_fail;
7107 }
7108 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7109 return resultobj;
7110 fail:
7111 return NULL;
7112 }
7113
7114
7115 SWIGINTERN PyObject *Frame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7116 PyObject *obj;
7117 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7118 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame, SWIG_NewClientData(obj));
7119 return SWIG_Py_Void();
7120 }
7121
7122 SWIGINTERN PyObject *Frame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7123 return SWIG_Python_InitShadowInstance(args);
7124 }
7125
7126 SWIGINTERN PyObject *_wrap_new_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7127 PyObject *resultobj = 0;
7128 wxWindow *arg1 = (wxWindow *) 0 ;
7129 int arg2 = (int) (int)-1 ;
7130 wxString const &arg3_defvalue = wxPyEmptyString ;
7131 wxString *arg3 = (wxString *) &arg3_defvalue ;
7132 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7133 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7134 wxSize const &arg5_defvalue = wxDefaultSize ;
7135 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7136 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
7137 wxString const &arg7_defvalue = wxPyDialogNameStr ;
7138 wxString *arg7 = (wxString *) &arg7_defvalue ;
7139 wxDialog *result = 0 ;
7140 void *argp1 = 0 ;
7141 int res1 = 0 ;
7142 int val2 ;
7143 int ecode2 = 0 ;
7144 bool temp3 = false ;
7145 wxPoint temp4 ;
7146 wxSize temp5 ;
7147 long val6 ;
7148 int ecode6 = 0 ;
7149 bool temp7 = false ;
7150 PyObject * obj0 = 0 ;
7151 PyObject * obj1 = 0 ;
7152 PyObject * obj2 = 0 ;
7153 PyObject * obj3 = 0 ;
7154 PyObject * obj4 = 0 ;
7155 PyObject * obj5 = 0 ;
7156 PyObject * obj6 = 0 ;
7157 char * kwnames[] = {
7158 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7159 };
7160
7161 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7162 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7163 if (!SWIG_IsOK(res1)) {
7164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7165 }
7166 arg1 = reinterpret_cast< wxWindow * >(argp1);
7167 if (obj1) {
7168 ecode2 = SWIG_AsVal_int(obj1, &val2);
7169 if (!SWIG_IsOK(ecode2)) {
7170 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7171 }
7172 arg2 = static_cast< int >(val2);
7173 }
7174 if (obj2) {
7175 {
7176 arg3 = wxString_in_helper(obj2);
7177 if (arg3 == NULL) SWIG_fail;
7178 temp3 = true;
7179 }
7180 }
7181 if (obj3) {
7182 {
7183 arg4 = &temp4;
7184 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7185 }
7186 }
7187 if (obj4) {
7188 {
7189 arg5 = &temp5;
7190 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7191 }
7192 }
7193 if (obj5) {
7194 ecode6 = SWIG_AsVal_long(obj5, &val6);
7195 if (!SWIG_IsOK(ecode6)) {
7196 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7197 }
7198 arg6 = static_cast< long >(val6);
7199 }
7200 if (obj6) {
7201 {
7202 arg7 = wxString_in_helper(obj6);
7203 if (arg7 == NULL) SWIG_fail;
7204 temp7 = true;
7205 }
7206 }
7207 {
7208 if (!wxPyCheckForApp()) SWIG_fail;
7209 PyThreadState* __tstate = wxPyBeginAllowThreads();
7210 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7211 wxPyEndAllowThreads(__tstate);
7212 if (PyErr_Occurred()) SWIG_fail;
7213 }
7214 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_NEW | 0 );
7215 {
7216 if (temp3)
7217 delete arg3;
7218 }
7219 {
7220 if (temp7)
7221 delete arg7;
7222 }
7223 return resultobj;
7224 fail:
7225 {
7226 if (temp3)
7227 delete arg3;
7228 }
7229 {
7230 if (temp7)
7231 delete arg7;
7232 }
7233 return NULL;
7234 }
7235
7236
7237 SWIGINTERN PyObject *_wrap_new_PreDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7238 PyObject *resultobj = 0;
7239 wxDialog *result = 0 ;
7240
7241 if (!SWIG_Python_UnpackTuple(args,"new_PreDialog",0,0,0)) SWIG_fail;
7242 {
7243 if (!wxPyCheckForApp()) SWIG_fail;
7244 PyThreadState* __tstate = wxPyBeginAllowThreads();
7245 result = (wxDialog *)new wxDialog();
7246 wxPyEndAllowThreads(__tstate);
7247 if (PyErr_Occurred()) SWIG_fail;
7248 }
7249 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_OWN | 0 );
7250 return resultobj;
7251 fail:
7252 return NULL;
7253 }
7254
7255
7256 SWIGINTERN PyObject *_wrap_Dialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7257 PyObject *resultobj = 0;
7258 wxDialog *arg1 = (wxDialog *) 0 ;
7259 wxWindow *arg2 = (wxWindow *) 0 ;
7260 int arg3 = (int) (int)-1 ;
7261 wxString const &arg4_defvalue = wxPyEmptyString ;
7262 wxString *arg4 = (wxString *) &arg4_defvalue ;
7263 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7264 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7265 wxSize const &arg6_defvalue = wxDefaultSize ;
7266 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7267 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
7268 wxString const &arg8_defvalue = wxPyDialogNameStr ;
7269 wxString *arg8 = (wxString *) &arg8_defvalue ;
7270 bool result;
7271 void *argp1 = 0 ;
7272 int res1 = 0 ;
7273 void *argp2 = 0 ;
7274 int res2 = 0 ;
7275 int val3 ;
7276 int ecode3 = 0 ;
7277 bool temp4 = false ;
7278 wxPoint temp5 ;
7279 wxSize temp6 ;
7280 long val7 ;
7281 int ecode7 = 0 ;
7282 bool temp8 = false ;
7283 PyObject * obj0 = 0 ;
7284 PyObject * obj1 = 0 ;
7285 PyObject * obj2 = 0 ;
7286 PyObject * obj3 = 0 ;
7287 PyObject * obj4 = 0 ;
7288 PyObject * obj5 = 0 ;
7289 PyObject * obj6 = 0 ;
7290 PyObject * obj7 = 0 ;
7291 char * kwnames[] = {
7292 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7293 };
7294
7295 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7296 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7297 if (!SWIG_IsOK(res1)) {
7298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7299 }
7300 arg1 = reinterpret_cast< wxDialog * >(argp1);
7301 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7302 if (!SWIG_IsOK(res2)) {
7303 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7304 }
7305 arg2 = reinterpret_cast< wxWindow * >(argp2);
7306 if (obj2) {
7307 ecode3 = SWIG_AsVal_int(obj2, &val3);
7308 if (!SWIG_IsOK(ecode3)) {
7309 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7310 }
7311 arg3 = static_cast< int >(val3);
7312 }
7313 if (obj3) {
7314 {
7315 arg4 = wxString_in_helper(obj3);
7316 if (arg4 == NULL) SWIG_fail;
7317 temp4 = true;
7318 }
7319 }
7320 if (obj4) {
7321 {
7322 arg5 = &temp5;
7323 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7324 }
7325 }
7326 if (obj5) {
7327 {
7328 arg6 = &temp6;
7329 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7330 }
7331 }
7332 if (obj6) {
7333 ecode7 = SWIG_AsVal_long(obj6, &val7);
7334 if (!SWIG_IsOK(ecode7)) {
7335 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7336 }
7337 arg7 = static_cast< long >(val7);
7338 }
7339 if (obj7) {
7340 {
7341 arg8 = wxString_in_helper(obj7);
7342 if (arg8 == NULL) SWIG_fail;
7343 temp8 = true;
7344 }
7345 }
7346 {
7347 PyThreadState* __tstate = wxPyBeginAllowThreads();
7348 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7349 wxPyEndAllowThreads(__tstate);
7350 if (PyErr_Occurred()) SWIG_fail;
7351 }
7352 {
7353 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7354 }
7355 {
7356 if (temp4)
7357 delete arg4;
7358 }
7359 {
7360 if (temp8)
7361 delete arg8;
7362 }
7363 return resultobj;
7364 fail:
7365 {
7366 if (temp4)
7367 delete arg4;
7368 }
7369 {
7370 if (temp8)
7371 delete arg8;
7372 }
7373 return NULL;
7374 }
7375
7376
7377 SWIGINTERN PyObject *_wrap_Dialog_SetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7378 PyObject *resultobj = 0;
7379 wxDialog *arg1 = (wxDialog *) 0 ;
7380 int arg2 ;
7381 void *argp1 = 0 ;
7382 int res1 = 0 ;
7383 int val2 ;
7384 int ecode2 = 0 ;
7385 PyObject * obj0 = 0 ;
7386 PyObject * obj1 = 0 ;
7387 char * kwnames[] = {
7388 (char *) "self",(char *) "returnCode", NULL
7389 };
7390
7391 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) SWIG_fail;
7392 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7393 if (!SWIG_IsOK(res1)) {
7394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7395 }
7396 arg1 = reinterpret_cast< wxDialog * >(argp1);
7397 ecode2 = SWIG_AsVal_int(obj1, &val2);
7398 if (!SWIG_IsOK(ecode2)) {
7399 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7400 }
7401 arg2 = static_cast< int >(val2);
7402 {
7403 PyThreadState* __tstate = wxPyBeginAllowThreads();
7404 (arg1)->SetReturnCode(arg2);
7405 wxPyEndAllowThreads(__tstate);
7406 if (PyErr_Occurred()) SWIG_fail;
7407 }
7408 resultobj = SWIG_Py_Void();
7409 return resultobj;
7410 fail:
7411 return NULL;
7412 }
7413
7414
7415 SWIGINTERN PyObject *_wrap_Dialog_GetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7416 PyObject *resultobj = 0;
7417 wxDialog *arg1 = (wxDialog *) 0 ;
7418 int result;
7419 void *argp1 = 0 ;
7420 int res1 = 0 ;
7421 PyObject *swig_obj[1] ;
7422
7423 if (!args) SWIG_fail;
7424 swig_obj[0] = args;
7425 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7426 if (!SWIG_IsOK(res1)) {
7427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7428 }
7429 arg1 = reinterpret_cast< wxDialog * >(argp1);
7430 {
7431 PyThreadState* __tstate = wxPyBeginAllowThreads();
7432 result = (int)((wxDialog const *)arg1)->GetReturnCode();
7433 wxPyEndAllowThreads(__tstate);
7434 if (PyErr_Occurred()) SWIG_fail;
7435 }
7436 resultobj = SWIG_From_int(static_cast< int >(result));
7437 return resultobj;
7438 fail:
7439 return NULL;
7440 }
7441
7442
7443 SWIGINTERN PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7444 PyObject *resultobj = 0;
7445 wxDialog *arg1 = (wxDialog *) 0 ;
7446 int arg2 ;
7447 void *argp1 = 0 ;
7448 int res1 = 0 ;
7449 int val2 ;
7450 int ecode2 = 0 ;
7451 PyObject * obj0 = 0 ;
7452 PyObject * obj1 = 0 ;
7453 char * kwnames[] = {
7454 (char *) "self",(char *) "affirmativeId", NULL
7455 };
7456
7457 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) SWIG_fail;
7458 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7459 if (!SWIG_IsOK(res1)) {
7460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7461 }
7462 arg1 = reinterpret_cast< wxDialog * >(argp1);
7463 ecode2 = SWIG_AsVal_int(obj1, &val2);
7464 if (!SWIG_IsOK(ecode2)) {
7465 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7466 }
7467 arg2 = static_cast< int >(val2);
7468 {
7469 PyThreadState* __tstate = wxPyBeginAllowThreads();
7470 (arg1)->SetAffirmativeId(arg2);
7471 wxPyEndAllowThreads(__tstate);
7472 if (PyErr_Occurred()) SWIG_fail;
7473 }
7474 resultobj = SWIG_Py_Void();
7475 return resultobj;
7476 fail:
7477 return NULL;
7478 }
7479
7480
7481 SWIGINTERN PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7482 PyObject *resultobj = 0;
7483 wxDialog *arg1 = (wxDialog *) 0 ;
7484 int result;
7485 void *argp1 = 0 ;
7486 int res1 = 0 ;
7487 PyObject *swig_obj[1] ;
7488
7489 if (!args) SWIG_fail;
7490 swig_obj[0] = args;
7491 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7492 if (!SWIG_IsOK(res1)) {
7493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7494 }
7495 arg1 = reinterpret_cast< wxDialog * >(argp1);
7496 {
7497 PyThreadState* __tstate = wxPyBeginAllowThreads();
7498 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
7499 wxPyEndAllowThreads(__tstate);
7500 if (PyErr_Occurred()) SWIG_fail;
7501 }
7502 resultobj = SWIG_From_int(static_cast< int >(result));
7503 return resultobj;
7504 fail:
7505 return NULL;
7506 }
7507
7508
7509 SWIGINTERN PyObject *_wrap_Dialog_SetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7510 PyObject *resultobj = 0;
7511 wxDialog *arg1 = (wxDialog *) 0 ;
7512 int arg2 ;
7513 void *argp1 = 0 ;
7514 int res1 = 0 ;
7515 int val2 ;
7516 int ecode2 = 0 ;
7517 PyObject * obj0 = 0 ;
7518 PyObject * obj1 = 0 ;
7519 char * kwnames[] = {
7520 (char *) "self",(char *) "escapeId", NULL
7521 };
7522
7523 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) SWIG_fail;
7524 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7525 if (!SWIG_IsOK(res1)) {
7526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7527 }
7528 arg1 = reinterpret_cast< wxDialog * >(argp1);
7529 ecode2 = SWIG_AsVal_int(obj1, &val2);
7530 if (!SWIG_IsOK(ecode2)) {
7531 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7532 }
7533 arg2 = static_cast< int >(val2);
7534 {
7535 PyThreadState* __tstate = wxPyBeginAllowThreads();
7536 (arg1)->SetEscapeId(arg2);
7537 wxPyEndAllowThreads(__tstate);
7538 if (PyErr_Occurred()) SWIG_fail;
7539 }
7540 resultobj = SWIG_Py_Void();
7541 return resultobj;
7542 fail:
7543 return NULL;
7544 }
7545
7546
7547 SWIGINTERN PyObject *_wrap_Dialog_GetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7548 PyObject *resultobj = 0;
7549 wxDialog *arg1 = (wxDialog *) 0 ;
7550 int result;
7551 void *argp1 = 0 ;
7552 int res1 = 0 ;
7553 PyObject *swig_obj[1] ;
7554
7555 if (!args) SWIG_fail;
7556 swig_obj[0] = args;
7557 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7558 if (!SWIG_IsOK(res1)) {
7559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7560 }
7561 arg1 = reinterpret_cast< wxDialog * >(argp1);
7562 {
7563 PyThreadState* __tstate = wxPyBeginAllowThreads();
7564 result = (int)((wxDialog const *)arg1)->GetEscapeId();
7565 wxPyEndAllowThreads(__tstate);
7566 if (PyErr_Occurred()) SWIG_fail;
7567 }
7568 resultobj = SWIG_From_int(static_cast< int >(result));
7569 return resultobj;
7570 fail:
7571 return NULL;
7572 }
7573
7574
7575 SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7576 PyObject *resultobj = 0;
7577 wxDialog *arg1 = (wxDialog *) 0 ;
7578 wxString *arg2 = 0 ;
7579 wxSizer *result = 0 ;
7580 void *argp1 = 0 ;
7581 int res1 = 0 ;
7582 bool temp2 = false ;
7583 PyObject * obj0 = 0 ;
7584 PyObject * obj1 = 0 ;
7585 char * kwnames[] = {
7586 (char *) "self",(char *) "message", NULL
7587 };
7588
7589 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7590 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7591 if (!SWIG_IsOK(res1)) {
7592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7593 }
7594 arg1 = reinterpret_cast< wxDialog * >(argp1);
7595 {
7596 arg2 = wxString_in_helper(obj1);
7597 if (arg2 == NULL) SWIG_fail;
7598 temp2 = true;
7599 }
7600 {
7601 PyThreadState* __tstate = wxPyBeginAllowThreads();
7602 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
7603 wxPyEndAllowThreads(__tstate);
7604 if (PyErr_Occurred()) SWIG_fail;
7605 }
7606 {
7607 resultobj = wxPyMake_wxObject(result, (bool)0);
7608 }
7609 {
7610 if (temp2)
7611 delete arg2;
7612 }
7613 return resultobj;
7614 fail:
7615 {
7616 if (temp2)
7617 delete arg2;
7618 }
7619 return NULL;
7620 }
7621
7622
7623 SWIGINTERN PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7624 PyObject *resultobj = 0;
7625 wxDialog *arg1 = (wxDialog *) 0 ;
7626 long arg2 ;
7627 bool arg3 = (bool) false ;
7628 int arg4 = (int) 0 ;
7629 wxSizer *result = 0 ;
7630 void *argp1 = 0 ;
7631 int res1 = 0 ;
7632 long val2 ;
7633 int ecode2 = 0 ;
7634 bool val3 ;
7635 int ecode3 = 0 ;
7636 int val4 ;
7637 int ecode4 = 0 ;
7638 PyObject * obj0 = 0 ;
7639 PyObject * obj1 = 0 ;
7640 PyObject * obj2 = 0 ;
7641 PyObject * obj3 = 0 ;
7642 char * kwnames[] = {
7643 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7644 };
7645
7646 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) 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_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7650 }
7651 arg1 = reinterpret_cast< wxDialog * >(argp1);
7652 ecode2 = SWIG_AsVal_long(obj1, &val2);
7653 if (!SWIG_IsOK(ecode2)) {
7654 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7655 }
7656 arg2 = static_cast< long >(val2);
7657 if (obj2) {
7658 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7659 if (!SWIG_IsOK(ecode3)) {
7660 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7661 }
7662 arg3 = static_cast< bool >(val3);
7663 }
7664 if (obj3) {
7665 ecode4 = SWIG_AsVal_int(obj3, &val4);
7666 if (!SWIG_IsOK(ecode4)) {
7667 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7668 }
7669 arg4 = static_cast< int >(val4);
7670 }
7671 {
7672 PyThreadState* __tstate = wxPyBeginAllowThreads();
7673 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2,arg3,arg4);
7674 wxPyEndAllowThreads(__tstate);
7675 if (PyErr_Occurred()) SWIG_fail;
7676 }
7677 {
7678 resultobj = wxPyMake_wxObject(result, (bool)0);
7679 }
7680 return resultobj;
7681 fail:
7682 return NULL;
7683 }
7684
7685
7686 SWIGINTERN PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7687 PyObject *resultobj = 0;
7688 wxDialog *arg1 = (wxDialog *) 0 ;
7689 long arg2 ;
7690 wxStdDialogButtonSizer *result = 0 ;
7691 void *argp1 = 0 ;
7692 int res1 = 0 ;
7693 long val2 ;
7694 int ecode2 = 0 ;
7695 PyObject * obj0 = 0 ;
7696 PyObject * obj1 = 0 ;
7697 char * kwnames[] = {
7698 (char *) "self",(char *) "flags", NULL
7699 };
7700
7701 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7702 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7703 if (!SWIG_IsOK(res1)) {
7704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7705 }
7706 arg1 = reinterpret_cast< wxDialog * >(argp1);
7707 ecode2 = SWIG_AsVal_long(obj1, &val2);
7708 if (!SWIG_IsOK(ecode2)) {
7709 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7710 }
7711 arg2 = static_cast< long >(val2);
7712 {
7713 PyThreadState* __tstate = wxPyBeginAllowThreads();
7714 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
7715 wxPyEndAllowThreads(__tstate);
7716 if (PyErr_Occurred()) SWIG_fail;
7717 }
7718 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0 | 0 );
7719 return resultobj;
7720 fail:
7721 return NULL;
7722 }
7723
7724
7725 SWIGINTERN PyObject *_wrap_Dialog_IsModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7726 PyObject *resultobj = 0;
7727 wxDialog *arg1 = (wxDialog *) 0 ;
7728 bool result;
7729 void *argp1 = 0 ;
7730 int res1 = 0 ;
7731 PyObject *swig_obj[1] ;
7732
7733 if (!args) SWIG_fail;
7734 swig_obj[0] = args;
7735 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7736 if (!SWIG_IsOK(res1)) {
7737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7738 }
7739 arg1 = reinterpret_cast< wxDialog * >(argp1);
7740 {
7741 PyThreadState* __tstate = wxPyBeginAllowThreads();
7742 result = (bool)((wxDialog const *)arg1)->IsModal();
7743 wxPyEndAllowThreads(__tstate);
7744 if (PyErr_Occurred()) SWIG_fail;
7745 }
7746 {
7747 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7748 }
7749 return resultobj;
7750 fail:
7751 return NULL;
7752 }
7753
7754
7755 SWIGINTERN PyObject *_wrap_Dialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7756 PyObject *resultobj = 0;
7757 wxDialog *arg1 = (wxDialog *) 0 ;
7758 int result;
7759 void *argp1 = 0 ;
7760 int res1 = 0 ;
7761 PyObject *swig_obj[1] ;
7762
7763 if (!args) SWIG_fail;
7764 swig_obj[0] = args;
7765 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7766 if (!SWIG_IsOK(res1)) {
7767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7768 }
7769 arg1 = reinterpret_cast< wxDialog * >(argp1);
7770 {
7771 PyThreadState* __tstate = wxPyBeginAllowThreads();
7772 result = (int)(arg1)->ShowModal();
7773 wxPyEndAllowThreads(__tstate);
7774 if (PyErr_Occurred()) SWIG_fail;
7775 }
7776 resultobj = SWIG_From_int(static_cast< int >(result));
7777 return resultobj;
7778 fail:
7779 return NULL;
7780 }
7781
7782
7783 SWIGINTERN PyObject *_wrap_Dialog_EndModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7784 PyObject *resultobj = 0;
7785 wxDialog *arg1 = (wxDialog *) 0 ;
7786 int arg2 ;
7787 void *argp1 = 0 ;
7788 int res1 = 0 ;
7789 int val2 ;
7790 int ecode2 = 0 ;
7791 PyObject * obj0 = 0 ;
7792 PyObject * obj1 = 0 ;
7793 char * kwnames[] = {
7794 (char *) "self",(char *) "retCode", NULL
7795 };
7796
7797 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) SWIG_fail;
7798 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7799 if (!SWIG_IsOK(res1)) {
7800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7801 }
7802 arg1 = reinterpret_cast< wxDialog * >(argp1);
7803 ecode2 = SWIG_AsVal_int(obj1, &val2);
7804 if (!SWIG_IsOK(ecode2)) {
7805 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7806 }
7807 arg2 = static_cast< int >(val2);
7808 {
7809 PyThreadState* __tstate = wxPyBeginAllowThreads();
7810 (arg1)->EndModal(arg2);
7811 wxPyEndAllowThreads(__tstate);
7812 if (PyErr_Occurred()) SWIG_fail;
7813 }
7814 resultobj = SWIG_Py_Void();
7815 return resultobj;
7816 fail:
7817 return NULL;
7818 }
7819
7820
7821 SWIGINTERN PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7822 PyObject *resultobj = 0;
7823 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7824 SwigValueWrapper<wxVisualAttributes > result;
7825 int val1 ;
7826 int ecode1 = 0 ;
7827 PyObject * obj0 = 0 ;
7828 char * kwnames[] = {
7829 (char *) "variant", NULL
7830 };
7831
7832 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7833 if (obj0) {
7834 ecode1 = SWIG_AsVal_int(obj0, &val1);
7835 if (!SWIG_IsOK(ecode1)) {
7836 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7837 }
7838 arg1 = static_cast< wxWindowVariant >(val1);
7839 }
7840 {
7841 if (!wxPyCheckForApp()) SWIG_fail;
7842 PyThreadState* __tstate = wxPyBeginAllowThreads();
7843 result = wxDialog::GetClassDefaultAttributes(arg1);
7844 wxPyEndAllowThreads(__tstate);
7845 if (PyErr_Occurred()) SWIG_fail;
7846 }
7847 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7848 return resultobj;
7849 fail:
7850 return NULL;
7851 }
7852
7853
7854 SWIGINTERN PyObject *Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7855 PyObject *obj;
7856 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7857 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog, SWIG_NewClientData(obj));
7858 return SWIG_Py_Void();
7859 }
7860
7861 SWIGINTERN PyObject *Dialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7862 return SWIG_Python_InitShadowInstance(args);
7863 }
7864
7865 SWIGINTERN PyObject *_wrap_new_MiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7866 PyObject *resultobj = 0;
7867 wxWindow *arg1 = (wxWindow *) 0 ;
7868 int arg2 = (int) (int)-1 ;
7869 wxString const &arg3_defvalue = wxPyEmptyString ;
7870 wxString *arg3 = (wxString *) &arg3_defvalue ;
7871 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7872 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7873 wxSize const &arg5_defvalue = wxDefaultSize ;
7874 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7875 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
7876 wxString const &arg7_defvalue = wxPyFrameNameStr ;
7877 wxString *arg7 = (wxString *) &arg7_defvalue ;
7878 wxMiniFrame *result = 0 ;
7879 void *argp1 = 0 ;
7880 int res1 = 0 ;
7881 int val2 ;
7882 int ecode2 = 0 ;
7883 bool temp3 = false ;
7884 wxPoint temp4 ;
7885 wxSize temp5 ;
7886 long val6 ;
7887 int ecode6 = 0 ;
7888 bool temp7 = false ;
7889 PyObject * obj0 = 0 ;
7890 PyObject * obj1 = 0 ;
7891 PyObject * obj2 = 0 ;
7892 PyObject * obj3 = 0 ;
7893 PyObject * obj4 = 0 ;
7894 PyObject * obj5 = 0 ;
7895 PyObject * obj6 = 0 ;
7896 char * kwnames[] = {
7897 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7898 };
7899
7900 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7901 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7902 if (!SWIG_IsOK(res1)) {
7903 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
7904 }
7905 arg1 = reinterpret_cast< wxWindow * >(argp1);
7906 if (obj1) {
7907 ecode2 = SWIG_AsVal_int(obj1, &val2);
7908 if (!SWIG_IsOK(ecode2)) {
7909 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
7910 }
7911 arg2 = static_cast< int >(val2);
7912 }
7913 if (obj2) {
7914 {
7915 arg3 = wxString_in_helper(obj2);
7916 if (arg3 == NULL) SWIG_fail;
7917 temp3 = true;
7918 }
7919 }
7920 if (obj3) {
7921 {
7922 arg4 = &temp4;
7923 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7924 }
7925 }
7926 if (obj4) {
7927 {
7928 arg5 = &temp5;
7929 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7930 }
7931 }
7932 if (obj5) {
7933 ecode6 = SWIG_AsVal_long(obj5, &val6);
7934 if (!SWIG_IsOK(ecode6)) {
7935 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
7936 }
7937 arg6 = static_cast< long >(val6);
7938 }
7939 if (obj6) {
7940 {
7941 arg7 = wxString_in_helper(obj6);
7942 if (arg7 == NULL) SWIG_fail;
7943 temp7 = true;
7944 }
7945 }
7946 {
7947 if (!wxPyCheckForApp()) SWIG_fail;
7948 PyThreadState* __tstate = wxPyBeginAllowThreads();
7949 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7950 wxPyEndAllowThreads(__tstate);
7951 if (PyErr_Occurred()) SWIG_fail;
7952 }
7953 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_NEW | 0 );
7954 {
7955 if (temp3)
7956 delete arg3;
7957 }
7958 {
7959 if (temp7)
7960 delete arg7;
7961 }
7962 return resultobj;
7963 fail:
7964 {
7965 if (temp3)
7966 delete arg3;
7967 }
7968 {
7969 if (temp7)
7970 delete arg7;
7971 }
7972 return NULL;
7973 }
7974
7975
7976 SWIGINTERN PyObject *_wrap_new_PreMiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7977 PyObject *resultobj = 0;
7978 wxMiniFrame *result = 0 ;
7979
7980 if (!SWIG_Python_UnpackTuple(args,"new_PreMiniFrame",0,0,0)) SWIG_fail;
7981 {
7982 if (!wxPyCheckForApp()) SWIG_fail;
7983 PyThreadState* __tstate = wxPyBeginAllowThreads();
7984 result = (wxMiniFrame *)new wxMiniFrame();
7985 wxPyEndAllowThreads(__tstate);
7986 if (PyErr_Occurred()) SWIG_fail;
7987 }
7988 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_OWN | 0 );
7989 return resultobj;
7990 fail:
7991 return NULL;
7992 }
7993
7994
7995 SWIGINTERN PyObject *_wrap_MiniFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7996 PyObject *resultobj = 0;
7997 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
7998 wxWindow *arg2 = (wxWindow *) 0 ;
7999 int arg3 = (int) (int)-1 ;
8000 wxString const &arg4_defvalue = wxPyEmptyString ;
8001 wxString *arg4 = (wxString *) &arg4_defvalue ;
8002 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8003 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8004 wxSize const &arg6_defvalue = wxDefaultSize ;
8005 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8006 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
8007 wxString const &arg8_defvalue = wxPyFrameNameStr ;
8008 wxString *arg8 = (wxString *) &arg8_defvalue ;
8009 bool result;
8010 void *argp1 = 0 ;
8011 int res1 = 0 ;
8012 void *argp2 = 0 ;
8013 int res2 = 0 ;
8014 int val3 ;
8015 int ecode3 = 0 ;
8016 bool temp4 = false ;
8017 wxPoint temp5 ;
8018 wxSize temp6 ;
8019 long val7 ;
8020 int ecode7 = 0 ;
8021 bool temp8 = false ;
8022 PyObject * obj0 = 0 ;
8023 PyObject * obj1 = 0 ;
8024 PyObject * obj2 = 0 ;
8025 PyObject * obj3 = 0 ;
8026 PyObject * obj4 = 0 ;
8027 PyObject * obj5 = 0 ;
8028 PyObject * obj6 = 0 ;
8029 PyObject * obj7 = 0 ;
8030 char * kwnames[] = {
8031 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8032 };
8033
8034 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8035 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMiniFrame, 0 | 0 );
8036 if (!SWIG_IsOK(res1)) {
8037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8038 }
8039 arg1 = reinterpret_cast< wxMiniFrame * >(argp1);
8040 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8041 if (!SWIG_IsOK(res2)) {
8042 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8043 }
8044 arg2 = reinterpret_cast< wxWindow * >(argp2);
8045 if (obj2) {
8046 ecode3 = SWIG_AsVal_int(obj2, &val3);
8047 if (!SWIG_IsOK(ecode3)) {
8048 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8049 }
8050 arg3 = static_cast< int >(val3);
8051 }
8052 if (obj3) {
8053 {
8054 arg4 = wxString_in_helper(obj3);
8055 if (arg4 == NULL) SWIG_fail;
8056 temp4 = true;
8057 }
8058 }
8059 if (obj4) {
8060 {
8061 arg5 = &temp5;
8062 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8063 }
8064 }
8065 if (obj5) {
8066 {
8067 arg6 = &temp6;
8068 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8069 }
8070 }
8071 if (obj6) {
8072 ecode7 = SWIG_AsVal_long(obj6, &val7);
8073 if (!SWIG_IsOK(ecode7)) {
8074 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8075 }
8076 arg7 = static_cast< long >(val7);
8077 }
8078 if (obj7) {
8079 {
8080 arg8 = wxString_in_helper(obj7);
8081 if (arg8 == NULL) SWIG_fail;
8082 temp8 = true;
8083 }
8084 }
8085 {
8086 PyThreadState* __tstate = wxPyBeginAllowThreads();
8087 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8088 wxPyEndAllowThreads(__tstate);
8089 if (PyErr_Occurred()) SWIG_fail;
8090 }
8091 {
8092 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8093 }
8094 {
8095 if (temp4)
8096 delete arg4;
8097 }
8098 {
8099 if (temp8)
8100 delete arg8;
8101 }
8102 return resultobj;
8103 fail:
8104 {
8105 if (temp4)
8106 delete arg4;
8107 }
8108 {
8109 if (temp8)
8110 delete arg8;
8111 }
8112 return NULL;
8113 }
8114
8115
8116 SWIGINTERN PyObject *MiniFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8117 PyObject *obj;
8118 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8119 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame, SWIG_NewClientData(obj));
8120 return SWIG_Py_Void();
8121 }
8122
8123 SWIGINTERN PyObject *MiniFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8124 return SWIG_Python_InitShadowInstance(args);
8125 }
8126
8127 SWIGINTERN PyObject *_wrap_new_SplashScreenWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8128 PyObject *resultobj = 0;
8129 wxBitmap *arg1 = 0 ;
8130 wxWindow *arg2 = (wxWindow *) 0 ;
8131 int arg3 ;
8132 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8133 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8134 wxSize const &arg5_defvalue = wxDefaultSize ;
8135 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8136 long arg6 = (long) wxNO_BORDER ;
8137 wxSplashScreenWindow *result = 0 ;
8138 void *argp1 = 0 ;
8139 int res1 = 0 ;
8140 void *argp2 = 0 ;
8141 int res2 = 0 ;
8142 int val3 ;
8143 int ecode3 = 0 ;
8144 wxPoint temp4 ;
8145 wxSize temp5 ;
8146 long val6 ;
8147 int ecode6 = 0 ;
8148 PyObject * obj0 = 0 ;
8149 PyObject * obj1 = 0 ;
8150 PyObject * obj2 = 0 ;
8151 PyObject * obj3 = 0 ;
8152 PyObject * obj4 = 0 ;
8153 PyObject * obj5 = 0 ;
8154 char * kwnames[] = {
8155 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8156 };
8157
8158 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8159 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8160 if (!SWIG_IsOK(res1)) {
8161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8162 }
8163 if (!argp1) {
8164 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8165 }
8166 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8167 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8168 if (!SWIG_IsOK(res2)) {
8169 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8170 }
8171 arg2 = reinterpret_cast< wxWindow * >(argp2);
8172 ecode3 = SWIG_AsVal_int(obj2, &val3);
8173 if (!SWIG_IsOK(ecode3)) {
8174 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8175 }
8176 arg3 = static_cast< int >(val3);
8177 if (obj3) {
8178 {
8179 arg4 = &temp4;
8180 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8181 }
8182 }
8183 if (obj4) {
8184 {
8185 arg5 = &temp5;
8186 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8187 }
8188 }
8189 if (obj5) {
8190 ecode6 = SWIG_AsVal_long(obj5, &val6);
8191 if (!SWIG_IsOK(ecode6)) {
8192 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8193 }
8194 arg6 = static_cast< long >(val6);
8195 }
8196 {
8197 if (!wxPyCheckForApp()) SWIG_fail;
8198 PyThreadState* __tstate = wxPyBeginAllowThreads();
8199 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
8200 wxPyEndAllowThreads(__tstate);
8201 if (PyErr_Occurred()) SWIG_fail;
8202 }
8203 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_NEW | 0 );
8204 return resultobj;
8205 fail:
8206 return NULL;
8207 }
8208
8209
8210 SWIGINTERN PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8211 PyObject *resultobj = 0;
8212 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8213 wxBitmap *arg2 = 0 ;
8214 void *argp1 = 0 ;
8215 int res1 = 0 ;
8216 void *argp2 = 0 ;
8217 int res2 = 0 ;
8218 PyObject * obj0 = 0 ;
8219 PyObject * obj1 = 0 ;
8220 char * kwnames[] = {
8221 (char *) "self",(char *) "bitmap", NULL
8222 };
8223
8224 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8225 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8226 if (!SWIG_IsOK(res1)) {
8227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8228 }
8229 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8230 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8231 if (!SWIG_IsOK(res2)) {
8232 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8233 }
8234 if (!argp2) {
8235 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8236 }
8237 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8238 {
8239 PyThreadState* __tstate = wxPyBeginAllowThreads();
8240 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8241 wxPyEndAllowThreads(__tstate);
8242 if (PyErr_Occurred()) SWIG_fail;
8243 }
8244 resultobj = SWIG_Py_Void();
8245 return resultobj;
8246 fail:
8247 return NULL;
8248 }
8249
8250
8251 SWIGINTERN PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8252 PyObject *resultobj = 0;
8253 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8254 wxBitmap *result = 0 ;
8255 void *argp1 = 0 ;
8256 int res1 = 0 ;
8257 PyObject *swig_obj[1] ;
8258
8259 if (!args) SWIG_fail;
8260 swig_obj[0] = args;
8261 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8262 if (!SWIG_IsOK(res1)) {
8263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8264 }
8265 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8266 {
8267 PyThreadState* __tstate = wxPyBeginAllowThreads();
8268 {
8269 wxBitmap &_result_ref = (arg1)->GetBitmap();
8270 result = (wxBitmap *) &_result_ref;
8271 }
8272 wxPyEndAllowThreads(__tstate);
8273 if (PyErr_Occurred()) SWIG_fail;
8274 }
8275 {
8276 wxBitmap* resultptr = new wxBitmap(*result);
8277 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8278 }
8279 return resultobj;
8280 fail:
8281 return NULL;
8282 }
8283
8284
8285 SWIGINTERN PyObject *SplashScreenWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8286 PyObject *obj;
8287 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8288 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow, SWIG_NewClientData(obj));
8289 return SWIG_Py_Void();
8290 }
8291
8292 SWIGINTERN PyObject *SplashScreenWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8293 return SWIG_Python_InitShadowInstance(args);
8294 }
8295
8296 SWIGINTERN PyObject *_wrap_new_SplashScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8297 PyObject *resultobj = 0;
8298 wxBitmap *arg1 = 0 ;
8299 long arg2 ;
8300 int arg3 ;
8301 wxWindow *arg4 = (wxWindow *) 0 ;
8302 int arg5 = (int) -1 ;
8303 wxPoint const &arg6_defvalue = wxDefaultPosition ;
8304 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
8305 wxSize const &arg7_defvalue = wxDefaultSize ;
8306 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
8307 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
8308 wxSplashScreen *result = 0 ;
8309 void *argp1 = 0 ;
8310 int res1 = 0 ;
8311 long val2 ;
8312 int ecode2 = 0 ;
8313 int val3 ;
8314 int ecode3 = 0 ;
8315 void *argp4 = 0 ;
8316 int res4 = 0 ;
8317 int val5 ;
8318 int ecode5 = 0 ;
8319 wxPoint temp6 ;
8320 wxSize temp7 ;
8321 long val8 ;
8322 int ecode8 = 0 ;
8323 PyObject * obj0 = 0 ;
8324 PyObject * obj1 = 0 ;
8325 PyObject * obj2 = 0 ;
8326 PyObject * obj3 = 0 ;
8327 PyObject * obj4 = 0 ;
8328 PyObject * obj5 = 0 ;
8329 PyObject * obj6 = 0 ;
8330 PyObject * obj7 = 0 ;
8331 char * kwnames[] = {
8332 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8333 };
8334
8335 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8336 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8337 if (!SWIG_IsOK(res1)) {
8338 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8339 }
8340 if (!argp1) {
8341 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8342 }
8343 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8344 ecode2 = SWIG_AsVal_long(obj1, &val2);
8345 if (!SWIG_IsOK(ecode2)) {
8346 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8347 }
8348 arg2 = static_cast< long >(val2);
8349 ecode3 = SWIG_AsVal_int(obj2, &val3);
8350 if (!SWIG_IsOK(ecode3)) {
8351 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8352 }
8353 arg3 = static_cast< int >(val3);
8354 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
8355 if (!SWIG_IsOK(res4)) {
8356 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8357 }
8358 arg4 = reinterpret_cast< wxWindow * >(argp4);
8359 if (obj4) {
8360 ecode5 = SWIG_AsVal_int(obj4, &val5);
8361 if (!SWIG_IsOK(ecode5)) {
8362 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8363 }
8364 arg5 = static_cast< int >(val5);
8365 }
8366 if (obj5) {
8367 {
8368 arg6 = &temp6;
8369 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
8370 }
8371 }
8372 if (obj6) {
8373 {
8374 arg7 = &temp7;
8375 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
8376 }
8377 }
8378 if (obj7) {
8379 ecode8 = SWIG_AsVal_long(obj7, &val8);
8380 if (!SWIG_IsOK(ecode8)) {
8381 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8382 }
8383 arg8 = static_cast< long >(val8);
8384 }
8385 {
8386 if (!wxPyCheckForApp()) SWIG_fail;
8387 PyThreadState* __tstate = wxPyBeginAllowThreads();
8388 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
8389 wxPyEndAllowThreads(__tstate);
8390 if (PyErr_Occurred()) SWIG_fail;
8391 }
8392 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_NEW | 0 );
8393 return resultobj;
8394 fail:
8395 return NULL;
8396 }
8397
8398
8399 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8400 PyObject *resultobj = 0;
8401 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8402 long result;
8403 void *argp1 = 0 ;
8404 int res1 = 0 ;
8405 PyObject *swig_obj[1] ;
8406
8407 if (!args) SWIG_fail;
8408 swig_obj[0] = args;
8409 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8410 if (!SWIG_IsOK(res1)) {
8411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8412 }
8413 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8414 {
8415 PyThreadState* __tstate = wxPyBeginAllowThreads();
8416 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
8417 wxPyEndAllowThreads(__tstate);
8418 if (PyErr_Occurred()) SWIG_fail;
8419 }
8420 resultobj = SWIG_From_long(static_cast< long >(result));
8421 return resultobj;
8422 fail:
8423 return NULL;
8424 }
8425
8426
8427 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8428 PyObject *resultobj = 0;
8429 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8430 wxSplashScreenWindow *result = 0 ;
8431 void *argp1 = 0 ;
8432 int res1 = 0 ;
8433 PyObject *swig_obj[1] ;
8434
8435 if (!args) SWIG_fail;
8436 swig_obj[0] = args;
8437 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8438 if (!SWIG_IsOK(res1)) {
8439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8440 }
8441 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8442 {
8443 PyThreadState* __tstate = wxPyBeginAllowThreads();
8444 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
8445 wxPyEndAllowThreads(__tstate);
8446 if (PyErr_Occurred()) SWIG_fail;
8447 }
8448 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8449 return resultobj;
8450 fail:
8451 return NULL;
8452 }
8453
8454
8455 SWIGINTERN PyObject *_wrap_SplashScreen_GetTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8456 PyObject *resultobj = 0;
8457 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8458 int result;
8459 void *argp1 = 0 ;
8460 int res1 = 0 ;
8461 PyObject *swig_obj[1] ;
8462
8463 if (!args) SWIG_fail;
8464 swig_obj[0] = args;
8465 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8466 if (!SWIG_IsOK(res1)) {
8467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8468 }
8469 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8470 {
8471 PyThreadState* __tstate = wxPyBeginAllowThreads();
8472 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
8473 wxPyEndAllowThreads(__tstate);
8474 if (PyErr_Occurred()) SWIG_fail;
8475 }
8476 resultobj = SWIG_From_int(static_cast< int >(result));
8477 return resultobj;
8478 fail:
8479 return NULL;
8480 }
8481
8482
8483 SWIGINTERN PyObject *SplashScreen_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8484 PyObject *obj;
8485 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8486 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen, SWIG_NewClientData(obj));
8487 return SWIG_Py_Void();
8488 }
8489
8490 SWIGINTERN PyObject *SplashScreen_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8491 return SWIG_Python_InitShadowInstance(args);
8492 }
8493
8494 SWIGINTERN PyObject *_wrap_new_StatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8495 PyObject *resultobj = 0;
8496 wxWindow *arg1 = (wxWindow *) 0 ;
8497 int arg2 = (int) -1 ;
8498 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
8499 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
8500 wxString *arg4 = (wxString *) &arg4_defvalue ;
8501 wxStatusBar *result = 0 ;
8502 void *argp1 = 0 ;
8503 int res1 = 0 ;
8504 int val2 ;
8505 int ecode2 = 0 ;
8506 long val3 ;
8507 int ecode3 = 0 ;
8508 bool temp4 = false ;
8509 PyObject * obj0 = 0 ;
8510 PyObject * obj1 = 0 ;
8511 PyObject * obj2 = 0 ;
8512 PyObject * obj3 = 0 ;
8513 char * kwnames[] = {
8514 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8515 };
8516
8517 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8518 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8519 if (!SWIG_IsOK(res1)) {
8520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8521 }
8522 arg1 = reinterpret_cast< wxWindow * >(argp1);
8523 if (obj1) {
8524 ecode2 = SWIG_AsVal_int(obj1, &val2);
8525 if (!SWIG_IsOK(ecode2)) {
8526 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8527 }
8528 arg2 = static_cast< int >(val2);
8529 }
8530 if (obj2) {
8531 ecode3 = SWIG_AsVal_long(obj2, &val3);
8532 if (!SWIG_IsOK(ecode3)) {
8533 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8534 }
8535 arg3 = static_cast< long >(val3);
8536 }
8537 if (obj3) {
8538 {
8539 arg4 = wxString_in_helper(obj3);
8540 if (arg4 == NULL) SWIG_fail;
8541 temp4 = true;
8542 }
8543 }
8544 {
8545 if (!wxPyCheckForApp()) SWIG_fail;
8546 PyThreadState* __tstate = wxPyBeginAllowThreads();
8547 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
8548 wxPyEndAllowThreads(__tstate);
8549 if (PyErr_Occurred()) SWIG_fail;
8550 }
8551 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_NEW | 0 );
8552 {
8553 if (temp4)
8554 delete arg4;
8555 }
8556 return resultobj;
8557 fail:
8558 {
8559 if (temp4)
8560 delete arg4;
8561 }
8562 return NULL;
8563 }
8564
8565
8566 SWIGINTERN PyObject *_wrap_new_PreStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8567 PyObject *resultobj = 0;
8568 wxStatusBar *result = 0 ;
8569
8570 if (!SWIG_Python_UnpackTuple(args,"new_PreStatusBar",0,0,0)) SWIG_fail;
8571 {
8572 if (!wxPyCheckForApp()) SWIG_fail;
8573 PyThreadState* __tstate = wxPyBeginAllowThreads();
8574 result = (wxStatusBar *)new wxStatusBar();
8575 wxPyEndAllowThreads(__tstate);
8576 if (PyErr_Occurred()) SWIG_fail;
8577 }
8578 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_OWN | 0 );
8579 return resultobj;
8580 fail:
8581 return NULL;
8582 }
8583
8584
8585 SWIGINTERN PyObject *_wrap_StatusBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8586 PyObject *resultobj = 0;
8587 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8588 wxWindow *arg2 = (wxWindow *) 0 ;
8589 int arg3 = (int) -1 ;
8590 long arg4 = (long) wxST_SIZEGRIP ;
8591 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
8592 wxString *arg5 = (wxString *) &arg5_defvalue ;
8593 bool result;
8594 void *argp1 = 0 ;
8595 int res1 = 0 ;
8596 void *argp2 = 0 ;
8597 int res2 = 0 ;
8598 int val3 ;
8599 int ecode3 = 0 ;
8600 long val4 ;
8601 int ecode4 = 0 ;
8602 bool temp5 = false ;
8603 PyObject * obj0 = 0 ;
8604 PyObject * obj1 = 0 ;
8605 PyObject * obj2 = 0 ;
8606 PyObject * obj3 = 0 ;
8607 PyObject * obj4 = 0 ;
8608 char * kwnames[] = {
8609 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8610 };
8611
8612 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8613 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8614 if (!SWIG_IsOK(res1)) {
8615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8616 }
8617 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8618 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8619 if (!SWIG_IsOK(res2)) {
8620 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8621 }
8622 arg2 = reinterpret_cast< wxWindow * >(argp2);
8623 if (obj2) {
8624 ecode3 = SWIG_AsVal_int(obj2, &val3);
8625 if (!SWIG_IsOK(ecode3)) {
8626 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8627 }
8628 arg3 = static_cast< int >(val3);
8629 }
8630 if (obj3) {
8631 ecode4 = SWIG_AsVal_long(obj3, &val4);
8632 if (!SWIG_IsOK(ecode4)) {
8633 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8634 }
8635 arg4 = static_cast< long >(val4);
8636 }
8637 if (obj4) {
8638 {
8639 arg5 = wxString_in_helper(obj4);
8640 if (arg5 == NULL) SWIG_fail;
8641 temp5 = true;
8642 }
8643 }
8644 {
8645 PyThreadState* __tstate = wxPyBeginAllowThreads();
8646 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
8647 wxPyEndAllowThreads(__tstate);
8648 if (PyErr_Occurred()) SWIG_fail;
8649 }
8650 {
8651 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8652 }
8653 {
8654 if (temp5)
8655 delete arg5;
8656 }
8657 return resultobj;
8658 fail:
8659 {
8660 if (temp5)
8661 delete arg5;
8662 }
8663 return NULL;
8664 }
8665
8666
8667 SWIGINTERN PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8668 PyObject *resultobj = 0;
8669 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8670 int arg2 = (int) 1 ;
8671 void *argp1 = 0 ;
8672 int res1 = 0 ;
8673 int val2 ;
8674 int ecode2 = 0 ;
8675 PyObject * obj0 = 0 ;
8676 PyObject * obj1 = 0 ;
8677 char * kwnames[] = {
8678 (char *) "self",(char *) "number", NULL
8679 };
8680
8681 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) SWIG_fail;
8682 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8683 if (!SWIG_IsOK(res1)) {
8684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8685 }
8686 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8687 if (obj1) {
8688 ecode2 = SWIG_AsVal_int(obj1, &val2);
8689 if (!SWIG_IsOK(ecode2)) {
8690 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8691 }
8692 arg2 = static_cast< int >(val2);
8693 }
8694 {
8695 PyThreadState* __tstate = wxPyBeginAllowThreads();
8696 (arg1)->SetFieldsCount(arg2);
8697 wxPyEndAllowThreads(__tstate);
8698 if (PyErr_Occurred()) SWIG_fail;
8699 }
8700 resultobj = SWIG_Py_Void();
8701 return resultobj;
8702 fail:
8703 return NULL;
8704 }
8705
8706
8707 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8708 PyObject *resultobj = 0;
8709 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8710 int result;
8711 void *argp1 = 0 ;
8712 int res1 = 0 ;
8713 PyObject *swig_obj[1] ;
8714
8715 if (!args) SWIG_fail;
8716 swig_obj[0] = args;
8717 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8718 if (!SWIG_IsOK(res1)) {
8719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8720 }
8721 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8722 {
8723 PyThreadState* __tstate = wxPyBeginAllowThreads();
8724 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
8725 wxPyEndAllowThreads(__tstate);
8726 if (PyErr_Occurred()) SWIG_fail;
8727 }
8728 resultobj = SWIG_From_int(static_cast< int >(result));
8729 return resultobj;
8730 fail:
8731 return NULL;
8732 }
8733
8734
8735 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8736 PyObject *resultobj = 0;
8737 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8738 wxString *arg2 = 0 ;
8739 int arg3 = (int) 0 ;
8740 void *argp1 = 0 ;
8741 int res1 = 0 ;
8742 bool temp2 = false ;
8743 int val3 ;
8744 int ecode3 = 0 ;
8745 PyObject * obj0 = 0 ;
8746 PyObject * obj1 = 0 ;
8747 PyObject * obj2 = 0 ;
8748 char * kwnames[] = {
8749 (char *) "self",(char *) "text",(char *) "number", NULL
8750 };
8751
8752 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8753 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8754 if (!SWIG_IsOK(res1)) {
8755 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8756 }
8757 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8758 {
8759 arg2 = wxString_in_helper(obj1);
8760 if (arg2 == NULL) SWIG_fail;
8761 temp2 = true;
8762 }
8763 if (obj2) {
8764 ecode3 = SWIG_AsVal_int(obj2, &val3);
8765 if (!SWIG_IsOK(ecode3)) {
8766 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8767 }
8768 arg3 = static_cast< int >(val3);
8769 }
8770 {
8771 PyThreadState* __tstate = wxPyBeginAllowThreads();
8772 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
8773 wxPyEndAllowThreads(__tstate);
8774 if (PyErr_Occurred()) SWIG_fail;
8775 }
8776 resultobj = SWIG_Py_Void();
8777 {
8778 if (temp2)
8779 delete arg2;
8780 }
8781 return resultobj;
8782 fail:
8783 {
8784 if (temp2)
8785 delete arg2;
8786 }
8787 return NULL;
8788 }
8789
8790
8791 SWIGINTERN PyObject *_wrap_StatusBar_GetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8792 PyObject *resultobj = 0;
8793 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8794 int arg2 = (int) 0 ;
8795 wxString result;
8796 void *argp1 = 0 ;
8797 int res1 = 0 ;
8798 int val2 ;
8799 int ecode2 = 0 ;
8800 PyObject * obj0 = 0 ;
8801 PyObject * obj1 = 0 ;
8802 char * kwnames[] = {
8803 (char *) "self",(char *) "number", NULL
8804 };
8805
8806 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
8807 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8808 if (!SWIG_IsOK(res1)) {
8809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8810 }
8811 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8812 if (obj1) {
8813 ecode2 = SWIG_AsVal_int(obj1, &val2);
8814 if (!SWIG_IsOK(ecode2)) {
8815 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8816 }
8817 arg2 = static_cast< int >(val2);
8818 }
8819 {
8820 PyThreadState* __tstate = wxPyBeginAllowThreads();
8821 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
8822 wxPyEndAllowThreads(__tstate);
8823 if (PyErr_Occurred()) SWIG_fail;
8824 }
8825 {
8826 #if wxUSE_UNICODE
8827 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8828 #else
8829 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8830 #endif
8831 }
8832 return resultobj;
8833 fail:
8834 return NULL;
8835 }
8836
8837
8838 SWIGINTERN PyObject *_wrap_StatusBar_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8839 PyObject *resultobj = 0;
8840 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8841 wxString *arg2 = 0 ;
8842 int arg3 = (int) 0 ;
8843 void *argp1 = 0 ;
8844 int res1 = 0 ;
8845 bool temp2 = false ;
8846 int val3 ;
8847 int ecode3 = 0 ;
8848 PyObject * obj0 = 0 ;
8849 PyObject * obj1 = 0 ;
8850 PyObject * obj2 = 0 ;
8851 char * kwnames[] = {
8852 (char *) "self",(char *) "text",(char *) "number", NULL
8853 };
8854
8855 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8856 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8857 if (!SWIG_IsOK(res1)) {
8858 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8859 }
8860 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8861 {
8862 arg2 = wxString_in_helper(obj1);
8863 if (arg2 == NULL) SWIG_fail;
8864 temp2 = true;
8865 }
8866 if (obj2) {
8867 ecode3 = SWIG_AsVal_int(obj2, &val3);
8868 if (!SWIG_IsOK(ecode3)) {
8869 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
8870 }
8871 arg3 = static_cast< int >(val3);
8872 }
8873 {
8874 PyThreadState* __tstate = wxPyBeginAllowThreads();
8875 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
8876 wxPyEndAllowThreads(__tstate);
8877 if (PyErr_Occurred()) SWIG_fail;
8878 }
8879 resultobj = SWIG_Py_Void();
8880 {
8881 if (temp2)
8882 delete arg2;
8883 }
8884 return resultobj;
8885 fail:
8886 {
8887 if (temp2)
8888 delete arg2;
8889 }
8890 return NULL;
8891 }
8892
8893
8894 SWIGINTERN PyObject *_wrap_StatusBar_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8895 PyObject *resultobj = 0;
8896 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8897 int arg2 = (int) 0 ;
8898 void *argp1 = 0 ;
8899 int res1 = 0 ;
8900 int val2 ;
8901 int ecode2 = 0 ;
8902 PyObject * obj0 = 0 ;
8903 PyObject * obj1 = 0 ;
8904 char * kwnames[] = {
8905 (char *) "self",(char *) "number", NULL
8906 };
8907
8908 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
8909 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8910 if (!SWIG_IsOK(res1)) {
8911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8912 }
8913 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8914 if (obj1) {
8915 ecode2 = SWIG_AsVal_int(obj1, &val2);
8916 if (!SWIG_IsOK(ecode2)) {
8917 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
8918 }
8919 arg2 = static_cast< int >(val2);
8920 }
8921 {
8922 PyThreadState* __tstate = wxPyBeginAllowThreads();
8923 (arg1)->PopStatusText(arg2);
8924 wxPyEndAllowThreads(__tstate);
8925 if (PyErr_Occurred()) SWIG_fail;
8926 }
8927 resultobj = SWIG_Py_Void();
8928 return resultobj;
8929 fail:
8930 return NULL;
8931 }
8932
8933
8934 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8935 PyObject *resultobj = 0;
8936 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8937 int arg2 ;
8938 int *arg3 = (int *) 0 ;
8939 void *argp1 = 0 ;
8940 int res1 = 0 ;
8941 PyObject * obj0 = 0 ;
8942 PyObject * obj1 = 0 ;
8943 char * kwnames[] = {
8944 (char *) "self",(char *) "widths", NULL
8945 };
8946
8947 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
8948 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8949 if (!SWIG_IsOK(res1)) {
8950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8951 }
8952 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8953 {
8954 arg2 = PyList_Size(obj1);
8955 arg3 = int_LIST_helper(obj1);
8956 if (arg3 == NULL) SWIG_fail;
8957 }
8958 {
8959 PyThreadState* __tstate = wxPyBeginAllowThreads();
8960 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
8961 wxPyEndAllowThreads(__tstate);
8962 if (PyErr_Occurred()) SWIG_fail;
8963 }
8964 resultobj = SWIG_Py_Void();
8965 {
8966 if (arg3) delete [] arg3;
8967 }
8968 return resultobj;
8969 fail:
8970 {
8971 if (arg3) delete [] arg3;
8972 }
8973 return NULL;
8974 }
8975
8976
8977 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8978 PyObject *resultobj = 0;
8979 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8980 int arg2 ;
8981 int *arg3 = (int *) 0 ;
8982 void *argp1 = 0 ;
8983 int res1 = 0 ;
8984 PyObject * obj0 = 0 ;
8985 PyObject * obj1 = 0 ;
8986 char * kwnames[] = {
8987 (char *) "self",(char *) "styles", NULL
8988 };
8989
8990 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) SWIG_fail;
8991 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8992 if (!SWIG_IsOK(res1)) {
8993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8994 }
8995 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8996 {
8997 arg2 = PyList_Size(obj1);
8998 arg3 = int_LIST_helper(obj1);
8999 if (arg3 == NULL) SWIG_fail;
9000 }
9001 {
9002 PyThreadState* __tstate = wxPyBeginAllowThreads();
9003 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
9004 wxPyEndAllowThreads(__tstate);
9005 if (PyErr_Occurred()) SWIG_fail;
9006 }
9007 resultobj = SWIG_Py_Void();
9008 {
9009 if (arg3) delete [] arg3;
9010 }
9011 return resultobj;
9012 fail:
9013 {
9014 if (arg3) delete [] arg3;
9015 }
9016 return NULL;
9017 }
9018
9019
9020 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9021 PyObject *resultobj = 0;
9022 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9023 int arg2 ;
9024 wxRect result;
9025 void *argp1 = 0 ;
9026 int res1 = 0 ;
9027 int val2 ;
9028 int ecode2 = 0 ;
9029 PyObject * obj0 = 0 ;
9030 PyObject * obj1 = 0 ;
9031 char * kwnames[] = {
9032 (char *) "self",(char *) "i", NULL
9033 };
9034
9035 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) SWIG_fail;
9036 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9037 if (!SWIG_IsOK(res1)) {
9038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9039 }
9040 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9041 ecode2 = SWIG_AsVal_int(obj1, &val2);
9042 if (!SWIG_IsOK(ecode2)) {
9043 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9044 }
9045 arg2 = static_cast< int >(val2);
9046 {
9047 PyThreadState* __tstate = wxPyBeginAllowThreads();
9048 result = wxStatusBar_GetFieldRect(arg1,arg2);
9049 wxPyEndAllowThreads(__tstate);
9050 if (PyErr_Occurred()) SWIG_fail;
9051 }
9052 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
9053 return resultobj;
9054 fail:
9055 return NULL;
9056 }
9057
9058
9059 SWIGINTERN PyObject *_wrap_StatusBar_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9060 PyObject *resultobj = 0;
9061 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9062 int arg2 ;
9063 void *argp1 = 0 ;
9064 int res1 = 0 ;
9065 int val2 ;
9066 int ecode2 = 0 ;
9067 PyObject * obj0 = 0 ;
9068 PyObject * obj1 = 0 ;
9069 char * kwnames[] = {
9070 (char *) "self",(char *) "height", NULL
9071 };
9072
9073 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) SWIG_fail;
9074 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9075 if (!SWIG_IsOK(res1)) {
9076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9077 }
9078 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9079 ecode2 = SWIG_AsVal_int(obj1, &val2);
9080 if (!SWIG_IsOK(ecode2)) {
9081 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9082 }
9083 arg2 = static_cast< int >(val2);
9084 {
9085 PyThreadState* __tstate = wxPyBeginAllowThreads();
9086 (arg1)->SetMinHeight(arg2);
9087 wxPyEndAllowThreads(__tstate);
9088 if (PyErr_Occurred()) SWIG_fail;
9089 }
9090 resultobj = SWIG_Py_Void();
9091 return resultobj;
9092 fail:
9093 return NULL;
9094 }
9095
9096
9097 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9098 PyObject *resultobj = 0;
9099 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9100 int result;
9101 void *argp1 = 0 ;
9102 int res1 = 0 ;
9103 PyObject *swig_obj[1] ;
9104
9105 if (!args) SWIG_fail;
9106 swig_obj[0] = args;
9107 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9108 if (!SWIG_IsOK(res1)) {
9109 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9110 }
9111 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9112 {
9113 PyThreadState* __tstate = wxPyBeginAllowThreads();
9114 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
9115 wxPyEndAllowThreads(__tstate);
9116 if (PyErr_Occurred()) SWIG_fail;
9117 }
9118 resultobj = SWIG_From_int(static_cast< int >(result));
9119 return resultobj;
9120 fail:
9121 return NULL;
9122 }
9123
9124
9125 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9126 PyObject *resultobj = 0;
9127 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9128 int result;
9129 void *argp1 = 0 ;
9130 int res1 = 0 ;
9131 PyObject *swig_obj[1] ;
9132
9133 if (!args) SWIG_fail;
9134 swig_obj[0] = args;
9135 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9136 if (!SWIG_IsOK(res1)) {
9137 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9138 }
9139 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9140 {
9141 PyThreadState* __tstate = wxPyBeginAllowThreads();
9142 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
9143 wxPyEndAllowThreads(__tstate);
9144 if (PyErr_Occurred()) SWIG_fail;
9145 }
9146 resultobj = SWIG_From_int(static_cast< int >(result));
9147 return resultobj;
9148 fail:
9149 return NULL;
9150 }
9151
9152
9153 SWIGINTERN PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9154 PyObject *resultobj = 0;
9155 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9156 SwigValueWrapper<wxVisualAttributes > result;
9157 int val1 ;
9158 int ecode1 = 0 ;
9159 PyObject * obj0 = 0 ;
9160 char * kwnames[] = {
9161 (char *) "variant", NULL
9162 };
9163
9164 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9165 if (obj0) {
9166 ecode1 = SWIG_AsVal_int(obj0, &val1);
9167 if (!SWIG_IsOK(ecode1)) {
9168 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9169 }
9170 arg1 = static_cast< wxWindowVariant >(val1);
9171 }
9172 {
9173 if (!wxPyCheckForApp()) SWIG_fail;
9174 PyThreadState* __tstate = wxPyBeginAllowThreads();
9175 result = wxStatusBar::GetClassDefaultAttributes(arg1);
9176 wxPyEndAllowThreads(__tstate);
9177 if (PyErr_Occurred()) SWIG_fail;
9178 }
9179 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9180 return resultobj;
9181 fail:
9182 return NULL;
9183 }
9184
9185
9186 SWIGINTERN PyObject *StatusBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9187 PyObject *obj;
9188 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9189 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar, SWIG_NewClientData(obj));
9190 return SWIG_Py_Void();
9191 }
9192
9193 SWIGINTERN PyObject *StatusBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9194 return SWIG_Python_InitShadowInstance(args);
9195 }
9196
9197 SWIGINTERN int SplitterNameStr_set(PyObject *) {
9198 SWIG_Error(SWIG_AttributeError,"Variable SplitterNameStr is read-only.");
9199 return 1;
9200 }
9201
9202
9203 SWIGINTERN PyObject *SplitterNameStr_get(void) {
9204 PyObject *pyobj = 0;
9205
9206 {
9207 #if wxUSE_UNICODE
9208 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9209 #else
9210 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9211 #endif
9212 }
9213 return pyobj;
9214 }
9215
9216
9217 SWIGINTERN PyObject *_wrap_new_SplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9218 PyObject *resultobj = 0;
9219 wxWindow *arg1 = (wxWindow *) 0 ;
9220 int arg2 = (int) -1 ;
9221 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9222 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9223 wxSize const &arg4_defvalue = wxDefaultSize ;
9224 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9225 long arg5 = (long) wxSP_3D ;
9226 wxString const &arg6_defvalue = wxPySplitterNameStr ;
9227 wxString *arg6 = (wxString *) &arg6_defvalue ;
9228 wxSplitterWindow *result = 0 ;
9229 void *argp1 = 0 ;
9230 int res1 = 0 ;
9231 int val2 ;
9232 int ecode2 = 0 ;
9233 wxPoint temp3 ;
9234 wxSize temp4 ;
9235 long val5 ;
9236 int ecode5 = 0 ;
9237 bool temp6 = false ;
9238 PyObject * obj0 = 0 ;
9239 PyObject * obj1 = 0 ;
9240 PyObject * obj2 = 0 ;
9241 PyObject * obj3 = 0 ;
9242 PyObject * obj4 = 0 ;
9243 PyObject * obj5 = 0 ;
9244 char * kwnames[] = {
9245 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9246 };
9247
9248 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9249 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9250 if (!SWIG_IsOK(res1)) {
9251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9252 }
9253 arg1 = reinterpret_cast< wxWindow * >(argp1);
9254 if (obj1) {
9255 ecode2 = SWIG_AsVal_int(obj1, &val2);
9256 if (!SWIG_IsOK(ecode2)) {
9257 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9258 }
9259 arg2 = static_cast< int >(val2);
9260 }
9261 if (obj2) {
9262 {
9263 arg3 = &temp3;
9264 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9265 }
9266 }
9267 if (obj3) {
9268 {
9269 arg4 = &temp4;
9270 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9271 }
9272 }
9273 if (obj4) {
9274 ecode5 = SWIG_AsVal_long(obj4, &val5);
9275 if (!SWIG_IsOK(ecode5)) {
9276 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9277 }
9278 arg5 = static_cast< long >(val5);
9279 }
9280 if (obj5) {
9281 {
9282 arg6 = wxString_in_helper(obj5);
9283 if (arg6 == NULL) SWIG_fail;
9284 temp6 = true;
9285 }
9286 }
9287 {
9288 if (!wxPyCheckForApp()) SWIG_fail;
9289 PyThreadState* __tstate = wxPyBeginAllowThreads();
9290 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9291 wxPyEndAllowThreads(__tstate);
9292 if (PyErr_Occurred()) SWIG_fail;
9293 }
9294 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_NEW | 0 );
9295 {
9296 if (temp6)
9297 delete arg6;
9298 }
9299 return resultobj;
9300 fail:
9301 {
9302 if (temp6)
9303 delete arg6;
9304 }
9305 return NULL;
9306 }
9307
9308
9309 SWIGINTERN PyObject *_wrap_new_PreSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9310 PyObject *resultobj = 0;
9311 wxSplitterWindow *result = 0 ;
9312
9313 if (!SWIG_Python_UnpackTuple(args,"new_PreSplitterWindow",0,0,0)) SWIG_fail;
9314 {
9315 if (!wxPyCheckForApp()) SWIG_fail;
9316 PyThreadState* __tstate = wxPyBeginAllowThreads();
9317 result = (wxSplitterWindow *)new wxSplitterWindow();
9318 wxPyEndAllowThreads(__tstate);
9319 if (PyErr_Occurred()) SWIG_fail;
9320 }
9321 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_OWN | 0 );
9322 return resultobj;
9323 fail:
9324 return NULL;
9325 }
9326
9327
9328 SWIGINTERN PyObject *_wrap_SplitterWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9329 PyObject *resultobj = 0;
9330 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9331 wxWindow *arg2 = (wxWindow *) 0 ;
9332 int arg3 = (int) -1 ;
9333 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9334 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9335 wxSize const &arg5_defvalue = wxDefaultSize ;
9336 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9337 long arg6 = (long) wxSP_3D ;
9338 wxString const &arg7_defvalue = wxPySplitterNameStr ;
9339 wxString *arg7 = (wxString *) &arg7_defvalue ;
9340 bool result;
9341 void *argp1 = 0 ;
9342 int res1 = 0 ;
9343 void *argp2 = 0 ;
9344 int res2 = 0 ;
9345 int val3 ;
9346 int ecode3 = 0 ;
9347 wxPoint temp4 ;
9348 wxSize temp5 ;
9349 long val6 ;
9350 int ecode6 = 0 ;
9351 bool temp7 = false ;
9352 PyObject * obj0 = 0 ;
9353 PyObject * obj1 = 0 ;
9354 PyObject * obj2 = 0 ;
9355 PyObject * obj3 = 0 ;
9356 PyObject * obj4 = 0 ;
9357 PyObject * obj5 = 0 ;
9358 PyObject * obj6 = 0 ;
9359 char * kwnames[] = {
9360 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9361 };
9362
9363 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9364 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9365 if (!SWIG_IsOK(res1)) {
9366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9367 }
9368 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9369 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9370 if (!SWIG_IsOK(res2)) {
9371 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9372 }
9373 arg2 = reinterpret_cast< wxWindow * >(argp2);
9374 if (obj2) {
9375 ecode3 = SWIG_AsVal_int(obj2, &val3);
9376 if (!SWIG_IsOK(ecode3)) {
9377 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9378 }
9379 arg3 = static_cast< int >(val3);
9380 }
9381 if (obj3) {
9382 {
9383 arg4 = &temp4;
9384 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9385 }
9386 }
9387 if (obj4) {
9388 {
9389 arg5 = &temp5;
9390 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9391 }
9392 }
9393 if (obj5) {
9394 ecode6 = SWIG_AsVal_long(obj5, &val6);
9395 if (!SWIG_IsOK(ecode6)) {
9396 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9397 }
9398 arg6 = static_cast< long >(val6);
9399 }
9400 if (obj6) {
9401 {
9402 arg7 = wxString_in_helper(obj6);
9403 if (arg7 == NULL) SWIG_fail;
9404 temp7 = true;
9405 }
9406 }
9407 {
9408 PyThreadState* __tstate = wxPyBeginAllowThreads();
9409 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9410 wxPyEndAllowThreads(__tstate);
9411 if (PyErr_Occurred()) SWIG_fail;
9412 }
9413 {
9414 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9415 }
9416 {
9417 if (temp7)
9418 delete arg7;
9419 }
9420 return resultobj;
9421 fail:
9422 {
9423 if (temp7)
9424 delete arg7;
9425 }
9426 return NULL;
9427 }
9428
9429
9430 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9431 PyObject *resultobj = 0;
9432 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9433 wxWindow *result = 0 ;
9434 void *argp1 = 0 ;
9435 int res1 = 0 ;
9436 PyObject *swig_obj[1] ;
9437
9438 if (!args) SWIG_fail;
9439 swig_obj[0] = args;
9440 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9441 if (!SWIG_IsOK(res1)) {
9442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9443 }
9444 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9445 {
9446 PyThreadState* __tstate = wxPyBeginAllowThreads();
9447 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
9448 wxPyEndAllowThreads(__tstate);
9449 if (PyErr_Occurred()) SWIG_fail;
9450 }
9451 {
9452 resultobj = wxPyMake_wxObject(result, 0);
9453 }
9454 return resultobj;
9455 fail:
9456 return NULL;
9457 }
9458
9459
9460 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9461 PyObject *resultobj = 0;
9462 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9463 wxWindow *result = 0 ;
9464 void *argp1 = 0 ;
9465 int res1 = 0 ;
9466 PyObject *swig_obj[1] ;
9467
9468 if (!args) SWIG_fail;
9469 swig_obj[0] = args;
9470 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9471 if (!SWIG_IsOK(res1)) {
9472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9473 }
9474 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9475 {
9476 PyThreadState* __tstate = wxPyBeginAllowThreads();
9477 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
9478 wxPyEndAllowThreads(__tstate);
9479 if (PyErr_Occurred()) SWIG_fail;
9480 }
9481 {
9482 resultobj = wxPyMake_wxObject(result, 0);
9483 }
9484 return resultobj;
9485 fail:
9486 return NULL;
9487 }
9488
9489
9490 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9491 PyObject *resultobj = 0;
9492 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9493 int arg2 ;
9494 void *argp1 = 0 ;
9495 int res1 = 0 ;
9496 int val2 ;
9497 int ecode2 = 0 ;
9498 PyObject * obj0 = 0 ;
9499 PyObject * obj1 = 0 ;
9500 char * kwnames[] = {
9501 (char *) "self",(char *) "mode", NULL
9502 };
9503
9504 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) SWIG_fail;
9505 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9506 if (!SWIG_IsOK(res1)) {
9507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9508 }
9509 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9510 ecode2 = SWIG_AsVal_int(obj1, &val2);
9511 if (!SWIG_IsOK(ecode2)) {
9512 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9513 }
9514 arg2 = static_cast< int >(val2);
9515 {
9516 PyThreadState* __tstate = wxPyBeginAllowThreads();
9517 (arg1)->SetSplitMode(arg2);
9518 wxPyEndAllowThreads(__tstate);
9519 if (PyErr_Occurred()) SWIG_fail;
9520 }
9521 resultobj = SWIG_Py_Void();
9522 return resultobj;
9523 fail:
9524 return NULL;
9525 }
9526
9527
9528 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9529 PyObject *resultobj = 0;
9530 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9531 wxSplitMode result;
9532 void *argp1 = 0 ;
9533 int res1 = 0 ;
9534 PyObject *swig_obj[1] ;
9535
9536 if (!args) SWIG_fail;
9537 swig_obj[0] = args;
9538 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9539 if (!SWIG_IsOK(res1)) {
9540 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9541 }
9542 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9543 {
9544 PyThreadState* __tstate = wxPyBeginAllowThreads();
9545 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
9546 wxPyEndAllowThreads(__tstate);
9547 if (PyErr_Occurred()) SWIG_fail;
9548 }
9549 resultobj = SWIG_From_int(static_cast< int >(result));
9550 return resultobj;
9551 fail:
9552 return NULL;
9553 }
9554
9555
9556 SWIGINTERN PyObject *_wrap_SplitterWindow_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9557 PyObject *resultobj = 0;
9558 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9559 wxWindow *arg2 = (wxWindow *) 0 ;
9560 void *argp1 = 0 ;
9561 int res1 = 0 ;
9562 void *argp2 = 0 ;
9563 int res2 = 0 ;
9564 PyObject * obj0 = 0 ;
9565 PyObject * obj1 = 0 ;
9566 char * kwnames[] = {
9567 (char *) "self",(char *) "window", NULL
9568 };
9569
9570 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) SWIG_fail;
9571 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9572 if (!SWIG_IsOK(res1)) {
9573 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9574 }
9575 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9576 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9577 if (!SWIG_IsOK(res2)) {
9578 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9579 }
9580 arg2 = reinterpret_cast< wxWindow * >(argp2);
9581 {
9582 PyThreadState* __tstate = wxPyBeginAllowThreads();
9583 (arg1)->Initialize(arg2);
9584 wxPyEndAllowThreads(__tstate);
9585 if (PyErr_Occurred()) SWIG_fail;
9586 }
9587 resultobj = SWIG_Py_Void();
9588 return resultobj;
9589 fail:
9590 return NULL;
9591 }
9592
9593
9594 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9595 PyObject *resultobj = 0;
9596 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9597 wxWindow *arg2 = (wxWindow *) 0 ;
9598 wxWindow *arg3 = (wxWindow *) 0 ;
9599 int arg4 = (int) 0 ;
9600 bool result;
9601 void *argp1 = 0 ;
9602 int res1 = 0 ;
9603 void *argp2 = 0 ;
9604 int res2 = 0 ;
9605 void *argp3 = 0 ;
9606 int res3 = 0 ;
9607 int val4 ;
9608 int ecode4 = 0 ;
9609 PyObject * obj0 = 0 ;
9610 PyObject * obj1 = 0 ;
9611 PyObject * obj2 = 0 ;
9612 PyObject * obj3 = 0 ;
9613 char * kwnames[] = {
9614 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9615 };
9616
9617 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9618 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9619 if (!SWIG_IsOK(res1)) {
9620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9621 }
9622 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9623 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9624 if (!SWIG_IsOK(res2)) {
9625 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9626 }
9627 arg2 = reinterpret_cast< wxWindow * >(argp2);
9628 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9629 if (!SWIG_IsOK(res3)) {
9630 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9631 }
9632 arg3 = reinterpret_cast< wxWindow * >(argp3);
9633 if (obj3) {
9634 ecode4 = SWIG_AsVal_int(obj3, &val4);
9635 if (!SWIG_IsOK(ecode4)) {
9636 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9637 }
9638 arg4 = static_cast< int >(val4);
9639 }
9640 {
9641 PyThreadState* __tstate = wxPyBeginAllowThreads();
9642 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
9643 wxPyEndAllowThreads(__tstate);
9644 if (PyErr_Occurred()) SWIG_fail;
9645 }
9646 {
9647 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9648 }
9649 return resultobj;
9650 fail:
9651 return NULL;
9652 }
9653
9654
9655 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9656 PyObject *resultobj = 0;
9657 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9658 wxWindow *arg2 = (wxWindow *) 0 ;
9659 wxWindow *arg3 = (wxWindow *) 0 ;
9660 int arg4 = (int) 0 ;
9661 bool result;
9662 void *argp1 = 0 ;
9663 int res1 = 0 ;
9664 void *argp2 = 0 ;
9665 int res2 = 0 ;
9666 void *argp3 = 0 ;
9667 int res3 = 0 ;
9668 int val4 ;
9669 int ecode4 = 0 ;
9670 PyObject * obj0 = 0 ;
9671 PyObject * obj1 = 0 ;
9672 PyObject * obj2 = 0 ;
9673 PyObject * obj3 = 0 ;
9674 char * kwnames[] = {
9675 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9676 };
9677
9678 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9679 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9680 if (!SWIG_IsOK(res1)) {
9681 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9682 }
9683 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9684 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9685 if (!SWIG_IsOK(res2)) {
9686 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9687 }
9688 arg2 = reinterpret_cast< wxWindow * >(argp2);
9689 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9690 if (!SWIG_IsOK(res3)) {
9691 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9692 }
9693 arg3 = reinterpret_cast< wxWindow * >(argp3);
9694 if (obj3) {
9695 ecode4 = SWIG_AsVal_int(obj3, &val4);
9696 if (!SWIG_IsOK(ecode4)) {
9697 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9698 }
9699 arg4 = static_cast< int >(val4);
9700 }
9701 {
9702 PyThreadState* __tstate = wxPyBeginAllowThreads();
9703 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
9704 wxPyEndAllowThreads(__tstate);
9705 if (PyErr_Occurred()) SWIG_fail;
9706 }
9707 {
9708 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9709 }
9710 return resultobj;
9711 fail:
9712 return NULL;
9713 }
9714
9715
9716 SWIGINTERN PyObject *_wrap_SplitterWindow_Unsplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9717 PyObject *resultobj = 0;
9718 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9719 wxWindow *arg2 = (wxWindow *) NULL ;
9720 bool result;
9721 void *argp1 = 0 ;
9722 int res1 = 0 ;
9723 void *argp2 = 0 ;
9724 int res2 = 0 ;
9725 PyObject * obj0 = 0 ;
9726 PyObject * obj1 = 0 ;
9727 char * kwnames[] = {
9728 (char *) "self",(char *) "toRemove", NULL
9729 };
9730
9731 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) SWIG_fail;
9732 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9733 if (!SWIG_IsOK(res1)) {
9734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9735 }
9736 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9737 if (obj1) {
9738 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9739 if (!SWIG_IsOK(res2)) {
9740 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9741 }
9742 arg2 = reinterpret_cast< wxWindow * >(argp2);
9743 }
9744 {
9745 PyThreadState* __tstate = wxPyBeginAllowThreads();
9746 result = (bool)(arg1)->Unsplit(arg2);
9747 wxPyEndAllowThreads(__tstate);
9748 if (PyErr_Occurred()) SWIG_fail;
9749 }
9750 {
9751 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9752 }
9753 return resultobj;
9754 fail:
9755 return NULL;
9756 }
9757
9758
9759 SWIGINTERN PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9760 PyObject *resultobj = 0;
9761 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9762 wxWindow *arg2 = (wxWindow *) 0 ;
9763 wxWindow *arg3 = (wxWindow *) 0 ;
9764 bool result;
9765 void *argp1 = 0 ;
9766 int res1 = 0 ;
9767 void *argp2 = 0 ;
9768 int res2 = 0 ;
9769 void *argp3 = 0 ;
9770 int res3 = 0 ;
9771 PyObject * obj0 = 0 ;
9772 PyObject * obj1 = 0 ;
9773 PyObject * obj2 = 0 ;
9774 char * kwnames[] = {
9775 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9776 };
9777
9778 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9779 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9780 if (!SWIG_IsOK(res1)) {
9781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9782 }
9783 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9784 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9785 if (!SWIG_IsOK(res2)) {
9786 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9787 }
9788 arg2 = reinterpret_cast< wxWindow * >(argp2);
9789 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9790 if (!SWIG_IsOK(res3)) {
9791 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9792 }
9793 arg3 = reinterpret_cast< wxWindow * >(argp3);
9794 {
9795 PyThreadState* __tstate = wxPyBeginAllowThreads();
9796 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
9797 wxPyEndAllowThreads(__tstate);
9798 if (PyErr_Occurred()) SWIG_fail;
9799 }
9800 {
9801 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9802 }
9803 return resultobj;
9804 fail:
9805 return NULL;
9806 }
9807
9808
9809 SWIGINTERN PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9810 PyObject *resultobj = 0;
9811 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9812 void *argp1 = 0 ;
9813 int res1 = 0 ;
9814 PyObject *swig_obj[1] ;
9815
9816 if (!args) SWIG_fail;
9817 swig_obj[0] = args;
9818 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9819 if (!SWIG_IsOK(res1)) {
9820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9821 }
9822 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9823 {
9824 PyThreadState* __tstate = wxPyBeginAllowThreads();
9825 (arg1)->UpdateSize();
9826 wxPyEndAllowThreads(__tstate);
9827 if (PyErr_Occurred()) SWIG_fail;
9828 }
9829 resultobj = SWIG_Py_Void();
9830 return resultobj;
9831 fail:
9832 return NULL;
9833 }
9834
9835
9836 SWIGINTERN PyObject *_wrap_SplitterWindow_IsSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9837 PyObject *resultobj = 0;
9838 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9839 bool result;
9840 void *argp1 = 0 ;
9841 int res1 = 0 ;
9842 PyObject *swig_obj[1] ;
9843
9844 if (!args) SWIG_fail;
9845 swig_obj[0] = args;
9846 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9847 if (!SWIG_IsOK(res1)) {
9848 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9849 }
9850 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9851 {
9852 PyThreadState* __tstate = wxPyBeginAllowThreads();
9853 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
9854 wxPyEndAllowThreads(__tstate);
9855 if (PyErr_Occurred()) SWIG_fail;
9856 }
9857 {
9858 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9859 }
9860 return resultobj;
9861 fail:
9862 return NULL;
9863 }
9864
9865
9866 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9867 PyObject *resultobj = 0;
9868 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9869 int arg2 ;
9870 void *argp1 = 0 ;
9871 int res1 = 0 ;
9872 int val2 ;
9873 int ecode2 = 0 ;
9874 PyObject * obj0 = 0 ;
9875 PyObject * obj1 = 0 ;
9876 char * kwnames[] = {
9877 (char *) "self",(char *) "width", NULL
9878 };
9879
9880 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) SWIG_fail;
9881 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9882 if (!SWIG_IsOK(res1)) {
9883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9884 }
9885 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9886 ecode2 = SWIG_AsVal_int(obj1, &val2);
9887 if (!SWIG_IsOK(ecode2)) {
9888 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
9889 }
9890 arg2 = static_cast< int >(val2);
9891 {
9892 PyThreadState* __tstate = wxPyBeginAllowThreads();
9893 (arg1)->SetSashSize(arg2);
9894 wxPyEndAllowThreads(__tstate);
9895 if (PyErr_Occurred()) SWIG_fail;
9896 }
9897 resultobj = SWIG_Py_Void();
9898 return resultobj;
9899 fail:
9900 return NULL;
9901 }
9902
9903
9904 SWIGINTERN PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9905 PyObject *resultobj = 0;
9906 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9907 int arg2 ;
9908 void *argp1 = 0 ;
9909 int res1 = 0 ;
9910 int val2 ;
9911 int ecode2 = 0 ;
9912 PyObject * obj0 = 0 ;
9913 PyObject * obj1 = 0 ;
9914 char * kwnames[] = {
9915 (char *) "self",(char *) "width", NULL
9916 };
9917
9918 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
9919 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9920 if (!SWIG_IsOK(res1)) {
9921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9922 }
9923 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9924 ecode2 = SWIG_AsVal_int(obj1, &val2);
9925 if (!SWIG_IsOK(ecode2)) {
9926 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
9927 }
9928 arg2 = static_cast< int >(val2);
9929 {
9930 PyThreadState* __tstate = wxPyBeginAllowThreads();
9931 (arg1)->SetBorderSize(arg2);
9932 wxPyEndAllowThreads(__tstate);
9933 if (PyErr_Occurred()) SWIG_fail;
9934 }
9935 resultobj = SWIG_Py_Void();
9936 return resultobj;
9937 fail:
9938 return NULL;
9939 }
9940
9941
9942 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9943 PyObject *resultobj = 0;
9944 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9945 int result;
9946 void *argp1 = 0 ;
9947 int res1 = 0 ;
9948 PyObject *swig_obj[1] ;
9949
9950 if (!args) SWIG_fail;
9951 swig_obj[0] = args;
9952 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9953 if (!SWIG_IsOK(res1)) {
9954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9955 }
9956 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9957 {
9958 PyThreadState* __tstate = wxPyBeginAllowThreads();
9959 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
9960 wxPyEndAllowThreads(__tstate);
9961 if (PyErr_Occurred()) SWIG_fail;
9962 }
9963 resultobj = SWIG_From_int(static_cast< int >(result));
9964 return resultobj;
9965 fail:
9966 return NULL;
9967 }
9968
9969
9970 SWIGINTERN PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9971 PyObject *resultobj = 0;
9972 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9973 int result;
9974 void *argp1 = 0 ;
9975 int res1 = 0 ;
9976 PyObject *swig_obj[1] ;
9977
9978 if (!args) SWIG_fail;
9979 swig_obj[0] = args;
9980 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9981 if (!SWIG_IsOK(res1)) {
9982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9983 }
9984 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9985 {
9986 PyThreadState* __tstate = wxPyBeginAllowThreads();
9987 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
9988 wxPyEndAllowThreads(__tstate);
9989 if (PyErr_Occurred()) SWIG_fail;
9990 }
9991 resultobj = SWIG_From_int(static_cast< int >(result));
9992 return resultobj;
9993 fail:
9994 return NULL;
9995 }
9996
9997
9998 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9999 PyObject *resultobj = 0;
10000 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10001 int arg2 ;
10002 bool arg3 = (bool) true ;
10003 void *argp1 = 0 ;
10004 int res1 = 0 ;
10005 int val2 ;
10006 int ecode2 = 0 ;
10007 bool val3 ;
10008 int ecode3 = 0 ;
10009 PyObject * obj0 = 0 ;
10010 PyObject * obj1 = 0 ;
10011 PyObject * obj2 = 0 ;
10012 char * kwnames[] = {
10013 (char *) "self",(char *) "position",(char *) "redraw", NULL
10014 };
10015
10016 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10017 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10018 if (!SWIG_IsOK(res1)) {
10019 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10020 }
10021 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10022 ecode2 = SWIG_AsVal_int(obj1, &val2);
10023 if (!SWIG_IsOK(ecode2)) {
10024 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10025 }
10026 arg2 = static_cast< int >(val2);
10027 if (obj2) {
10028 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10029 if (!SWIG_IsOK(ecode3)) {
10030 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10031 }
10032 arg3 = static_cast< bool >(val3);
10033 }
10034 {
10035 PyThreadState* __tstate = wxPyBeginAllowThreads();
10036 (arg1)->SetSashPosition(arg2,arg3);
10037 wxPyEndAllowThreads(__tstate);
10038 if (PyErr_Occurred()) SWIG_fail;
10039 }
10040 resultobj = SWIG_Py_Void();
10041 return resultobj;
10042 fail:
10043 return NULL;
10044 }
10045
10046
10047 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10048 PyObject *resultobj = 0;
10049 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10050 int result;
10051 void *argp1 = 0 ;
10052 int res1 = 0 ;
10053 PyObject *swig_obj[1] ;
10054
10055 if (!args) SWIG_fail;
10056 swig_obj[0] = args;
10057 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10058 if (!SWIG_IsOK(res1)) {
10059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10060 }
10061 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10062 {
10063 PyThreadState* __tstate = wxPyBeginAllowThreads();
10064 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
10065 wxPyEndAllowThreads(__tstate);
10066 if (PyErr_Occurred()) SWIG_fail;
10067 }
10068 resultobj = SWIG_From_int(static_cast< int >(result));
10069 return resultobj;
10070 fail:
10071 return NULL;
10072 }
10073
10074
10075 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10076 PyObject *resultobj = 0;
10077 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10078 double arg2 ;
10079 void *argp1 = 0 ;
10080 int res1 = 0 ;
10081 double val2 ;
10082 int ecode2 = 0 ;
10083 PyObject * obj0 = 0 ;
10084 PyObject * obj1 = 0 ;
10085 char * kwnames[] = {
10086 (char *) "self",(char *) "gravity", NULL
10087 };
10088
10089 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) SWIG_fail;
10090 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10091 if (!SWIG_IsOK(res1)) {
10092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10093 }
10094 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10095 ecode2 = SWIG_AsVal_double(obj1, &val2);
10096 if (!SWIG_IsOK(ecode2)) {
10097 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10098 }
10099 arg2 = static_cast< double >(val2);
10100 {
10101 PyThreadState* __tstate = wxPyBeginAllowThreads();
10102 (arg1)->SetSashGravity(arg2);
10103 wxPyEndAllowThreads(__tstate);
10104 if (PyErr_Occurred()) SWIG_fail;
10105 }
10106 resultobj = SWIG_Py_Void();
10107 return resultobj;
10108 fail:
10109 return NULL;
10110 }
10111
10112
10113 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10114 PyObject *resultobj = 0;
10115 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10116 double result;
10117 void *argp1 = 0 ;
10118 int res1 = 0 ;
10119 PyObject *swig_obj[1] ;
10120
10121 if (!args) SWIG_fail;
10122 swig_obj[0] = args;
10123 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10124 if (!SWIG_IsOK(res1)) {
10125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10126 }
10127 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10128 {
10129 PyThreadState* __tstate = wxPyBeginAllowThreads();
10130 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
10131 wxPyEndAllowThreads(__tstate);
10132 if (PyErr_Occurred()) SWIG_fail;
10133 }
10134 resultobj = SWIG_From_double(static_cast< double >(result));
10135 return resultobj;
10136 fail:
10137 return NULL;
10138 }
10139
10140
10141 SWIGINTERN PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10142 PyObject *resultobj = 0;
10143 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10144 int arg2 ;
10145 void *argp1 = 0 ;
10146 int res1 = 0 ;
10147 int val2 ;
10148 int ecode2 = 0 ;
10149 PyObject * obj0 = 0 ;
10150 PyObject * obj1 = 0 ;
10151 char * kwnames[] = {
10152 (char *) "self",(char *) "min", NULL
10153 };
10154
10155 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) SWIG_fail;
10156 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10157 if (!SWIG_IsOK(res1)) {
10158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10159 }
10160 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10161 ecode2 = SWIG_AsVal_int(obj1, &val2);
10162 if (!SWIG_IsOK(ecode2)) {
10163 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10164 }
10165 arg2 = static_cast< int >(val2);
10166 {
10167 PyThreadState* __tstate = wxPyBeginAllowThreads();
10168 (arg1)->SetMinimumPaneSize(arg2);
10169 wxPyEndAllowThreads(__tstate);
10170 if (PyErr_Occurred()) SWIG_fail;
10171 }
10172 resultobj = SWIG_Py_Void();
10173 return resultobj;
10174 fail:
10175 return NULL;
10176 }
10177
10178
10179 SWIGINTERN PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10180 PyObject *resultobj = 0;
10181 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10182 int result;
10183 void *argp1 = 0 ;
10184 int res1 = 0 ;
10185 PyObject *swig_obj[1] ;
10186
10187 if (!args) SWIG_fail;
10188 swig_obj[0] = args;
10189 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10190 if (!SWIG_IsOK(res1)) {
10191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10192 }
10193 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10194 {
10195 PyThreadState* __tstate = wxPyBeginAllowThreads();
10196 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
10197 wxPyEndAllowThreads(__tstate);
10198 if (PyErr_Occurred()) SWIG_fail;
10199 }
10200 resultobj = SWIG_From_int(static_cast< int >(result));
10201 return resultobj;
10202 fail:
10203 return NULL;
10204 }
10205
10206
10207 SWIGINTERN PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10208 PyObject *resultobj = 0;
10209 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10210 int arg2 ;
10211 int arg3 ;
10212 int arg4 = (int) 5 ;
10213 bool result;
10214 void *argp1 = 0 ;
10215 int res1 = 0 ;
10216 int val2 ;
10217 int ecode2 = 0 ;
10218 int val3 ;
10219 int ecode3 = 0 ;
10220 int val4 ;
10221 int ecode4 = 0 ;
10222 PyObject * obj0 = 0 ;
10223 PyObject * obj1 = 0 ;
10224 PyObject * obj2 = 0 ;
10225 PyObject * obj3 = 0 ;
10226 char * kwnames[] = {
10227 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10228 };
10229
10230 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10231 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10232 if (!SWIG_IsOK(res1)) {
10233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10234 }
10235 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10236 ecode2 = SWIG_AsVal_int(obj1, &val2);
10237 if (!SWIG_IsOK(ecode2)) {
10238 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10239 }
10240 arg2 = static_cast< int >(val2);
10241 ecode3 = SWIG_AsVal_int(obj2, &val3);
10242 if (!SWIG_IsOK(ecode3)) {
10243 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10244 }
10245 arg3 = static_cast< int >(val3);
10246 if (obj3) {
10247 ecode4 = SWIG_AsVal_int(obj3, &val4);
10248 if (!SWIG_IsOK(ecode4)) {
10249 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10250 }
10251 arg4 = static_cast< int >(val4);
10252 }
10253 {
10254 PyThreadState* __tstate = wxPyBeginAllowThreads();
10255 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
10256 wxPyEndAllowThreads(__tstate);
10257 if (PyErr_Occurred()) SWIG_fail;
10258 }
10259 {
10260 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10261 }
10262 return resultobj;
10263 fail:
10264 return NULL;
10265 }
10266
10267
10268 SWIGINTERN PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10269 PyObject *resultobj = 0;
10270 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10271 void *argp1 = 0 ;
10272 int res1 = 0 ;
10273 PyObject *swig_obj[1] ;
10274
10275 if (!args) SWIG_fail;
10276 swig_obj[0] = args;
10277 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10278 if (!SWIG_IsOK(res1)) {
10279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10280 }
10281 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10282 {
10283 PyThreadState* __tstate = wxPyBeginAllowThreads();
10284 (arg1)->SizeWindows();
10285 wxPyEndAllowThreads(__tstate);
10286 if (PyErr_Occurred()) SWIG_fail;
10287 }
10288 resultobj = SWIG_Py_Void();
10289 return resultobj;
10290 fail:
10291 return NULL;
10292 }
10293
10294
10295 SWIGINTERN PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10296 PyObject *resultobj = 0;
10297 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10298 bool arg2 ;
10299 void *argp1 = 0 ;
10300 int res1 = 0 ;
10301 bool val2 ;
10302 int ecode2 = 0 ;
10303 PyObject * obj0 = 0 ;
10304 PyObject * obj1 = 0 ;
10305 char * kwnames[] = {
10306 (char *) "self",(char *) "needUpdating", NULL
10307 };
10308
10309 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) SWIG_fail;
10310 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10311 if (!SWIG_IsOK(res1)) {
10312 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10313 }
10314 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10315 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10316 if (!SWIG_IsOK(ecode2)) {
10317 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10318 }
10319 arg2 = static_cast< bool >(val2);
10320 {
10321 PyThreadState* __tstate = wxPyBeginAllowThreads();
10322 (arg1)->SetNeedUpdating(arg2);
10323 wxPyEndAllowThreads(__tstate);
10324 if (PyErr_Occurred()) SWIG_fail;
10325 }
10326 resultobj = SWIG_Py_Void();
10327 return resultobj;
10328 fail:
10329 return NULL;
10330 }
10331
10332
10333 SWIGINTERN PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10334 PyObject *resultobj = 0;
10335 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10336 bool result;
10337 void *argp1 = 0 ;
10338 int res1 = 0 ;
10339 PyObject *swig_obj[1] ;
10340
10341 if (!args) SWIG_fail;
10342 swig_obj[0] = args;
10343 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10344 if (!SWIG_IsOK(res1)) {
10345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10346 }
10347 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10348 {
10349 PyThreadState* __tstate = wxPyBeginAllowThreads();
10350 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
10351 wxPyEndAllowThreads(__tstate);
10352 if (PyErr_Occurred()) SWIG_fail;
10353 }
10354 {
10355 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10356 }
10357 return resultobj;
10358 fail:
10359 return NULL;
10360 }
10361
10362
10363 SWIGINTERN PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10364 PyObject *resultobj = 0;
10365 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10366 SwigValueWrapper<wxVisualAttributes > result;
10367 int val1 ;
10368 int ecode1 = 0 ;
10369 PyObject * obj0 = 0 ;
10370 char * kwnames[] = {
10371 (char *) "variant", NULL
10372 };
10373
10374 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10375 if (obj0) {
10376 ecode1 = SWIG_AsVal_int(obj0, &val1);
10377 if (!SWIG_IsOK(ecode1)) {
10378 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10379 }
10380 arg1 = static_cast< wxWindowVariant >(val1);
10381 }
10382 {
10383 if (!wxPyCheckForApp()) SWIG_fail;
10384 PyThreadState* __tstate = wxPyBeginAllowThreads();
10385 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
10386 wxPyEndAllowThreads(__tstate);
10387 if (PyErr_Occurred()) SWIG_fail;
10388 }
10389 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10390 return resultobj;
10391 fail:
10392 return NULL;
10393 }
10394
10395
10396 SWIGINTERN PyObject *SplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10397 PyObject *obj;
10398 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10399 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow, SWIG_NewClientData(obj));
10400 return SWIG_Py_Void();
10401 }
10402
10403 SWIGINTERN PyObject *SplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10404 return SWIG_Python_InitShadowInstance(args);
10405 }
10406
10407 SWIGINTERN PyObject *_wrap_new_SplitterEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10408 PyObject *resultobj = 0;
10409 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10410 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
10411 wxSplitterEvent *result = 0 ;
10412 int val1 ;
10413 int ecode1 = 0 ;
10414 void *argp2 = 0 ;
10415 int res2 = 0 ;
10416 PyObject * obj0 = 0 ;
10417 PyObject * obj1 = 0 ;
10418 char * kwnames[] = {
10419 (char *) "type",(char *) "splitter", NULL
10420 };
10421
10422 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10423 if (obj0) {
10424 ecode1 = SWIG_AsVal_int(obj0, &val1);
10425 if (!SWIG_IsOK(ecode1)) {
10426 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10427 }
10428 arg1 = static_cast< wxEventType >(val1);
10429 }
10430 if (obj1) {
10431 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10432 if (!SWIG_IsOK(res2)) {
10433 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10434 }
10435 arg2 = reinterpret_cast< wxSplitterWindow * >(argp2);
10436 }
10437 {
10438 PyThreadState* __tstate = wxPyBeginAllowThreads();
10439 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
10440 wxPyEndAllowThreads(__tstate);
10441 if (PyErr_Occurred()) SWIG_fail;
10442 }
10443 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_NEW | 0 );
10444 return resultobj;
10445 fail:
10446 return NULL;
10447 }
10448
10449
10450 SWIGINTERN PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10451 PyObject *resultobj = 0;
10452 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10453 int arg2 ;
10454 void *argp1 = 0 ;
10455 int res1 = 0 ;
10456 int val2 ;
10457 int ecode2 = 0 ;
10458 PyObject * obj0 = 0 ;
10459 PyObject * obj1 = 0 ;
10460 char * kwnames[] = {
10461 (char *) "self",(char *) "pos", NULL
10462 };
10463
10464 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10465 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10466 if (!SWIG_IsOK(res1)) {
10467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10468 }
10469 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10470 ecode2 = SWIG_AsVal_int(obj1, &val2);
10471 if (!SWIG_IsOK(ecode2)) {
10472 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10473 }
10474 arg2 = static_cast< int >(val2);
10475 {
10476 PyThreadState* __tstate = wxPyBeginAllowThreads();
10477 (arg1)->SetSashPosition(arg2);
10478 wxPyEndAllowThreads(__tstate);
10479 if (PyErr_Occurred()) SWIG_fail;
10480 }
10481 resultobj = SWIG_Py_Void();
10482 return resultobj;
10483 fail:
10484 return NULL;
10485 }
10486
10487
10488 SWIGINTERN PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10489 PyObject *resultobj = 0;
10490 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10491 int result;
10492 void *argp1 = 0 ;
10493 int res1 = 0 ;
10494 PyObject *swig_obj[1] ;
10495
10496 if (!args) SWIG_fail;
10497 swig_obj[0] = args;
10498 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10499 if (!SWIG_IsOK(res1)) {
10500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10501 }
10502 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10503 {
10504 PyThreadState* __tstate = wxPyBeginAllowThreads();
10505 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
10506 wxPyEndAllowThreads(__tstate);
10507 if (PyErr_Occurred()) SWIG_fail;
10508 }
10509 resultobj = SWIG_From_int(static_cast< int >(result));
10510 return resultobj;
10511 fail:
10512 return NULL;
10513 }
10514
10515
10516 SWIGINTERN PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10517 PyObject *resultobj = 0;
10518 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10519 wxWindow *result = 0 ;
10520 void *argp1 = 0 ;
10521 int res1 = 0 ;
10522 PyObject *swig_obj[1] ;
10523
10524 if (!args) SWIG_fail;
10525 swig_obj[0] = args;
10526 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10527 if (!SWIG_IsOK(res1)) {
10528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10529 }
10530 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10531 {
10532 PyThreadState* __tstate = wxPyBeginAllowThreads();
10533 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
10534 wxPyEndAllowThreads(__tstate);
10535 if (PyErr_Occurred()) SWIG_fail;
10536 }
10537 {
10538 resultobj = wxPyMake_wxObject(result, 0);
10539 }
10540 return resultobj;
10541 fail:
10542 return NULL;
10543 }
10544
10545
10546 SWIGINTERN PyObject *_wrap_SplitterEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10547 PyObject *resultobj = 0;
10548 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10549 int result;
10550 void *argp1 = 0 ;
10551 int res1 = 0 ;
10552 PyObject *swig_obj[1] ;
10553
10554 if (!args) SWIG_fail;
10555 swig_obj[0] = args;
10556 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10557 if (!SWIG_IsOK(res1)) {
10558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10559 }
10560 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10561 {
10562 PyThreadState* __tstate = wxPyBeginAllowThreads();
10563 result = (int)((wxSplitterEvent const *)arg1)->GetX();
10564 wxPyEndAllowThreads(__tstate);
10565 if (PyErr_Occurred()) SWIG_fail;
10566 }
10567 resultobj = SWIG_From_int(static_cast< int >(result));
10568 return resultobj;
10569 fail:
10570 return NULL;
10571 }
10572
10573
10574 SWIGINTERN PyObject *_wrap_SplitterEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10575 PyObject *resultobj = 0;
10576 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10577 int result;
10578 void *argp1 = 0 ;
10579 int res1 = 0 ;
10580 PyObject *swig_obj[1] ;
10581
10582 if (!args) SWIG_fail;
10583 swig_obj[0] = args;
10584 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10585 if (!SWIG_IsOK(res1)) {
10586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10587 }
10588 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10589 {
10590 PyThreadState* __tstate = wxPyBeginAllowThreads();
10591 result = (int)((wxSplitterEvent const *)arg1)->GetY();
10592 wxPyEndAllowThreads(__tstate);
10593 if (PyErr_Occurred()) SWIG_fail;
10594 }
10595 resultobj = SWIG_From_int(static_cast< int >(result));
10596 return resultobj;
10597 fail:
10598 return NULL;
10599 }
10600
10601
10602 SWIGINTERN PyObject *SplitterEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10603 PyObject *obj;
10604 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10605 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent, SWIG_NewClientData(obj));
10606 return SWIG_Py_Void();
10607 }
10608
10609 SWIGINTERN PyObject *SplitterEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10610 return SWIG_Python_InitShadowInstance(args);
10611 }
10612
10613 SWIGINTERN int SashNameStr_set(PyObject *) {
10614 SWIG_Error(SWIG_AttributeError,"Variable SashNameStr is read-only.");
10615 return 1;
10616 }
10617
10618
10619 SWIGINTERN PyObject *SashNameStr_get(void) {
10620 PyObject *pyobj = 0;
10621
10622 {
10623 #if wxUSE_UNICODE
10624 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10625 #else
10626 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10627 #endif
10628 }
10629 return pyobj;
10630 }
10631
10632
10633 SWIGINTERN int SashLayoutNameStr_set(PyObject *) {
10634 SWIG_Error(SWIG_AttributeError,"Variable SashLayoutNameStr is read-only.");
10635 return 1;
10636 }
10637
10638
10639 SWIGINTERN PyObject *SashLayoutNameStr_get(void) {
10640 PyObject *pyobj = 0;
10641
10642 {
10643 #if wxUSE_UNICODE
10644 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10645 #else
10646 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10647 #endif
10648 }
10649 return pyobj;
10650 }
10651
10652
10653 SWIGINTERN PyObject *_wrap_new_SashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10654 PyObject *resultobj = 0;
10655 wxWindow *arg1 = (wxWindow *) 0 ;
10656 int arg2 = (int) -1 ;
10657 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10658 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10659 wxSize const &arg4_defvalue = wxDefaultSize ;
10660 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10661 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10662 wxString const &arg6_defvalue = wxPySashNameStr ;
10663 wxString *arg6 = (wxString *) &arg6_defvalue ;
10664 wxSashWindow *result = 0 ;
10665 void *argp1 = 0 ;
10666 int res1 = 0 ;
10667 int val2 ;
10668 int ecode2 = 0 ;
10669 wxPoint temp3 ;
10670 wxSize temp4 ;
10671 long val5 ;
10672 int ecode5 = 0 ;
10673 bool temp6 = false ;
10674 PyObject * obj0 = 0 ;
10675 PyObject * obj1 = 0 ;
10676 PyObject * obj2 = 0 ;
10677 PyObject * obj3 = 0 ;
10678 PyObject * obj4 = 0 ;
10679 PyObject * obj5 = 0 ;
10680 char * kwnames[] = {
10681 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10682 };
10683
10684 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10685 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10686 if (!SWIG_IsOK(res1)) {
10687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10688 }
10689 arg1 = reinterpret_cast< wxWindow * >(argp1);
10690 if (obj1) {
10691 ecode2 = SWIG_AsVal_int(obj1, &val2);
10692 if (!SWIG_IsOK(ecode2)) {
10693 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10694 }
10695 arg2 = static_cast< int >(val2);
10696 }
10697 if (obj2) {
10698 {
10699 arg3 = &temp3;
10700 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10701 }
10702 }
10703 if (obj3) {
10704 {
10705 arg4 = &temp4;
10706 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10707 }
10708 }
10709 if (obj4) {
10710 ecode5 = SWIG_AsVal_long(obj4, &val5);
10711 if (!SWIG_IsOK(ecode5)) {
10712 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10713 }
10714 arg5 = static_cast< long >(val5);
10715 }
10716 if (obj5) {
10717 {
10718 arg6 = wxString_in_helper(obj5);
10719 if (arg6 == NULL) SWIG_fail;
10720 temp6 = true;
10721 }
10722 }
10723 {
10724 if (!wxPyCheckForApp()) SWIG_fail;
10725 PyThreadState* __tstate = wxPyBeginAllowThreads();
10726 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10727 wxPyEndAllowThreads(__tstate);
10728 if (PyErr_Occurred()) SWIG_fail;
10729 }
10730 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_NEW | 0 );
10731 {
10732 if (temp6)
10733 delete arg6;
10734 }
10735 return resultobj;
10736 fail:
10737 {
10738 if (temp6)
10739 delete arg6;
10740 }
10741 return NULL;
10742 }
10743
10744
10745 SWIGINTERN PyObject *_wrap_new_PreSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10746 PyObject *resultobj = 0;
10747 wxSashWindow *result = 0 ;
10748
10749 if (!SWIG_Python_UnpackTuple(args,"new_PreSashWindow",0,0,0)) SWIG_fail;
10750 {
10751 if (!wxPyCheckForApp()) SWIG_fail;
10752 PyThreadState* __tstate = wxPyBeginAllowThreads();
10753 result = (wxSashWindow *)new wxSashWindow();
10754 wxPyEndAllowThreads(__tstate);
10755 if (PyErr_Occurred()) SWIG_fail;
10756 }
10757 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_OWN | 0 );
10758 return resultobj;
10759 fail:
10760 return NULL;
10761 }
10762
10763
10764 SWIGINTERN PyObject *_wrap_SashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10765 PyObject *resultobj = 0;
10766 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10767 wxWindow *arg2 = (wxWindow *) 0 ;
10768 int arg3 = (int) -1 ;
10769 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10770 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10771 wxSize const &arg5_defvalue = wxDefaultSize ;
10772 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10773 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10774 wxString const &arg7_defvalue = wxPySashNameStr ;
10775 wxString *arg7 = (wxString *) &arg7_defvalue ;
10776 bool result;
10777 void *argp1 = 0 ;
10778 int res1 = 0 ;
10779 void *argp2 = 0 ;
10780 int res2 = 0 ;
10781 int val3 ;
10782 int ecode3 = 0 ;
10783 wxPoint temp4 ;
10784 wxSize temp5 ;
10785 long val6 ;
10786 int ecode6 = 0 ;
10787 bool temp7 = false ;
10788 PyObject * obj0 = 0 ;
10789 PyObject * obj1 = 0 ;
10790 PyObject * obj2 = 0 ;
10791 PyObject * obj3 = 0 ;
10792 PyObject * obj4 = 0 ;
10793 PyObject * obj5 = 0 ;
10794 PyObject * obj6 = 0 ;
10795 char * kwnames[] = {
10796 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10797 };
10798
10799 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
10800 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10801 if (!SWIG_IsOK(res1)) {
10802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10803 }
10804 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10805 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10806 if (!SWIG_IsOK(res2)) {
10807 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10808 }
10809 arg2 = reinterpret_cast< wxWindow * >(argp2);
10810 if (obj2) {
10811 ecode3 = SWIG_AsVal_int(obj2, &val3);
10812 if (!SWIG_IsOK(ecode3)) {
10813 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10814 }
10815 arg3 = static_cast< int >(val3);
10816 }
10817 if (obj3) {
10818 {
10819 arg4 = &temp4;
10820 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10821 }
10822 }
10823 if (obj4) {
10824 {
10825 arg5 = &temp5;
10826 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10827 }
10828 }
10829 if (obj5) {
10830 ecode6 = SWIG_AsVal_long(obj5, &val6);
10831 if (!SWIG_IsOK(ecode6)) {
10832 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10833 }
10834 arg6 = static_cast< long >(val6);
10835 }
10836 if (obj6) {
10837 {
10838 arg7 = wxString_in_helper(obj6);
10839 if (arg7 == NULL) SWIG_fail;
10840 temp7 = true;
10841 }
10842 }
10843 {
10844 PyThreadState* __tstate = wxPyBeginAllowThreads();
10845 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10846 wxPyEndAllowThreads(__tstate);
10847 if (PyErr_Occurred()) SWIG_fail;
10848 }
10849 {
10850 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10851 }
10852 {
10853 if (temp7)
10854 delete arg7;
10855 }
10856 return resultobj;
10857 fail:
10858 {
10859 if (temp7)
10860 delete arg7;
10861 }
10862 return NULL;
10863 }
10864
10865
10866 SWIGINTERN PyObject *_wrap_SashWindow_SetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10867 PyObject *resultobj = 0;
10868 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10869 wxSashEdgePosition arg2 ;
10870 bool arg3 ;
10871 void *argp1 = 0 ;
10872 int res1 = 0 ;
10873 int val2 ;
10874 int ecode2 = 0 ;
10875 bool val3 ;
10876 int ecode3 = 0 ;
10877 PyObject * obj0 = 0 ;
10878 PyObject * obj1 = 0 ;
10879 PyObject * obj2 = 0 ;
10880 char * kwnames[] = {
10881 (char *) "self",(char *) "edge",(char *) "sash", NULL
10882 };
10883
10884 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10885 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10886 if (!SWIG_IsOK(res1)) {
10887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10888 }
10889 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10890 ecode2 = SWIG_AsVal_int(obj1, &val2);
10891 if (!SWIG_IsOK(ecode2)) {
10892 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10893 }
10894 arg2 = static_cast< wxSashEdgePosition >(val2);
10895 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10896 if (!SWIG_IsOK(ecode3)) {
10897 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
10898 }
10899 arg3 = static_cast< bool >(val3);
10900 {
10901 PyThreadState* __tstate = wxPyBeginAllowThreads();
10902 (arg1)->SetSashVisible(arg2,arg3);
10903 wxPyEndAllowThreads(__tstate);
10904 if (PyErr_Occurred()) SWIG_fail;
10905 }
10906 resultobj = SWIG_Py_Void();
10907 return resultobj;
10908 fail:
10909 return NULL;
10910 }
10911
10912
10913 SWIGINTERN PyObject *_wrap_SashWindow_GetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10914 PyObject *resultobj = 0;
10915 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10916 wxSashEdgePosition arg2 ;
10917 bool result;
10918 void *argp1 = 0 ;
10919 int res1 = 0 ;
10920 int val2 ;
10921 int ecode2 = 0 ;
10922 PyObject * obj0 = 0 ;
10923 PyObject * obj1 = 0 ;
10924 char * kwnames[] = {
10925 (char *) "self",(char *) "edge", NULL
10926 };
10927
10928 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) SWIG_fail;
10929 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10930 if (!SWIG_IsOK(res1)) {
10931 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10932 }
10933 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10934 ecode2 = SWIG_AsVal_int(obj1, &val2);
10935 if (!SWIG_IsOK(ecode2)) {
10936 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10937 }
10938 arg2 = static_cast< wxSashEdgePosition >(val2);
10939 {
10940 PyThreadState* __tstate = wxPyBeginAllowThreads();
10941 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
10942 wxPyEndAllowThreads(__tstate);
10943 if (PyErr_Occurred()) SWIG_fail;
10944 }
10945 {
10946 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10947 }
10948 return resultobj;
10949 fail:
10950 return NULL;
10951 }
10952
10953
10954 SWIGINTERN PyObject *_wrap_SashWindow_SetSashBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10955 PyObject *resultobj = 0;
10956 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10957 wxSashEdgePosition arg2 ;
10958 bool arg3 ;
10959 void *argp1 = 0 ;
10960 int res1 = 0 ;
10961 int val2 ;
10962 int ecode2 = 0 ;
10963 bool val3 ;
10964 int ecode3 = 0 ;
10965 PyObject * obj0 = 0 ;
10966 PyObject * obj1 = 0 ;
10967 PyObject * obj2 = 0 ;
10968 char * kwnames[] = {
10969 (char *) "self",(char *) "edge",(char *) "border", NULL
10970 };
10971
10972 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10973 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10974 if (!SWIG_IsOK(res1)) {
10975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10976 }
10977 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10978 ecode2 = SWIG_AsVal_int(obj1, &val2);
10979 if (!SWIG_IsOK(ecode2)) {
10980 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10981 }
10982 arg2 = static_cast< wxSashEdgePosition >(val2);
10983 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10984 if (!SWIG_IsOK(ecode3)) {
10985 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
10986 }
10987 arg3 = static_cast< bool >(val3);
10988 {
10989 PyThreadState* __tstate = wxPyBeginAllowThreads();
10990 (arg1)->SetSashBorder(arg2,arg3);
10991 wxPyEndAllowThreads(__tstate);
10992 if (PyErr_Occurred()) SWIG_fail;
10993 }
10994 resultobj = SWIG_Py_Void();
10995 return resultobj;
10996 fail:
10997 return NULL;
10998 }
10999
11000
11001 SWIGINTERN PyObject *_wrap_SashWindow_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11002 PyObject *resultobj = 0;
11003 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11004 wxSashEdgePosition arg2 ;
11005 bool result;
11006 void *argp1 = 0 ;
11007 int res1 = 0 ;
11008 int val2 ;
11009 int ecode2 = 0 ;
11010 PyObject * obj0 = 0 ;
11011 PyObject * obj1 = 0 ;
11012 char * kwnames[] = {
11013 (char *) "self",(char *) "edge", NULL
11014 };
11015
11016 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) SWIG_fail;
11017 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11018 if (!SWIG_IsOK(res1)) {
11019 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11020 }
11021 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11022 ecode2 = SWIG_AsVal_int(obj1, &val2);
11023 if (!SWIG_IsOK(ecode2)) {
11024 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11025 }
11026 arg2 = static_cast< wxSashEdgePosition >(val2);
11027 {
11028 PyThreadState* __tstate = wxPyBeginAllowThreads();
11029 result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2);
11030 wxPyEndAllowThreads(__tstate);
11031 if (PyErr_Occurred()) SWIG_fail;
11032 }
11033 {
11034 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11035 }
11036 return resultobj;
11037 fail:
11038 return NULL;
11039 }
11040
11041
11042 SWIGINTERN PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11043 PyObject *resultobj = 0;
11044 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11045 wxSashEdgePosition arg2 ;
11046 int result;
11047 void *argp1 = 0 ;
11048 int res1 = 0 ;
11049 int val2 ;
11050 int ecode2 = 0 ;
11051 PyObject * obj0 = 0 ;
11052 PyObject * obj1 = 0 ;
11053 char * kwnames[] = {
11054 (char *) "self",(char *) "edge", NULL
11055 };
11056
11057 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) SWIG_fail;
11058 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11059 if (!SWIG_IsOK(res1)) {
11060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11061 }
11062 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11063 ecode2 = SWIG_AsVal_int(obj1, &val2);
11064 if (!SWIG_IsOK(ecode2)) {
11065 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11066 }
11067 arg2 = static_cast< wxSashEdgePosition >(val2);
11068 {
11069 PyThreadState* __tstate = wxPyBeginAllowThreads();
11070 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
11071 wxPyEndAllowThreads(__tstate);
11072 if (PyErr_Occurred()) SWIG_fail;
11073 }
11074 resultobj = SWIG_From_int(static_cast< int >(result));
11075 return resultobj;
11076 fail:
11077 return NULL;
11078 }
11079
11080
11081 SWIGINTERN PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11082 PyObject *resultobj = 0;
11083 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11084 int arg2 ;
11085 void *argp1 = 0 ;
11086 int res1 = 0 ;
11087 int val2 ;
11088 int ecode2 = 0 ;
11089 PyObject * obj0 = 0 ;
11090 PyObject * obj1 = 0 ;
11091 char * kwnames[] = {
11092 (char *) "self",(char *) "width", NULL
11093 };
11094
11095 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11096 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11097 if (!SWIG_IsOK(res1)) {
11098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11099 }
11100 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11101 ecode2 = SWIG_AsVal_int(obj1, &val2);
11102 if (!SWIG_IsOK(ecode2)) {
11103 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11104 }
11105 arg2 = static_cast< int >(val2);
11106 {
11107 PyThreadState* __tstate = wxPyBeginAllowThreads();
11108 (arg1)->SetDefaultBorderSize(arg2);
11109 wxPyEndAllowThreads(__tstate);
11110 if (PyErr_Occurred()) SWIG_fail;
11111 }
11112 resultobj = SWIG_Py_Void();
11113 return resultobj;
11114 fail:
11115 return NULL;
11116 }
11117
11118
11119 SWIGINTERN PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11120 PyObject *resultobj = 0;
11121 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11122 int result;
11123 void *argp1 = 0 ;
11124 int res1 = 0 ;
11125 PyObject *swig_obj[1] ;
11126
11127 if (!args) SWIG_fail;
11128 swig_obj[0] = args;
11129 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11130 if (!SWIG_IsOK(res1)) {
11131 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11132 }
11133 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11134 {
11135 PyThreadState* __tstate = wxPyBeginAllowThreads();
11136 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
11137 wxPyEndAllowThreads(__tstate);
11138 if (PyErr_Occurred()) SWIG_fail;
11139 }
11140 resultobj = SWIG_From_int(static_cast< int >(result));
11141 return resultobj;
11142 fail:
11143 return NULL;
11144 }
11145
11146
11147 SWIGINTERN PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11148 PyObject *resultobj = 0;
11149 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11150 int arg2 ;
11151 void *argp1 = 0 ;
11152 int res1 = 0 ;
11153 int val2 ;
11154 int ecode2 = 0 ;
11155 PyObject * obj0 = 0 ;
11156 PyObject * obj1 = 0 ;
11157 char * kwnames[] = {
11158 (char *) "self",(char *) "width", NULL
11159 };
11160
11161 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11162 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11163 if (!SWIG_IsOK(res1)) {
11164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11165 }
11166 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11167 ecode2 = SWIG_AsVal_int(obj1, &val2);
11168 if (!SWIG_IsOK(ecode2)) {
11169 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11170 }
11171 arg2 = static_cast< int >(val2);
11172 {
11173 PyThreadState* __tstate = wxPyBeginAllowThreads();
11174 (arg1)->SetExtraBorderSize(arg2);
11175 wxPyEndAllowThreads(__tstate);
11176 if (PyErr_Occurred()) SWIG_fail;
11177 }
11178 resultobj = SWIG_Py_Void();
11179 return resultobj;
11180 fail:
11181 return NULL;
11182 }
11183
11184
11185 SWIGINTERN PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11186 PyObject *resultobj = 0;
11187 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11188 int result;
11189 void *argp1 = 0 ;
11190 int res1 = 0 ;
11191 PyObject *swig_obj[1] ;
11192
11193 if (!args) SWIG_fail;
11194 swig_obj[0] = args;
11195 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11196 if (!SWIG_IsOK(res1)) {
11197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11198 }
11199 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11200 {
11201 PyThreadState* __tstate = wxPyBeginAllowThreads();
11202 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
11203 wxPyEndAllowThreads(__tstate);
11204 if (PyErr_Occurred()) SWIG_fail;
11205 }
11206 resultobj = SWIG_From_int(static_cast< int >(result));
11207 return resultobj;
11208 fail:
11209 return NULL;
11210 }
11211
11212
11213 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11214 PyObject *resultobj = 0;
11215 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11216 int arg2 ;
11217 void *argp1 = 0 ;
11218 int res1 = 0 ;
11219 int val2 ;
11220 int ecode2 = 0 ;
11221 PyObject * obj0 = 0 ;
11222 PyObject * obj1 = 0 ;
11223 char * kwnames[] = {
11224 (char *) "self",(char *) "min", NULL
11225 };
11226
11227 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11228 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11229 if (!SWIG_IsOK(res1)) {
11230 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11231 }
11232 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11233 ecode2 = SWIG_AsVal_int(obj1, &val2);
11234 if (!SWIG_IsOK(ecode2)) {
11235 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11236 }
11237 arg2 = static_cast< int >(val2);
11238 {
11239 PyThreadState* __tstate = wxPyBeginAllowThreads();
11240 (arg1)->SetMinimumSizeX(arg2);
11241 wxPyEndAllowThreads(__tstate);
11242 if (PyErr_Occurred()) SWIG_fail;
11243 }
11244 resultobj = SWIG_Py_Void();
11245 return resultobj;
11246 fail:
11247 return NULL;
11248 }
11249
11250
11251 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11252 PyObject *resultobj = 0;
11253 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11254 int arg2 ;
11255 void *argp1 = 0 ;
11256 int res1 = 0 ;
11257 int val2 ;
11258 int ecode2 = 0 ;
11259 PyObject * obj0 = 0 ;
11260 PyObject * obj1 = 0 ;
11261 char * kwnames[] = {
11262 (char *) "self",(char *) "min", NULL
11263 };
11264
11265 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11266 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11267 if (!SWIG_IsOK(res1)) {
11268 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11269 }
11270 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11271 ecode2 = SWIG_AsVal_int(obj1, &val2);
11272 if (!SWIG_IsOK(ecode2)) {
11273 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11274 }
11275 arg2 = static_cast< int >(val2);
11276 {
11277 PyThreadState* __tstate = wxPyBeginAllowThreads();
11278 (arg1)->SetMinimumSizeY(arg2);
11279 wxPyEndAllowThreads(__tstate);
11280 if (PyErr_Occurred()) SWIG_fail;
11281 }
11282 resultobj = SWIG_Py_Void();
11283 return resultobj;
11284 fail:
11285 return NULL;
11286 }
11287
11288
11289 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11290 PyObject *resultobj = 0;
11291 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11292 int result;
11293 void *argp1 = 0 ;
11294 int res1 = 0 ;
11295 PyObject *swig_obj[1] ;
11296
11297 if (!args) SWIG_fail;
11298 swig_obj[0] = args;
11299 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11300 if (!SWIG_IsOK(res1)) {
11301 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11302 }
11303 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11304 {
11305 PyThreadState* __tstate = wxPyBeginAllowThreads();
11306 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
11307 wxPyEndAllowThreads(__tstate);
11308 if (PyErr_Occurred()) SWIG_fail;
11309 }
11310 resultobj = SWIG_From_int(static_cast< int >(result));
11311 return resultobj;
11312 fail:
11313 return NULL;
11314 }
11315
11316
11317 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11318 PyObject *resultobj = 0;
11319 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11320 int result;
11321 void *argp1 = 0 ;
11322 int res1 = 0 ;
11323 PyObject *swig_obj[1] ;
11324
11325 if (!args) SWIG_fail;
11326 swig_obj[0] = args;
11327 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11328 if (!SWIG_IsOK(res1)) {
11329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11330 }
11331 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11332 {
11333 PyThreadState* __tstate = wxPyBeginAllowThreads();
11334 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
11335 wxPyEndAllowThreads(__tstate);
11336 if (PyErr_Occurred()) SWIG_fail;
11337 }
11338 resultobj = SWIG_From_int(static_cast< int >(result));
11339 return resultobj;
11340 fail:
11341 return NULL;
11342 }
11343
11344
11345 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11346 PyObject *resultobj = 0;
11347 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11348 int arg2 ;
11349 void *argp1 = 0 ;
11350 int res1 = 0 ;
11351 int val2 ;
11352 int ecode2 = 0 ;
11353 PyObject * obj0 = 0 ;
11354 PyObject * obj1 = 0 ;
11355 char * kwnames[] = {
11356 (char *) "self",(char *) "max", NULL
11357 };
11358
11359 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11360 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11361 if (!SWIG_IsOK(res1)) {
11362 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11363 }
11364 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11365 ecode2 = SWIG_AsVal_int(obj1, &val2);
11366 if (!SWIG_IsOK(ecode2)) {
11367 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11368 }
11369 arg2 = static_cast< int >(val2);
11370 {
11371 PyThreadState* __tstate = wxPyBeginAllowThreads();
11372 (arg1)->SetMaximumSizeX(arg2);
11373 wxPyEndAllowThreads(__tstate);
11374 if (PyErr_Occurred()) SWIG_fail;
11375 }
11376 resultobj = SWIG_Py_Void();
11377 return resultobj;
11378 fail:
11379 return NULL;
11380 }
11381
11382
11383 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11384 PyObject *resultobj = 0;
11385 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11386 int arg2 ;
11387 void *argp1 = 0 ;
11388 int res1 = 0 ;
11389 int val2 ;
11390 int ecode2 = 0 ;
11391 PyObject * obj0 = 0 ;
11392 PyObject * obj1 = 0 ;
11393 char * kwnames[] = {
11394 (char *) "self",(char *) "max", NULL
11395 };
11396
11397 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11398 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11399 if (!SWIG_IsOK(res1)) {
11400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11401 }
11402 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11403 ecode2 = SWIG_AsVal_int(obj1, &val2);
11404 if (!SWIG_IsOK(ecode2)) {
11405 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11406 }
11407 arg2 = static_cast< int >(val2);
11408 {
11409 PyThreadState* __tstate = wxPyBeginAllowThreads();
11410 (arg1)->SetMaximumSizeY(arg2);
11411 wxPyEndAllowThreads(__tstate);
11412 if (PyErr_Occurred()) SWIG_fail;
11413 }
11414 resultobj = SWIG_Py_Void();
11415 return resultobj;
11416 fail:
11417 return NULL;
11418 }
11419
11420
11421 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11422 PyObject *resultobj = 0;
11423 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11424 int result;
11425 void *argp1 = 0 ;
11426 int res1 = 0 ;
11427 PyObject *swig_obj[1] ;
11428
11429 if (!args) SWIG_fail;
11430 swig_obj[0] = args;
11431 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11432 if (!SWIG_IsOK(res1)) {
11433 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11434 }
11435 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11436 {
11437 PyThreadState* __tstate = wxPyBeginAllowThreads();
11438 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
11439 wxPyEndAllowThreads(__tstate);
11440 if (PyErr_Occurred()) SWIG_fail;
11441 }
11442 resultobj = SWIG_From_int(static_cast< int >(result));
11443 return resultobj;
11444 fail:
11445 return NULL;
11446 }
11447
11448
11449 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11450 PyObject *resultobj = 0;
11451 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11452 int result;
11453 void *argp1 = 0 ;
11454 int res1 = 0 ;
11455 PyObject *swig_obj[1] ;
11456
11457 if (!args) SWIG_fail;
11458 swig_obj[0] = args;
11459 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11460 if (!SWIG_IsOK(res1)) {
11461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11462 }
11463 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11464 {
11465 PyThreadState* __tstate = wxPyBeginAllowThreads();
11466 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
11467 wxPyEndAllowThreads(__tstate);
11468 if (PyErr_Occurred()) SWIG_fail;
11469 }
11470 resultobj = SWIG_From_int(static_cast< int >(result));
11471 return resultobj;
11472 fail:
11473 return NULL;
11474 }
11475
11476
11477 SWIGINTERN PyObject *_wrap_SashWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11478 PyObject *resultobj = 0;
11479 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11480 int arg2 ;
11481 int arg3 ;
11482 int arg4 = (int) 2 ;
11483 wxSashEdgePosition result;
11484 void *argp1 = 0 ;
11485 int res1 = 0 ;
11486 int val2 ;
11487 int ecode2 = 0 ;
11488 int val3 ;
11489 int ecode3 = 0 ;
11490 int val4 ;
11491 int ecode4 = 0 ;
11492 PyObject * obj0 = 0 ;
11493 PyObject * obj1 = 0 ;
11494 PyObject * obj2 = 0 ;
11495 PyObject * obj3 = 0 ;
11496 char * kwnames[] = {
11497 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11498 };
11499
11500 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11501 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11502 if (!SWIG_IsOK(res1)) {
11503 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11504 }
11505 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11506 ecode2 = SWIG_AsVal_int(obj1, &val2);
11507 if (!SWIG_IsOK(ecode2)) {
11508 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11509 }
11510 arg2 = static_cast< int >(val2);
11511 ecode3 = SWIG_AsVal_int(obj2, &val3);
11512 if (!SWIG_IsOK(ecode3)) {
11513 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11514 }
11515 arg3 = static_cast< int >(val3);
11516 if (obj3) {
11517 ecode4 = SWIG_AsVal_int(obj3, &val4);
11518 if (!SWIG_IsOK(ecode4)) {
11519 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11520 }
11521 arg4 = static_cast< int >(val4);
11522 }
11523 {
11524 PyThreadState* __tstate = wxPyBeginAllowThreads();
11525 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
11526 wxPyEndAllowThreads(__tstate);
11527 if (PyErr_Occurred()) SWIG_fail;
11528 }
11529 resultobj = SWIG_From_int(static_cast< int >(result));
11530 return resultobj;
11531 fail:
11532 return NULL;
11533 }
11534
11535
11536 SWIGINTERN PyObject *_wrap_SashWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11537 PyObject *resultobj = 0;
11538 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11539 void *argp1 = 0 ;
11540 int res1 = 0 ;
11541 PyObject *swig_obj[1] ;
11542
11543 if (!args) SWIG_fail;
11544 swig_obj[0] = args;
11545 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11546 if (!SWIG_IsOK(res1)) {
11547 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11548 }
11549 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11550 {
11551 PyThreadState* __tstate = wxPyBeginAllowThreads();
11552 (arg1)->SizeWindows();
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 *SashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11564 PyObject *obj;
11565 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11566 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow, SWIG_NewClientData(obj));
11567 return SWIG_Py_Void();
11568 }
11569
11570 SWIGINTERN PyObject *SashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11571 return SWIG_Python_InitShadowInstance(args);
11572 }
11573
11574 SWIGINTERN PyObject *_wrap_new_SashEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11575 PyObject *resultobj = 0;
11576 int arg1 = (int) 0 ;
11577 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
11578 wxSashEvent *result = 0 ;
11579 int val1 ;
11580 int ecode1 = 0 ;
11581 int val2 ;
11582 int ecode2 = 0 ;
11583 PyObject * obj0 = 0 ;
11584 PyObject * obj1 = 0 ;
11585 char * kwnames[] = {
11586 (char *) "id",(char *) "edge", NULL
11587 };
11588
11589 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11590 if (obj0) {
11591 ecode1 = SWIG_AsVal_int(obj0, &val1);
11592 if (!SWIG_IsOK(ecode1)) {
11593 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11594 }
11595 arg1 = static_cast< int >(val1);
11596 }
11597 if (obj1) {
11598 ecode2 = SWIG_AsVal_int(obj1, &val2);
11599 if (!SWIG_IsOK(ecode2)) {
11600 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11601 }
11602 arg2 = static_cast< wxSashEdgePosition >(val2);
11603 }
11604 {
11605 PyThreadState* __tstate = wxPyBeginAllowThreads();
11606 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
11607 wxPyEndAllowThreads(__tstate);
11608 if (PyErr_Occurred()) SWIG_fail;
11609 }
11610 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashEvent, SWIG_POINTER_NEW | 0 );
11611 return resultobj;
11612 fail:
11613 return NULL;
11614 }
11615
11616
11617 SWIGINTERN PyObject *_wrap_SashEvent_SetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11618 PyObject *resultobj = 0;
11619 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11620 wxSashEdgePosition arg2 ;
11621 void *argp1 = 0 ;
11622 int res1 = 0 ;
11623 int val2 ;
11624 int ecode2 = 0 ;
11625 PyObject * obj0 = 0 ;
11626 PyObject * obj1 = 0 ;
11627 char * kwnames[] = {
11628 (char *) "self",(char *) "edge", NULL
11629 };
11630
11631 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) SWIG_fail;
11632 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11633 if (!SWIG_IsOK(res1)) {
11634 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11635 }
11636 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11637 ecode2 = SWIG_AsVal_int(obj1, &val2);
11638 if (!SWIG_IsOK(ecode2)) {
11639 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11640 }
11641 arg2 = static_cast< wxSashEdgePosition >(val2);
11642 {
11643 PyThreadState* __tstate = wxPyBeginAllowThreads();
11644 (arg1)->SetEdge(arg2);
11645 wxPyEndAllowThreads(__tstate);
11646 if (PyErr_Occurred()) SWIG_fail;
11647 }
11648 resultobj = SWIG_Py_Void();
11649 return resultobj;
11650 fail:
11651 return NULL;
11652 }
11653
11654
11655 SWIGINTERN PyObject *_wrap_SashEvent_GetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11656 PyObject *resultobj = 0;
11657 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11658 wxSashEdgePosition result;
11659 void *argp1 = 0 ;
11660 int res1 = 0 ;
11661 PyObject *swig_obj[1] ;
11662
11663 if (!args) SWIG_fail;
11664 swig_obj[0] = args;
11665 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11666 if (!SWIG_IsOK(res1)) {
11667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11668 }
11669 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11670 {
11671 PyThreadState* __tstate = wxPyBeginAllowThreads();
11672 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
11673 wxPyEndAllowThreads(__tstate);
11674 if (PyErr_Occurred()) SWIG_fail;
11675 }
11676 resultobj = SWIG_From_int(static_cast< int >(result));
11677 return resultobj;
11678 fail:
11679 return NULL;
11680 }
11681
11682
11683 SWIGINTERN PyObject *_wrap_SashEvent_SetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11684 PyObject *resultobj = 0;
11685 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11686 wxRect *arg2 = 0 ;
11687 void *argp1 = 0 ;
11688 int res1 = 0 ;
11689 wxRect temp2 ;
11690 PyObject * obj0 = 0 ;
11691 PyObject * obj1 = 0 ;
11692 char * kwnames[] = {
11693 (char *) "self",(char *) "rect", NULL
11694 };
11695
11696 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) SWIG_fail;
11697 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11698 if (!SWIG_IsOK(res1)) {
11699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11700 }
11701 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11702 {
11703 arg2 = &temp2;
11704 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11705 }
11706 {
11707 PyThreadState* __tstate = wxPyBeginAllowThreads();
11708 (arg1)->SetDragRect((wxRect const &)*arg2);
11709 wxPyEndAllowThreads(__tstate);
11710 if (PyErr_Occurred()) SWIG_fail;
11711 }
11712 resultobj = SWIG_Py_Void();
11713 return resultobj;
11714 fail:
11715 return NULL;
11716 }
11717
11718
11719 SWIGINTERN PyObject *_wrap_SashEvent_GetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11720 PyObject *resultobj = 0;
11721 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11722 wxRect result;
11723 void *argp1 = 0 ;
11724 int res1 = 0 ;
11725 PyObject *swig_obj[1] ;
11726
11727 if (!args) SWIG_fail;
11728 swig_obj[0] = args;
11729 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11730 if (!SWIG_IsOK(res1)) {
11731 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11732 }
11733 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11734 {
11735 PyThreadState* __tstate = wxPyBeginAllowThreads();
11736 result = ((wxSashEvent const *)arg1)->GetDragRect();
11737 wxPyEndAllowThreads(__tstate);
11738 if (PyErr_Occurred()) SWIG_fail;
11739 }
11740 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
11741 return resultobj;
11742 fail:
11743 return NULL;
11744 }
11745
11746
11747 SWIGINTERN PyObject *_wrap_SashEvent_SetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11748 PyObject *resultobj = 0;
11749 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11750 wxSashDragStatus arg2 ;
11751 void *argp1 = 0 ;
11752 int res1 = 0 ;
11753 int val2 ;
11754 int ecode2 = 0 ;
11755 PyObject * obj0 = 0 ;
11756 PyObject * obj1 = 0 ;
11757 char * kwnames[] = {
11758 (char *) "self",(char *) "status", NULL
11759 };
11760
11761 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) SWIG_fail;
11762 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11763 if (!SWIG_IsOK(res1)) {
11764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11765 }
11766 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11767 ecode2 = SWIG_AsVal_int(obj1, &val2);
11768 if (!SWIG_IsOK(ecode2)) {
11769 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11770 }
11771 arg2 = static_cast< wxSashDragStatus >(val2);
11772 {
11773 PyThreadState* __tstate = wxPyBeginAllowThreads();
11774 (arg1)->SetDragStatus(arg2);
11775 wxPyEndAllowThreads(__tstate);
11776 if (PyErr_Occurred()) SWIG_fail;
11777 }
11778 resultobj = SWIG_Py_Void();
11779 return resultobj;
11780 fail:
11781 return NULL;
11782 }
11783
11784
11785 SWIGINTERN PyObject *_wrap_SashEvent_GetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11786 PyObject *resultobj = 0;
11787 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11788 wxSashDragStatus result;
11789 void *argp1 = 0 ;
11790 int res1 = 0 ;
11791 PyObject *swig_obj[1] ;
11792
11793 if (!args) SWIG_fail;
11794 swig_obj[0] = args;
11795 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11796 if (!SWIG_IsOK(res1)) {
11797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11798 }
11799 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11800 {
11801 PyThreadState* __tstate = wxPyBeginAllowThreads();
11802 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
11803 wxPyEndAllowThreads(__tstate);
11804 if (PyErr_Occurred()) SWIG_fail;
11805 }
11806 resultobj = SWIG_From_int(static_cast< int >(result));
11807 return resultobj;
11808 fail:
11809 return NULL;
11810 }
11811
11812
11813 SWIGINTERN PyObject *SashEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11814 PyObject *obj;
11815 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11816 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent, SWIG_NewClientData(obj));
11817 return SWIG_Py_Void();
11818 }
11819
11820 SWIGINTERN PyObject *SashEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11821 return SWIG_Python_InitShadowInstance(args);
11822 }
11823
11824 SWIGINTERN PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11825 PyObject *resultobj = 0;
11826 int arg1 = (int) 0 ;
11827 wxQueryLayoutInfoEvent *result = 0 ;
11828 int val1 ;
11829 int ecode1 = 0 ;
11830 PyObject * obj0 = 0 ;
11831 char * kwnames[] = {
11832 (char *) "id", NULL
11833 };
11834
11835 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) SWIG_fail;
11836 if (obj0) {
11837 ecode1 = SWIG_AsVal_int(obj0, &val1);
11838 if (!SWIG_IsOK(ecode1)) {
11839 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11840 }
11841 arg1 = static_cast< int >(val1);
11842 }
11843 {
11844 PyThreadState* __tstate = wxPyBeginAllowThreads();
11845 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
11846 wxPyEndAllowThreads(__tstate);
11847 if (PyErr_Occurred()) SWIG_fail;
11848 }
11849 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_NEW | 0 );
11850 return resultobj;
11851 fail:
11852 return NULL;
11853 }
11854
11855
11856 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11857 PyObject *resultobj = 0;
11858 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11859 int arg2 ;
11860 void *argp1 = 0 ;
11861 int res1 = 0 ;
11862 int val2 ;
11863 int ecode2 = 0 ;
11864 PyObject * obj0 = 0 ;
11865 PyObject * obj1 = 0 ;
11866 char * kwnames[] = {
11867 (char *) "self",(char *) "length", NULL
11868 };
11869
11870 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) SWIG_fail;
11871 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11872 if (!SWIG_IsOK(res1)) {
11873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11874 }
11875 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11876 ecode2 = SWIG_AsVal_int(obj1, &val2);
11877 if (!SWIG_IsOK(ecode2)) {
11878 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
11879 }
11880 arg2 = static_cast< int >(val2);
11881 {
11882 PyThreadState* __tstate = wxPyBeginAllowThreads();
11883 (arg1)->SetRequestedLength(arg2);
11884 wxPyEndAllowThreads(__tstate);
11885 if (PyErr_Occurred()) SWIG_fail;
11886 }
11887 resultobj = SWIG_Py_Void();
11888 return resultobj;
11889 fail:
11890 return NULL;
11891 }
11892
11893
11894 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11895 PyObject *resultobj = 0;
11896 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11897 int result;
11898 void *argp1 = 0 ;
11899 int res1 = 0 ;
11900 PyObject *swig_obj[1] ;
11901
11902 if (!args) SWIG_fail;
11903 swig_obj[0] = args;
11904 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11905 if (!SWIG_IsOK(res1)) {
11906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11907 }
11908 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11909 {
11910 PyThreadState* __tstate = wxPyBeginAllowThreads();
11911 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
11912 wxPyEndAllowThreads(__tstate);
11913 if (PyErr_Occurred()) SWIG_fail;
11914 }
11915 resultobj = SWIG_From_int(static_cast< int >(result));
11916 return resultobj;
11917 fail:
11918 return NULL;
11919 }
11920
11921
11922 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11923 PyObject *resultobj = 0;
11924 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11925 int arg2 ;
11926 void *argp1 = 0 ;
11927 int res1 = 0 ;
11928 int val2 ;
11929 int ecode2 = 0 ;
11930 PyObject * obj0 = 0 ;
11931 PyObject * obj1 = 0 ;
11932 char * kwnames[] = {
11933 (char *) "self",(char *) "flags", NULL
11934 };
11935
11936 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
11937 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11938 if (!SWIG_IsOK(res1)) {
11939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11940 }
11941 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11942 ecode2 = SWIG_AsVal_int(obj1, &val2);
11943 if (!SWIG_IsOK(ecode2)) {
11944 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
11945 }
11946 arg2 = static_cast< int >(val2);
11947 {
11948 PyThreadState* __tstate = wxPyBeginAllowThreads();
11949 (arg1)->SetFlags(arg2);
11950 wxPyEndAllowThreads(__tstate);
11951 if (PyErr_Occurred()) SWIG_fail;
11952 }
11953 resultobj = SWIG_Py_Void();
11954 return resultobj;
11955 fail:
11956 return NULL;
11957 }
11958
11959
11960 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11961 PyObject *resultobj = 0;
11962 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11963 int result;
11964 void *argp1 = 0 ;
11965 int res1 = 0 ;
11966 PyObject *swig_obj[1] ;
11967
11968 if (!args) SWIG_fail;
11969 swig_obj[0] = args;
11970 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11971 if (!SWIG_IsOK(res1)) {
11972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11973 }
11974 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11975 {
11976 PyThreadState* __tstate = wxPyBeginAllowThreads();
11977 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
11978 wxPyEndAllowThreads(__tstate);
11979 if (PyErr_Occurred()) SWIG_fail;
11980 }
11981 resultobj = SWIG_From_int(static_cast< int >(result));
11982 return resultobj;
11983 fail:
11984 return NULL;
11985 }
11986
11987
11988 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11989 PyObject *resultobj = 0;
11990 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11991 wxSize *arg2 = 0 ;
11992 void *argp1 = 0 ;
11993 int res1 = 0 ;
11994 wxSize temp2 ;
11995 PyObject * obj0 = 0 ;
11996 PyObject * obj1 = 0 ;
11997 char * kwnames[] = {
11998 (char *) "self",(char *) "size", NULL
11999 };
12000
12001 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
12002 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12003 if (!SWIG_IsOK(res1)) {
12004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12005 }
12006 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12007 {
12008 arg2 = &temp2;
12009 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12010 }
12011 {
12012 PyThreadState* __tstate = wxPyBeginAllowThreads();
12013 (arg1)->SetSize((wxSize const &)*arg2);
12014 wxPyEndAllowThreads(__tstate);
12015 if (PyErr_Occurred()) SWIG_fail;
12016 }
12017 resultobj = SWIG_Py_Void();
12018 return resultobj;
12019 fail:
12020 return NULL;
12021 }
12022
12023
12024 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12025 PyObject *resultobj = 0;
12026 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12027 wxSize result;
12028 void *argp1 = 0 ;
12029 int res1 = 0 ;
12030 PyObject *swig_obj[1] ;
12031
12032 if (!args) SWIG_fail;
12033 swig_obj[0] = args;
12034 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12035 if (!SWIG_IsOK(res1)) {
12036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12037 }
12038 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12039 {
12040 PyThreadState* __tstate = wxPyBeginAllowThreads();
12041 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
12042 wxPyEndAllowThreads(__tstate);
12043 if (PyErr_Occurred()) SWIG_fail;
12044 }
12045 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
12046 return resultobj;
12047 fail:
12048 return NULL;
12049 }
12050
12051
12052 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12053 PyObject *resultobj = 0;
12054 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12055 wxLayoutOrientation arg2 ;
12056 void *argp1 = 0 ;
12057 int res1 = 0 ;
12058 int val2 ;
12059 int ecode2 = 0 ;
12060 PyObject * obj0 = 0 ;
12061 PyObject * obj1 = 0 ;
12062 char * kwnames[] = {
12063 (char *) "self",(char *) "orient", NULL
12064 };
12065
12066 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12067 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12068 if (!SWIG_IsOK(res1)) {
12069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12070 }
12071 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12072 ecode2 = SWIG_AsVal_int(obj1, &val2);
12073 if (!SWIG_IsOK(ecode2)) {
12074 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12075 }
12076 arg2 = static_cast< wxLayoutOrientation >(val2);
12077 {
12078 PyThreadState* __tstate = wxPyBeginAllowThreads();
12079 (arg1)->SetOrientation(arg2);
12080 wxPyEndAllowThreads(__tstate);
12081 if (PyErr_Occurred()) SWIG_fail;
12082 }
12083 resultobj = SWIG_Py_Void();
12084 return resultobj;
12085 fail:
12086 return NULL;
12087 }
12088
12089
12090 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12091 PyObject *resultobj = 0;
12092 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12093 wxLayoutOrientation result;
12094 void *argp1 = 0 ;
12095 int res1 = 0 ;
12096 PyObject *swig_obj[1] ;
12097
12098 if (!args) SWIG_fail;
12099 swig_obj[0] = args;
12100 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12101 if (!SWIG_IsOK(res1)) {
12102 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12103 }
12104 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12105 {
12106 PyThreadState* __tstate = wxPyBeginAllowThreads();
12107 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
12108 wxPyEndAllowThreads(__tstate);
12109 if (PyErr_Occurred()) SWIG_fail;
12110 }
12111 resultobj = SWIG_From_int(static_cast< int >(result));
12112 return resultobj;
12113 fail:
12114 return NULL;
12115 }
12116
12117
12118 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12119 PyObject *resultobj = 0;
12120 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12121 wxLayoutAlignment arg2 ;
12122 void *argp1 = 0 ;
12123 int res1 = 0 ;
12124 int val2 ;
12125 int ecode2 = 0 ;
12126 PyObject * obj0 = 0 ;
12127 PyObject * obj1 = 0 ;
12128 char * kwnames[] = {
12129 (char *) "self",(char *) "align", NULL
12130 };
12131
12132 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12133 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12134 if (!SWIG_IsOK(res1)) {
12135 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12136 }
12137 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12138 ecode2 = SWIG_AsVal_int(obj1, &val2);
12139 if (!SWIG_IsOK(ecode2)) {
12140 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12141 }
12142 arg2 = static_cast< wxLayoutAlignment >(val2);
12143 {
12144 PyThreadState* __tstate = wxPyBeginAllowThreads();
12145 (arg1)->SetAlignment(arg2);
12146 wxPyEndAllowThreads(__tstate);
12147 if (PyErr_Occurred()) SWIG_fail;
12148 }
12149 resultobj = SWIG_Py_Void();
12150 return resultobj;
12151 fail:
12152 return NULL;
12153 }
12154
12155
12156 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12157 PyObject *resultobj = 0;
12158 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12159 wxLayoutAlignment result;
12160 void *argp1 = 0 ;
12161 int res1 = 0 ;
12162 PyObject *swig_obj[1] ;
12163
12164 if (!args) SWIG_fail;
12165 swig_obj[0] = args;
12166 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12167 if (!SWIG_IsOK(res1)) {
12168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12169 }
12170 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12171 {
12172 PyThreadState* __tstate = wxPyBeginAllowThreads();
12173 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
12174 wxPyEndAllowThreads(__tstate);
12175 if (PyErr_Occurred()) SWIG_fail;
12176 }
12177 resultobj = SWIG_From_int(static_cast< int >(result));
12178 return resultobj;
12179 fail:
12180 return NULL;
12181 }
12182
12183
12184 SWIGINTERN PyObject *QueryLayoutInfoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12185 PyObject *obj;
12186 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12187 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_NewClientData(obj));
12188 return SWIG_Py_Void();
12189 }
12190
12191 SWIGINTERN PyObject *QueryLayoutInfoEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12192 return SWIG_Python_InitShadowInstance(args);
12193 }
12194
12195 SWIGINTERN PyObject *_wrap_new_CalculateLayoutEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12196 PyObject *resultobj = 0;
12197 int arg1 = (int) 0 ;
12198 wxCalculateLayoutEvent *result = 0 ;
12199 int val1 ;
12200 int ecode1 = 0 ;
12201 PyObject * obj0 = 0 ;
12202 char * kwnames[] = {
12203 (char *) "id", NULL
12204 };
12205
12206 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) SWIG_fail;
12207 if (obj0) {
12208 ecode1 = SWIG_AsVal_int(obj0, &val1);
12209 if (!SWIG_IsOK(ecode1)) {
12210 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12211 }
12212 arg1 = static_cast< int >(val1);
12213 }
12214 {
12215 PyThreadState* __tstate = wxPyBeginAllowThreads();
12216 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
12217 wxPyEndAllowThreads(__tstate);
12218 if (PyErr_Occurred()) SWIG_fail;
12219 }
12220 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_NEW | 0 );
12221 return resultobj;
12222 fail:
12223 return NULL;
12224 }
12225
12226
12227 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12228 PyObject *resultobj = 0;
12229 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12230 int arg2 ;
12231 void *argp1 = 0 ;
12232 int res1 = 0 ;
12233 int val2 ;
12234 int ecode2 = 0 ;
12235 PyObject * obj0 = 0 ;
12236 PyObject * obj1 = 0 ;
12237 char * kwnames[] = {
12238 (char *) "self",(char *) "flags", NULL
12239 };
12240
12241 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12242 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12243 if (!SWIG_IsOK(res1)) {
12244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12245 }
12246 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12247 ecode2 = SWIG_AsVal_int(obj1, &val2);
12248 if (!SWIG_IsOK(ecode2)) {
12249 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12250 }
12251 arg2 = static_cast< int >(val2);
12252 {
12253 PyThreadState* __tstate = wxPyBeginAllowThreads();
12254 (arg1)->SetFlags(arg2);
12255 wxPyEndAllowThreads(__tstate);
12256 if (PyErr_Occurred()) SWIG_fail;
12257 }
12258 resultobj = SWIG_Py_Void();
12259 return resultobj;
12260 fail:
12261 return NULL;
12262 }
12263
12264
12265 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12266 PyObject *resultobj = 0;
12267 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12268 int result;
12269 void *argp1 = 0 ;
12270 int res1 = 0 ;
12271 PyObject *swig_obj[1] ;
12272
12273 if (!args) SWIG_fail;
12274 swig_obj[0] = args;
12275 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12276 if (!SWIG_IsOK(res1)) {
12277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12278 }
12279 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12280 {
12281 PyThreadState* __tstate = wxPyBeginAllowThreads();
12282 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
12283 wxPyEndAllowThreads(__tstate);
12284 if (PyErr_Occurred()) SWIG_fail;
12285 }
12286 resultobj = SWIG_From_int(static_cast< int >(result));
12287 return resultobj;
12288 fail:
12289 return NULL;
12290 }
12291
12292
12293 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12294 PyObject *resultobj = 0;
12295 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12296 wxRect *arg2 = 0 ;
12297 void *argp1 = 0 ;
12298 int res1 = 0 ;
12299 wxRect temp2 ;
12300 PyObject * obj0 = 0 ;
12301 PyObject * obj1 = 0 ;
12302 char * kwnames[] = {
12303 (char *) "self",(char *) "rect", NULL
12304 };
12305
12306 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12307 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12308 if (!SWIG_IsOK(res1)) {
12309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12310 }
12311 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12312 {
12313 arg2 = &temp2;
12314 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12315 }
12316 {
12317 PyThreadState* __tstate = wxPyBeginAllowThreads();
12318 (arg1)->SetRect((wxRect const &)*arg2);
12319 wxPyEndAllowThreads(__tstate);
12320 if (PyErr_Occurred()) SWIG_fail;
12321 }
12322 resultobj = SWIG_Py_Void();
12323 return resultobj;
12324 fail:
12325 return NULL;
12326 }
12327
12328
12329 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12330 PyObject *resultobj = 0;
12331 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12332 wxRect result;
12333 void *argp1 = 0 ;
12334 int res1 = 0 ;
12335 PyObject *swig_obj[1] ;
12336
12337 if (!args) SWIG_fail;
12338 swig_obj[0] = args;
12339 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12340 if (!SWIG_IsOK(res1)) {
12341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12342 }
12343 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12344 {
12345 PyThreadState* __tstate = wxPyBeginAllowThreads();
12346 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
12347 wxPyEndAllowThreads(__tstate);
12348 if (PyErr_Occurred()) SWIG_fail;
12349 }
12350 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12351 return resultobj;
12352 fail:
12353 return NULL;
12354 }
12355
12356
12357 SWIGINTERN PyObject *CalculateLayoutEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12358 PyObject *obj;
12359 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12360 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_NewClientData(obj));
12361 return SWIG_Py_Void();
12362 }
12363
12364 SWIGINTERN PyObject *CalculateLayoutEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12365 return SWIG_Python_InitShadowInstance(args);
12366 }
12367
12368 SWIGINTERN PyObject *_wrap_new_SashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12369 PyObject *resultobj = 0;
12370 wxWindow *arg1 = (wxWindow *) 0 ;
12371 int arg2 = (int) -1 ;
12372 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12373 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12374 wxSize const &arg4_defvalue = wxDefaultSize ;
12375 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12376 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12377 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
12378 wxString *arg6 = (wxString *) &arg6_defvalue ;
12379 wxSashLayoutWindow *result = 0 ;
12380 void *argp1 = 0 ;
12381 int res1 = 0 ;
12382 int val2 ;
12383 int ecode2 = 0 ;
12384 wxPoint temp3 ;
12385 wxSize temp4 ;
12386 long val5 ;
12387 int ecode5 = 0 ;
12388 bool temp6 = false ;
12389 PyObject * obj0 = 0 ;
12390 PyObject * obj1 = 0 ;
12391 PyObject * obj2 = 0 ;
12392 PyObject * obj3 = 0 ;
12393 PyObject * obj4 = 0 ;
12394 PyObject * obj5 = 0 ;
12395 char * kwnames[] = {
12396 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12397 };
12398
12399 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12400 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12401 if (!SWIG_IsOK(res1)) {
12402 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12403 }
12404 arg1 = reinterpret_cast< wxWindow * >(argp1);
12405 if (obj1) {
12406 ecode2 = SWIG_AsVal_int(obj1, &val2);
12407 if (!SWIG_IsOK(ecode2)) {
12408 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12409 }
12410 arg2 = static_cast< int >(val2);
12411 }
12412 if (obj2) {
12413 {
12414 arg3 = &temp3;
12415 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12416 }
12417 }
12418 if (obj3) {
12419 {
12420 arg4 = &temp4;
12421 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12422 }
12423 }
12424 if (obj4) {
12425 ecode5 = SWIG_AsVal_long(obj4, &val5);
12426 if (!SWIG_IsOK(ecode5)) {
12427 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12428 }
12429 arg5 = static_cast< long >(val5);
12430 }
12431 if (obj5) {
12432 {
12433 arg6 = wxString_in_helper(obj5);
12434 if (arg6 == NULL) SWIG_fail;
12435 temp6 = true;
12436 }
12437 }
12438 {
12439 if (!wxPyCheckForApp()) SWIG_fail;
12440 PyThreadState* __tstate = wxPyBeginAllowThreads();
12441 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12442 wxPyEndAllowThreads(__tstate);
12443 if (PyErr_Occurred()) SWIG_fail;
12444 }
12445 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_NEW | 0 );
12446 {
12447 if (temp6)
12448 delete arg6;
12449 }
12450 return resultobj;
12451 fail:
12452 {
12453 if (temp6)
12454 delete arg6;
12455 }
12456 return NULL;
12457 }
12458
12459
12460 SWIGINTERN PyObject *_wrap_new_PreSashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12461 PyObject *resultobj = 0;
12462 wxSashLayoutWindow *result = 0 ;
12463
12464 if (!SWIG_Python_UnpackTuple(args,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail;
12465 {
12466 if (!wxPyCheckForApp()) SWIG_fail;
12467 PyThreadState* __tstate = wxPyBeginAllowThreads();
12468 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
12469 wxPyEndAllowThreads(__tstate);
12470 if (PyErr_Occurred()) SWIG_fail;
12471 }
12472 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_OWN | 0 );
12473 return resultobj;
12474 fail:
12475 return NULL;
12476 }
12477
12478
12479 SWIGINTERN PyObject *_wrap_SashLayoutWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12480 PyObject *resultobj = 0;
12481 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12482 wxWindow *arg2 = (wxWindow *) 0 ;
12483 int arg3 = (int) -1 ;
12484 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12485 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12486 wxSize const &arg5_defvalue = wxDefaultSize ;
12487 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12488 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12489 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
12490 wxString *arg7 = (wxString *) &arg7_defvalue ;
12491 bool result;
12492 void *argp1 = 0 ;
12493 int res1 = 0 ;
12494 void *argp2 = 0 ;
12495 int res2 = 0 ;
12496 int val3 ;
12497 int ecode3 = 0 ;
12498 wxPoint temp4 ;
12499 wxSize temp5 ;
12500 long val6 ;
12501 int ecode6 = 0 ;
12502 bool temp7 = false ;
12503 PyObject * obj0 = 0 ;
12504 PyObject * obj1 = 0 ;
12505 PyObject * obj2 = 0 ;
12506 PyObject * obj3 = 0 ;
12507 PyObject * obj4 = 0 ;
12508 PyObject * obj5 = 0 ;
12509 PyObject * obj6 = 0 ;
12510 char * kwnames[] = {
12511 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12512 };
12513
12514 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
12515 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12516 if (!SWIG_IsOK(res1)) {
12517 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12518 }
12519 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12520 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12521 if (!SWIG_IsOK(res2)) {
12522 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12523 }
12524 arg2 = reinterpret_cast< wxWindow * >(argp2);
12525 if (obj2) {
12526 ecode3 = SWIG_AsVal_int(obj2, &val3);
12527 if (!SWIG_IsOK(ecode3)) {
12528 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12529 }
12530 arg3 = static_cast< int >(val3);
12531 }
12532 if (obj3) {
12533 {
12534 arg4 = &temp4;
12535 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12536 }
12537 }
12538 if (obj4) {
12539 {
12540 arg5 = &temp5;
12541 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12542 }
12543 }
12544 if (obj5) {
12545 ecode6 = SWIG_AsVal_long(obj5, &val6);
12546 if (!SWIG_IsOK(ecode6)) {
12547 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12548 }
12549 arg6 = static_cast< long >(val6);
12550 }
12551 if (obj6) {
12552 {
12553 arg7 = wxString_in_helper(obj6);
12554 if (arg7 == NULL) SWIG_fail;
12555 temp7 = true;
12556 }
12557 }
12558 {
12559 PyThreadState* __tstate = wxPyBeginAllowThreads();
12560 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12561 wxPyEndAllowThreads(__tstate);
12562 if (PyErr_Occurred()) SWIG_fail;
12563 }
12564 {
12565 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12566 }
12567 {
12568 if (temp7)
12569 delete arg7;
12570 }
12571 return resultobj;
12572 fail:
12573 {
12574 if (temp7)
12575 delete arg7;
12576 }
12577 return NULL;
12578 }
12579
12580
12581 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12582 PyObject *resultobj = 0;
12583 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12584 wxLayoutAlignment result;
12585 void *argp1 = 0 ;
12586 int res1 = 0 ;
12587 PyObject *swig_obj[1] ;
12588
12589 if (!args) SWIG_fail;
12590 swig_obj[0] = args;
12591 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12592 if (!SWIG_IsOK(res1)) {
12593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12594 }
12595 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12596 {
12597 PyThreadState* __tstate = wxPyBeginAllowThreads();
12598 result = (wxLayoutAlignment)(arg1)->GetAlignment();
12599 wxPyEndAllowThreads(__tstate);
12600 if (PyErr_Occurred()) SWIG_fail;
12601 }
12602 resultobj = SWIG_From_int(static_cast< int >(result));
12603 return resultobj;
12604 fail:
12605 return NULL;
12606 }
12607
12608
12609 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12610 PyObject *resultobj = 0;
12611 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12612 wxLayoutOrientation result;
12613 void *argp1 = 0 ;
12614 int res1 = 0 ;
12615 PyObject *swig_obj[1] ;
12616
12617 if (!args) SWIG_fail;
12618 swig_obj[0] = args;
12619 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12620 if (!SWIG_IsOK(res1)) {
12621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12622 }
12623 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12624 {
12625 PyThreadState* __tstate = wxPyBeginAllowThreads();
12626 result = (wxLayoutOrientation)(arg1)->GetOrientation();
12627 wxPyEndAllowThreads(__tstate);
12628 if (PyErr_Occurred()) SWIG_fail;
12629 }
12630 resultobj = SWIG_From_int(static_cast< int >(result));
12631 return resultobj;
12632 fail:
12633 return NULL;
12634 }
12635
12636
12637 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12638 PyObject *resultobj = 0;
12639 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12640 wxLayoutAlignment arg2 ;
12641 void *argp1 = 0 ;
12642 int res1 = 0 ;
12643 int val2 ;
12644 int ecode2 = 0 ;
12645 PyObject * obj0 = 0 ;
12646 PyObject * obj1 = 0 ;
12647 char * kwnames[] = {
12648 (char *) "self",(char *) "alignment", NULL
12649 };
12650
12651 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12652 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12653 if (!SWIG_IsOK(res1)) {
12654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12655 }
12656 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12657 ecode2 = SWIG_AsVal_int(obj1, &val2);
12658 if (!SWIG_IsOK(ecode2)) {
12659 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12660 }
12661 arg2 = static_cast< wxLayoutAlignment >(val2);
12662 {
12663 PyThreadState* __tstate = wxPyBeginAllowThreads();
12664 (arg1)->SetAlignment(arg2);
12665 wxPyEndAllowThreads(__tstate);
12666 if (PyErr_Occurred()) SWIG_fail;
12667 }
12668 resultobj = SWIG_Py_Void();
12669 return resultobj;
12670 fail:
12671 return NULL;
12672 }
12673
12674
12675 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12676 PyObject *resultobj = 0;
12677 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12678 wxSize *arg2 = 0 ;
12679 void *argp1 = 0 ;
12680 int res1 = 0 ;
12681 wxSize temp2 ;
12682 PyObject * obj0 = 0 ;
12683 PyObject * obj1 = 0 ;
12684 char * kwnames[] = {
12685 (char *) "self",(char *) "size", NULL
12686 };
12687
12688 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) SWIG_fail;
12689 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12690 if (!SWIG_IsOK(res1)) {
12691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12692 }
12693 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12694 {
12695 arg2 = &temp2;
12696 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12697 }
12698 {
12699 PyThreadState* __tstate = wxPyBeginAllowThreads();
12700 (arg1)->SetDefaultSize((wxSize const &)*arg2);
12701 wxPyEndAllowThreads(__tstate);
12702 if (PyErr_Occurred()) SWIG_fail;
12703 }
12704 resultobj = SWIG_Py_Void();
12705 return resultobj;
12706 fail:
12707 return NULL;
12708 }
12709
12710
12711 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12712 PyObject *resultobj = 0;
12713 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12714 wxLayoutOrientation arg2 ;
12715 void *argp1 = 0 ;
12716 int res1 = 0 ;
12717 int val2 ;
12718 int ecode2 = 0 ;
12719 PyObject * obj0 = 0 ;
12720 PyObject * obj1 = 0 ;
12721 char * kwnames[] = {
12722 (char *) "self",(char *) "orientation", NULL
12723 };
12724
12725 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12726 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12727 if (!SWIG_IsOK(res1)) {
12728 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12729 }
12730 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12731 ecode2 = SWIG_AsVal_int(obj1, &val2);
12732 if (!SWIG_IsOK(ecode2)) {
12733 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12734 }
12735 arg2 = static_cast< wxLayoutOrientation >(val2);
12736 {
12737 PyThreadState* __tstate = wxPyBeginAllowThreads();
12738 (arg1)->SetOrientation(arg2);
12739 wxPyEndAllowThreads(__tstate);
12740 if (PyErr_Occurred()) SWIG_fail;
12741 }
12742 resultobj = SWIG_Py_Void();
12743 return resultobj;
12744 fail:
12745 return NULL;
12746 }
12747
12748
12749 SWIGINTERN PyObject *SashLayoutWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12750 PyObject *obj;
12751 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12752 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow, SWIG_NewClientData(obj));
12753 return SWIG_Py_Void();
12754 }
12755
12756 SWIGINTERN PyObject *SashLayoutWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12757 return SWIG_Python_InitShadowInstance(args);
12758 }
12759
12760 SWIGINTERN PyObject *_wrap_new_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12761 PyObject *resultobj = 0;
12762 wxLayoutAlgorithm *result = 0 ;
12763
12764 if (!SWIG_Python_UnpackTuple(args,"new_LayoutAlgorithm",0,0,0)) SWIG_fail;
12765 {
12766 PyThreadState* __tstate = wxPyBeginAllowThreads();
12767 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
12768 wxPyEndAllowThreads(__tstate);
12769 if (PyErr_Occurred()) SWIG_fail;
12770 }
12771 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_NEW | 0 );
12772 return resultobj;
12773 fail:
12774 return NULL;
12775 }
12776
12777
12778 SWIGINTERN PyObject *_wrap_delete_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12779 PyObject *resultobj = 0;
12780 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12781 void *argp1 = 0 ;
12782 int res1 = 0 ;
12783 PyObject *swig_obj[1] ;
12784
12785 if (!args) SWIG_fail;
12786 swig_obj[0] = args;
12787 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_DISOWN | 0 );
12788 if (!SWIG_IsOK(res1)) {
12789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12790 }
12791 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12792 {
12793 PyThreadState* __tstate = wxPyBeginAllowThreads();
12794 delete arg1;
12795
12796 wxPyEndAllowThreads(__tstate);
12797 if (PyErr_Occurred()) SWIG_fail;
12798 }
12799 resultobj = SWIG_Py_Void();
12800 return resultobj;
12801 fail:
12802 return NULL;
12803 }
12804
12805
12806 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12807 PyObject *resultobj = 0;
12808 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12809 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
12810 wxRect *arg3 = (wxRect *) NULL ;
12811 bool result;
12812 void *argp1 = 0 ;
12813 int res1 = 0 ;
12814 void *argp2 = 0 ;
12815 int res2 = 0 ;
12816 void *argp3 = 0 ;
12817 int res3 = 0 ;
12818 PyObject * obj0 = 0 ;
12819 PyObject * obj1 = 0 ;
12820 PyObject * obj2 = 0 ;
12821 char * kwnames[] = {
12822 (char *) "self",(char *) "frame",(char *) "rect", NULL
12823 };
12824
12825 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12826 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12827 if (!SWIG_IsOK(res1)) {
12828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12829 }
12830 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12831 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
12832 if (!SWIG_IsOK(res2)) {
12833 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12834 }
12835 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
12836 if (obj2) {
12837 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRect, 0 | 0 );
12838 if (!SWIG_IsOK(res3)) {
12839 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12840 }
12841 arg3 = reinterpret_cast< wxRect * >(argp3);
12842 }
12843 {
12844 PyThreadState* __tstate = wxPyBeginAllowThreads();
12845 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
12846 wxPyEndAllowThreads(__tstate);
12847 if (PyErr_Occurred()) SWIG_fail;
12848 }
12849 {
12850 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12851 }
12852 return resultobj;
12853 fail:
12854 return NULL;
12855 }
12856
12857
12858 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12859 PyObject *resultobj = 0;
12860 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12861 wxFrame *arg2 = (wxFrame *) 0 ;
12862 wxWindow *arg3 = (wxWindow *) NULL ;
12863 bool result;
12864 void *argp1 = 0 ;
12865 int res1 = 0 ;
12866 void *argp2 = 0 ;
12867 int res2 = 0 ;
12868 void *argp3 = 0 ;
12869 int res3 = 0 ;
12870 PyObject * obj0 = 0 ;
12871 PyObject * obj1 = 0 ;
12872 PyObject * obj2 = 0 ;
12873 char * kwnames[] = {
12874 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
12875 };
12876
12877 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12878 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12879 if (!SWIG_IsOK(res1)) {
12880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12881 }
12882 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12883 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
12884 if (!SWIG_IsOK(res2)) {
12885 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
12886 }
12887 arg2 = reinterpret_cast< wxFrame * >(argp2);
12888 if (obj2) {
12889 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
12890 if (!SWIG_IsOK(res3)) {
12891 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
12892 }
12893 arg3 = reinterpret_cast< wxWindow * >(argp3);
12894 }
12895 {
12896 PyThreadState* __tstate = wxPyBeginAllowThreads();
12897 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
12898 wxPyEndAllowThreads(__tstate);
12899 if (PyErr_Occurred()) SWIG_fail;
12900 }
12901 {
12902 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12903 }
12904 return resultobj;
12905 fail:
12906 return NULL;
12907 }
12908
12909
12910 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12911 PyObject *resultobj = 0;
12912 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12913 wxWindow *arg2 = (wxWindow *) 0 ;
12914 wxWindow *arg3 = (wxWindow *) NULL ;
12915 bool result;
12916 void *argp1 = 0 ;
12917 int res1 = 0 ;
12918 void *argp2 = 0 ;
12919 int res2 = 0 ;
12920 void *argp3 = 0 ;
12921 int res3 = 0 ;
12922 PyObject * obj0 = 0 ;
12923 PyObject * obj1 = 0 ;
12924 PyObject * obj2 = 0 ;
12925 char * kwnames[] = {
12926 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
12927 };
12928
12929 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12930 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12931 if (!SWIG_IsOK(res1)) {
12932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12933 }
12934 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12935 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12936 if (!SWIG_IsOK(res2)) {
12937 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
12938 }
12939 arg2 = reinterpret_cast< wxWindow * >(argp2);
12940 if (obj2) {
12941 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
12942 if (!SWIG_IsOK(res3)) {
12943 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
12944 }
12945 arg3 = reinterpret_cast< wxWindow * >(argp3);
12946 }
12947 {
12948 PyThreadState* __tstate = wxPyBeginAllowThreads();
12949 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
12950 wxPyEndAllowThreads(__tstate);
12951 if (PyErr_Occurred()) SWIG_fail;
12952 }
12953 {
12954 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12955 }
12956 return resultobj;
12957 fail:
12958 return NULL;
12959 }
12960
12961
12962 SWIGINTERN PyObject *LayoutAlgorithm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12963 PyObject *obj;
12964 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12965 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm, SWIG_NewClientData(obj));
12966 return SWIG_Py_Void();
12967 }
12968
12969 SWIGINTERN PyObject *LayoutAlgorithm_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12970 return SWIG_Python_InitShadowInstance(args);
12971 }
12972
12973 SWIGINTERN PyObject *_wrap_new_PopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12974 PyObject *resultobj = 0;
12975 wxWindow *arg1 = (wxWindow *) 0 ;
12976 int arg2 = (int) wxBORDER_NONE ;
12977 wxPopupWindow *result = 0 ;
12978 void *argp1 = 0 ;
12979 int res1 = 0 ;
12980 int val2 ;
12981 int ecode2 = 0 ;
12982 PyObject * obj0 = 0 ;
12983 PyObject * obj1 = 0 ;
12984 char * kwnames[] = {
12985 (char *) "parent",(char *) "flags", NULL
12986 };
12987
12988 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) SWIG_fail;
12989 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12990 if (!SWIG_IsOK(res1)) {
12991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12992 }
12993 arg1 = reinterpret_cast< wxWindow * >(argp1);
12994 if (obj1) {
12995 ecode2 = SWIG_AsVal_int(obj1, &val2);
12996 if (!SWIG_IsOK(ecode2)) {
12997 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
12998 }
12999 arg2 = static_cast< int >(val2);
13000 }
13001 {
13002 PyThreadState* __tstate = wxPyBeginAllowThreads();
13003 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
13004 wxPyEndAllowThreads(__tstate);
13005 if (PyErr_Occurred()) SWIG_fail;
13006 }
13007 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_NEW | 0 );
13008 return resultobj;
13009 fail:
13010 return NULL;
13011 }
13012
13013
13014 SWIGINTERN PyObject *_wrap_new_PrePopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13015 PyObject *resultobj = 0;
13016 wxPopupWindow *result = 0 ;
13017
13018 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupWindow",0,0,0)) SWIG_fail;
13019 {
13020 PyThreadState* __tstate = wxPyBeginAllowThreads();
13021 result = (wxPopupWindow *)new wxPopupWindow();
13022 wxPyEndAllowThreads(__tstate);
13023 if (PyErr_Occurred()) SWIG_fail;
13024 }
13025 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
13026 return resultobj;
13027 fail:
13028 return NULL;
13029 }
13030
13031
13032 SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13033 PyObject *obj;
13034 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13035 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
13036 return SWIG_Py_Void();
13037 }
13038
13039 SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13040 return SWIG_Python_InitShadowInstance(args);
13041 }
13042
13043 SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13044 PyObject *resultobj = 0;
13045 wxWindow *arg1 = (wxWindow *) 0 ;
13046 int arg2 = (int) wxBORDER_NONE ;
13047 wxPyPopupTransientWindow *result = 0 ;
13048 void *argp1 = 0 ;
13049 int res1 = 0 ;
13050 int val2 ;
13051 int ecode2 = 0 ;
13052 PyObject * obj0 = 0 ;
13053 PyObject * obj1 = 0 ;
13054 char * kwnames[] = {
13055 (char *) "parent",(char *) "style", NULL
13056 };
13057
13058 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13059 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13060 if (!SWIG_IsOK(res1)) {
13061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13062 }
13063 arg1 = reinterpret_cast< wxWindow * >(argp1);
13064 if (obj1) {
13065 ecode2 = SWIG_AsVal_int(obj1, &val2);
13066 if (!SWIG_IsOK(ecode2)) {
13067 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13068 }
13069 arg2 = static_cast< int >(val2);
13070 }
13071 {
13072 PyThreadState* __tstate = wxPyBeginAllowThreads();
13073 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13074 wxPyEndAllowThreads(__tstate);
13075 if (PyErr_Occurred()) SWIG_fail;
13076 }
13077 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13078 return resultobj;
13079 fail:
13080 return NULL;
13081 }
13082
13083
13084 SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13085 PyObject *resultobj = 0;
13086 wxPyPopupTransientWindow *result = 0 ;
13087
13088 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13089 {
13090 PyThreadState* __tstate = wxPyBeginAllowThreads();
13091 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13092 wxPyEndAllowThreads(__tstate);
13093 if (PyErr_Occurred()) SWIG_fail;
13094 }
13095 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13096 return resultobj;
13097 fail:
13098 return NULL;
13099 }
13100
13101
13102 SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13103 PyObject *obj;
13104 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13105 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13106 return SWIG_Py_Void();
13107 }
13108
13109 SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13110 return SWIG_Python_InitShadowInstance(args);
13111 }
13112
13113 SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13114 PyObject *resultobj = 0;
13115 wxWindow *arg1 = (wxWindow *) 0 ;
13116 wxString *arg2 = 0 ;
13117 int arg3 = (int) 100 ;
13118 wxRect *arg4 = (wxRect *) NULL ;
13119 wxTipWindow *result = 0 ;
13120 void *argp1 = 0 ;
13121 int res1 = 0 ;
13122 bool temp2 = false ;
13123 int val3 ;
13124 int ecode3 = 0 ;
13125 void *argp4 = 0 ;
13126 int res4 = 0 ;
13127 PyObject * obj0 = 0 ;
13128 PyObject * obj1 = 0 ;
13129 PyObject * obj2 = 0 ;
13130 PyObject * obj3 = 0 ;
13131 char * kwnames[] = {
13132 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13133 };
13134
13135 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13136 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13137 if (!SWIG_IsOK(res1)) {
13138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13139 }
13140 arg1 = reinterpret_cast< wxWindow * >(argp1);
13141 {
13142 arg2 = wxString_in_helper(obj1);
13143 if (arg2 == NULL) SWIG_fail;
13144 temp2 = true;
13145 }
13146 if (obj2) {
13147 ecode3 = SWIG_AsVal_int(obj2, &val3);
13148 if (!SWIG_IsOK(ecode3)) {
13149 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13150 }
13151 arg3 = static_cast< int >(val3);
13152 }
13153 if (obj3) {
13154 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13155 if (!SWIG_IsOK(res4)) {
13156 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13157 }
13158 arg4 = reinterpret_cast< wxRect * >(argp4);
13159 }
13160 {
13161 if (!wxPyCheckForApp()) SWIG_fail;
13162 PyThreadState* __tstate = wxPyBeginAllowThreads();
13163 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13164 wxPyEndAllowThreads(__tstate);
13165 if (PyErr_Occurred()) SWIG_fail;
13166 }
13167 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13168 {
13169 if (temp2)
13170 delete arg2;
13171 }
13172 return resultobj;
13173 fail:
13174 {
13175 if (temp2)
13176 delete arg2;
13177 }
13178 return NULL;
13179 }
13180
13181
13182 SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13183 PyObject *resultobj = 0;
13184 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13185 wxRect *arg2 = 0 ;
13186 void *argp1 = 0 ;
13187 int res1 = 0 ;
13188 wxRect temp2 ;
13189 PyObject * obj0 = 0 ;
13190 PyObject * obj1 = 0 ;
13191 char * kwnames[] = {
13192 (char *) "self",(char *) "rectBound", NULL
13193 };
13194
13195 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13196 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13197 if (!SWIG_IsOK(res1)) {
13198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13199 }
13200 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13201 {
13202 arg2 = &temp2;
13203 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13204 }
13205 {
13206 PyThreadState* __tstate = wxPyBeginAllowThreads();
13207 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13208 wxPyEndAllowThreads(__tstate);
13209 if (PyErr_Occurred()) SWIG_fail;
13210 }
13211 resultobj = SWIG_Py_Void();
13212 return resultobj;
13213 fail:
13214 return NULL;
13215 }
13216
13217
13218 SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13219 PyObject *resultobj = 0;
13220 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13221 void *argp1 = 0 ;
13222 int res1 = 0 ;
13223 PyObject *swig_obj[1] ;
13224
13225 if (!args) SWIG_fail;
13226 swig_obj[0] = args;
13227 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13228 if (!SWIG_IsOK(res1)) {
13229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13230 }
13231 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13232 {
13233 PyThreadState* __tstate = wxPyBeginAllowThreads();
13234 (arg1)->Close();
13235 wxPyEndAllowThreads(__tstate);
13236 if (PyErr_Occurred()) SWIG_fail;
13237 }
13238 resultobj = SWIG_Py_Void();
13239 return resultobj;
13240 fail:
13241 return NULL;
13242 }
13243
13244
13245 SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13246 PyObject *obj;
13247 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13248 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13249 return SWIG_Py_Void();
13250 }
13251
13252 SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13253 return SWIG_Python_InitShadowInstance(args);
13254 }
13255
13256 SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13257 PyObject *resultobj = 0;
13258 wxWindow *arg1 = (wxWindow *) 0 ;
13259 int arg2 = (int) wxID_ANY ;
13260 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13261 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13262 wxSize const &arg4_defvalue = wxDefaultSize ;
13263 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13264 long arg5 = (long) 0 ;
13265 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13266 wxString *arg6 = (wxString *) &arg6_defvalue ;
13267 wxPyVScrolledWindow *result = 0 ;
13268 void *argp1 = 0 ;
13269 int res1 = 0 ;
13270 int val2 ;
13271 int ecode2 = 0 ;
13272 wxPoint temp3 ;
13273 wxSize temp4 ;
13274 long val5 ;
13275 int ecode5 = 0 ;
13276 bool temp6 = false ;
13277 PyObject * obj0 = 0 ;
13278 PyObject * obj1 = 0 ;
13279 PyObject * obj2 = 0 ;
13280 PyObject * obj3 = 0 ;
13281 PyObject * obj4 = 0 ;
13282 PyObject * obj5 = 0 ;
13283 char * kwnames[] = {
13284 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13285 };
13286
13287 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
13288 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13289 if (!SWIG_IsOK(res1)) {
13290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13291 }
13292 arg1 = reinterpret_cast< wxWindow * >(argp1);
13293 if (obj1) {
13294 ecode2 = SWIG_AsVal_int(obj1, &val2);
13295 if (!SWIG_IsOK(ecode2)) {
13296 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13297 }
13298 arg2 = static_cast< int >(val2);
13299 }
13300 if (obj2) {
13301 {
13302 arg3 = &temp3;
13303 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13304 }
13305 }
13306 if (obj3) {
13307 {
13308 arg4 = &temp4;
13309 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13310 }
13311 }
13312 if (obj4) {
13313 ecode5 = SWIG_AsVal_long(obj4, &val5);
13314 if (!SWIG_IsOK(ecode5)) {
13315 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13316 }
13317 arg5 = static_cast< long >(val5);
13318 }
13319 if (obj5) {
13320 {
13321 arg6 = wxString_in_helper(obj5);
13322 if (arg6 == NULL) SWIG_fail;
13323 temp6 = true;
13324 }
13325 }
13326 {
13327 if (!wxPyCheckForApp()) SWIG_fail;
13328 PyThreadState* __tstate = wxPyBeginAllowThreads();
13329 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13330 wxPyEndAllowThreads(__tstate);
13331 if (PyErr_Occurred()) SWIG_fail;
13332 }
13333 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
13334 {
13335 if (temp6)
13336 delete arg6;
13337 }
13338 return resultobj;
13339 fail:
13340 {
13341 if (temp6)
13342 delete arg6;
13343 }
13344 return NULL;
13345 }
13346
13347
13348 SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13349 PyObject *resultobj = 0;
13350 wxPyVScrolledWindow *result = 0 ;
13351
13352 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
13353 {
13354 if (!wxPyCheckForApp()) SWIG_fail;
13355 PyThreadState* __tstate = wxPyBeginAllowThreads();
13356 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
13357 wxPyEndAllowThreads(__tstate);
13358 if (PyErr_Occurred()) SWIG_fail;
13359 }
13360 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
13361 return resultobj;
13362 fail:
13363 return NULL;
13364 }
13365
13366
13367 SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13368 PyObject *resultobj = 0;
13369 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13370 PyObject *arg2 = (PyObject *) 0 ;
13371 PyObject *arg3 = (PyObject *) 0 ;
13372 void *argp1 = 0 ;
13373 int res1 = 0 ;
13374 PyObject * obj0 = 0 ;
13375 PyObject * obj1 = 0 ;
13376 PyObject * obj2 = 0 ;
13377 char * kwnames[] = {
13378 (char *) "self",(char *) "self",(char *) "_class", NULL
13379 };
13380
13381 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13382 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13383 if (!SWIG_IsOK(res1)) {
13384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13385 }
13386 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13387 arg2 = obj1;
13388 arg3 = obj2;
13389 {
13390 PyThreadState* __tstate = wxPyBeginAllowThreads();
13391 (arg1)->_setCallbackInfo(arg2,arg3);
13392 wxPyEndAllowThreads(__tstate);
13393 if (PyErr_Occurred()) SWIG_fail;
13394 }
13395 resultobj = SWIG_Py_Void();
13396 return resultobj;
13397 fail:
13398 return NULL;
13399 }
13400
13401
13402 SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13403 PyObject *resultobj = 0;
13404 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13405 wxWindow *arg2 = (wxWindow *) 0 ;
13406 int arg3 = (int) wxID_ANY ;
13407 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13408 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13409 wxSize const &arg5_defvalue = wxDefaultSize ;
13410 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13411 long arg6 = (long) 0 ;
13412 wxString const &arg7_defvalue = wxPyPanelNameStr ;
13413 wxString *arg7 = (wxString *) &arg7_defvalue ;
13414 bool result;
13415 void *argp1 = 0 ;
13416 int res1 = 0 ;
13417 void *argp2 = 0 ;
13418 int res2 = 0 ;
13419 int val3 ;
13420 int ecode3 = 0 ;
13421 wxPoint temp4 ;
13422 wxSize temp5 ;
13423 long val6 ;
13424 int ecode6 = 0 ;
13425 bool temp7 = false ;
13426 PyObject * obj0 = 0 ;
13427 PyObject * obj1 = 0 ;
13428 PyObject * obj2 = 0 ;
13429 PyObject * obj3 = 0 ;
13430 PyObject * obj4 = 0 ;
13431 PyObject * obj5 = 0 ;
13432 PyObject * obj6 = 0 ;
13433 char * kwnames[] = {
13434 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13435 };
13436
13437 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
13438 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13439 if (!SWIG_IsOK(res1)) {
13440 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13441 }
13442 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13443 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13444 if (!SWIG_IsOK(res2)) {
13445 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13446 }
13447 arg2 = reinterpret_cast< wxWindow * >(argp2);
13448 if (obj2) {
13449 ecode3 = SWIG_AsVal_int(obj2, &val3);
13450 if (!SWIG_IsOK(ecode3)) {
13451 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13452 }
13453 arg3 = static_cast< int >(val3);
13454 }
13455 if (obj3) {
13456 {
13457 arg4 = &temp4;
13458 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13459 }
13460 }
13461 if (obj4) {
13462 {
13463 arg5 = &temp5;
13464 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13465 }
13466 }
13467 if (obj5) {
13468 ecode6 = SWIG_AsVal_long(obj5, &val6);
13469 if (!SWIG_IsOK(ecode6)) {
13470 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13471 }
13472 arg6 = static_cast< long >(val6);
13473 }
13474 if (obj6) {
13475 {
13476 arg7 = wxString_in_helper(obj6);
13477 if (arg7 == NULL) SWIG_fail;
13478 temp7 = true;
13479 }
13480 }
13481 {
13482 PyThreadState* __tstate = wxPyBeginAllowThreads();
13483 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13484 wxPyEndAllowThreads(__tstate);
13485 if (PyErr_Occurred()) SWIG_fail;
13486 }
13487 {
13488 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13489 }
13490 {
13491 if (temp7)
13492 delete arg7;
13493 }
13494 return resultobj;
13495 fail:
13496 {
13497 if (temp7)
13498 delete arg7;
13499 }
13500 return NULL;
13501 }
13502
13503
13504 SWIGINTERN PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13505 PyObject *resultobj = 0;
13506 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13507 size_t arg2 ;
13508 void *argp1 = 0 ;
13509 int res1 = 0 ;
13510 size_t val2 ;
13511 int ecode2 = 0 ;
13512 PyObject * obj0 = 0 ;
13513 PyObject * obj1 = 0 ;
13514 char * kwnames[] = {
13515 (char *) "self",(char *) "count", NULL
13516 };
13517
13518 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) SWIG_fail;
13519 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13520 if (!SWIG_IsOK(res1)) {
13521 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13522 }
13523 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13524 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13525 if (!SWIG_IsOK(ecode2)) {
13526 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13527 }
13528 arg2 = static_cast< size_t >(val2);
13529 {
13530 PyThreadState* __tstate = wxPyBeginAllowThreads();
13531 (arg1)->SetLineCount(arg2);
13532 wxPyEndAllowThreads(__tstate);
13533 if (PyErr_Occurred()) SWIG_fail;
13534 }
13535 resultobj = SWIG_Py_Void();
13536 return resultobj;
13537 fail:
13538 return NULL;
13539 }
13540
13541
13542 SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13543 PyObject *resultobj = 0;
13544 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13545 size_t arg2 ;
13546 bool result;
13547 void *argp1 = 0 ;
13548 int res1 = 0 ;
13549 size_t val2 ;
13550 int ecode2 = 0 ;
13551 PyObject * obj0 = 0 ;
13552 PyObject * obj1 = 0 ;
13553 char * kwnames[] = {
13554 (char *) "self",(char *) "line", NULL
13555 };
13556
13557 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
13558 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13559 if (!SWIG_IsOK(res1)) {
13560 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13561 }
13562 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13563 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13564 if (!SWIG_IsOK(ecode2)) {
13565 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13566 }
13567 arg2 = static_cast< size_t >(val2);
13568 {
13569 PyThreadState* __tstate = wxPyBeginAllowThreads();
13570 result = (bool)(arg1)->ScrollToLine(arg2);
13571 wxPyEndAllowThreads(__tstate);
13572 if (PyErr_Occurred()) SWIG_fail;
13573 }
13574 {
13575 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13576 }
13577 return resultobj;
13578 fail:
13579 return NULL;
13580 }
13581
13582
13583 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13584 PyObject *resultobj = 0;
13585 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13586 size_t arg2 ;
13587 void *argp1 = 0 ;
13588 int res1 = 0 ;
13589 size_t val2 ;
13590 int ecode2 = 0 ;
13591 PyObject * obj0 = 0 ;
13592 PyObject * obj1 = 0 ;
13593 char * kwnames[] = {
13594 (char *) "self",(char *) "line", NULL
13595 };
13596
13597 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) SWIG_fail;
13598 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13599 if (!SWIG_IsOK(res1)) {
13600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13601 }
13602 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13603 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13604 if (!SWIG_IsOK(ecode2)) {
13605 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13606 }
13607 arg2 = static_cast< size_t >(val2);
13608 {
13609 PyThreadState* __tstate = wxPyBeginAllowThreads();
13610 (arg1)->RefreshLine(arg2);
13611 wxPyEndAllowThreads(__tstate);
13612 if (PyErr_Occurred()) SWIG_fail;
13613 }
13614 resultobj = SWIG_Py_Void();
13615 return resultobj;
13616 fail:
13617 return NULL;
13618 }
13619
13620
13621 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13622 PyObject *resultobj = 0;
13623 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13624 size_t arg2 ;
13625 size_t arg3 ;
13626 void *argp1 = 0 ;
13627 int res1 = 0 ;
13628 size_t val2 ;
13629 int ecode2 = 0 ;
13630 size_t val3 ;
13631 int ecode3 = 0 ;
13632 PyObject * obj0 = 0 ;
13633 PyObject * obj1 = 0 ;
13634 PyObject * obj2 = 0 ;
13635 char * kwnames[] = {
13636 (char *) "self",(char *) "from",(char *) "to", NULL
13637 };
13638
13639 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13640 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13641 if (!SWIG_IsOK(res1)) {
13642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13643 }
13644 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13645 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13646 if (!SWIG_IsOK(ecode2)) {
13647 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13648 }
13649 arg2 = static_cast< size_t >(val2);
13650 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
13651 if (!SWIG_IsOK(ecode3)) {
13652 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13653 }
13654 arg3 = static_cast< size_t >(val3);
13655 {
13656 PyThreadState* __tstate = wxPyBeginAllowThreads();
13657 (arg1)->RefreshLines(arg2,arg3);
13658 wxPyEndAllowThreads(__tstate);
13659 if (PyErr_Occurred()) SWIG_fail;
13660 }
13661 resultobj = SWIG_Py_Void();
13662 return resultobj;
13663 fail:
13664 return NULL;
13665 }
13666
13667
13668 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13669 PyObject *resultobj = 0;
13670 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13671 int arg2 ;
13672 int arg3 ;
13673 int result;
13674 void *argp1 = 0 ;
13675 int res1 = 0 ;
13676 int val2 ;
13677 int ecode2 = 0 ;
13678 int val3 ;
13679 int ecode3 = 0 ;
13680 PyObject * obj0 = 0 ;
13681 PyObject * obj1 = 0 ;
13682 PyObject * obj2 = 0 ;
13683 char * kwnames[] = {
13684 (char *) "self",(char *) "x",(char *) "y", NULL
13685 };
13686
13687 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13688 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13689 if (!SWIG_IsOK(res1)) {
13690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13691 }
13692 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13693 ecode2 = SWIG_AsVal_int(obj1, &val2);
13694 if (!SWIG_IsOK(ecode2)) {
13695 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13696 }
13697 arg2 = static_cast< int >(val2);
13698 ecode3 = SWIG_AsVal_int(obj2, &val3);
13699 if (!SWIG_IsOK(ecode3)) {
13700 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13701 }
13702 arg3 = static_cast< int >(val3);
13703 {
13704 PyThreadState* __tstate = wxPyBeginAllowThreads();
13705 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
13706 wxPyEndAllowThreads(__tstate);
13707 if (PyErr_Occurred()) SWIG_fail;
13708 }
13709 resultobj = SWIG_From_int(static_cast< int >(result));
13710 return resultobj;
13711 fail:
13712 return NULL;
13713 }
13714
13715
13716 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13717 PyObject *resultobj = 0;
13718 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13719 wxPoint *arg2 = 0 ;
13720 int result;
13721 void *argp1 = 0 ;
13722 int res1 = 0 ;
13723 wxPoint temp2 ;
13724 PyObject * obj0 = 0 ;
13725 PyObject * obj1 = 0 ;
13726 char * kwnames[] = {
13727 (char *) "self",(char *) "pt", NULL
13728 };
13729
13730 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
13731 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13732 if (!SWIG_IsOK(res1)) {
13733 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13734 }
13735 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13736 {
13737 arg2 = &temp2;
13738 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13739 }
13740 {
13741 PyThreadState* __tstate = wxPyBeginAllowThreads();
13742 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
13743 wxPyEndAllowThreads(__tstate);
13744 if (PyErr_Occurred()) SWIG_fail;
13745 }
13746 resultobj = SWIG_From_int(static_cast< int >(result));
13747 return resultobj;
13748 fail:
13749 return NULL;
13750 }
13751
13752
13753 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13754 PyObject *resultobj = 0;
13755 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13756 void *argp1 = 0 ;
13757 int res1 = 0 ;
13758 PyObject *swig_obj[1] ;
13759
13760 if (!args) SWIG_fail;
13761 swig_obj[0] = args;
13762 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13763 if (!SWIG_IsOK(res1)) {
13764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13765 }
13766 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13767 {
13768 PyThreadState* __tstate = wxPyBeginAllowThreads();
13769 (arg1)->RefreshAll();
13770 wxPyEndAllowThreads(__tstate);
13771 if (PyErr_Occurred()) SWIG_fail;
13772 }
13773 resultobj = SWIG_Py_Void();
13774 return resultobj;
13775 fail:
13776 return NULL;
13777 }
13778
13779
13780 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13781 PyObject *resultobj = 0;
13782 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13783 size_t result;
13784 void *argp1 = 0 ;
13785 int res1 = 0 ;
13786 PyObject *swig_obj[1] ;
13787
13788 if (!args) SWIG_fail;
13789 swig_obj[0] = args;
13790 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13791 if (!SWIG_IsOK(res1)) {
13792 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13793 }
13794 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13795 {
13796 PyThreadState* __tstate = wxPyBeginAllowThreads();
13797 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
13798 wxPyEndAllowThreads(__tstate);
13799 if (PyErr_Occurred()) SWIG_fail;
13800 }
13801 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13802 return resultobj;
13803 fail:
13804 return NULL;
13805 }
13806
13807
13808 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13809 PyObject *resultobj = 0;
13810 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13811 size_t result;
13812 void *argp1 = 0 ;
13813 int res1 = 0 ;
13814 PyObject *swig_obj[1] ;
13815
13816 if (!args) SWIG_fail;
13817 swig_obj[0] = args;
13818 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13819 if (!SWIG_IsOK(res1)) {
13820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13821 }
13822 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13823 {
13824 PyThreadState* __tstate = wxPyBeginAllowThreads();
13825 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
13826 wxPyEndAllowThreads(__tstate);
13827 if (PyErr_Occurred()) SWIG_fail;
13828 }
13829 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13830 return resultobj;
13831 fail:
13832 return NULL;
13833 }
13834
13835
13836 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13837 PyObject *resultobj = 0;
13838 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13839 size_t result;
13840 void *argp1 = 0 ;
13841 int res1 = 0 ;
13842 PyObject *swig_obj[1] ;
13843
13844 if (!args) SWIG_fail;
13845 swig_obj[0] = args;
13846 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13847 if (!SWIG_IsOK(res1)) {
13848 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13849 }
13850 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13851 {
13852 PyThreadState* __tstate = wxPyBeginAllowThreads();
13853 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
13854 wxPyEndAllowThreads(__tstate);
13855 if (PyErr_Occurred()) SWIG_fail;
13856 }
13857 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13858 return resultobj;
13859 fail:
13860 return NULL;
13861 }
13862
13863
13864 SWIGINTERN PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13865 PyObject *resultobj = 0;
13866 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13867 size_t arg2 ;
13868 bool result;
13869 void *argp1 = 0 ;
13870 int res1 = 0 ;
13871 size_t val2 ;
13872 int ecode2 = 0 ;
13873 PyObject * obj0 = 0 ;
13874 PyObject * obj1 = 0 ;
13875 char * kwnames[] = {
13876 (char *) "self",(char *) "line", NULL
13877 };
13878
13879 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
13880 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13881 if (!SWIG_IsOK(res1)) {
13882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13883 }
13884 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13885 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13886 if (!SWIG_IsOK(ecode2)) {
13887 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
13888 }
13889 arg2 = static_cast< size_t >(val2);
13890 {
13891 PyThreadState* __tstate = wxPyBeginAllowThreads();
13892 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
13893 wxPyEndAllowThreads(__tstate);
13894 if (PyErr_Occurred()) SWIG_fail;
13895 }
13896 {
13897 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13898 }
13899 return resultobj;
13900 fail:
13901 return NULL;
13902 }
13903
13904
13905 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13906 PyObject *resultobj = 0;
13907 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13908 size_t result;
13909 void *argp1 = 0 ;
13910 int res1 = 0 ;
13911 PyObject *swig_obj[1] ;
13912
13913 if (!args) SWIG_fail;
13914 swig_obj[0] = args;
13915 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13916 if (!SWIG_IsOK(res1)) {
13917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13918 }
13919 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13920 {
13921 PyThreadState* __tstate = wxPyBeginAllowThreads();
13922 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
13923 wxPyEndAllowThreads(__tstate);
13924 if (PyErr_Occurred()) SWIG_fail;
13925 }
13926 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13927 return resultobj;
13928 fail:
13929 return NULL;
13930 }
13931
13932
13933 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13934 PyObject *resultobj = 0;
13935 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13936 size_t result;
13937 void *argp1 = 0 ;
13938 int res1 = 0 ;
13939 PyObject *swig_obj[1] ;
13940
13941 if (!args) SWIG_fail;
13942 swig_obj[0] = args;
13943 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13944 if (!SWIG_IsOK(res1)) {
13945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13946 }
13947 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13948 {
13949 PyThreadState* __tstate = wxPyBeginAllowThreads();
13950 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
13951 wxPyEndAllowThreads(__tstate);
13952 if (PyErr_Occurred()) SWIG_fail;
13953 }
13954 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13955 return resultobj;
13956 fail:
13957 return NULL;
13958 }
13959
13960
13961 SWIGINTERN PyObject *_wrap_VScrolledWindow_FindFirstFromBottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13962 PyObject *resultobj = 0;
13963 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13964 size_t arg2 ;
13965 bool arg3 = (bool) false ;
13966 size_t result;
13967 void *argp1 = 0 ;
13968 int res1 = 0 ;
13969 size_t val2 ;
13970 int ecode2 = 0 ;
13971 bool val3 ;
13972 int ecode3 = 0 ;
13973 PyObject * obj0 = 0 ;
13974 PyObject * obj1 = 0 ;
13975 PyObject * obj2 = 0 ;
13976 char * kwnames[] = {
13977 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
13978 };
13979
13980 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13981 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13982 if (!SWIG_IsOK(res1)) {
13983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13984 }
13985 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13986 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13987 if (!SWIG_IsOK(ecode2)) {
13988 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
13989 }
13990 arg2 = static_cast< size_t >(val2);
13991 if (obj2) {
13992 ecode3 = SWIG_AsVal_bool(obj2, &val3);
13993 if (!SWIG_IsOK(ecode3)) {
13994 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
13995 }
13996 arg3 = static_cast< bool >(val3);
13997 }
13998 {
13999 PyThreadState* __tstate = wxPyBeginAllowThreads();
14000 result = (size_t)(arg1)->FindFirstFromBottom(arg2,arg3);
14001 wxPyEndAllowThreads(__tstate);
14002 if (PyErr_Occurred()) SWIG_fail;
14003 }
14004 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14005 return resultobj;
14006 fail:
14007 return NULL;
14008 }
14009
14010
14011 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLinesHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14012 PyObject *resultobj = 0;
14013 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14014 size_t arg2 ;
14015 size_t arg3 ;
14016 int result;
14017 void *argp1 = 0 ;
14018 int res1 = 0 ;
14019 size_t val2 ;
14020 int ecode2 = 0 ;
14021 size_t val3 ;
14022 int ecode3 = 0 ;
14023 PyObject * obj0 = 0 ;
14024 PyObject * obj1 = 0 ;
14025 PyObject * obj2 = 0 ;
14026 char * kwnames[] = {
14027 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14028 };
14029
14030 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetLinesHeight",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_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14034 }
14035 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14036 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14037 if (!SWIG_IsOK(ecode2)) {
14038 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14039 }
14040 arg2 = static_cast< size_t >(val2);
14041 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14042 if (!SWIG_IsOK(ecode3)) {
14043 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14044 }
14045 arg3 = static_cast< size_t >(val3);
14046 {
14047 PyThreadState* __tstate = wxPyBeginAllowThreads();
14048 result = (int)((wxPyVScrolledWindow const *)arg1)->GetLinesHeight(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 *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14060 PyObject *obj;
14061 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14062 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
14063 return SWIG_Py_Void();
14064 }
14065
14066 SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14067 return SWIG_Python_InitShadowInstance(args);
14068 }
14069
14070 SWIGINTERN int VListBoxNameStr_set(PyObject *) {
14071 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
14072 return 1;
14073 }
14074
14075
14076 SWIGINTERN PyObject *VListBoxNameStr_get(void) {
14077 PyObject *pyobj = 0;
14078
14079 {
14080 #if wxUSE_UNICODE
14081 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14082 #else
14083 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14084 #endif
14085 }
14086 return pyobj;
14087 }
14088
14089
14090 SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14091 PyObject *resultobj = 0;
14092 wxWindow *arg1 = (wxWindow *) 0 ;
14093 int arg2 = (int) wxID_ANY ;
14094 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14095 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14096 wxSize const &arg4_defvalue = wxDefaultSize ;
14097 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14098 long arg5 = (long) 0 ;
14099 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
14100 wxString *arg6 = (wxString *) &arg6_defvalue ;
14101 wxPyVListBox *result = 0 ;
14102 void *argp1 = 0 ;
14103 int res1 = 0 ;
14104 int val2 ;
14105 int ecode2 = 0 ;
14106 wxPoint temp3 ;
14107 wxSize temp4 ;
14108 long val5 ;
14109 int ecode5 = 0 ;
14110 bool temp6 = false ;
14111 PyObject * obj0 = 0 ;
14112 PyObject * obj1 = 0 ;
14113 PyObject * obj2 = 0 ;
14114 PyObject * obj3 = 0 ;
14115 PyObject * obj4 = 0 ;
14116 PyObject * obj5 = 0 ;
14117 char * kwnames[] = {
14118 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14119 };
14120
14121 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14122 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14123 if (!SWIG_IsOK(res1)) {
14124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14125 }
14126 arg1 = reinterpret_cast< wxWindow * >(argp1);
14127 if (obj1) {
14128 ecode2 = SWIG_AsVal_int(obj1, &val2);
14129 if (!SWIG_IsOK(ecode2)) {
14130 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14131 }
14132 arg2 = static_cast< int >(val2);
14133 }
14134 if (obj2) {
14135 {
14136 arg3 = &temp3;
14137 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14138 }
14139 }
14140 if (obj3) {
14141 {
14142 arg4 = &temp4;
14143 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14144 }
14145 }
14146 if (obj4) {
14147 ecode5 = SWIG_AsVal_long(obj4, &val5);
14148 if (!SWIG_IsOK(ecode5)) {
14149 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14150 }
14151 arg5 = static_cast< long >(val5);
14152 }
14153 if (obj5) {
14154 {
14155 arg6 = wxString_in_helper(obj5);
14156 if (arg6 == NULL) SWIG_fail;
14157 temp6 = true;
14158 }
14159 }
14160 {
14161 if (!wxPyCheckForApp()) SWIG_fail;
14162 PyThreadState* __tstate = wxPyBeginAllowThreads();
14163 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14164 wxPyEndAllowThreads(__tstate);
14165 if (PyErr_Occurred()) SWIG_fail;
14166 }
14167 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
14168 {
14169 if (temp6)
14170 delete arg6;
14171 }
14172 return resultobj;
14173 fail:
14174 {
14175 if (temp6)
14176 delete arg6;
14177 }
14178 return NULL;
14179 }
14180
14181
14182 SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14183 PyObject *resultobj = 0;
14184 wxPyVListBox *result = 0 ;
14185
14186 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
14187 {
14188 if (!wxPyCheckForApp()) SWIG_fail;
14189 PyThreadState* __tstate = wxPyBeginAllowThreads();
14190 result = (wxPyVListBox *)new wxPyVListBox();
14191 wxPyEndAllowThreads(__tstate);
14192 if (PyErr_Occurred()) SWIG_fail;
14193 }
14194 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
14195 return resultobj;
14196 fail:
14197 return NULL;
14198 }
14199
14200
14201 SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14202 PyObject *resultobj = 0;
14203 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14204 PyObject *arg2 = (PyObject *) 0 ;
14205 PyObject *arg3 = (PyObject *) 0 ;
14206 void *argp1 = 0 ;
14207 int res1 = 0 ;
14208 PyObject * obj0 = 0 ;
14209 PyObject * obj1 = 0 ;
14210 PyObject * obj2 = 0 ;
14211 char * kwnames[] = {
14212 (char *) "self",(char *) "self",(char *) "_class", NULL
14213 };
14214
14215 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14216 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14217 if (!SWIG_IsOK(res1)) {
14218 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14219 }
14220 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14221 arg2 = obj1;
14222 arg3 = obj2;
14223 {
14224 PyThreadState* __tstate = wxPyBeginAllowThreads();
14225 (arg1)->_setCallbackInfo(arg2,arg3);
14226 wxPyEndAllowThreads(__tstate);
14227 if (PyErr_Occurred()) SWIG_fail;
14228 }
14229 resultobj = SWIG_Py_Void();
14230 return resultobj;
14231 fail:
14232 return NULL;
14233 }
14234
14235
14236 SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14237 PyObject *resultobj = 0;
14238 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14239 wxWindow *arg2 = (wxWindow *) 0 ;
14240 int arg3 = (int) wxID_ANY ;
14241 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14242 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14243 wxSize const &arg5_defvalue = wxDefaultSize ;
14244 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14245 long arg6 = (long) 0 ;
14246 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
14247 wxString *arg7 = (wxString *) &arg7_defvalue ;
14248 bool result;
14249 void *argp1 = 0 ;
14250 int res1 = 0 ;
14251 void *argp2 = 0 ;
14252 int res2 = 0 ;
14253 int val3 ;
14254 int ecode3 = 0 ;
14255 wxPoint temp4 ;
14256 wxSize temp5 ;
14257 long val6 ;
14258 int ecode6 = 0 ;
14259 bool temp7 = false ;
14260 PyObject * obj0 = 0 ;
14261 PyObject * obj1 = 0 ;
14262 PyObject * obj2 = 0 ;
14263 PyObject * obj3 = 0 ;
14264 PyObject * obj4 = 0 ;
14265 PyObject * obj5 = 0 ;
14266 PyObject * obj6 = 0 ;
14267 char * kwnames[] = {
14268 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14269 };
14270
14271 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14272 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14273 if (!SWIG_IsOK(res1)) {
14274 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14275 }
14276 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14277 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14278 if (!SWIG_IsOK(res2)) {
14279 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14280 }
14281 arg2 = reinterpret_cast< wxWindow * >(argp2);
14282 if (obj2) {
14283 ecode3 = SWIG_AsVal_int(obj2, &val3);
14284 if (!SWIG_IsOK(ecode3)) {
14285 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14286 }
14287 arg3 = static_cast< int >(val3);
14288 }
14289 if (obj3) {
14290 {
14291 arg4 = &temp4;
14292 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14293 }
14294 }
14295 if (obj4) {
14296 {
14297 arg5 = &temp5;
14298 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14299 }
14300 }
14301 if (obj5) {
14302 ecode6 = SWIG_AsVal_long(obj5, &val6);
14303 if (!SWIG_IsOK(ecode6)) {
14304 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14305 }
14306 arg6 = static_cast< long >(val6);
14307 }
14308 if (obj6) {
14309 {
14310 arg7 = wxString_in_helper(obj6);
14311 if (arg7 == NULL) SWIG_fail;
14312 temp7 = true;
14313 }
14314 }
14315 {
14316 PyThreadState* __tstate = wxPyBeginAllowThreads();
14317 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14318 wxPyEndAllowThreads(__tstate);
14319 if (PyErr_Occurred()) SWIG_fail;
14320 }
14321 {
14322 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14323 }
14324 {
14325 if (temp7)
14326 delete arg7;
14327 }
14328 return resultobj;
14329 fail:
14330 {
14331 if (temp7)
14332 delete arg7;
14333 }
14334 return NULL;
14335 }
14336
14337
14338 SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14339 PyObject *resultobj = 0;
14340 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14341 size_t result;
14342 void *argp1 = 0 ;
14343 int res1 = 0 ;
14344 PyObject *swig_obj[1] ;
14345
14346 if (!args) SWIG_fail;
14347 swig_obj[0] = args;
14348 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14349 if (!SWIG_IsOK(res1)) {
14350 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14351 }
14352 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14353 {
14354 PyThreadState* __tstate = wxPyBeginAllowThreads();
14355 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
14356 wxPyEndAllowThreads(__tstate);
14357 if (PyErr_Occurred()) SWIG_fail;
14358 }
14359 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14360 return resultobj;
14361 fail:
14362 return NULL;
14363 }
14364
14365
14366 SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14367 PyObject *resultobj = 0;
14368 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14369 bool result;
14370 void *argp1 = 0 ;
14371 int res1 = 0 ;
14372 PyObject *swig_obj[1] ;
14373
14374 if (!args) SWIG_fail;
14375 swig_obj[0] = args;
14376 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14377 if (!SWIG_IsOK(res1)) {
14378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14379 }
14380 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14381 {
14382 PyThreadState* __tstate = wxPyBeginAllowThreads();
14383 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
14384 wxPyEndAllowThreads(__tstate);
14385 if (PyErr_Occurred()) SWIG_fail;
14386 }
14387 {
14388 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14389 }
14390 return resultobj;
14391 fail:
14392 return NULL;
14393 }
14394
14395
14396 SWIGINTERN PyObject *_wrap_VListBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14397 PyObject *resultobj = 0;
14398 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14399 int result;
14400 void *argp1 = 0 ;
14401 int res1 = 0 ;
14402 PyObject *swig_obj[1] ;
14403
14404 if (!args) SWIG_fail;
14405 swig_obj[0] = args;
14406 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14407 if (!SWIG_IsOK(res1)) {
14408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14409 }
14410 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14411 {
14412 PyThreadState* __tstate = wxPyBeginAllowThreads();
14413 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
14414 wxPyEndAllowThreads(__tstate);
14415 if (PyErr_Occurred()) SWIG_fail;
14416 }
14417 resultobj = SWIG_From_int(static_cast< int >(result));
14418 return resultobj;
14419 fail:
14420 return NULL;
14421 }
14422
14423
14424 SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14425 PyObject *resultobj = 0;
14426 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14427 size_t arg2 ;
14428 bool result;
14429 void *argp1 = 0 ;
14430 int res1 = 0 ;
14431 size_t val2 ;
14432 int ecode2 = 0 ;
14433 PyObject * obj0 = 0 ;
14434 PyObject * obj1 = 0 ;
14435 char * kwnames[] = {
14436 (char *) "self",(char *) "item", NULL
14437 };
14438
14439 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
14440 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14441 if (!SWIG_IsOK(res1)) {
14442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14443 }
14444 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14445 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14446 if (!SWIG_IsOK(ecode2)) {
14447 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14448 }
14449 arg2 = static_cast< size_t >(val2);
14450 {
14451 PyThreadState* __tstate = wxPyBeginAllowThreads();
14452 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
14453 wxPyEndAllowThreads(__tstate);
14454 if (PyErr_Occurred()) SWIG_fail;
14455 }
14456 {
14457 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14458 }
14459 return resultobj;
14460 fail:
14461 return NULL;
14462 }
14463
14464
14465 SWIGINTERN PyObject *_wrap_VListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14466 PyObject *resultobj = 0;
14467 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14468 size_t arg2 ;
14469 bool result;
14470 void *argp1 = 0 ;
14471 int res1 = 0 ;
14472 size_t val2 ;
14473 int ecode2 = 0 ;
14474 PyObject * obj0 = 0 ;
14475 PyObject * obj1 = 0 ;
14476 char * kwnames[] = {
14477 (char *) "self",(char *) "item", NULL
14478 };
14479
14480 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14481 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14482 if (!SWIG_IsOK(res1)) {
14483 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14484 }
14485 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14486 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14487 if (!SWIG_IsOK(ecode2)) {
14488 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14489 }
14490 arg2 = static_cast< size_t >(val2);
14491 {
14492 PyThreadState* __tstate = wxPyBeginAllowThreads();
14493 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
14494 wxPyEndAllowThreads(__tstate);
14495 if (PyErr_Occurred()) SWIG_fail;
14496 }
14497 {
14498 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14499 }
14500 return resultobj;
14501 fail:
14502 return NULL;
14503 }
14504
14505
14506 SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14507 PyObject *resultobj = 0;
14508 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14509 size_t result;
14510 void *argp1 = 0 ;
14511 int res1 = 0 ;
14512 PyObject *swig_obj[1] ;
14513
14514 if (!args) SWIG_fail;
14515 swig_obj[0] = args;
14516 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14517 if (!SWIG_IsOK(res1)) {
14518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14519 }
14520 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14521 {
14522 PyThreadState* __tstate = wxPyBeginAllowThreads();
14523 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
14524 wxPyEndAllowThreads(__tstate);
14525 if (PyErr_Occurred()) SWIG_fail;
14526 }
14527 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14528 return resultobj;
14529 fail:
14530 return NULL;
14531 }
14532
14533
14534 SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14535 PyObject *resultobj = 0;
14536 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14537 PyObject *result = 0 ;
14538 void *argp1 = 0 ;
14539 int res1 = 0 ;
14540 PyObject *swig_obj[1] ;
14541
14542 if (!args) SWIG_fail;
14543 swig_obj[0] = args;
14544 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14545 if (!SWIG_IsOK(res1)) {
14546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14547 }
14548 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14549 {
14550 PyThreadState* __tstate = wxPyBeginAllowThreads();
14551 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
14552 wxPyEndAllowThreads(__tstate);
14553 if (PyErr_Occurred()) SWIG_fail;
14554 }
14555 resultobj = result;
14556 return resultobj;
14557 fail:
14558 return NULL;
14559 }
14560
14561
14562 SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14563 PyObject *resultobj = 0;
14564 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14565 unsigned long arg2 ;
14566 PyObject *result = 0 ;
14567 void *argp1 = 0 ;
14568 int res1 = 0 ;
14569 unsigned long val2 ;
14570 int ecode2 = 0 ;
14571 PyObject * obj0 = 0 ;
14572 PyObject * obj1 = 0 ;
14573 char * kwnames[] = {
14574 (char *) "self",(char *) "cookie", NULL
14575 };
14576
14577 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14578 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14579 if (!SWIG_IsOK(res1)) {
14580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14581 }
14582 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14583 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
14584 if (!SWIG_IsOK(ecode2)) {
14585 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14586 }
14587 arg2 = static_cast< unsigned long >(val2);
14588 {
14589 PyThreadState* __tstate = wxPyBeginAllowThreads();
14590 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
14591 wxPyEndAllowThreads(__tstate);
14592 if (PyErr_Occurred()) SWIG_fail;
14593 }
14594 resultobj = result;
14595 return resultobj;
14596 fail:
14597 return NULL;
14598 }
14599
14600
14601 SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14602 PyObject *resultobj = 0;
14603 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14604 wxPoint result;
14605 void *argp1 = 0 ;
14606 int res1 = 0 ;
14607 PyObject *swig_obj[1] ;
14608
14609 if (!args) SWIG_fail;
14610 swig_obj[0] = args;
14611 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14612 if (!SWIG_IsOK(res1)) {
14613 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14614 }
14615 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14616 {
14617 PyThreadState* __tstate = wxPyBeginAllowThreads();
14618 result = ((wxPyVListBox const *)arg1)->GetMargins();
14619 wxPyEndAllowThreads(__tstate);
14620 if (PyErr_Occurred()) SWIG_fail;
14621 }
14622 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
14623 return resultobj;
14624 fail:
14625 return NULL;
14626 }
14627
14628
14629 SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14630 PyObject *resultobj = 0;
14631 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14632 wxColour *result = 0 ;
14633 void *argp1 = 0 ;
14634 int res1 = 0 ;
14635 PyObject *swig_obj[1] ;
14636
14637 if (!args) SWIG_fail;
14638 swig_obj[0] = args;
14639 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14640 if (!SWIG_IsOK(res1)) {
14641 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14642 }
14643 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14644 {
14645 PyThreadState* __tstate = wxPyBeginAllowThreads();
14646 {
14647 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
14648 result = (wxColour *) &_result_ref;
14649 }
14650 wxPyEndAllowThreads(__tstate);
14651 if (PyErr_Occurred()) SWIG_fail;
14652 }
14653 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
14654 return resultobj;
14655 fail:
14656 return NULL;
14657 }
14658
14659
14660 SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14661 PyObject *resultobj = 0;
14662 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14663 size_t arg2 ;
14664 void *argp1 = 0 ;
14665 int res1 = 0 ;
14666 size_t val2 ;
14667 int ecode2 = 0 ;
14668 PyObject * obj0 = 0 ;
14669 PyObject * obj1 = 0 ;
14670 char * kwnames[] = {
14671 (char *) "self",(char *) "count", NULL
14672 };
14673
14674 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
14675 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14676 if (!SWIG_IsOK(res1)) {
14677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14678 }
14679 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14680 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14681 if (!SWIG_IsOK(ecode2)) {
14682 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14683 }
14684 arg2 = static_cast< size_t >(val2);
14685 {
14686 PyThreadState* __tstate = wxPyBeginAllowThreads();
14687 (arg1)->SetItemCount(arg2);
14688 wxPyEndAllowThreads(__tstate);
14689 if (PyErr_Occurred()) SWIG_fail;
14690 }
14691 resultobj = SWIG_Py_Void();
14692 return resultobj;
14693 fail:
14694 return NULL;
14695 }
14696
14697
14698 SWIGINTERN PyObject *_wrap_VListBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14699 PyObject *resultobj = 0;
14700 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14701 void *argp1 = 0 ;
14702 int res1 = 0 ;
14703 PyObject *swig_obj[1] ;
14704
14705 if (!args) SWIG_fail;
14706 swig_obj[0] = args;
14707 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14708 if (!SWIG_IsOK(res1)) {
14709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14710 }
14711 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14712 {
14713 PyThreadState* __tstate = wxPyBeginAllowThreads();
14714 (arg1)->Clear();
14715 wxPyEndAllowThreads(__tstate);
14716 if (PyErr_Occurred()) SWIG_fail;
14717 }
14718 resultobj = SWIG_Py_Void();
14719 return resultobj;
14720 fail:
14721 return NULL;
14722 }
14723
14724
14725 SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14726 PyObject *resultobj = 0;
14727 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14728 int arg2 ;
14729 void *argp1 = 0 ;
14730 int res1 = 0 ;
14731 int val2 ;
14732 int ecode2 = 0 ;
14733 PyObject * obj0 = 0 ;
14734 PyObject * obj1 = 0 ;
14735 char * kwnames[] = {
14736 (char *) "self",(char *) "selection", NULL
14737 };
14738
14739 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
14740 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14741 if (!SWIG_IsOK(res1)) {
14742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14743 }
14744 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14745 ecode2 = SWIG_AsVal_int(obj1, &val2);
14746 if (!SWIG_IsOK(ecode2)) {
14747 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
14748 }
14749 arg2 = static_cast< int >(val2);
14750 {
14751 PyThreadState* __tstate = wxPyBeginAllowThreads();
14752 (arg1)->SetSelection(arg2);
14753 wxPyEndAllowThreads(__tstate);
14754 if (PyErr_Occurred()) SWIG_fail;
14755 }
14756 resultobj = SWIG_Py_Void();
14757 return resultobj;
14758 fail:
14759 return NULL;
14760 }
14761
14762
14763 SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14764 PyObject *resultobj = 0;
14765 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14766 size_t arg2 ;
14767 bool arg3 = (bool) true ;
14768 bool result;
14769 void *argp1 = 0 ;
14770 int res1 = 0 ;
14771 size_t val2 ;
14772 int ecode2 = 0 ;
14773 bool val3 ;
14774 int ecode3 = 0 ;
14775 PyObject * obj0 = 0 ;
14776 PyObject * obj1 = 0 ;
14777 PyObject * obj2 = 0 ;
14778 char * kwnames[] = {
14779 (char *) "self",(char *) "item",(char *) "select", NULL
14780 };
14781
14782 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) 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_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
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_Select" "', expected argument " "2"" of type '" "size_t""'");
14791 }
14792 arg2 = static_cast< size_t >(val2);
14793 if (obj2) {
14794 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14795 if (!SWIG_IsOK(ecode3)) {
14796 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
14797 }
14798 arg3 = static_cast< bool >(val3);
14799 }
14800 {
14801 PyThreadState* __tstate = wxPyBeginAllowThreads();
14802 result = (bool)(arg1)->Select(arg2,arg3);
14803 wxPyEndAllowThreads(__tstate);
14804 if (PyErr_Occurred()) SWIG_fail;
14805 }
14806 {
14807 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14808 }
14809 return resultobj;
14810 fail:
14811 return NULL;
14812 }
14813
14814
14815 SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14816 PyObject *resultobj = 0;
14817 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14818 size_t arg2 ;
14819 size_t arg3 ;
14820 bool result;
14821 void *argp1 = 0 ;
14822 int res1 = 0 ;
14823 size_t val2 ;
14824 int ecode2 = 0 ;
14825 size_t val3 ;
14826 int ecode3 = 0 ;
14827 PyObject * obj0 = 0 ;
14828 PyObject * obj1 = 0 ;
14829 PyObject * obj2 = 0 ;
14830 char * kwnames[] = {
14831 (char *) "self",(char *) "from",(char *) "to", NULL
14832 };
14833
14834 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14835 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14836 if (!SWIG_IsOK(res1)) {
14837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14838 }
14839 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14840 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14841 if (!SWIG_IsOK(ecode2)) {
14842 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
14843 }
14844 arg2 = static_cast< size_t >(val2);
14845 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14846 if (!SWIG_IsOK(ecode3)) {
14847 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
14848 }
14849 arg3 = static_cast< size_t >(val3);
14850 {
14851 PyThreadState* __tstate = wxPyBeginAllowThreads();
14852 result = (bool)(arg1)->SelectRange(arg2,arg3);
14853 wxPyEndAllowThreads(__tstate);
14854 if (PyErr_Occurred()) SWIG_fail;
14855 }
14856 {
14857 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14858 }
14859 return resultobj;
14860 fail:
14861 return NULL;
14862 }
14863
14864
14865 SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14866 PyObject *resultobj = 0;
14867 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14868 size_t arg2 ;
14869 void *argp1 = 0 ;
14870 int res1 = 0 ;
14871 size_t val2 ;
14872 int ecode2 = 0 ;
14873 PyObject * obj0 = 0 ;
14874 PyObject * obj1 = 0 ;
14875 char * kwnames[] = {
14876 (char *) "self",(char *) "item", NULL
14877 };
14878
14879 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
14880 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14881 if (!SWIG_IsOK(res1)) {
14882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14883 }
14884 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14885 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14886 if (!SWIG_IsOK(ecode2)) {
14887 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
14888 }
14889 arg2 = static_cast< size_t >(val2);
14890 {
14891 PyThreadState* __tstate = wxPyBeginAllowThreads();
14892 (arg1)->Toggle(arg2);
14893 wxPyEndAllowThreads(__tstate);
14894 if (PyErr_Occurred()) SWIG_fail;
14895 }
14896 resultobj = SWIG_Py_Void();
14897 return resultobj;
14898 fail:
14899 return NULL;
14900 }
14901
14902
14903 SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14904 PyObject *resultobj = 0;
14905 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14906 bool result;
14907 void *argp1 = 0 ;
14908 int res1 = 0 ;
14909 PyObject *swig_obj[1] ;
14910
14911 if (!args) SWIG_fail;
14912 swig_obj[0] = args;
14913 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14914 if (!SWIG_IsOK(res1)) {
14915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14916 }
14917 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14918 {
14919 PyThreadState* __tstate = wxPyBeginAllowThreads();
14920 result = (bool)(arg1)->SelectAll();
14921 wxPyEndAllowThreads(__tstate);
14922 if (PyErr_Occurred()) SWIG_fail;
14923 }
14924 {
14925 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14926 }
14927 return resultobj;
14928 fail:
14929 return NULL;
14930 }
14931
14932
14933 SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14934 PyObject *resultobj = 0;
14935 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14936 bool result;
14937 void *argp1 = 0 ;
14938 int res1 = 0 ;
14939 PyObject *swig_obj[1] ;
14940
14941 if (!args) SWIG_fail;
14942 swig_obj[0] = args;
14943 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14944 if (!SWIG_IsOK(res1)) {
14945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14946 }
14947 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14948 {
14949 PyThreadState* __tstate = wxPyBeginAllowThreads();
14950 result = (bool)(arg1)->DeselectAll();
14951 wxPyEndAllowThreads(__tstate);
14952 if (PyErr_Occurred()) SWIG_fail;
14953 }
14954 {
14955 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14956 }
14957 return resultobj;
14958 fail:
14959 return NULL;
14960 }
14961
14962
14963 SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14964 PyObject *resultobj = 0;
14965 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14966 wxPoint *arg2 = 0 ;
14967 void *argp1 = 0 ;
14968 int res1 = 0 ;
14969 wxPoint temp2 ;
14970 PyObject * obj0 = 0 ;
14971 PyObject * obj1 = 0 ;
14972 char * kwnames[] = {
14973 (char *) "self",(char *) "pt", NULL
14974 };
14975
14976 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
14977 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14978 if (!SWIG_IsOK(res1)) {
14979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14980 }
14981 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14982 {
14983 arg2 = &temp2;
14984 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14985 }
14986 {
14987 PyThreadState* __tstate = wxPyBeginAllowThreads();
14988 (arg1)->SetMargins((wxPoint const &)*arg2);
14989 wxPyEndAllowThreads(__tstate);
14990 if (PyErr_Occurred()) SWIG_fail;
14991 }
14992 resultobj = SWIG_Py_Void();
14993 return resultobj;
14994 fail:
14995 return NULL;
14996 }
14997
14998
14999 SWIGINTERN PyObject *_wrap_VListBox_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15000 PyObject *resultobj = 0;
15001 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15002 int arg2 ;
15003 int arg3 ;
15004 void *argp1 = 0 ;
15005 int res1 = 0 ;
15006 int val2 ;
15007 int ecode2 = 0 ;
15008 int val3 ;
15009 int ecode3 = 0 ;
15010 PyObject * obj0 = 0 ;
15011 PyObject * obj1 = 0 ;
15012 PyObject * obj2 = 0 ;
15013 char * kwnames[] = {
15014 (char *) "self",(char *) "x",(char *) "y", NULL
15015 };
15016
15017 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) 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_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15021 }
15022 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15023 ecode2 = SWIG_AsVal_int(obj1, &val2);
15024 if (!SWIG_IsOK(ecode2)) {
15025 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15026 }
15027 arg2 = static_cast< int >(val2);
15028 ecode3 = SWIG_AsVal_int(obj2, &val3);
15029 if (!SWIG_IsOK(ecode3)) {
15030 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15031 }
15032 arg3 = static_cast< int >(val3);
15033 {
15034 PyThreadState* __tstate = wxPyBeginAllowThreads();
15035 (arg1)->SetMargins(arg2,arg3);
15036 wxPyEndAllowThreads(__tstate);
15037 if (PyErr_Occurred()) SWIG_fail;
15038 }
15039 resultobj = SWIG_Py_Void();
15040 return resultobj;
15041 fail:
15042 return NULL;
15043 }
15044
15045
15046 SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15047 PyObject *resultobj = 0;
15048 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15049 wxColour *arg2 = 0 ;
15050 void *argp1 = 0 ;
15051 int res1 = 0 ;
15052 wxColour temp2 ;
15053 PyObject * obj0 = 0 ;
15054 PyObject * obj1 = 0 ;
15055 char * kwnames[] = {
15056 (char *) "self",(char *) "col", NULL
15057 };
15058
15059 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
15060 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15061 if (!SWIG_IsOK(res1)) {
15062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15063 }
15064 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15065 {
15066 arg2 = &temp2;
15067 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15068 }
15069 {
15070 PyThreadState* __tstate = wxPyBeginAllowThreads();
15071 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
15072 wxPyEndAllowThreads(__tstate);
15073 if (PyErr_Occurred()) SWIG_fail;
15074 }
15075 resultobj = SWIG_Py_Void();
15076 return resultobj;
15077 fail:
15078 return NULL;
15079 }
15080
15081
15082 SWIGINTERN PyObject *_wrap_VListBox_OnDrawSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15083 PyObject *resultobj = 0;
15084 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15085 wxDC *arg2 = 0 ;
15086 wxRect *arg3 = 0 ;
15087 size_t arg4 ;
15088 void *argp1 = 0 ;
15089 int res1 = 0 ;
15090 void *argp2 = 0 ;
15091 int res2 = 0 ;
15092 wxRect temp3 ;
15093 size_t val4 ;
15094 int ecode4 = 0 ;
15095 PyObject * obj0 = 0 ;
15096 PyObject * obj1 = 0 ;
15097 PyObject * obj2 = 0 ;
15098 PyObject * obj3 = 0 ;
15099 char * kwnames[] = {
15100 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15101 };
15102
15103 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15104 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15105 if (!SWIG_IsOK(res1)) {
15106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15107 }
15108 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15109 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15110 if (!SWIG_IsOK(res2)) {
15111 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15112 }
15113 if (!argp2) {
15114 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15115 }
15116 arg2 = reinterpret_cast< wxDC * >(argp2);
15117 {
15118 arg3 = &temp3;
15119 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15120 }
15121 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15122 if (!SWIG_IsOK(ecode4)) {
15123 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15124 }
15125 arg4 = static_cast< size_t >(val4);
15126 {
15127 PyThreadState* __tstate = wxPyBeginAllowThreads();
15128 ((wxPyVListBox const *)arg1)->OnDrawSeparator(*arg2,*arg3,arg4);
15129 wxPyEndAllowThreads(__tstate);
15130 if (PyErr_Occurred()) SWIG_fail;
15131 }
15132 resultobj = SWIG_Py_Void();
15133 return resultobj;
15134 fail:
15135 return NULL;
15136 }
15137
15138
15139 SWIGINTERN PyObject *_wrap_VListBox_OnDrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15140 PyObject *resultobj = 0;
15141 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15142 wxDC *arg2 = 0 ;
15143 wxRect *arg3 = 0 ;
15144 size_t arg4 ;
15145 void *argp1 = 0 ;
15146 int res1 = 0 ;
15147 void *argp2 = 0 ;
15148 int res2 = 0 ;
15149 wxRect temp3 ;
15150 size_t val4 ;
15151 int ecode4 = 0 ;
15152 PyObject * obj0 = 0 ;
15153 PyObject * obj1 = 0 ;
15154 PyObject * obj2 = 0 ;
15155 PyObject * obj3 = 0 ;
15156 char * kwnames[] = {
15157 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15158 };
15159
15160 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15161 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15162 if (!SWIG_IsOK(res1)) {
15163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15164 }
15165 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15166 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15167 if (!SWIG_IsOK(res2)) {
15168 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15169 }
15170 if (!argp2) {
15171 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15172 }
15173 arg2 = reinterpret_cast< wxDC * >(argp2);
15174 {
15175 arg3 = &temp3;
15176 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15177 }
15178 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15179 if (!SWIG_IsOK(ecode4)) {
15180 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15181 }
15182 arg4 = static_cast< size_t >(val4);
15183 {
15184 PyThreadState* __tstate = wxPyBeginAllowThreads();
15185 ((wxPyVListBox const *)arg1)->OnDrawBackground(*arg2,(wxRect const &)*arg3,arg4);
15186 wxPyEndAllowThreads(__tstate);
15187 if (PyErr_Occurred()) SWIG_fail;
15188 }
15189 resultobj = SWIG_Py_Void();
15190 return resultobj;
15191 fail:
15192 return NULL;
15193 }
15194
15195
15196 SWIGINTERN PyObject *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15197 PyObject *obj;
15198 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15199 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
15200 return SWIG_Py_Void();
15201 }
15202
15203 SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15204 return SWIG_Python_InitShadowInstance(args);
15205 }
15206
15207 SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15208 PyObject *resultobj = 0;
15209 wxWindow *arg1 = (wxWindow *) 0 ;
15210 int arg2 = (int) wxID_ANY ;
15211 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15212 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15213 wxSize const &arg4_defvalue = wxDefaultSize ;
15214 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15215 long arg5 = (long) 0 ;
15216 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
15217 wxString *arg6 = (wxString *) &arg6_defvalue ;
15218 wxPyHtmlListBox *result = 0 ;
15219 void *argp1 = 0 ;
15220 int res1 = 0 ;
15221 int val2 ;
15222 int ecode2 = 0 ;
15223 wxPoint temp3 ;
15224 wxSize temp4 ;
15225 long val5 ;
15226 int ecode5 = 0 ;
15227 bool temp6 = false ;
15228 PyObject * obj0 = 0 ;
15229 PyObject * obj1 = 0 ;
15230 PyObject * obj2 = 0 ;
15231 PyObject * obj3 = 0 ;
15232 PyObject * obj4 = 0 ;
15233 PyObject * obj5 = 0 ;
15234 char * kwnames[] = {
15235 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15236 };
15237
15238 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15239 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15240 if (!SWIG_IsOK(res1)) {
15241 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15242 }
15243 arg1 = reinterpret_cast< wxWindow * >(argp1);
15244 if (obj1) {
15245 ecode2 = SWIG_AsVal_int(obj1, &val2);
15246 if (!SWIG_IsOK(ecode2)) {
15247 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15248 }
15249 arg2 = static_cast< int >(val2);
15250 }
15251 if (obj2) {
15252 {
15253 arg3 = &temp3;
15254 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15255 }
15256 }
15257 if (obj3) {
15258 {
15259 arg4 = &temp4;
15260 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15261 }
15262 }
15263 if (obj4) {
15264 ecode5 = SWIG_AsVal_long(obj4, &val5);
15265 if (!SWIG_IsOK(ecode5)) {
15266 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15267 }
15268 arg5 = static_cast< long >(val5);
15269 }
15270 if (obj5) {
15271 {
15272 arg6 = wxString_in_helper(obj5);
15273 if (arg6 == NULL) SWIG_fail;
15274 temp6 = true;
15275 }
15276 }
15277 {
15278 if (!wxPyCheckForApp()) SWIG_fail;
15279 PyThreadState* __tstate = wxPyBeginAllowThreads();
15280 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15281 wxPyEndAllowThreads(__tstate);
15282 if (PyErr_Occurred()) SWIG_fail;
15283 }
15284 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
15285 {
15286 if (temp6)
15287 delete arg6;
15288 }
15289 return resultobj;
15290 fail:
15291 {
15292 if (temp6)
15293 delete arg6;
15294 }
15295 return NULL;
15296 }
15297
15298
15299 SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15300 PyObject *resultobj = 0;
15301 wxPyHtmlListBox *result = 0 ;
15302
15303 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
15304 {
15305 if (!wxPyCheckForApp()) SWIG_fail;
15306 PyThreadState* __tstate = wxPyBeginAllowThreads();
15307 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
15308 wxPyEndAllowThreads(__tstate);
15309 if (PyErr_Occurred()) SWIG_fail;
15310 }
15311 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
15312 return resultobj;
15313 fail:
15314 return NULL;
15315 }
15316
15317
15318 SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15319 PyObject *resultobj = 0;
15320 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15321 PyObject *arg2 = (PyObject *) 0 ;
15322 PyObject *arg3 = (PyObject *) 0 ;
15323 void *argp1 = 0 ;
15324 int res1 = 0 ;
15325 PyObject * obj0 = 0 ;
15326 PyObject * obj1 = 0 ;
15327 PyObject * obj2 = 0 ;
15328 char * kwnames[] = {
15329 (char *) "self",(char *) "self",(char *) "_class", NULL
15330 };
15331
15332 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15333 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15334 if (!SWIG_IsOK(res1)) {
15335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15336 }
15337 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15338 arg2 = obj1;
15339 arg3 = obj2;
15340 {
15341 PyThreadState* __tstate = wxPyBeginAllowThreads();
15342 (arg1)->_setCallbackInfo(arg2,arg3);
15343 wxPyEndAllowThreads(__tstate);
15344 if (PyErr_Occurred()) SWIG_fail;
15345 }
15346 resultobj = SWIG_Py_Void();
15347 return resultobj;
15348 fail:
15349 return NULL;
15350 }
15351
15352
15353 SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15354 PyObject *resultobj = 0;
15355 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15356 wxWindow *arg2 = (wxWindow *) 0 ;
15357 int arg3 = (int) wxID_ANY ;
15358 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15359 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15360 wxSize const &arg5_defvalue = wxDefaultSize ;
15361 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15362 long arg6 = (long) 0 ;
15363 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
15364 wxString *arg7 = (wxString *) &arg7_defvalue ;
15365 bool result;
15366 void *argp1 = 0 ;
15367 int res1 = 0 ;
15368 void *argp2 = 0 ;
15369 int res2 = 0 ;
15370 int val3 ;
15371 int ecode3 = 0 ;
15372 wxPoint temp4 ;
15373 wxSize temp5 ;
15374 long val6 ;
15375 int ecode6 = 0 ;
15376 bool temp7 = false ;
15377 PyObject * obj0 = 0 ;
15378 PyObject * obj1 = 0 ;
15379 PyObject * obj2 = 0 ;
15380 PyObject * obj3 = 0 ;
15381 PyObject * obj4 = 0 ;
15382 PyObject * obj5 = 0 ;
15383 PyObject * obj6 = 0 ;
15384 char * kwnames[] = {
15385 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15386 };
15387
15388 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15389 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15390 if (!SWIG_IsOK(res1)) {
15391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15392 }
15393 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15394 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15395 if (!SWIG_IsOK(res2)) {
15396 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15397 }
15398 arg2 = reinterpret_cast< wxWindow * >(argp2);
15399 if (obj2) {
15400 ecode3 = SWIG_AsVal_int(obj2, &val3);
15401 if (!SWIG_IsOK(ecode3)) {
15402 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15403 }
15404 arg3 = static_cast< int >(val3);
15405 }
15406 if (obj3) {
15407 {
15408 arg4 = &temp4;
15409 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15410 }
15411 }
15412 if (obj4) {
15413 {
15414 arg5 = &temp5;
15415 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15416 }
15417 }
15418 if (obj5) {
15419 ecode6 = SWIG_AsVal_long(obj5, &val6);
15420 if (!SWIG_IsOK(ecode6)) {
15421 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15422 }
15423 arg6 = static_cast< long >(val6);
15424 }
15425 if (obj6) {
15426 {
15427 arg7 = wxString_in_helper(obj6);
15428 if (arg7 == NULL) SWIG_fail;
15429 temp7 = true;
15430 }
15431 }
15432 {
15433 PyThreadState* __tstate = wxPyBeginAllowThreads();
15434 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15435 wxPyEndAllowThreads(__tstate);
15436 if (PyErr_Occurred()) SWIG_fail;
15437 }
15438 {
15439 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15440 }
15441 {
15442 if (temp7)
15443 delete arg7;
15444 }
15445 return resultobj;
15446 fail:
15447 {
15448 if (temp7)
15449 delete arg7;
15450 }
15451 return NULL;
15452 }
15453
15454
15455 SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15456 PyObject *resultobj = 0;
15457 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15458 size_t arg2 ;
15459 void *argp1 = 0 ;
15460 int res1 = 0 ;
15461 size_t val2 ;
15462 int ecode2 = 0 ;
15463 PyObject * obj0 = 0 ;
15464 PyObject * obj1 = 0 ;
15465 char * kwnames[] = {
15466 (char *) "self",(char *) "count", NULL
15467 };
15468
15469 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15470 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15471 if (!SWIG_IsOK(res1)) {
15472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15473 }
15474 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15475 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15476 if (!SWIG_IsOK(ecode2)) {
15477 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15478 }
15479 arg2 = static_cast< size_t >(val2);
15480 {
15481 PyThreadState* __tstate = wxPyBeginAllowThreads();
15482 (arg1)->SetItemCount(arg2);
15483 wxPyEndAllowThreads(__tstate);
15484 if (PyErr_Occurred()) SWIG_fail;
15485 }
15486 resultobj = SWIG_Py_Void();
15487 return resultobj;
15488 fail:
15489 return NULL;
15490 }
15491
15492
15493 SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15494 PyObject *resultobj = 0;
15495 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15496 wxFileSystem *result = 0 ;
15497 void *argp1 = 0 ;
15498 int res1 = 0 ;
15499 PyObject *swig_obj[1] ;
15500
15501 if (!args) SWIG_fail;
15502 swig_obj[0] = args;
15503 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15504 if (!SWIG_IsOK(res1)) {
15505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15506 }
15507 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15508 {
15509 PyThreadState* __tstate = wxPyBeginAllowThreads();
15510 {
15511 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
15512 result = (wxFileSystem *) &_result_ref;
15513 }
15514 wxPyEndAllowThreads(__tstate);
15515 if (PyErr_Occurred()) SWIG_fail;
15516 }
15517 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
15518 return resultobj;
15519 fail:
15520 return NULL;
15521 }
15522
15523
15524 SWIGINTERN PyObject *_wrap_HtmlListBox_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15525 PyObject *resultobj = 0;
15526 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15527 size_t arg2 ;
15528 wxHtmlLinkInfo *arg3 = 0 ;
15529 void *argp1 = 0 ;
15530 int res1 = 0 ;
15531 size_t val2 ;
15532 int ecode2 = 0 ;
15533 void *argp3 = 0 ;
15534 int res3 = 0 ;
15535 PyObject * obj0 = 0 ;
15536 PyObject * obj1 = 0 ;
15537 PyObject * obj2 = 0 ;
15538 char * kwnames[] = {
15539 (char *) "self",(char *) "n",(char *) "link", NULL
15540 };
15541
15542 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15543 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15544 if (!SWIG_IsOK(res1)) {
15545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15546 }
15547 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15548 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15549 if (!SWIG_IsOK(ecode2)) {
15550 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15551 }
15552 arg2 = static_cast< size_t >(val2);
15553 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
15554 if (!SWIG_IsOK(res3)) {
15555 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15556 }
15557 if (!argp3) {
15558 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15559 }
15560 arg3 = reinterpret_cast< wxHtmlLinkInfo * >(argp3);
15561 {
15562 PyThreadState* __tstate = wxPyBeginAllowThreads();
15563 (arg1)->OnLinkClicked(arg2,(wxHtmlLinkInfo const &)*arg3);
15564 wxPyEndAllowThreads(__tstate);
15565 if (PyErr_Occurred()) SWIG_fail;
15566 }
15567 resultobj = SWIG_Py_Void();
15568 return resultobj;
15569 fail:
15570 return NULL;
15571 }
15572
15573
15574 SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15575 PyObject *obj;
15576 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15577 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
15578 return SWIG_Py_Void();
15579 }
15580
15581 SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15582 return SWIG_Python_InitShadowInstance(args);
15583 }
15584
15585 SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15586 PyObject *resultobj = 0;
15587 wxPyTaskBarIcon *result = 0 ;
15588
15589 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
15590 {
15591 if (!wxPyCheckForApp()) SWIG_fail;
15592 PyThreadState* __tstate = wxPyBeginAllowThreads();
15593 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
15594 wxPyEndAllowThreads(__tstate);
15595 if (PyErr_Occurred()) SWIG_fail;
15596 }
15597 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
15598 return resultobj;
15599 fail:
15600 return NULL;
15601 }
15602
15603
15604 SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15605 PyObject *resultobj = 0;
15606 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15607 void *argp1 = 0 ;
15608 int res1 = 0 ;
15609 PyObject *swig_obj[1] ;
15610
15611 if (!args) SWIG_fail;
15612 swig_obj[0] = args;
15613 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
15614 if (!SWIG_IsOK(res1)) {
15615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15616 }
15617 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15618 {
15619 PyThreadState* __tstate = wxPyBeginAllowThreads();
15620 delete arg1;
15621
15622 wxPyEndAllowThreads(__tstate);
15623 if (PyErr_Occurred()) SWIG_fail;
15624 }
15625 resultobj = SWIG_Py_Void();
15626 return resultobj;
15627 fail:
15628 return NULL;
15629 }
15630
15631
15632 SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15633 PyObject *resultobj = 0;
15634 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15635 PyObject *arg2 = (PyObject *) 0 ;
15636 PyObject *arg3 = (PyObject *) 0 ;
15637 int arg4 ;
15638 void *argp1 = 0 ;
15639 int res1 = 0 ;
15640 int val4 ;
15641 int ecode4 = 0 ;
15642 PyObject * obj0 = 0 ;
15643 PyObject * obj1 = 0 ;
15644 PyObject * obj2 = 0 ;
15645 PyObject * obj3 = 0 ;
15646 char * kwnames[] = {
15647 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15648 };
15649
15650 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15651 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15652 if (!SWIG_IsOK(res1)) {
15653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15654 }
15655 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15656 arg2 = obj1;
15657 arg3 = obj2;
15658 ecode4 = SWIG_AsVal_int(obj3, &val4);
15659 if (!SWIG_IsOK(ecode4)) {
15660 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15661 }
15662 arg4 = static_cast< int >(val4);
15663 {
15664 PyThreadState* __tstate = wxPyBeginAllowThreads();
15665 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
15666 wxPyEndAllowThreads(__tstate);
15667 if (PyErr_Occurred()) SWIG_fail;
15668 }
15669 resultobj = SWIG_Py_Void();
15670 return resultobj;
15671 fail:
15672 return NULL;
15673 }
15674
15675
15676 SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15677 PyObject *resultobj = 0;
15678 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15679 void *argp1 = 0 ;
15680 int res1 = 0 ;
15681 PyObject *swig_obj[1] ;
15682
15683 if (!args) SWIG_fail;
15684 swig_obj[0] = args;
15685 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15686 if (!SWIG_IsOK(res1)) {
15687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15688 }
15689 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15690 {
15691 PyThreadState* __tstate = wxPyBeginAllowThreads();
15692 wxPyTaskBarIcon_Destroy(arg1);
15693 wxPyEndAllowThreads(__tstate);
15694 if (PyErr_Occurred()) SWIG_fail;
15695 }
15696 resultobj = SWIG_Py_Void();
15697 return resultobj;
15698 fail:
15699 return NULL;
15700 }
15701
15702
15703 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15704 PyObject *resultobj = 0;
15705 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15706 bool result;
15707 void *argp1 = 0 ;
15708 int res1 = 0 ;
15709 PyObject *swig_obj[1] ;
15710
15711 if (!args) SWIG_fail;
15712 swig_obj[0] = args;
15713 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15714 if (!SWIG_IsOK(res1)) {
15715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15716 }
15717 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15718 {
15719 PyThreadState* __tstate = wxPyBeginAllowThreads();
15720 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
15721 wxPyEndAllowThreads(__tstate);
15722 if (PyErr_Occurred()) SWIG_fail;
15723 }
15724 {
15725 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15726 }
15727 return resultobj;
15728 fail:
15729 return NULL;
15730 }
15731
15732
15733 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15734 PyObject *resultobj = 0;
15735 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15736 bool result;
15737 void *argp1 = 0 ;
15738 int res1 = 0 ;
15739 PyObject *swig_obj[1] ;
15740
15741 if (!args) SWIG_fail;
15742 swig_obj[0] = args;
15743 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15744 if (!SWIG_IsOK(res1)) {
15745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15746 }
15747 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15748 {
15749 PyThreadState* __tstate = wxPyBeginAllowThreads();
15750 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
15751 wxPyEndAllowThreads(__tstate);
15752 if (PyErr_Occurred()) SWIG_fail;
15753 }
15754 {
15755 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15756 }
15757 return resultobj;
15758 fail:
15759 return NULL;
15760 }
15761
15762
15763 SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15764 PyObject *resultobj = 0;
15765 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15766 wxIcon *arg2 = 0 ;
15767 wxString const &arg3_defvalue = wxPyEmptyString ;
15768 wxString *arg3 = (wxString *) &arg3_defvalue ;
15769 bool result;
15770 void *argp1 = 0 ;
15771 int res1 = 0 ;
15772 void *argp2 = 0 ;
15773 int res2 = 0 ;
15774 bool temp3 = false ;
15775 PyObject * obj0 = 0 ;
15776 PyObject * obj1 = 0 ;
15777 PyObject * obj2 = 0 ;
15778 char * kwnames[] = {
15779 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
15780 };
15781
15782 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15783 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15784 if (!SWIG_IsOK(res1)) {
15785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15786 }
15787 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15788 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
15789 if (!SWIG_IsOK(res2)) {
15790 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15791 }
15792 if (!argp2) {
15793 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15794 }
15795 arg2 = reinterpret_cast< wxIcon * >(argp2);
15796 if (obj2) {
15797 {
15798 arg3 = wxString_in_helper(obj2);
15799 if (arg3 == NULL) SWIG_fail;
15800 temp3 = true;
15801 }
15802 }
15803 {
15804 PyThreadState* __tstate = wxPyBeginAllowThreads();
15805 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
15806 wxPyEndAllowThreads(__tstate);
15807 if (PyErr_Occurred()) SWIG_fail;
15808 }
15809 {
15810 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15811 }
15812 {
15813 if (temp3)
15814 delete arg3;
15815 }
15816 return resultobj;
15817 fail:
15818 {
15819 if (temp3)
15820 delete arg3;
15821 }
15822 return NULL;
15823 }
15824
15825
15826 SWIGINTERN PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15827 PyObject *resultobj = 0;
15828 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15829 bool result;
15830 void *argp1 = 0 ;
15831 int res1 = 0 ;
15832 PyObject *swig_obj[1] ;
15833
15834 if (!args) SWIG_fail;
15835 swig_obj[0] = args;
15836 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15837 if (!SWIG_IsOK(res1)) {
15838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15839 }
15840 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15841 {
15842 PyThreadState* __tstate = wxPyBeginAllowThreads();
15843 result = (bool)(arg1)->RemoveIcon();
15844 wxPyEndAllowThreads(__tstate);
15845 if (PyErr_Occurred()) SWIG_fail;
15846 }
15847 {
15848 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15849 }
15850 return resultobj;
15851 fail:
15852 return NULL;
15853 }
15854
15855
15856 SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15857 PyObject *resultobj = 0;
15858 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15859 wxMenu *arg2 = (wxMenu *) 0 ;
15860 bool result;
15861 void *argp1 = 0 ;
15862 int res1 = 0 ;
15863 void *argp2 = 0 ;
15864 int res2 = 0 ;
15865 PyObject * obj0 = 0 ;
15866 PyObject * obj1 = 0 ;
15867 char * kwnames[] = {
15868 (char *) "self",(char *) "menu", NULL
15869 };
15870
15871 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
15872 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15873 if (!SWIG_IsOK(res1)) {
15874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15875 }
15876 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15877 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
15878 if (!SWIG_IsOK(res2)) {
15879 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
15880 }
15881 arg2 = reinterpret_cast< wxMenu * >(argp2);
15882 {
15883 PyThreadState* __tstate = wxPyBeginAllowThreads();
15884 result = (bool)(arg1)->PopupMenu(arg2);
15885 wxPyEndAllowThreads(__tstate);
15886 if (PyErr_Occurred()) SWIG_fail;
15887 }
15888 {
15889 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15890 }
15891 return resultobj;
15892 fail:
15893 return NULL;
15894 }
15895
15896
15897 SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15898 PyObject *obj;
15899 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15900 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
15901 return SWIG_Py_Void();
15902 }
15903
15904 SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15905 return SWIG_Python_InitShadowInstance(args);
15906 }
15907
15908 SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15909 PyObject *resultobj = 0;
15910 wxEventType arg1 ;
15911 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
15912 wxTaskBarIconEvent *result = 0 ;
15913 int val1 ;
15914 int ecode1 = 0 ;
15915 void *argp2 = 0 ;
15916 int res2 = 0 ;
15917 PyObject * obj0 = 0 ;
15918 PyObject * obj1 = 0 ;
15919 char * kwnames[] = {
15920 (char *) "evtType",(char *) "tbIcon", NULL
15921 };
15922
15923 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
15924 ecode1 = SWIG_AsVal_int(obj0, &val1);
15925 if (!SWIG_IsOK(ecode1)) {
15926 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15927 }
15928 arg1 = static_cast< wxEventType >(val1);
15929 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
15930 if (!SWIG_IsOK(res2)) {
15931 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
15932 }
15933 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
15934 {
15935 PyThreadState* __tstate = wxPyBeginAllowThreads();
15936 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
15937 wxPyEndAllowThreads(__tstate);
15938 if (PyErr_Occurred()) SWIG_fail;
15939 }
15940 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
15941 return resultobj;
15942 fail:
15943 return NULL;
15944 }
15945
15946
15947 SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15948 PyObject *obj;
15949 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15950 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
15951 return SWIG_Py_Void();
15952 }
15953
15954 SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15955 return SWIG_Python_InitShadowInstance(args);
15956 }
15957
15958 SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
15959 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
15960 return 1;
15961 }
15962
15963
15964 SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
15965 PyObject *pyobj = 0;
15966
15967 {
15968 #if wxUSE_UNICODE
15969 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
15970 #else
15971 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
15972 #endif
15973 }
15974 return pyobj;
15975 }
15976
15977
15978 SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
15979 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
15980 return 1;
15981 }
15982
15983
15984 SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
15985 PyObject *pyobj = 0;
15986
15987 {
15988 #if wxUSE_UNICODE
15989 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
15990 #else
15991 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
15992 #endif
15993 }
15994 return pyobj;
15995 }
15996
15997
15998 SWIGINTERN int DirDialogNameStr_set(PyObject *) {
15999 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
16000 return 1;
16001 }
16002
16003
16004 SWIGINTERN PyObject *DirDialogNameStr_get(void) {
16005 PyObject *pyobj = 0;
16006
16007 {
16008 #if wxUSE_UNICODE
16009 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16010 #else
16011 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16012 #endif
16013 }
16014 return pyobj;
16015 }
16016
16017
16018 SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
16019 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
16020 return 1;
16021 }
16022
16023
16024 SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
16025 PyObject *pyobj = 0;
16026
16027 {
16028 #if wxUSE_UNICODE
16029 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16030 #else
16031 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16032 #endif
16033 }
16034 return pyobj;
16035 }
16036
16037
16038 SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
16039 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
16040 return 1;
16041 }
16042
16043
16044 SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
16045 PyObject *pyobj = 0;
16046
16047 {
16048 #if wxUSE_UNICODE
16049 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16050 #else
16051 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16052 #endif
16053 }
16054 return pyobj;
16055 }
16056
16057
16058 SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
16059 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
16060 return 1;
16061 }
16062
16063
16064 SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
16065 PyObject *pyobj = 0;
16066
16067 {
16068 #if wxUSE_UNICODE
16069 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16070 #else
16071 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16072 #endif
16073 }
16074 return pyobj;
16075 }
16076
16077
16078 SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16079 PyObject *resultobj = 0;
16080 wxColourData *result = 0 ;
16081
16082 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
16083 {
16084 PyThreadState* __tstate = wxPyBeginAllowThreads();
16085 result = (wxColourData *)new wxColourData();
16086 wxPyEndAllowThreads(__tstate);
16087 if (PyErr_Occurred()) SWIG_fail;
16088 }
16089 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
16090 return resultobj;
16091 fail:
16092 return NULL;
16093 }
16094
16095
16096 SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16097 PyObject *resultobj = 0;
16098 wxColourData *arg1 = (wxColourData *) 0 ;
16099 void *argp1 = 0 ;
16100 int res1 = 0 ;
16101 PyObject *swig_obj[1] ;
16102
16103 if (!args) SWIG_fail;
16104 swig_obj[0] = args;
16105 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, SWIG_POINTER_DISOWN | 0 );
16106 if (!SWIG_IsOK(res1)) {
16107 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16108 }
16109 arg1 = reinterpret_cast< wxColourData * >(argp1);
16110 {
16111 PyThreadState* __tstate = wxPyBeginAllowThreads();
16112 delete arg1;
16113
16114 wxPyEndAllowThreads(__tstate);
16115 if (PyErr_Occurred()) SWIG_fail;
16116 }
16117 resultobj = SWIG_Py_Void();
16118 return resultobj;
16119 fail:
16120 return NULL;
16121 }
16122
16123
16124 SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16125 PyObject *resultobj = 0;
16126 wxColourData *arg1 = (wxColourData *) 0 ;
16127 bool result;
16128 void *argp1 = 0 ;
16129 int res1 = 0 ;
16130 PyObject *swig_obj[1] ;
16131
16132 if (!args) SWIG_fail;
16133 swig_obj[0] = args;
16134 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16135 if (!SWIG_IsOK(res1)) {
16136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16137 }
16138 arg1 = reinterpret_cast< wxColourData * >(argp1);
16139 {
16140 PyThreadState* __tstate = wxPyBeginAllowThreads();
16141 result = (bool)(arg1)->GetChooseFull();
16142 wxPyEndAllowThreads(__tstate);
16143 if (PyErr_Occurred()) SWIG_fail;
16144 }
16145 {
16146 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16147 }
16148 return resultobj;
16149 fail:
16150 return NULL;
16151 }
16152
16153
16154 SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16155 PyObject *resultobj = 0;
16156 wxColourData *arg1 = (wxColourData *) 0 ;
16157 wxColour result;
16158 void *argp1 = 0 ;
16159 int res1 = 0 ;
16160 PyObject *swig_obj[1] ;
16161
16162 if (!args) SWIG_fail;
16163 swig_obj[0] = args;
16164 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16165 if (!SWIG_IsOK(res1)) {
16166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16167 }
16168 arg1 = reinterpret_cast< wxColourData * >(argp1);
16169 {
16170 PyThreadState* __tstate = wxPyBeginAllowThreads();
16171 result = (arg1)->GetColour();
16172 wxPyEndAllowThreads(__tstate);
16173 if (PyErr_Occurred()) SWIG_fail;
16174 }
16175 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16176 return resultobj;
16177 fail:
16178 return NULL;
16179 }
16180
16181
16182 SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16183 PyObject *resultobj = 0;
16184 wxColourData *arg1 = (wxColourData *) 0 ;
16185 int arg2 ;
16186 wxColour result;
16187 void *argp1 = 0 ;
16188 int res1 = 0 ;
16189 int val2 ;
16190 int ecode2 = 0 ;
16191 PyObject * obj0 = 0 ;
16192 PyObject * obj1 = 0 ;
16193 char * kwnames[] = {
16194 (char *) "self",(char *) "i", NULL
16195 };
16196
16197 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
16198 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16199 if (!SWIG_IsOK(res1)) {
16200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16201 }
16202 arg1 = reinterpret_cast< wxColourData * >(argp1);
16203 ecode2 = SWIG_AsVal_int(obj1, &val2);
16204 if (!SWIG_IsOK(ecode2)) {
16205 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16206 }
16207 arg2 = static_cast< int >(val2);
16208 {
16209 PyThreadState* __tstate = wxPyBeginAllowThreads();
16210 result = (arg1)->GetCustomColour(arg2);
16211 wxPyEndAllowThreads(__tstate);
16212 if (PyErr_Occurred()) SWIG_fail;
16213 }
16214 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16215 return resultobj;
16216 fail:
16217 return NULL;
16218 }
16219
16220
16221 SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16222 PyObject *resultobj = 0;
16223 wxColourData *arg1 = (wxColourData *) 0 ;
16224 int arg2 ;
16225 void *argp1 = 0 ;
16226 int res1 = 0 ;
16227 int val2 ;
16228 int ecode2 = 0 ;
16229 PyObject * obj0 = 0 ;
16230 PyObject * obj1 = 0 ;
16231 char * kwnames[] = {
16232 (char *) "self",(char *) "flag", NULL
16233 };
16234
16235 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
16236 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16237 if (!SWIG_IsOK(res1)) {
16238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16239 }
16240 arg1 = reinterpret_cast< wxColourData * >(argp1);
16241 ecode2 = SWIG_AsVal_int(obj1, &val2);
16242 if (!SWIG_IsOK(ecode2)) {
16243 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16244 }
16245 arg2 = static_cast< int >(val2);
16246 {
16247 PyThreadState* __tstate = wxPyBeginAllowThreads();
16248 (arg1)->SetChooseFull(arg2);
16249 wxPyEndAllowThreads(__tstate);
16250 if (PyErr_Occurred()) SWIG_fail;
16251 }
16252 resultobj = SWIG_Py_Void();
16253 return resultobj;
16254 fail:
16255 return NULL;
16256 }
16257
16258
16259 SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16260 PyObject *resultobj = 0;
16261 wxColourData *arg1 = (wxColourData *) 0 ;
16262 wxColour *arg2 = 0 ;
16263 void *argp1 = 0 ;
16264 int res1 = 0 ;
16265 wxColour temp2 ;
16266 PyObject * obj0 = 0 ;
16267 PyObject * obj1 = 0 ;
16268 char * kwnames[] = {
16269 (char *) "self",(char *) "colour", NULL
16270 };
16271
16272 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
16273 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16274 if (!SWIG_IsOK(res1)) {
16275 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16276 }
16277 arg1 = reinterpret_cast< wxColourData * >(argp1);
16278 {
16279 arg2 = &temp2;
16280 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16281 }
16282 {
16283 PyThreadState* __tstate = wxPyBeginAllowThreads();
16284 (arg1)->SetColour((wxColour const &)*arg2);
16285 wxPyEndAllowThreads(__tstate);
16286 if (PyErr_Occurred()) SWIG_fail;
16287 }
16288 resultobj = SWIG_Py_Void();
16289 return resultobj;
16290 fail:
16291 return NULL;
16292 }
16293
16294
16295 SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16296 PyObject *resultobj = 0;
16297 wxColourData *arg1 = (wxColourData *) 0 ;
16298 int arg2 ;
16299 wxColour *arg3 = 0 ;
16300 void *argp1 = 0 ;
16301 int res1 = 0 ;
16302 int val2 ;
16303 int ecode2 = 0 ;
16304 wxColour temp3 ;
16305 PyObject * obj0 = 0 ;
16306 PyObject * obj1 = 0 ;
16307 PyObject * obj2 = 0 ;
16308 char * kwnames[] = {
16309 (char *) "self",(char *) "i",(char *) "colour", NULL
16310 };
16311
16312 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16313 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16314 if (!SWIG_IsOK(res1)) {
16315 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16316 }
16317 arg1 = reinterpret_cast< wxColourData * >(argp1);
16318 ecode2 = SWIG_AsVal_int(obj1, &val2);
16319 if (!SWIG_IsOK(ecode2)) {
16320 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16321 }
16322 arg2 = static_cast< int >(val2);
16323 {
16324 arg3 = &temp3;
16325 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16326 }
16327 {
16328 PyThreadState* __tstate = wxPyBeginAllowThreads();
16329 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
16330 wxPyEndAllowThreads(__tstate);
16331 if (PyErr_Occurred()) SWIG_fail;
16332 }
16333 resultobj = SWIG_Py_Void();
16334 return resultobj;
16335 fail:
16336 return NULL;
16337 }
16338
16339
16340 SWIGINTERN PyObject *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16341 PyObject *obj;
16342 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16343 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
16344 return SWIG_Py_Void();
16345 }
16346
16347 SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16348 return SWIG_Python_InitShadowInstance(args);
16349 }
16350
16351 SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16352 PyObject *resultobj = 0;
16353 wxWindow *arg1 = (wxWindow *) 0 ;
16354 wxColourData *arg2 = (wxColourData *) NULL ;
16355 wxColourDialog *result = 0 ;
16356 void *argp1 = 0 ;
16357 int res1 = 0 ;
16358 void *argp2 = 0 ;
16359 int res2 = 0 ;
16360 PyObject * obj0 = 0 ;
16361 PyObject * obj1 = 0 ;
16362 char * kwnames[] = {
16363 (char *) "parent",(char *) "data", NULL
16364 };
16365
16366 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
16367 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16368 if (!SWIG_IsOK(res1)) {
16369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16370 }
16371 arg1 = reinterpret_cast< wxWindow * >(argp1);
16372 if (obj1) {
16373 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
16374 if (!SWIG_IsOK(res2)) {
16375 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16376 }
16377 arg2 = reinterpret_cast< wxColourData * >(argp2);
16378 }
16379 {
16380 if (!wxPyCheckForApp()) SWIG_fail;
16381 PyThreadState* __tstate = wxPyBeginAllowThreads();
16382 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
16383 wxPyEndAllowThreads(__tstate);
16384 if (PyErr_Occurred()) SWIG_fail;
16385 }
16386 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
16387 return resultobj;
16388 fail:
16389 return NULL;
16390 }
16391
16392
16393 SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16394 PyObject *resultobj = 0;
16395 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
16396 wxColourData *result = 0 ;
16397 void *argp1 = 0 ;
16398 int res1 = 0 ;
16399 PyObject *swig_obj[1] ;
16400
16401 if (!args) SWIG_fail;
16402 swig_obj[0] = args;
16403 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourDialog, 0 | 0 );
16404 if (!SWIG_IsOK(res1)) {
16405 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16406 }
16407 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
16408 {
16409 PyThreadState* __tstate = wxPyBeginAllowThreads();
16410 {
16411 wxColourData &_result_ref = (arg1)->GetColourData();
16412 result = (wxColourData *) &_result_ref;
16413 }
16414 wxPyEndAllowThreads(__tstate);
16415 if (PyErr_Occurred()) SWIG_fail;
16416 }
16417 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
16418 return resultobj;
16419 fail:
16420 return NULL;
16421 }
16422
16423
16424 SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16425 PyObject *obj;
16426 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16427 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
16428 return SWIG_Py_Void();
16429 }
16430
16431 SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16432 return SWIG_Python_InitShadowInstance(args);
16433 }
16434
16435 SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16436 PyObject *resultobj = 0;
16437 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
16438 wxColour const &arg2_defvalue = wxNullColour ;
16439 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
16440 wxString const &arg3_defvalue = wxPyEmptyString ;
16441 wxString *arg3 = (wxString *) &arg3_defvalue ;
16442 wxColour result;
16443 void *argp1 = 0 ;
16444 int res1 = 0 ;
16445 wxColour temp2 ;
16446 bool temp3 = false ;
16447 PyObject * obj0 = 0 ;
16448 PyObject * obj1 = 0 ;
16449 PyObject * obj2 = 0 ;
16450 char * kwnames[] = {
16451 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16452 };
16453
16454 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16455 if (obj0) {
16456 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16457 if (!SWIG_IsOK(res1)) {
16458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16459 }
16460 arg1 = reinterpret_cast< wxWindow * >(argp1);
16461 }
16462 if (obj1) {
16463 {
16464 arg2 = &temp2;
16465 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16466 }
16467 }
16468 if (obj2) {
16469 {
16470 arg3 = wxString_in_helper(obj2);
16471 if (arg3 == NULL) SWIG_fail;
16472 temp3 = true;
16473 }
16474 }
16475 {
16476 PyThreadState* __tstate = wxPyBeginAllowThreads();
16477 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
16478 wxPyEndAllowThreads(__tstate);
16479 if (PyErr_Occurred()) SWIG_fail;
16480 }
16481 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16482 {
16483 if (temp3)
16484 delete arg3;
16485 }
16486 return resultobj;
16487 fail:
16488 {
16489 if (temp3)
16490 delete arg3;
16491 }
16492 return NULL;
16493 }
16494
16495
16496 SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16497 PyObject *resultobj = 0;
16498 wxWindow *arg1 = (wxWindow *) 0 ;
16499 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
16500 wxString *arg2 = (wxString *) &arg2_defvalue ;
16501 wxString const &arg3_defvalue = wxPyEmptyString ;
16502 wxString *arg3 = (wxString *) &arg3_defvalue ;
16503 long arg4 = (long) 0 ;
16504 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16505 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16506 wxSize const &arg6_defvalue = wxDefaultSize ;
16507 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16508 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
16509 wxString *arg7 = (wxString *) &arg7_defvalue ;
16510 wxDirDialog *result = 0 ;
16511 void *argp1 = 0 ;
16512 int res1 = 0 ;
16513 bool temp2 = false ;
16514 bool temp3 = false ;
16515 long val4 ;
16516 int ecode4 = 0 ;
16517 wxPoint temp5 ;
16518 wxSize temp6 ;
16519 bool temp7 = false ;
16520 PyObject * obj0 = 0 ;
16521 PyObject * obj1 = 0 ;
16522 PyObject * obj2 = 0 ;
16523 PyObject * obj3 = 0 ;
16524 PyObject * obj4 = 0 ;
16525 PyObject * obj5 = 0 ;
16526 PyObject * obj6 = 0 ;
16527 char * kwnames[] = {
16528 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16529 };
16530
16531 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16532 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16533 if (!SWIG_IsOK(res1)) {
16534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16535 }
16536 arg1 = reinterpret_cast< wxWindow * >(argp1);
16537 if (obj1) {
16538 {
16539 arg2 = wxString_in_helper(obj1);
16540 if (arg2 == NULL) SWIG_fail;
16541 temp2 = true;
16542 }
16543 }
16544 if (obj2) {
16545 {
16546 arg3 = wxString_in_helper(obj2);
16547 if (arg3 == NULL) SWIG_fail;
16548 temp3 = true;
16549 }
16550 }
16551 if (obj3) {
16552 ecode4 = SWIG_AsVal_long(obj3, &val4);
16553 if (!SWIG_IsOK(ecode4)) {
16554 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16555 }
16556 arg4 = static_cast< long >(val4);
16557 }
16558 if (obj4) {
16559 {
16560 arg5 = &temp5;
16561 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16562 }
16563 }
16564 if (obj5) {
16565 {
16566 arg6 = &temp6;
16567 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16568 }
16569 }
16570 if (obj6) {
16571 {
16572 arg7 = wxString_in_helper(obj6);
16573 if (arg7 == NULL) SWIG_fail;
16574 temp7 = true;
16575 }
16576 }
16577 {
16578 if (!wxPyCheckForApp()) SWIG_fail;
16579 PyThreadState* __tstate = wxPyBeginAllowThreads();
16580 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
16581 wxPyEndAllowThreads(__tstate);
16582 if (PyErr_Occurred()) SWIG_fail;
16583 }
16584 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
16585 {
16586 if (temp2)
16587 delete arg2;
16588 }
16589 {
16590 if (temp3)
16591 delete arg3;
16592 }
16593 {
16594 if (temp7)
16595 delete arg7;
16596 }
16597 return resultobj;
16598 fail:
16599 {
16600 if (temp2)
16601 delete arg2;
16602 }
16603 {
16604 if (temp3)
16605 delete arg3;
16606 }
16607 {
16608 if (temp7)
16609 delete arg7;
16610 }
16611 return NULL;
16612 }
16613
16614
16615 SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16616 PyObject *resultobj = 0;
16617 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16618 wxString result;
16619 void *argp1 = 0 ;
16620 int res1 = 0 ;
16621 PyObject *swig_obj[1] ;
16622
16623 if (!args) SWIG_fail;
16624 swig_obj[0] = args;
16625 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16626 if (!SWIG_IsOK(res1)) {
16627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16628 }
16629 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16630 {
16631 PyThreadState* __tstate = wxPyBeginAllowThreads();
16632 result = (arg1)->GetPath();
16633 wxPyEndAllowThreads(__tstate);
16634 if (PyErr_Occurred()) SWIG_fail;
16635 }
16636 {
16637 #if wxUSE_UNICODE
16638 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16639 #else
16640 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16641 #endif
16642 }
16643 return resultobj;
16644 fail:
16645 return NULL;
16646 }
16647
16648
16649 SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16650 PyObject *resultobj = 0;
16651 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16652 wxString result;
16653 void *argp1 = 0 ;
16654 int res1 = 0 ;
16655 PyObject *swig_obj[1] ;
16656
16657 if (!args) SWIG_fail;
16658 swig_obj[0] = args;
16659 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16660 if (!SWIG_IsOK(res1)) {
16661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16662 }
16663 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16664 {
16665 PyThreadState* __tstate = wxPyBeginAllowThreads();
16666 result = (arg1)->GetMessage();
16667 wxPyEndAllowThreads(__tstate);
16668 if (PyErr_Occurred()) SWIG_fail;
16669 }
16670 {
16671 #if wxUSE_UNICODE
16672 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16673 #else
16674 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16675 #endif
16676 }
16677 return resultobj;
16678 fail:
16679 return NULL;
16680 }
16681
16682
16683 SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16684 PyObject *resultobj = 0;
16685 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16686 wxString *arg2 = 0 ;
16687 void *argp1 = 0 ;
16688 int res1 = 0 ;
16689 bool temp2 = false ;
16690 PyObject * obj0 = 0 ;
16691 PyObject * obj1 = 0 ;
16692 char * kwnames[] = {
16693 (char *) "self",(char *) "message", NULL
16694 };
16695
16696 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
16697 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16698 if (!SWIG_IsOK(res1)) {
16699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16700 }
16701 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16702 {
16703 arg2 = wxString_in_helper(obj1);
16704 if (arg2 == NULL) SWIG_fail;
16705 temp2 = true;
16706 }
16707 {
16708 PyThreadState* __tstate = wxPyBeginAllowThreads();
16709 (arg1)->SetMessage((wxString const &)*arg2);
16710 wxPyEndAllowThreads(__tstate);
16711 if (PyErr_Occurred()) SWIG_fail;
16712 }
16713 resultobj = SWIG_Py_Void();
16714 {
16715 if (temp2)
16716 delete arg2;
16717 }
16718 return resultobj;
16719 fail:
16720 {
16721 if (temp2)
16722 delete arg2;
16723 }
16724 return NULL;
16725 }
16726
16727
16728 SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16729 PyObject *resultobj = 0;
16730 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16731 wxString *arg2 = 0 ;
16732 void *argp1 = 0 ;
16733 int res1 = 0 ;
16734 bool temp2 = false ;
16735 PyObject * obj0 = 0 ;
16736 PyObject * obj1 = 0 ;
16737 char * kwnames[] = {
16738 (char *) "self",(char *) "path", NULL
16739 };
16740
16741 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
16742 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16743 if (!SWIG_IsOK(res1)) {
16744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16745 }
16746 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16747 {
16748 arg2 = wxString_in_helper(obj1);
16749 if (arg2 == NULL) SWIG_fail;
16750 temp2 = true;
16751 }
16752 {
16753 PyThreadState* __tstate = wxPyBeginAllowThreads();
16754 (arg1)->SetPath((wxString const &)*arg2);
16755 wxPyEndAllowThreads(__tstate);
16756 if (PyErr_Occurred()) SWIG_fail;
16757 }
16758 resultobj = SWIG_Py_Void();
16759 {
16760 if (temp2)
16761 delete arg2;
16762 }
16763 return resultobj;
16764 fail:
16765 {
16766 if (temp2)
16767 delete arg2;
16768 }
16769 return NULL;
16770 }
16771
16772
16773 SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16774 PyObject *obj;
16775 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16776 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
16777 return SWIG_Py_Void();
16778 }
16779
16780 SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16781 return SWIG_Python_InitShadowInstance(args);
16782 }
16783
16784 SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16785 PyObject *resultobj = 0;
16786 wxWindow *arg1 = (wxWindow *) 0 ;
16787 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
16788 wxString *arg2 = (wxString *) &arg2_defvalue ;
16789 wxString const &arg3_defvalue = wxPyEmptyString ;
16790 wxString *arg3 = (wxString *) &arg3_defvalue ;
16791 wxString const &arg4_defvalue = wxPyEmptyString ;
16792 wxString *arg4 = (wxString *) &arg4_defvalue ;
16793 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
16794 wxString *arg5 = (wxString *) &arg5_defvalue ;
16795 long arg6 = (long) 0 ;
16796 wxPoint const &arg7_defvalue = wxDefaultPosition ;
16797 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
16798 wxFileDialog *result = 0 ;
16799 void *argp1 = 0 ;
16800 int res1 = 0 ;
16801 bool temp2 = false ;
16802 bool temp3 = false ;
16803 bool temp4 = false ;
16804 bool temp5 = false ;
16805 long val6 ;
16806 int ecode6 = 0 ;
16807 wxPoint temp7 ;
16808 PyObject * obj0 = 0 ;
16809 PyObject * obj1 = 0 ;
16810 PyObject * obj2 = 0 ;
16811 PyObject * obj3 = 0 ;
16812 PyObject * obj4 = 0 ;
16813 PyObject * obj5 = 0 ;
16814 PyObject * obj6 = 0 ;
16815 char * kwnames[] = {
16816 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
16817 };
16818
16819 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16820 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16821 if (!SWIG_IsOK(res1)) {
16822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16823 }
16824 arg1 = reinterpret_cast< wxWindow * >(argp1);
16825 if (obj1) {
16826 {
16827 arg2 = wxString_in_helper(obj1);
16828 if (arg2 == NULL) SWIG_fail;
16829 temp2 = true;
16830 }
16831 }
16832 if (obj2) {
16833 {
16834 arg3 = wxString_in_helper(obj2);
16835 if (arg3 == NULL) SWIG_fail;
16836 temp3 = true;
16837 }
16838 }
16839 if (obj3) {
16840 {
16841 arg4 = wxString_in_helper(obj3);
16842 if (arg4 == NULL) SWIG_fail;
16843 temp4 = true;
16844 }
16845 }
16846 if (obj4) {
16847 {
16848 arg5 = wxString_in_helper(obj4);
16849 if (arg5 == NULL) SWIG_fail;
16850 temp5 = true;
16851 }
16852 }
16853 if (obj5) {
16854 ecode6 = SWIG_AsVal_long(obj5, &val6);
16855 if (!SWIG_IsOK(ecode6)) {
16856 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
16857 }
16858 arg6 = static_cast< long >(val6);
16859 }
16860 if (obj6) {
16861 {
16862 arg7 = &temp7;
16863 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
16864 }
16865 }
16866 {
16867 if (!wxPyCheckForApp()) SWIG_fail;
16868 PyThreadState* __tstate = wxPyBeginAllowThreads();
16869 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
16870 wxPyEndAllowThreads(__tstate);
16871 if (PyErr_Occurred()) SWIG_fail;
16872 }
16873 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
16874 {
16875 if (temp2)
16876 delete arg2;
16877 }
16878 {
16879 if (temp3)
16880 delete arg3;
16881 }
16882 {
16883 if (temp4)
16884 delete arg4;
16885 }
16886 {
16887 if (temp5)
16888 delete arg5;
16889 }
16890 return resultobj;
16891 fail:
16892 {
16893 if (temp2)
16894 delete arg2;
16895 }
16896 {
16897 if (temp3)
16898 delete arg3;
16899 }
16900 {
16901 if (temp4)
16902 delete arg4;
16903 }
16904 {
16905 if (temp5)
16906 delete arg5;
16907 }
16908 return NULL;
16909 }
16910
16911
16912 SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16913 PyObject *resultobj = 0;
16914 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
16915 wxString *arg2 = 0 ;
16916 void *argp1 = 0 ;
16917 int res1 = 0 ;
16918 bool temp2 = false ;
16919 PyObject * obj0 = 0 ;
16920 PyObject * obj1 = 0 ;
16921 char * kwnames[] = {
16922 (char *) "self",(char *) "message", NULL
16923 };
16924
16925 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
16926 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
16927 if (!SWIG_IsOK(res1)) {
16928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
16929 }
16930 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
16931 {
16932 arg2 = wxString_in_helper(obj1);
16933 if (arg2 == NULL) SWIG_fail;
16934 temp2 = true;
16935 }
16936 {
16937 PyThreadState* __tstate = wxPyBeginAllowThreads();
16938 (arg1)->SetMessage((wxString const &)*arg2);
16939 wxPyEndAllowThreads(__tstate);
16940 if (PyErr_Occurred()) SWIG_fail;
16941 }
16942 resultobj = SWIG_Py_Void();
16943 {
16944 if (temp2)
16945 delete arg2;
16946 }
16947 return resultobj;
16948 fail:
16949 {
16950 if (temp2)
16951 delete arg2;
16952 }
16953 return NULL;
16954 }
16955
16956
16957 SWIGINTERN PyObject *_wrap_FileDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16958 PyObject *resultobj = 0;
16959 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
16960 wxString *arg2 = 0 ;
16961 void *argp1 = 0 ;
16962 int res1 = 0 ;
16963 bool temp2 = false ;
16964 PyObject * obj0 = 0 ;
16965 PyObject * obj1 = 0 ;
16966 char * kwnames[] = {
16967 (char *) "self",(char *) "path", NULL
16968 };
16969
16970 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
16971 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
16972 if (!SWIG_IsOK(res1)) {
16973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
16974 }
16975 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
16976 {
16977 arg2 = wxString_in_helper(obj1);
16978 if (arg2 == NULL) SWIG_fail;
16979 temp2 = true;
16980 }
16981 {
16982 PyThreadState* __tstate = wxPyBeginAllowThreads();
16983 (arg1)->SetPath((wxString const &)*arg2);
16984 wxPyEndAllowThreads(__tstate);
16985 if (PyErr_Occurred()) SWIG_fail;
16986 }
16987 resultobj = SWIG_Py_Void();
16988 {
16989 if (temp2)
16990 delete arg2;
16991 }
16992 return resultobj;
16993 fail:
16994 {
16995 if (temp2)
16996 delete arg2;
16997 }
16998 return NULL;
16999 }
17000
17001
17002 SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17003 PyObject *resultobj = 0;
17004 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17005 wxString *arg2 = 0 ;
17006 void *argp1 = 0 ;
17007 int res1 = 0 ;
17008 bool temp2 = false ;
17009 PyObject * obj0 = 0 ;
17010 PyObject * obj1 = 0 ;
17011 char * kwnames[] = {
17012 (char *) "self",(char *) "dir", NULL
17013 };
17014
17015 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
17016 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17017 if (!SWIG_IsOK(res1)) {
17018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17019 }
17020 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17021 {
17022 arg2 = wxString_in_helper(obj1);
17023 if (arg2 == NULL) SWIG_fail;
17024 temp2 = true;
17025 }
17026 {
17027 PyThreadState* __tstate = wxPyBeginAllowThreads();
17028 (arg1)->SetDirectory((wxString const &)*arg2);
17029 wxPyEndAllowThreads(__tstate);
17030 if (PyErr_Occurred()) SWIG_fail;
17031 }
17032 resultobj = SWIG_Py_Void();
17033 {
17034 if (temp2)
17035 delete arg2;
17036 }
17037 return resultobj;
17038 fail:
17039 {
17040 if (temp2)
17041 delete arg2;
17042 }
17043 return NULL;
17044 }
17045
17046
17047 SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17048 PyObject *resultobj = 0;
17049 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17050 wxString *arg2 = 0 ;
17051 void *argp1 = 0 ;
17052 int res1 = 0 ;
17053 bool temp2 = false ;
17054 PyObject * obj0 = 0 ;
17055 PyObject * obj1 = 0 ;
17056 char * kwnames[] = {
17057 (char *) "self",(char *) "name", NULL
17058 };
17059
17060 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
17061 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17062 if (!SWIG_IsOK(res1)) {
17063 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17064 }
17065 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17066 {
17067 arg2 = wxString_in_helper(obj1);
17068 if (arg2 == NULL) SWIG_fail;
17069 temp2 = true;
17070 }
17071 {
17072 PyThreadState* __tstate = wxPyBeginAllowThreads();
17073 (arg1)->SetFilename((wxString const &)*arg2);
17074 wxPyEndAllowThreads(__tstate);
17075 if (PyErr_Occurred()) SWIG_fail;
17076 }
17077 resultobj = SWIG_Py_Void();
17078 {
17079 if (temp2)
17080 delete arg2;
17081 }
17082 return resultobj;
17083 fail:
17084 {
17085 if (temp2)
17086 delete arg2;
17087 }
17088 return NULL;
17089 }
17090
17091
17092 SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17093 PyObject *resultobj = 0;
17094 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17095 wxString *arg2 = 0 ;
17096 void *argp1 = 0 ;
17097 int res1 = 0 ;
17098 bool temp2 = false ;
17099 PyObject * obj0 = 0 ;
17100 PyObject * obj1 = 0 ;
17101 char * kwnames[] = {
17102 (char *) "self",(char *) "wildCard", NULL
17103 };
17104
17105 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
17106 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17107 if (!SWIG_IsOK(res1)) {
17108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17109 }
17110 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17111 {
17112 arg2 = wxString_in_helper(obj1);
17113 if (arg2 == NULL) SWIG_fail;
17114 temp2 = true;
17115 }
17116 {
17117 PyThreadState* __tstate = wxPyBeginAllowThreads();
17118 (arg1)->SetWildcard((wxString const &)*arg2);
17119 wxPyEndAllowThreads(__tstate);
17120 if (PyErr_Occurred()) SWIG_fail;
17121 }
17122 resultobj = SWIG_Py_Void();
17123 {
17124 if (temp2)
17125 delete arg2;
17126 }
17127 return resultobj;
17128 fail:
17129 {
17130 if (temp2)
17131 delete arg2;
17132 }
17133 return NULL;
17134 }
17135
17136
17137 SWIGINTERN PyObject *_wrap_FileDialog_SetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17138 PyObject *resultobj = 0;
17139 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17140 long arg2 ;
17141 void *argp1 = 0 ;
17142 int res1 = 0 ;
17143 long val2 ;
17144 int ecode2 = 0 ;
17145 PyObject * obj0 = 0 ;
17146 PyObject * obj1 = 0 ;
17147 char * kwnames[] = {
17148 (char *) "self",(char *) "style", NULL
17149 };
17150
17151 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) SWIG_fail;
17152 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17153 if (!SWIG_IsOK(res1)) {
17154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetStyle" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17155 }
17156 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17157 ecode2 = SWIG_AsVal_long(obj1, &val2);
17158 if (!SWIG_IsOK(ecode2)) {
17159 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetStyle" "', expected argument " "2"" of type '" "long""'");
17160 }
17161 arg2 = static_cast< long >(val2);
17162 {
17163 PyThreadState* __tstate = wxPyBeginAllowThreads();
17164 (arg1)->SetStyle(arg2);
17165 wxPyEndAllowThreads(__tstate);
17166 if (PyErr_Occurred()) SWIG_fail;
17167 }
17168 resultobj = SWIG_Py_Void();
17169 return resultobj;
17170 fail:
17171 return NULL;
17172 }
17173
17174
17175 SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17176 PyObject *resultobj = 0;
17177 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17178 int arg2 ;
17179 void *argp1 = 0 ;
17180 int res1 = 0 ;
17181 int val2 ;
17182 int ecode2 = 0 ;
17183 PyObject * obj0 = 0 ;
17184 PyObject * obj1 = 0 ;
17185 char * kwnames[] = {
17186 (char *) "self",(char *) "filterIndex", NULL
17187 };
17188
17189 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
17190 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17191 if (!SWIG_IsOK(res1)) {
17192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17193 }
17194 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17195 ecode2 = SWIG_AsVal_int(obj1, &val2);
17196 if (!SWIG_IsOK(ecode2)) {
17197 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17198 }
17199 arg2 = static_cast< int >(val2);
17200 {
17201 PyThreadState* __tstate = wxPyBeginAllowThreads();
17202 (arg1)->SetFilterIndex(arg2);
17203 wxPyEndAllowThreads(__tstate);
17204 if (PyErr_Occurred()) SWIG_fail;
17205 }
17206 resultobj = SWIG_Py_Void();
17207 return resultobj;
17208 fail:
17209 return NULL;
17210 }
17211
17212
17213 SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17214 PyObject *resultobj = 0;
17215 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17216 wxString result;
17217 void *argp1 = 0 ;
17218 int res1 = 0 ;
17219 PyObject *swig_obj[1] ;
17220
17221 if (!args) SWIG_fail;
17222 swig_obj[0] = args;
17223 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17224 if (!SWIG_IsOK(res1)) {
17225 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17226 }
17227 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17228 {
17229 PyThreadState* __tstate = wxPyBeginAllowThreads();
17230 result = ((wxFileDialog const *)arg1)->GetMessage();
17231 wxPyEndAllowThreads(__tstate);
17232 if (PyErr_Occurred()) SWIG_fail;
17233 }
17234 {
17235 #if wxUSE_UNICODE
17236 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17237 #else
17238 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17239 #endif
17240 }
17241 return resultobj;
17242 fail:
17243 return NULL;
17244 }
17245
17246
17247 SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17248 PyObject *resultobj = 0;
17249 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17250 wxString result;
17251 void *argp1 = 0 ;
17252 int res1 = 0 ;
17253 PyObject *swig_obj[1] ;
17254
17255 if (!args) SWIG_fail;
17256 swig_obj[0] = args;
17257 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17258 if (!SWIG_IsOK(res1)) {
17259 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17260 }
17261 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17262 {
17263 PyThreadState* __tstate = wxPyBeginAllowThreads();
17264 result = ((wxFileDialog const *)arg1)->GetPath();
17265 wxPyEndAllowThreads(__tstate);
17266 if (PyErr_Occurred()) SWIG_fail;
17267 }
17268 {
17269 #if wxUSE_UNICODE
17270 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17271 #else
17272 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17273 #endif
17274 }
17275 return resultobj;
17276 fail:
17277 return NULL;
17278 }
17279
17280
17281 SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17282 PyObject *resultobj = 0;
17283 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17284 wxString result;
17285 void *argp1 = 0 ;
17286 int res1 = 0 ;
17287 PyObject *swig_obj[1] ;
17288
17289 if (!args) SWIG_fail;
17290 swig_obj[0] = args;
17291 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17292 if (!SWIG_IsOK(res1)) {
17293 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17294 }
17295 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17296 {
17297 PyThreadState* __tstate = wxPyBeginAllowThreads();
17298 result = ((wxFileDialog const *)arg1)->GetDirectory();
17299 wxPyEndAllowThreads(__tstate);
17300 if (PyErr_Occurred()) SWIG_fail;
17301 }
17302 {
17303 #if wxUSE_UNICODE
17304 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17305 #else
17306 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17307 #endif
17308 }
17309 return resultobj;
17310 fail:
17311 return NULL;
17312 }
17313
17314
17315 SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17316 PyObject *resultobj = 0;
17317 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17318 wxString result;
17319 void *argp1 = 0 ;
17320 int res1 = 0 ;
17321 PyObject *swig_obj[1] ;
17322
17323 if (!args) SWIG_fail;
17324 swig_obj[0] = args;
17325 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17326 if (!SWIG_IsOK(res1)) {
17327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17328 }
17329 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17330 {
17331 PyThreadState* __tstate = wxPyBeginAllowThreads();
17332 result = ((wxFileDialog const *)arg1)->GetFilename();
17333 wxPyEndAllowThreads(__tstate);
17334 if (PyErr_Occurred()) SWIG_fail;
17335 }
17336 {
17337 #if wxUSE_UNICODE
17338 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17339 #else
17340 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17341 #endif
17342 }
17343 return resultobj;
17344 fail:
17345 return NULL;
17346 }
17347
17348
17349 SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17350 PyObject *resultobj = 0;
17351 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17352 wxString result;
17353 void *argp1 = 0 ;
17354 int res1 = 0 ;
17355 PyObject *swig_obj[1] ;
17356
17357 if (!args) SWIG_fail;
17358 swig_obj[0] = args;
17359 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17360 if (!SWIG_IsOK(res1)) {
17361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17362 }
17363 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17364 {
17365 PyThreadState* __tstate = wxPyBeginAllowThreads();
17366 result = ((wxFileDialog const *)arg1)->GetWildcard();
17367 wxPyEndAllowThreads(__tstate);
17368 if (PyErr_Occurred()) SWIG_fail;
17369 }
17370 {
17371 #if wxUSE_UNICODE
17372 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17373 #else
17374 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17375 #endif
17376 }
17377 return resultobj;
17378 fail:
17379 return NULL;
17380 }
17381
17382
17383 SWIGINTERN PyObject *_wrap_FileDialog_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17384 PyObject *resultobj = 0;
17385 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17386 long result;
17387 void *argp1 = 0 ;
17388 int res1 = 0 ;
17389 PyObject *swig_obj[1] ;
17390
17391 if (!args) SWIG_fail;
17392 swig_obj[0] = args;
17393 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17394 if (!SWIG_IsOK(res1)) {
17395 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetStyle" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17396 }
17397 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17398 {
17399 PyThreadState* __tstate = wxPyBeginAllowThreads();
17400 result = (long)((wxFileDialog const *)arg1)->GetStyle();
17401 wxPyEndAllowThreads(__tstate);
17402 if (PyErr_Occurred()) SWIG_fail;
17403 }
17404 resultobj = SWIG_From_long(static_cast< long >(result));
17405 return resultobj;
17406 fail:
17407 return NULL;
17408 }
17409
17410
17411 SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17412 PyObject *resultobj = 0;
17413 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17414 int result;
17415 void *argp1 = 0 ;
17416 int res1 = 0 ;
17417 PyObject *swig_obj[1] ;
17418
17419 if (!args) SWIG_fail;
17420 swig_obj[0] = args;
17421 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17422 if (!SWIG_IsOK(res1)) {
17423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17424 }
17425 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17426 {
17427 PyThreadState* __tstate = wxPyBeginAllowThreads();
17428 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
17429 wxPyEndAllowThreads(__tstate);
17430 if (PyErr_Occurred()) SWIG_fail;
17431 }
17432 resultobj = SWIG_From_int(static_cast< int >(result));
17433 return resultobj;
17434 fail:
17435 return NULL;
17436 }
17437
17438
17439 SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17440 PyObject *resultobj = 0;
17441 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17442 PyObject *result = 0 ;
17443 void *argp1 = 0 ;
17444 int res1 = 0 ;
17445 PyObject *swig_obj[1] ;
17446
17447 if (!args) SWIG_fail;
17448 swig_obj[0] = args;
17449 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17450 if (!SWIG_IsOK(res1)) {
17451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17452 }
17453 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17454 {
17455 PyThreadState* __tstate = wxPyBeginAllowThreads();
17456 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
17457 wxPyEndAllowThreads(__tstate);
17458 if (PyErr_Occurred()) SWIG_fail;
17459 }
17460 resultobj = result;
17461 return resultobj;
17462 fail:
17463 return NULL;
17464 }
17465
17466
17467 SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17468 PyObject *resultobj = 0;
17469 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17470 PyObject *result = 0 ;
17471 void *argp1 = 0 ;
17472 int res1 = 0 ;
17473 PyObject *swig_obj[1] ;
17474
17475 if (!args) SWIG_fail;
17476 swig_obj[0] = args;
17477 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17478 if (!SWIG_IsOK(res1)) {
17479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17480 }
17481 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17482 {
17483 PyThreadState* __tstate = wxPyBeginAllowThreads();
17484 result = (PyObject *)wxFileDialog_GetPaths(arg1);
17485 wxPyEndAllowThreads(__tstate);
17486 if (PyErr_Occurred()) SWIG_fail;
17487 }
17488 resultobj = result;
17489 return resultobj;
17490 fail:
17491 return NULL;
17492 }
17493
17494
17495 SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17496 PyObject *obj;
17497 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17498 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
17499 return SWIG_Py_Void();
17500 }
17501
17502 SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17503 return SWIG_Python_InitShadowInstance(args);
17504 }
17505
17506 SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17507 PyObject *resultobj = 0;
17508 wxWindow *arg1 = (wxWindow *) 0 ;
17509 wxString *arg2 = 0 ;
17510 wxString *arg3 = 0 ;
17511 int arg4 = (int) 0 ;
17512 wxString *arg5 = (wxString *) NULL ;
17513 long arg6 = (long) wxCHOICEDLG_STYLE ;
17514 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17515 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17516 wxMultiChoiceDialog *result = 0 ;
17517 void *argp1 = 0 ;
17518 int res1 = 0 ;
17519 bool temp2 = false ;
17520 bool temp3 = false ;
17521 long val6 ;
17522 int ecode6 = 0 ;
17523 wxPoint temp7 ;
17524 PyObject * obj0 = 0 ;
17525 PyObject * obj1 = 0 ;
17526 PyObject * obj2 = 0 ;
17527 PyObject * obj3 = 0 ;
17528 PyObject * obj4 = 0 ;
17529 PyObject * obj5 = 0 ;
17530 char * kwnames[] = {
17531 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17532 };
17533
17534 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17535 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17536 if (!SWIG_IsOK(res1)) {
17537 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17538 }
17539 arg1 = reinterpret_cast< wxWindow * >(argp1);
17540 {
17541 arg2 = wxString_in_helper(obj1);
17542 if (arg2 == NULL) SWIG_fail;
17543 temp2 = true;
17544 }
17545 {
17546 arg3 = wxString_in_helper(obj2);
17547 if (arg3 == NULL) SWIG_fail;
17548 temp3 = true;
17549 }
17550 if (obj3) {
17551 {
17552 arg4 = PyList_Size(obj3);
17553 arg5 = wxString_LIST_helper(obj3);
17554 if (arg5 == NULL) SWIG_fail;
17555 }
17556 }
17557 if (obj4) {
17558 ecode6 = SWIG_AsVal_long(obj4, &val6);
17559 if (!SWIG_IsOK(ecode6)) {
17560 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17561 }
17562 arg6 = static_cast< long >(val6);
17563 }
17564 if (obj5) {
17565 {
17566 arg7 = &temp7;
17567 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
17568 }
17569 }
17570 {
17571 if (!wxPyCheckForApp()) SWIG_fail;
17572 PyThreadState* __tstate = wxPyBeginAllowThreads();
17573 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17574 wxPyEndAllowThreads(__tstate);
17575 if (PyErr_Occurred()) SWIG_fail;
17576 }
17577 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
17578 {
17579 if (temp2)
17580 delete arg2;
17581 }
17582 {
17583 if (temp3)
17584 delete arg3;
17585 }
17586 {
17587 if (arg5) delete [] arg5;
17588 }
17589 return resultobj;
17590 fail:
17591 {
17592 if (temp2)
17593 delete arg2;
17594 }
17595 {
17596 if (temp3)
17597 delete arg3;
17598 }
17599 {
17600 if (arg5) delete [] arg5;
17601 }
17602 return NULL;
17603 }
17604
17605
17606 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17607 PyObject *resultobj = 0;
17608 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17609 wxArrayInt *arg2 = 0 ;
17610 void *argp1 = 0 ;
17611 int res1 = 0 ;
17612 bool temp2 = false ;
17613 PyObject * obj0 = 0 ;
17614 PyObject * obj1 = 0 ;
17615 char * kwnames[] = {
17616 (char *) "self",(char *) "selections", NULL
17617 };
17618
17619 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
17620 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17621 if (!SWIG_IsOK(res1)) {
17622 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17623 }
17624 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17625 {
17626 if (! PySequence_Check(obj1)) {
17627 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
17628 SWIG_fail;
17629 }
17630 arg2 = new wxArrayInt;
17631 temp2 = true;
17632 int i, len=PySequence_Length(obj1);
17633 for (i=0; i<len; i++) {
17634 PyObject* item = PySequence_GetItem(obj1, i);
17635 PyObject* number = PyNumber_Int(item);
17636 arg2->Add(PyInt_AS_LONG(number));
17637 Py_DECREF(item);
17638 Py_DECREF(number);
17639 }
17640 }
17641 {
17642 PyThreadState* __tstate = wxPyBeginAllowThreads();
17643 (arg1)->SetSelections((wxArrayInt const &)*arg2);
17644 wxPyEndAllowThreads(__tstate);
17645 if (PyErr_Occurred()) SWIG_fail;
17646 }
17647 resultobj = SWIG_Py_Void();
17648 {
17649 if (temp2) delete arg2;
17650 }
17651 return resultobj;
17652 fail:
17653 {
17654 if (temp2) delete arg2;
17655 }
17656 return NULL;
17657 }
17658
17659
17660 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17661 PyObject *resultobj = 0;
17662 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17663 PyObject *result = 0 ;
17664 void *argp1 = 0 ;
17665 int res1 = 0 ;
17666 PyObject *swig_obj[1] ;
17667
17668 if (!args) SWIG_fail;
17669 swig_obj[0] = args;
17670 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17671 if (!SWIG_IsOK(res1)) {
17672 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17673 }
17674 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17675 {
17676 PyThreadState* __tstate = wxPyBeginAllowThreads();
17677 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
17678 wxPyEndAllowThreads(__tstate);
17679 if (PyErr_Occurred()) SWIG_fail;
17680 }
17681 resultobj = result;
17682 return resultobj;
17683 fail:
17684 return NULL;
17685 }
17686
17687
17688 SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17689 PyObject *obj;
17690 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17691 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
17692 return SWIG_Py_Void();
17693 }
17694
17695 SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17696 return SWIG_Python_InitShadowInstance(args);
17697 }
17698
17699 SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17700 PyObject *resultobj = 0;
17701 wxWindow *arg1 = (wxWindow *) 0 ;
17702 wxString *arg2 = 0 ;
17703 wxString *arg3 = 0 ;
17704 int arg4 ;
17705 wxString *arg5 = (wxString *) 0 ;
17706 long arg6 = (long) wxCHOICEDLG_STYLE ;
17707 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17708 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17709 wxSingleChoiceDialog *result = 0 ;
17710 void *argp1 = 0 ;
17711 int res1 = 0 ;
17712 bool temp2 = false ;
17713 bool temp3 = false ;
17714 long val6 ;
17715 int ecode6 = 0 ;
17716 wxPoint temp7 ;
17717 PyObject * obj0 = 0 ;
17718 PyObject * obj1 = 0 ;
17719 PyObject * obj2 = 0 ;
17720 PyObject * obj3 = 0 ;
17721 PyObject * obj4 = 0 ;
17722 PyObject * obj5 = 0 ;
17723 char * kwnames[] = {
17724 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17725 };
17726
17727 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17728 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17729 if (!SWIG_IsOK(res1)) {
17730 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17731 }
17732 arg1 = reinterpret_cast< wxWindow * >(argp1);
17733 {
17734 arg2 = wxString_in_helper(obj1);
17735 if (arg2 == NULL) SWIG_fail;
17736 temp2 = true;
17737 }
17738 {
17739 arg3 = wxString_in_helper(obj2);
17740 if (arg3 == NULL) SWIG_fail;
17741 temp3 = true;
17742 }
17743 {
17744 arg4 = PyList_Size(obj3);
17745 arg5 = wxString_LIST_helper(obj3);
17746 if (arg5 == NULL) SWIG_fail;
17747 }
17748 if (obj4) {
17749 ecode6 = SWIG_AsVal_long(obj4, &val6);
17750 if (!SWIG_IsOK(ecode6)) {
17751 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17752 }
17753 arg6 = static_cast< long >(val6);
17754 }
17755 if (obj5) {
17756 {
17757 arg7 = &temp7;
17758 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
17759 }
17760 }
17761 {
17762 if (!wxPyCheckForApp()) SWIG_fail;
17763 PyThreadState* __tstate = wxPyBeginAllowThreads();
17764 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17765 wxPyEndAllowThreads(__tstate);
17766 if (PyErr_Occurred()) SWIG_fail;
17767 }
17768 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
17769 {
17770 if (temp2)
17771 delete arg2;
17772 }
17773 {
17774 if (temp3)
17775 delete arg3;
17776 }
17777 {
17778 if (arg5) delete [] arg5;
17779 }
17780 return resultobj;
17781 fail:
17782 {
17783 if (temp2)
17784 delete arg2;
17785 }
17786 {
17787 if (temp3)
17788 delete arg3;
17789 }
17790 {
17791 if (arg5) delete [] arg5;
17792 }
17793 return NULL;
17794 }
17795
17796
17797 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17798 PyObject *resultobj = 0;
17799 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17800 int result;
17801 void *argp1 = 0 ;
17802 int res1 = 0 ;
17803 PyObject *swig_obj[1] ;
17804
17805 if (!args) SWIG_fail;
17806 swig_obj[0] = args;
17807 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17808 if (!SWIG_IsOK(res1)) {
17809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17810 }
17811 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17812 {
17813 PyThreadState* __tstate = wxPyBeginAllowThreads();
17814 result = (int)(arg1)->GetSelection();
17815 wxPyEndAllowThreads(__tstate);
17816 if (PyErr_Occurred()) SWIG_fail;
17817 }
17818 resultobj = SWIG_From_int(static_cast< int >(result));
17819 return resultobj;
17820 fail:
17821 return NULL;
17822 }
17823
17824
17825 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17826 PyObject *resultobj = 0;
17827 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17828 wxString result;
17829 void *argp1 = 0 ;
17830 int res1 = 0 ;
17831 PyObject *swig_obj[1] ;
17832
17833 if (!args) SWIG_fail;
17834 swig_obj[0] = args;
17835 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17836 if (!SWIG_IsOK(res1)) {
17837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17838 }
17839 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17840 {
17841 PyThreadState* __tstate = wxPyBeginAllowThreads();
17842 result = (arg1)->GetStringSelection();
17843 wxPyEndAllowThreads(__tstate);
17844 if (PyErr_Occurred()) SWIG_fail;
17845 }
17846 {
17847 #if wxUSE_UNICODE
17848 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17849 #else
17850 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17851 #endif
17852 }
17853 return resultobj;
17854 fail:
17855 return NULL;
17856 }
17857
17858
17859 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17860 PyObject *resultobj = 0;
17861 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17862 int arg2 ;
17863 void *argp1 = 0 ;
17864 int res1 = 0 ;
17865 int val2 ;
17866 int ecode2 = 0 ;
17867 PyObject * obj0 = 0 ;
17868 PyObject * obj1 = 0 ;
17869 char * kwnames[] = {
17870 (char *) "self",(char *) "sel", NULL
17871 };
17872
17873 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
17874 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17875 if (!SWIG_IsOK(res1)) {
17876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17877 }
17878 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17879 ecode2 = SWIG_AsVal_int(obj1, &val2);
17880 if (!SWIG_IsOK(ecode2)) {
17881 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
17882 }
17883 arg2 = static_cast< int >(val2);
17884 {
17885 PyThreadState* __tstate = wxPyBeginAllowThreads();
17886 (arg1)->SetSelection(arg2);
17887 wxPyEndAllowThreads(__tstate);
17888 if (PyErr_Occurred()) SWIG_fail;
17889 }
17890 resultobj = SWIG_Py_Void();
17891 return resultobj;
17892 fail:
17893 return NULL;
17894 }
17895
17896
17897 SWIGINTERN PyObject *SingleChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17898 PyObject *obj;
17899 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17900 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog, SWIG_NewClientData(obj));
17901 return SWIG_Py_Void();
17902 }
17903
17904 SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17905 return SWIG_Python_InitShadowInstance(args);
17906 }
17907
17908 SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17909 PyObject *resultobj = 0;
17910 wxWindow *arg1 = (wxWindow *) 0 ;
17911 wxString *arg2 = 0 ;
17912 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
17913 wxString *arg3 = (wxString *) &arg3_defvalue ;
17914 wxString const &arg4_defvalue = wxPyEmptyString ;
17915 wxString *arg4 = (wxString *) &arg4_defvalue ;
17916 long arg5 = (long) wxTextEntryDialogStyle ;
17917 wxPoint const &arg6_defvalue = wxDefaultPosition ;
17918 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
17919 wxTextEntryDialog *result = 0 ;
17920 void *argp1 = 0 ;
17921 int res1 = 0 ;
17922 bool temp2 = false ;
17923 bool temp3 = false ;
17924 bool temp4 = false ;
17925 long val5 ;
17926 int ecode5 = 0 ;
17927 wxPoint temp6 ;
17928 PyObject * obj0 = 0 ;
17929 PyObject * obj1 = 0 ;
17930 PyObject * obj2 = 0 ;
17931 PyObject * obj3 = 0 ;
17932 PyObject * obj4 = 0 ;
17933 PyObject * obj5 = 0 ;
17934 char * kwnames[] = {
17935 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
17936 };
17937
17938 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17939 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17940 if (!SWIG_IsOK(res1)) {
17941 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17942 }
17943 arg1 = reinterpret_cast< wxWindow * >(argp1);
17944 {
17945 arg2 = wxString_in_helper(obj1);
17946 if (arg2 == NULL) SWIG_fail;
17947 temp2 = true;
17948 }
17949 if (obj2) {
17950 {
17951 arg3 = wxString_in_helper(obj2);
17952 if (arg3 == NULL) SWIG_fail;
17953 temp3 = true;
17954 }
17955 }
17956 if (obj3) {
17957 {
17958 arg4 = wxString_in_helper(obj3);
17959 if (arg4 == NULL) SWIG_fail;
17960 temp4 = true;
17961 }
17962 }
17963 if (obj4) {
17964 ecode5 = SWIG_AsVal_long(obj4, &val5);
17965 if (!SWIG_IsOK(ecode5)) {
17966 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
17967 }
17968 arg5 = static_cast< long >(val5);
17969 }
17970 if (obj5) {
17971 {
17972 arg6 = &temp6;
17973 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
17974 }
17975 }
17976 {
17977 if (!wxPyCheckForApp()) SWIG_fail;
17978 PyThreadState* __tstate = wxPyBeginAllowThreads();
17979 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
17980 wxPyEndAllowThreads(__tstate);
17981 if (PyErr_Occurred()) SWIG_fail;
17982 }
17983 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
17984 {
17985 if (temp2)
17986 delete arg2;
17987 }
17988 {
17989 if (temp3)
17990 delete arg3;
17991 }
17992 {
17993 if (temp4)
17994 delete arg4;
17995 }
17996 return resultobj;
17997 fail:
17998 {
17999 if (temp2)
18000 delete arg2;
18001 }
18002 {
18003 if (temp3)
18004 delete arg3;
18005 }
18006 {
18007 if (temp4)
18008 delete arg4;
18009 }
18010 return NULL;
18011 }
18012
18013
18014 SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18015 PyObject *resultobj = 0;
18016 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18017 wxString result;
18018 void *argp1 = 0 ;
18019 int res1 = 0 ;
18020 PyObject *swig_obj[1] ;
18021
18022 if (!args) SWIG_fail;
18023 swig_obj[0] = args;
18024 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18025 if (!SWIG_IsOK(res1)) {
18026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18027 }
18028 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18029 {
18030 PyThreadState* __tstate = wxPyBeginAllowThreads();
18031 result = (arg1)->GetValue();
18032 wxPyEndAllowThreads(__tstate);
18033 if (PyErr_Occurred()) SWIG_fail;
18034 }
18035 {
18036 #if wxUSE_UNICODE
18037 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18038 #else
18039 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18040 #endif
18041 }
18042 return resultobj;
18043 fail:
18044 return NULL;
18045 }
18046
18047
18048 SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18049 PyObject *resultobj = 0;
18050 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18051 wxString *arg2 = 0 ;
18052 void *argp1 = 0 ;
18053 int res1 = 0 ;
18054 bool temp2 = false ;
18055 PyObject * obj0 = 0 ;
18056 PyObject * obj1 = 0 ;
18057 char * kwnames[] = {
18058 (char *) "self",(char *) "value", NULL
18059 };
18060
18061 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18062 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18063 if (!SWIG_IsOK(res1)) {
18064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18065 }
18066 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18067 {
18068 arg2 = wxString_in_helper(obj1);
18069 if (arg2 == NULL) SWIG_fail;
18070 temp2 = true;
18071 }
18072 {
18073 PyThreadState* __tstate = wxPyBeginAllowThreads();
18074 (arg1)->SetValue((wxString const &)*arg2);
18075 wxPyEndAllowThreads(__tstate);
18076 if (PyErr_Occurred()) SWIG_fail;
18077 }
18078 resultobj = SWIG_Py_Void();
18079 {
18080 if (temp2)
18081 delete arg2;
18082 }
18083 return resultobj;
18084 fail:
18085 {
18086 if (temp2)
18087 delete arg2;
18088 }
18089 return NULL;
18090 }
18091
18092
18093 SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18094 PyObject *obj;
18095 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18096 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
18097 return SWIG_Py_Void();
18098 }
18099
18100 SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18101 return SWIG_Python_InitShadowInstance(args);
18102 }
18103
18104 SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
18105 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
18106 return 1;
18107 }
18108
18109
18110 SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
18111 PyObject *pyobj = 0;
18112
18113 {
18114 #if wxUSE_UNICODE
18115 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18116 #else
18117 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18118 #endif
18119 }
18120 return pyobj;
18121 }
18122
18123
18124 SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18125 PyObject *resultobj = 0;
18126 wxWindow *arg1 = (wxWindow *) 0 ;
18127 wxString *arg2 = 0 ;
18128 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
18129 wxString *arg3 = (wxString *) &arg3_defvalue ;
18130 wxString const &arg4_defvalue = wxPyEmptyString ;
18131 wxString *arg4 = (wxString *) &arg4_defvalue ;
18132 long arg5 = (long) wxTextEntryDialogStyle ;
18133 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18134 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18135 wxPasswordEntryDialog *result = 0 ;
18136 void *argp1 = 0 ;
18137 int res1 = 0 ;
18138 bool temp2 = false ;
18139 bool temp3 = false ;
18140 bool temp4 = false ;
18141 long val5 ;
18142 int ecode5 = 0 ;
18143 wxPoint temp6 ;
18144 PyObject * obj0 = 0 ;
18145 PyObject * obj1 = 0 ;
18146 PyObject * obj2 = 0 ;
18147 PyObject * obj3 = 0 ;
18148 PyObject * obj4 = 0 ;
18149 PyObject * obj5 = 0 ;
18150 char * kwnames[] = {
18151 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18152 };
18153
18154 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18155 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18156 if (!SWIG_IsOK(res1)) {
18157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18158 }
18159 arg1 = reinterpret_cast< wxWindow * >(argp1);
18160 {
18161 arg2 = wxString_in_helper(obj1);
18162 if (arg2 == NULL) SWIG_fail;
18163 temp2 = true;
18164 }
18165 if (obj2) {
18166 {
18167 arg3 = wxString_in_helper(obj2);
18168 if (arg3 == NULL) SWIG_fail;
18169 temp3 = true;
18170 }
18171 }
18172 if (obj3) {
18173 {
18174 arg4 = wxString_in_helper(obj3);
18175 if (arg4 == NULL) SWIG_fail;
18176 temp4 = true;
18177 }
18178 }
18179 if (obj4) {
18180 ecode5 = SWIG_AsVal_long(obj4, &val5);
18181 if (!SWIG_IsOK(ecode5)) {
18182 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18183 }
18184 arg5 = static_cast< long >(val5);
18185 }
18186 if (obj5) {
18187 {
18188 arg6 = &temp6;
18189 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18190 }
18191 }
18192 {
18193 PyThreadState* __tstate = wxPyBeginAllowThreads();
18194 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18195 wxPyEndAllowThreads(__tstate);
18196 if (PyErr_Occurred()) SWIG_fail;
18197 }
18198 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
18199 {
18200 if (temp2)
18201 delete arg2;
18202 }
18203 {
18204 if (temp3)
18205 delete arg3;
18206 }
18207 {
18208 if (temp4)
18209 delete arg4;
18210 }
18211 return resultobj;
18212 fail:
18213 {
18214 if (temp2)
18215 delete arg2;
18216 }
18217 {
18218 if (temp3)
18219 delete arg3;
18220 }
18221 {
18222 if (temp4)
18223 delete arg4;
18224 }
18225 return NULL;
18226 }
18227
18228
18229 SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18230 PyObject *obj;
18231 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18232 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
18233 return SWIG_Py_Void();
18234 }
18235
18236 SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18237 return SWIG_Python_InitShadowInstance(args);
18238 }
18239
18240 SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18241 PyObject *resultobj = 0;
18242 wxFontData *result = 0 ;
18243
18244 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
18245 {
18246 PyThreadState* __tstate = wxPyBeginAllowThreads();
18247 result = (wxFontData *)new wxFontData();
18248 wxPyEndAllowThreads(__tstate);
18249 if (PyErr_Occurred()) SWIG_fail;
18250 }
18251 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
18252 return resultobj;
18253 fail:
18254 return NULL;
18255 }
18256
18257
18258 SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18259 PyObject *resultobj = 0;
18260 wxFontData *arg1 = (wxFontData *) 0 ;
18261 void *argp1 = 0 ;
18262 int res1 = 0 ;
18263 PyObject *swig_obj[1] ;
18264
18265 if (!args) SWIG_fail;
18266 swig_obj[0] = args;
18267 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
18268 if (!SWIG_IsOK(res1)) {
18269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18270 }
18271 arg1 = reinterpret_cast< wxFontData * >(argp1);
18272 {
18273 PyThreadState* __tstate = wxPyBeginAllowThreads();
18274 delete arg1;
18275
18276 wxPyEndAllowThreads(__tstate);
18277 if (PyErr_Occurred()) SWIG_fail;
18278 }
18279 resultobj = SWIG_Py_Void();
18280 return resultobj;
18281 fail:
18282 return NULL;
18283 }
18284
18285
18286 SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18287 PyObject *resultobj = 0;
18288 wxFontData *arg1 = (wxFontData *) 0 ;
18289 bool arg2 ;
18290 void *argp1 = 0 ;
18291 int res1 = 0 ;
18292 bool val2 ;
18293 int ecode2 = 0 ;
18294 PyObject * obj0 = 0 ;
18295 PyObject * obj1 = 0 ;
18296 char * kwnames[] = {
18297 (char *) "self",(char *) "enable", NULL
18298 };
18299
18300 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
18301 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18302 if (!SWIG_IsOK(res1)) {
18303 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18304 }
18305 arg1 = reinterpret_cast< wxFontData * >(argp1);
18306 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18307 if (!SWIG_IsOK(ecode2)) {
18308 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18309 }
18310 arg2 = static_cast< bool >(val2);
18311 {
18312 PyThreadState* __tstate = wxPyBeginAllowThreads();
18313 (arg1)->EnableEffects(arg2);
18314 wxPyEndAllowThreads(__tstate);
18315 if (PyErr_Occurred()) SWIG_fail;
18316 }
18317 resultobj = SWIG_Py_Void();
18318 return resultobj;
18319 fail:
18320 return NULL;
18321 }
18322
18323
18324 SWIGINTERN PyObject *_wrap_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18325 PyObject *resultobj = 0;
18326 wxFontData *arg1 = (wxFontData *) 0 ;
18327 bool result;
18328 void *argp1 = 0 ;
18329 int res1 = 0 ;
18330 PyObject *swig_obj[1] ;
18331
18332 if (!args) SWIG_fail;
18333 swig_obj[0] = args;
18334 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18335 if (!SWIG_IsOK(res1)) {
18336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18337 }
18338 arg1 = reinterpret_cast< wxFontData * >(argp1);
18339 {
18340 PyThreadState* __tstate = wxPyBeginAllowThreads();
18341 result = (bool)(arg1)->GetAllowSymbols();
18342 wxPyEndAllowThreads(__tstate);
18343 if (PyErr_Occurred()) SWIG_fail;
18344 }
18345 {
18346 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18347 }
18348 return resultobj;
18349 fail:
18350 return NULL;
18351 }
18352
18353
18354 SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18355 PyObject *resultobj = 0;
18356 wxFontData *arg1 = (wxFontData *) 0 ;
18357 wxColour result;
18358 void *argp1 = 0 ;
18359 int res1 = 0 ;
18360 PyObject *swig_obj[1] ;
18361
18362 if (!args) SWIG_fail;
18363 swig_obj[0] = args;
18364 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18365 if (!SWIG_IsOK(res1)) {
18366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18367 }
18368 arg1 = reinterpret_cast< wxFontData * >(argp1);
18369 {
18370 PyThreadState* __tstate = wxPyBeginAllowThreads();
18371 result = (arg1)->GetColour();
18372 wxPyEndAllowThreads(__tstate);
18373 if (PyErr_Occurred()) SWIG_fail;
18374 }
18375 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
18376 return resultobj;
18377 fail:
18378 return NULL;
18379 }
18380
18381
18382 SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18383 PyObject *resultobj = 0;
18384 wxFontData *arg1 = (wxFontData *) 0 ;
18385 wxFont result;
18386 void *argp1 = 0 ;
18387 int res1 = 0 ;
18388 PyObject *swig_obj[1] ;
18389
18390 if (!args) SWIG_fail;
18391 swig_obj[0] = args;
18392 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18393 if (!SWIG_IsOK(res1)) {
18394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18395 }
18396 arg1 = reinterpret_cast< wxFontData * >(argp1);
18397 {
18398 PyThreadState* __tstate = wxPyBeginAllowThreads();
18399 result = (arg1)->GetChosenFont();
18400 wxPyEndAllowThreads(__tstate);
18401 if (PyErr_Occurred()) SWIG_fail;
18402 }
18403 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18404 return resultobj;
18405 fail:
18406 return NULL;
18407 }
18408
18409
18410 SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18411 PyObject *resultobj = 0;
18412 wxFontData *arg1 = (wxFontData *) 0 ;
18413 bool result;
18414 void *argp1 = 0 ;
18415 int res1 = 0 ;
18416 PyObject *swig_obj[1] ;
18417
18418 if (!args) SWIG_fail;
18419 swig_obj[0] = args;
18420 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18421 if (!SWIG_IsOK(res1)) {
18422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18423 }
18424 arg1 = reinterpret_cast< wxFontData * >(argp1);
18425 {
18426 PyThreadState* __tstate = wxPyBeginAllowThreads();
18427 result = (bool)(arg1)->GetEnableEffects();
18428 wxPyEndAllowThreads(__tstate);
18429 if (PyErr_Occurred()) SWIG_fail;
18430 }
18431 {
18432 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18433 }
18434 return resultobj;
18435 fail:
18436 return NULL;
18437 }
18438
18439
18440 SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18441 PyObject *resultobj = 0;
18442 wxFontData *arg1 = (wxFontData *) 0 ;
18443 wxFont result;
18444 void *argp1 = 0 ;
18445 int res1 = 0 ;
18446 PyObject *swig_obj[1] ;
18447
18448 if (!args) SWIG_fail;
18449 swig_obj[0] = args;
18450 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18451 if (!SWIG_IsOK(res1)) {
18452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18453 }
18454 arg1 = reinterpret_cast< wxFontData * >(argp1);
18455 {
18456 PyThreadState* __tstate = wxPyBeginAllowThreads();
18457 result = (arg1)->GetInitialFont();
18458 wxPyEndAllowThreads(__tstate);
18459 if (PyErr_Occurred()) SWIG_fail;
18460 }
18461 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18462 return resultobj;
18463 fail:
18464 return NULL;
18465 }
18466
18467
18468 SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18469 PyObject *resultobj = 0;
18470 wxFontData *arg1 = (wxFontData *) 0 ;
18471 bool result;
18472 void *argp1 = 0 ;
18473 int res1 = 0 ;
18474 PyObject *swig_obj[1] ;
18475
18476 if (!args) SWIG_fail;
18477 swig_obj[0] = args;
18478 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18479 if (!SWIG_IsOK(res1)) {
18480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18481 }
18482 arg1 = reinterpret_cast< wxFontData * >(argp1);
18483 {
18484 PyThreadState* __tstate = wxPyBeginAllowThreads();
18485 result = (bool)(arg1)->GetShowHelp();
18486 wxPyEndAllowThreads(__tstate);
18487 if (PyErr_Occurred()) SWIG_fail;
18488 }
18489 {
18490 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18491 }
18492 return resultobj;
18493 fail:
18494 return NULL;
18495 }
18496
18497
18498 SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18499 PyObject *resultobj = 0;
18500 wxFontData *arg1 = (wxFontData *) 0 ;
18501 bool arg2 ;
18502 void *argp1 = 0 ;
18503 int res1 = 0 ;
18504 bool val2 ;
18505 int ecode2 = 0 ;
18506 PyObject * obj0 = 0 ;
18507 PyObject * obj1 = 0 ;
18508 char * kwnames[] = {
18509 (char *) "self",(char *) "allowSymbols", NULL
18510 };
18511
18512 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) SWIG_fail;
18513 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18514 if (!SWIG_IsOK(res1)) {
18515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18516 }
18517 arg1 = reinterpret_cast< wxFontData * >(argp1);
18518 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18519 if (!SWIG_IsOK(ecode2)) {
18520 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18521 }
18522 arg2 = static_cast< bool >(val2);
18523 {
18524 PyThreadState* __tstate = wxPyBeginAllowThreads();
18525 (arg1)->SetAllowSymbols(arg2);
18526 wxPyEndAllowThreads(__tstate);
18527 if (PyErr_Occurred()) SWIG_fail;
18528 }
18529 resultobj = SWIG_Py_Void();
18530 return resultobj;
18531 fail:
18532 return NULL;
18533 }
18534
18535
18536 SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18537 PyObject *resultobj = 0;
18538 wxFontData *arg1 = (wxFontData *) 0 ;
18539 wxFont *arg2 = 0 ;
18540 void *argp1 = 0 ;
18541 int res1 = 0 ;
18542 void *argp2 = 0 ;
18543 int res2 = 0 ;
18544 PyObject * obj0 = 0 ;
18545 PyObject * obj1 = 0 ;
18546 char * kwnames[] = {
18547 (char *) "self",(char *) "font", NULL
18548 };
18549
18550 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
18551 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18552 if (!SWIG_IsOK(res1)) {
18553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18554 }
18555 arg1 = reinterpret_cast< wxFontData * >(argp1);
18556 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18557 if (!SWIG_IsOK(res2)) {
18558 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18559 }
18560 if (!argp2) {
18561 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18562 }
18563 arg2 = reinterpret_cast< wxFont * >(argp2);
18564 {
18565 PyThreadState* __tstate = wxPyBeginAllowThreads();
18566 (arg1)->SetChosenFont((wxFont const &)*arg2);
18567 wxPyEndAllowThreads(__tstate);
18568 if (PyErr_Occurred()) SWIG_fail;
18569 }
18570 resultobj = SWIG_Py_Void();
18571 return resultobj;
18572 fail:
18573 return NULL;
18574 }
18575
18576
18577 SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18578 PyObject *resultobj = 0;
18579 wxFontData *arg1 = (wxFontData *) 0 ;
18580 wxColour *arg2 = 0 ;
18581 void *argp1 = 0 ;
18582 int res1 = 0 ;
18583 wxColour temp2 ;
18584 PyObject * obj0 = 0 ;
18585 PyObject * obj1 = 0 ;
18586 char * kwnames[] = {
18587 (char *) "self",(char *) "colour", NULL
18588 };
18589
18590 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
18591 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18592 if (!SWIG_IsOK(res1)) {
18593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18594 }
18595 arg1 = reinterpret_cast< wxFontData * >(argp1);
18596 {
18597 arg2 = &temp2;
18598 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18599 }
18600 {
18601 PyThreadState* __tstate = wxPyBeginAllowThreads();
18602 (arg1)->SetColour((wxColour const &)*arg2);
18603 wxPyEndAllowThreads(__tstate);
18604 if (PyErr_Occurred()) SWIG_fail;
18605 }
18606 resultobj = SWIG_Py_Void();
18607 return resultobj;
18608 fail:
18609 return NULL;
18610 }
18611
18612
18613 SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18614 PyObject *resultobj = 0;
18615 wxFontData *arg1 = (wxFontData *) 0 ;
18616 wxFont *arg2 = 0 ;
18617 void *argp1 = 0 ;
18618 int res1 = 0 ;
18619 void *argp2 = 0 ;
18620 int res2 = 0 ;
18621 PyObject * obj0 = 0 ;
18622 PyObject * obj1 = 0 ;
18623 char * kwnames[] = {
18624 (char *) "self",(char *) "font", NULL
18625 };
18626
18627 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
18628 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18629 if (!SWIG_IsOK(res1)) {
18630 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18631 }
18632 arg1 = reinterpret_cast< wxFontData * >(argp1);
18633 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18634 if (!SWIG_IsOK(res2)) {
18635 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18636 }
18637 if (!argp2) {
18638 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18639 }
18640 arg2 = reinterpret_cast< wxFont * >(argp2);
18641 {
18642 PyThreadState* __tstate = wxPyBeginAllowThreads();
18643 (arg1)->SetInitialFont((wxFont const &)*arg2);
18644 wxPyEndAllowThreads(__tstate);
18645 if (PyErr_Occurred()) SWIG_fail;
18646 }
18647 resultobj = SWIG_Py_Void();
18648 return resultobj;
18649 fail:
18650 return NULL;
18651 }
18652
18653
18654 SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18655 PyObject *resultobj = 0;
18656 wxFontData *arg1 = (wxFontData *) 0 ;
18657 int arg2 ;
18658 int arg3 ;
18659 void *argp1 = 0 ;
18660 int res1 = 0 ;
18661 int val2 ;
18662 int ecode2 = 0 ;
18663 int val3 ;
18664 int ecode3 = 0 ;
18665 PyObject * obj0 = 0 ;
18666 PyObject * obj1 = 0 ;
18667 PyObject * obj2 = 0 ;
18668 char * kwnames[] = {
18669 (char *) "self",(char *) "min",(char *) "max", NULL
18670 };
18671
18672 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18673 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18674 if (!SWIG_IsOK(res1)) {
18675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
18676 }
18677 arg1 = reinterpret_cast< wxFontData * >(argp1);
18678 ecode2 = SWIG_AsVal_int(obj1, &val2);
18679 if (!SWIG_IsOK(ecode2)) {
18680 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
18681 }
18682 arg2 = static_cast< int >(val2);
18683 ecode3 = SWIG_AsVal_int(obj2, &val3);
18684 if (!SWIG_IsOK(ecode3)) {
18685 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
18686 }
18687 arg3 = static_cast< int >(val3);
18688 {
18689 PyThreadState* __tstate = wxPyBeginAllowThreads();
18690 (arg1)->SetRange(arg2,arg3);
18691 wxPyEndAllowThreads(__tstate);
18692 if (PyErr_Occurred()) SWIG_fail;
18693 }
18694 resultobj = SWIG_Py_Void();
18695 return resultobj;
18696 fail:
18697 return NULL;
18698 }
18699
18700
18701 SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18702 PyObject *resultobj = 0;
18703 wxFontData *arg1 = (wxFontData *) 0 ;
18704 bool arg2 ;
18705 void *argp1 = 0 ;
18706 int res1 = 0 ;
18707 bool val2 ;
18708 int ecode2 = 0 ;
18709 PyObject * obj0 = 0 ;
18710 PyObject * obj1 = 0 ;
18711 char * kwnames[] = {
18712 (char *) "self",(char *) "showHelp", NULL
18713 };
18714
18715 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
18716 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18717 if (!SWIG_IsOK(res1)) {
18718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18719 }
18720 arg1 = reinterpret_cast< wxFontData * >(argp1);
18721 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18722 if (!SWIG_IsOK(ecode2)) {
18723 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
18724 }
18725 arg2 = static_cast< bool >(val2);
18726 {
18727 PyThreadState* __tstate = wxPyBeginAllowThreads();
18728 (arg1)->SetShowHelp(arg2);
18729 wxPyEndAllowThreads(__tstate);
18730 if (PyErr_Occurred()) SWIG_fail;
18731 }
18732 resultobj = SWIG_Py_Void();
18733 return resultobj;
18734 fail:
18735 return NULL;
18736 }
18737
18738
18739 SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18740 PyObject *obj;
18741 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18742 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
18743 return SWIG_Py_Void();
18744 }
18745
18746 SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18747 return SWIG_Python_InitShadowInstance(args);
18748 }
18749
18750 SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18751 PyObject *resultobj = 0;
18752 wxWindow *arg1 = (wxWindow *) 0 ;
18753 wxFontData *arg2 = 0 ;
18754 wxFontDialog *result = 0 ;
18755 void *argp1 = 0 ;
18756 int res1 = 0 ;
18757 void *argp2 = 0 ;
18758 int res2 = 0 ;
18759 PyObject * obj0 = 0 ;
18760 PyObject * obj1 = 0 ;
18761 char * kwnames[] = {
18762 (char *) "parent",(char *) "data", NULL
18763 };
18764
18765 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
18766 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18767 if (!SWIG_IsOK(res1)) {
18768 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18769 }
18770 arg1 = reinterpret_cast< wxWindow * >(argp1);
18771 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
18772 if (!SWIG_IsOK(res2)) {
18773 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18774 }
18775 if (!argp2) {
18776 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18777 }
18778 arg2 = reinterpret_cast< wxFontData * >(argp2);
18779 {
18780 if (!wxPyCheckForApp()) SWIG_fail;
18781 PyThreadState* __tstate = wxPyBeginAllowThreads();
18782 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
18783 wxPyEndAllowThreads(__tstate);
18784 if (PyErr_Occurred()) SWIG_fail;
18785 }
18786 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
18787 return resultobj;
18788 fail:
18789 return NULL;
18790 }
18791
18792
18793 SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18794 PyObject *resultobj = 0;
18795 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
18796 wxFontData *result = 0 ;
18797 void *argp1 = 0 ;
18798 int res1 = 0 ;
18799 PyObject *swig_obj[1] ;
18800
18801 if (!args) SWIG_fail;
18802 swig_obj[0] = args;
18803 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontDialog, 0 | 0 );
18804 if (!SWIG_IsOK(res1)) {
18805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
18806 }
18807 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
18808 {
18809 PyThreadState* __tstate = wxPyBeginAllowThreads();
18810 {
18811 wxFontData &_result_ref = (arg1)->GetFontData();
18812 result = (wxFontData *) &_result_ref;
18813 }
18814 wxPyEndAllowThreads(__tstate);
18815 if (PyErr_Occurred()) SWIG_fail;
18816 }
18817 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
18818 return resultobj;
18819 fail:
18820 return NULL;
18821 }
18822
18823
18824 SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18825 PyObject *obj;
18826 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18827 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
18828 return SWIG_Py_Void();
18829 }
18830
18831 SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18832 return SWIG_Python_InitShadowInstance(args);
18833 }
18834
18835 SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18836 PyObject *resultobj = 0;
18837 wxWindow *arg1 = (wxWindow *) NULL ;
18838 wxFont const &arg2_defvalue = wxNullFont ;
18839 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
18840 wxString const &arg3_defvalue = wxPyEmptyString ;
18841 wxString *arg3 = (wxString *) &arg3_defvalue ;
18842 wxFont result;
18843 void *argp1 = 0 ;
18844 int res1 = 0 ;
18845 void *argp2 = 0 ;
18846 int res2 = 0 ;
18847 bool temp3 = false ;
18848 PyObject * obj0 = 0 ;
18849 PyObject * obj1 = 0 ;
18850 PyObject * obj2 = 0 ;
18851 char * kwnames[] = {
18852 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
18853 };
18854
18855 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18856 if (obj0) {
18857 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18858 if (!SWIG_IsOK(res1)) {
18859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
18860 }
18861 arg1 = reinterpret_cast< wxWindow * >(argp1);
18862 }
18863 if (obj1) {
18864 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18865 if (!SWIG_IsOK(res2)) {
18866 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
18867 }
18868 if (!argp2) {
18869 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
18870 }
18871 arg2 = reinterpret_cast< wxFont * >(argp2);
18872 }
18873 if (obj2) {
18874 {
18875 arg3 = wxString_in_helper(obj2);
18876 if (arg3 == NULL) SWIG_fail;
18877 temp3 = true;
18878 }
18879 }
18880 {
18881 PyThreadState* __tstate = wxPyBeginAllowThreads();
18882 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
18883 wxPyEndAllowThreads(__tstate);
18884 if (PyErr_Occurred()) SWIG_fail;
18885 }
18886 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18887 {
18888 if (temp3)
18889 delete arg3;
18890 }
18891 return resultobj;
18892 fail:
18893 {
18894 if (temp3)
18895 delete arg3;
18896 }
18897 return NULL;
18898 }
18899
18900
18901 SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18902 PyObject *resultobj = 0;
18903 wxWindow *arg1 = (wxWindow *) 0 ;
18904 wxString *arg2 = 0 ;
18905 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
18906 wxString *arg3 = (wxString *) &arg3_defvalue ;
18907 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
18908 wxPoint const &arg5_defvalue = wxDefaultPosition ;
18909 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
18910 wxMessageDialog *result = 0 ;
18911 void *argp1 = 0 ;
18912 int res1 = 0 ;
18913 bool temp2 = false ;
18914 bool temp3 = false ;
18915 long val4 ;
18916 int ecode4 = 0 ;
18917 wxPoint temp5 ;
18918 PyObject * obj0 = 0 ;
18919 PyObject * obj1 = 0 ;
18920 PyObject * obj2 = 0 ;
18921 PyObject * obj3 = 0 ;
18922 PyObject * obj4 = 0 ;
18923 char * kwnames[] = {
18924 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
18925 };
18926
18927 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
18928 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18929 if (!SWIG_IsOK(res1)) {
18930 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18931 }
18932 arg1 = reinterpret_cast< wxWindow * >(argp1);
18933 {
18934 arg2 = wxString_in_helper(obj1);
18935 if (arg2 == NULL) SWIG_fail;
18936 temp2 = true;
18937 }
18938 if (obj2) {
18939 {
18940 arg3 = wxString_in_helper(obj2);
18941 if (arg3 == NULL) SWIG_fail;
18942 temp3 = true;
18943 }
18944 }
18945 if (obj3) {
18946 ecode4 = SWIG_AsVal_long(obj3, &val4);
18947 if (!SWIG_IsOK(ecode4)) {
18948 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
18949 }
18950 arg4 = static_cast< long >(val4);
18951 }
18952 if (obj4) {
18953 {
18954 arg5 = &temp5;
18955 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
18956 }
18957 }
18958 {
18959 if (!wxPyCheckForApp()) SWIG_fail;
18960 PyThreadState* __tstate = wxPyBeginAllowThreads();
18961 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
18962 wxPyEndAllowThreads(__tstate);
18963 if (PyErr_Occurred()) SWIG_fail;
18964 }
18965 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
18966 {
18967 if (temp2)
18968 delete arg2;
18969 }
18970 {
18971 if (temp3)
18972 delete arg3;
18973 }
18974 return resultobj;
18975 fail:
18976 {
18977 if (temp2)
18978 delete arg2;
18979 }
18980 {
18981 if (temp3)
18982 delete arg3;
18983 }
18984 return NULL;
18985 }
18986
18987
18988 SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18989 PyObject *obj;
18990 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18991 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
18992 return SWIG_Py_Void();
18993 }
18994
18995 SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18996 return SWIG_Python_InitShadowInstance(args);
18997 }
18998
18999 SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19000 PyObject *resultobj = 0;
19001 wxString *arg1 = 0 ;
19002 wxString *arg2 = 0 ;
19003 int arg3 = (int) 100 ;
19004 wxWindow *arg4 = (wxWindow *) NULL ;
19005 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
19006 wxProgressDialog *result = 0 ;
19007 bool temp1 = false ;
19008 bool temp2 = false ;
19009 int val3 ;
19010 int ecode3 = 0 ;
19011 void *argp4 = 0 ;
19012 int res4 = 0 ;
19013 int val5 ;
19014 int ecode5 = 0 ;
19015 PyObject * obj0 = 0 ;
19016 PyObject * obj1 = 0 ;
19017 PyObject * obj2 = 0 ;
19018 PyObject * obj3 = 0 ;
19019 PyObject * obj4 = 0 ;
19020 char * kwnames[] = {
19021 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19022 };
19023
19024 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19025 {
19026 arg1 = wxString_in_helper(obj0);
19027 if (arg1 == NULL) SWIG_fail;
19028 temp1 = true;
19029 }
19030 {
19031 arg2 = wxString_in_helper(obj1);
19032 if (arg2 == NULL) SWIG_fail;
19033 temp2 = true;
19034 }
19035 if (obj2) {
19036 ecode3 = SWIG_AsVal_int(obj2, &val3);
19037 if (!SWIG_IsOK(ecode3)) {
19038 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19039 }
19040 arg3 = static_cast< int >(val3);
19041 }
19042 if (obj3) {
19043 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
19044 if (!SWIG_IsOK(res4)) {
19045 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19046 }
19047 arg4 = reinterpret_cast< wxWindow * >(argp4);
19048 }
19049 if (obj4) {
19050 ecode5 = SWIG_AsVal_int(obj4, &val5);
19051 if (!SWIG_IsOK(ecode5)) {
19052 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19053 }
19054 arg5 = static_cast< int >(val5);
19055 }
19056 {
19057 if (!wxPyCheckForApp()) SWIG_fail;
19058 PyThreadState* __tstate = wxPyBeginAllowThreads();
19059 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
19060 wxPyEndAllowThreads(__tstate);
19061 if (PyErr_Occurred()) SWIG_fail;
19062 }
19063 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
19064 {
19065 if (temp1)
19066 delete arg1;
19067 }
19068 {
19069 if (temp2)
19070 delete arg2;
19071 }
19072 return resultobj;
19073 fail:
19074 {
19075 if (temp1)
19076 delete arg1;
19077 }
19078 {
19079 if (temp2)
19080 delete arg2;
19081 }
19082 return NULL;
19083 }
19084
19085
19086 SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19087 PyObject *resultobj = 0;
19088 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19089 int arg2 ;
19090 wxString const &arg3_defvalue = wxPyEmptyString ;
19091 wxString *arg3 = (wxString *) &arg3_defvalue ;
19092 bool *arg4 = (bool *) 0 ;
19093 bool result;
19094 void *argp1 = 0 ;
19095 int res1 = 0 ;
19096 int val2 ;
19097 int ecode2 = 0 ;
19098 bool temp3 = false ;
19099 bool temp4 ;
19100 int res4 = SWIG_TMPOBJ ;
19101 PyObject * obj0 = 0 ;
19102 PyObject * obj1 = 0 ;
19103 PyObject * obj2 = 0 ;
19104 char * kwnames[] = {
19105 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19106 };
19107
19108 arg4 = &temp4;
19109 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19110 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19111 if (!SWIG_IsOK(res1)) {
19112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19113 }
19114 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19115 ecode2 = SWIG_AsVal_int(obj1, &val2);
19116 if (!SWIG_IsOK(ecode2)) {
19117 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19118 }
19119 arg2 = static_cast< int >(val2);
19120 if (obj2) {
19121 {
19122 arg3 = wxString_in_helper(obj2);
19123 if (arg3 == NULL) SWIG_fail;
19124 temp3 = true;
19125 }
19126 }
19127 {
19128 PyThreadState* __tstate = wxPyBeginAllowThreads();
19129 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3,arg4);
19130 wxPyEndAllowThreads(__tstate);
19131 if (PyErr_Occurred()) SWIG_fail;
19132 }
19133 {
19134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19135 }
19136 if (SWIG_IsTmpObj(res4)) {
19137 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
19138 } else {
19139 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19140 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
19141 }
19142 {
19143 if (temp3)
19144 delete arg3;
19145 }
19146 return resultobj;
19147 fail:
19148 {
19149 if (temp3)
19150 delete arg3;
19151 }
19152 return NULL;
19153 }
19154
19155
19156 SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19157 PyObject *resultobj = 0;
19158 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19159 void *argp1 = 0 ;
19160 int res1 = 0 ;
19161 PyObject *swig_obj[1] ;
19162
19163 if (!args) SWIG_fail;
19164 swig_obj[0] = args;
19165 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19166 if (!SWIG_IsOK(res1)) {
19167 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19168 }
19169 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19170 {
19171 PyThreadState* __tstate = wxPyBeginAllowThreads();
19172 (arg1)->Resume();
19173 wxPyEndAllowThreads(__tstate);
19174 if (PyErr_Occurred()) SWIG_fail;
19175 }
19176 resultobj = SWIG_Py_Void();
19177 return resultobj;
19178 fail:
19179 return NULL;
19180 }
19181
19182
19183 SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19184 PyObject *obj;
19185 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19186 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
19187 return SWIG_Py_Void();
19188 }
19189
19190 SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19191 return SWIG_Python_InitShadowInstance(args);
19192 }
19193
19194 SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19195 PyObject *resultobj = 0;
19196 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19197 int arg2 = (int) 0 ;
19198 wxFindDialogEvent *result = 0 ;
19199 int val1 ;
19200 int ecode1 = 0 ;
19201 int val2 ;
19202 int ecode2 = 0 ;
19203 PyObject * obj0 = 0 ;
19204 PyObject * obj1 = 0 ;
19205 char * kwnames[] = {
19206 (char *) "commandType",(char *) "id", NULL
19207 };
19208
19209 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
19210 if (obj0) {
19211 ecode1 = SWIG_AsVal_int(obj0, &val1);
19212 if (!SWIG_IsOK(ecode1)) {
19213 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19214 }
19215 arg1 = static_cast< wxEventType >(val1);
19216 }
19217 if (obj1) {
19218 ecode2 = SWIG_AsVal_int(obj1, &val2);
19219 if (!SWIG_IsOK(ecode2)) {
19220 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19221 }
19222 arg2 = static_cast< int >(val2);
19223 }
19224 {
19225 PyThreadState* __tstate = wxPyBeginAllowThreads();
19226 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
19227 wxPyEndAllowThreads(__tstate);
19228 if (PyErr_Occurred()) SWIG_fail;
19229 }
19230 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
19231 return resultobj;
19232 fail:
19233 return NULL;
19234 }
19235
19236
19237 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19238 PyObject *resultobj = 0;
19239 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19240 int result;
19241 void *argp1 = 0 ;
19242 int res1 = 0 ;
19243 PyObject *swig_obj[1] ;
19244
19245 if (!args) SWIG_fail;
19246 swig_obj[0] = args;
19247 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19248 if (!SWIG_IsOK(res1)) {
19249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19250 }
19251 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19252 {
19253 PyThreadState* __tstate = wxPyBeginAllowThreads();
19254 result = (int)(arg1)->GetFlags();
19255 wxPyEndAllowThreads(__tstate);
19256 if (PyErr_Occurred()) SWIG_fail;
19257 }
19258 resultobj = SWIG_From_int(static_cast< int >(result));
19259 return resultobj;
19260 fail:
19261 return NULL;
19262 }
19263
19264
19265 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19266 PyObject *resultobj = 0;
19267 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19268 wxString *result = 0 ;
19269 void *argp1 = 0 ;
19270 int res1 = 0 ;
19271 PyObject *swig_obj[1] ;
19272
19273 if (!args) SWIG_fail;
19274 swig_obj[0] = args;
19275 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19276 if (!SWIG_IsOK(res1)) {
19277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19278 }
19279 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19280 {
19281 PyThreadState* __tstate = wxPyBeginAllowThreads();
19282 {
19283 wxString const &_result_ref = (arg1)->GetFindString();
19284 result = (wxString *) &_result_ref;
19285 }
19286 wxPyEndAllowThreads(__tstate);
19287 if (PyErr_Occurred()) SWIG_fail;
19288 }
19289 {
19290 #if wxUSE_UNICODE
19291 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19292 #else
19293 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19294 #endif
19295 }
19296 return resultobj;
19297 fail:
19298 return NULL;
19299 }
19300
19301
19302 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19303 PyObject *resultobj = 0;
19304 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19305 wxString *result = 0 ;
19306 void *argp1 = 0 ;
19307 int res1 = 0 ;
19308 PyObject *swig_obj[1] ;
19309
19310 if (!args) SWIG_fail;
19311 swig_obj[0] = args;
19312 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19313 if (!SWIG_IsOK(res1)) {
19314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19315 }
19316 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19317 {
19318 PyThreadState* __tstate = wxPyBeginAllowThreads();
19319 {
19320 wxString const &_result_ref = (arg1)->GetReplaceString();
19321 result = (wxString *) &_result_ref;
19322 }
19323 wxPyEndAllowThreads(__tstate);
19324 if (PyErr_Occurred()) SWIG_fail;
19325 }
19326 {
19327 #if wxUSE_UNICODE
19328 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19329 #else
19330 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19331 #endif
19332 }
19333 return resultobj;
19334 fail:
19335 return NULL;
19336 }
19337
19338
19339 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19340 PyObject *resultobj = 0;
19341 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19342 wxFindReplaceDialog *result = 0 ;
19343 void *argp1 = 0 ;
19344 int res1 = 0 ;
19345 PyObject *swig_obj[1] ;
19346
19347 if (!args) SWIG_fail;
19348 swig_obj[0] = args;
19349 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19350 if (!SWIG_IsOK(res1)) {
19351 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19352 }
19353 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19354 {
19355 PyThreadState* __tstate = wxPyBeginAllowThreads();
19356 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
19357 wxPyEndAllowThreads(__tstate);
19358 if (PyErr_Occurred()) SWIG_fail;
19359 }
19360 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19361 return resultobj;
19362 fail:
19363 return NULL;
19364 }
19365
19366
19367 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19368 PyObject *resultobj = 0;
19369 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19370 int arg2 ;
19371 void *argp1 = 0 ;
19372 int res1 = 0 ;
19373 int val2 ;
19374 int ecode2 = 0 ;
19375 PyObject * obj0 = 0 ;
19376 PyObject * obj1 = 0 ;
19377 char * kwnames[] = {
19378 (char *) "self",(char *) "flags", NULL
19379 };
19380
19381 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19382 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19383 if (!SWIG_IsOK(res1)) {
19384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19385 }
19386 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19387 ecode2 = SWIG_AsVal_int(obj1, &val2);
19388 if (!SWIG_IsOK(ecode2)) {
19389 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19390 }
19391 arg2 = static_cast< int >(val2);
19392 {
19393 PyThreadState* __tstate = wxPyBeginAllowThreads();
19394 (arg1)->SetFlags(arg2);
19395 wxPyEndAllowThreads(__tstate);
19396 if (PyErr_Occurred()) SWIG_fail;
19397 }
19398 resultobj = SWIG_Py_Void();
19399 return resultobj;
19400 fail:
19401 return NULL;
19402 }
19403
19404
19405 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19406 PyObject *resultobj = 0;
19407 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19408 wxString *arg2 = 0 ;
19409 void *argp1 = 0 ;
19410 int res1 = 0 ;
19411 bool temp2 = false ;
19412 PyObject * obj0 = 0 ;
19413 PyObject * obj1 = 0 ;
19414 char * kwnames[] = {
19415 (char *) "self",(char *) "str", NULL
19416 };
19417
19418 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19419 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19420 if (!SWIG_IsOK(res1)) {
19421 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19422 }
19423 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19424 {
19425 arg2 = wxString_in_helper(obj1);
19426 if (arg2 == NULL) SWIG_fail;
19427 temp2 = true;
19428 }
19429 {
19430 PyThreadState* __tstate = wxPyBeginAllowThreads();
19431 (arg1)->SetFindString((wxString const &)*arg2);
19432 wxPyEndAllowThreads(__tstate);
19433 if (PyErr_Occurred()) SWIG_fail;
19434 }
19435 resultobj = SWIG_Py_Void();
19436 {
19437 if (temp2)
19438 delete arg2;
19439 }
19440 return resultobj;
19441 fail:
19442 {
19443 if (temp2)
19444 delete arg2;
19445 }
19446 return NULL;
19447 }
19448
19449
19450 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19451 PyObject *resultobj = 0;
19452 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19453 wxString *arg2 = 0 ;
19454 void *argp1 = 0 ;
19455 int res1 = 0 ;
19456 bool temp2 = false ;
19457 PyObject * obj0 = 0 ;
19458 PyObject * obj1 = 0 ;
19459 char * kwnames[] = {
19460 (char *) "self",(char *) "str", NULL
19461 };
19462
19463 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
19464 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19465 if (!SWIG_IsOK(res1)) {
19466 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19467 }
19468 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19469 {
19470 arg2 = wxString_in_helper(obj1);
19471 if (arg2 == NULL) SWIG_fail;
19472 temp2 = true;
19473 }
19474 {
19475 PyThreadState* __tstate = wxPyBeginAllowThreads();
19476 (arg1)->SetReplaceString((wxString const &)*arg2);
19477 wxPyEndAllowThreads(__tstate);
19478 if (PyErr_Occurred()) SWIG_fail;
19479 }
19480 resultobj = SWIG_Py_Void();
19481 {
19482 if (temp2)
19483 delete arg2;
19484 }
19485 return resultobj;
19486 fail:
19487 {
19488 if (temp2)
19489 delete arg2;
19490 }
19491 return NULL;
19492 }
19493
19494
19495 SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19496 PyObject *obj;
19497 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19498 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
19499 return SWIG_Py_Void();
19500 }
19501
19502 SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19503 return SWIG_Python_InitShadowInstance(args);
19504 }
19505
19506 SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19507 PyObject *resultobj = 0;
19508 int arg1 = (int) 0 ;
19509 wxFindReplaceData *result = 0 ;
19510 int val1 ;
19511 int ecode1 = 0 ;
19512 PyObject * obj0 = 0 ;
19513 char * kwnames[] = {
19514 (char *) "flags", NULL
19515 };
19516
19517 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
19518 if (obj0) {
19519 ecode1 = SWIG_AsVal_int(obj0, &val1);
19520 if (!SWIG_IsOK(ecode1)) {
19521 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
19522 }
19523 arg1 = static_cast< int >(val1);
19524 }
19525 {
19526 PyThreadState* __tstate = wxPyBeginAllowThreads();
19527 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
19528 wxPyEndAllowThreads(__tstate);
19529 if (PyErr_Occurred()) SWIG_fail;
19530 }
19531 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
19532 return resultobj;
19533 fail:
19534 return NULL;
19535 }
19536
19537
19538 SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19539 PyObject *resultobj = 0;
19540 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19541 void *argp1 = 0 ;
19542 int res1 = 0 ;
19543 PyObject *swig_obj[1] ;
19544
19545 if (!args) SWIG_fail;
19546 swig_obj[0] = args;
19547 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
19548 if (!SWIG_IsOK(res1)) {
19549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19550 }
19551 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19552 {
19553 PyThreadState* __tstate = wxPyBeginAllowThreads();
19554 delete arg1;
19555
19556 wxPyEndAllowThreads(__tstate);
19557 if (PyErr_Occurred()) SWIG_fail;
19558 }
19559 resultobj = SWIG_Py_Void();
19560 return resultobj;
19561 fail:
19562 return NULL;
19563 }
19564
19565
19566 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19567 PyObject *resultobj = 0;
19568 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19569 wxString *result = 0 ;
19570 void *argp1 = 0 ;
19571 int res1 = 0 ;
19572 PyObject *swig_obj[1] ;
19573
19574 if (!args) SWIG_fail;
19575 swig_obj[0] = args;
19576 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19577 if (!SWIG_IsOK(res1)) {
19578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19579 }
19580 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19581 {
19582 PyThreadState* __tstate = wxPyBeginAllowThreads();
19583 {
19584 wxString const &_result_ref = (arg1)->GetFindString();
19585 result = (wxString *) &_result_ref;
19586 }
19587 wxPyEndAllowThreads(__tstate);
19588 if (PyErr_Occurred()) SWIG_fail;
19589 }
19590 {
19591 #if wxUSE_UNICODE
19592 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19593 #else
19594 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19595 #endif
19596 }
19597 return resultobj;
19598 fail:
19599 return NULL;
19600 }
19601
19602
19603 SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19604 PyObject *resultobj = 0;
19605 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19606 wxString *result = 0 ;
19607 void *argp1 = 0 ;
19608 int res1 = 0 ;
19609 PyObject *swig_obj[1] ;
19610
19611 if (!args) SWIG_fail;
19612 swig_obj[0] = args;
19613 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19614 if (!SWIG_IsOK(res1)) {
19615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19616 }
19617 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19618 {
19619 PyThreadState* __tstate = wxPyBeginAllowThreads();
19620 {
19621 wxString const &_result_ref = (arg1)->GetReplaceString();
19622 result = (wxString *) &_result_ref;
19623 }
19624 wxPyEndAllowThreads(__tstate);
19625 if (PyErr_Occurred()) SWIG_fail;
19626 }
19627 {
19628 #if wxUSE_UNICODE
19629 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19630 #else
19631 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19632 #endif
19633 }
19634 return resultobj;
19635 fail:
19636 return NULL;
19637 }
19638
19639
19640 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19641 PyObject *resultobj = 0;
19642 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19643 int result;
19644 void *argp1 = 0 ;
19645 int res1 = 0 ;
19646 PyObject *swig_obj[1] ;
19647
19648 if (!args) SWIG_fail;
19649 swig_obj[0] = args;
19650 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19651 if (!SWIG_IsOK(res1)) {
19652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19653 }
19654 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19655 {
19656 PyThreadState* __tstate = wxPyBeginAllowThreads();
19657 result = (int)(arg1)->GetFlags();
19658 wxPyEndAllowThreads(__tstate);
19659 if (PyErr_Occurred()) SWIG_fail;
19660 }
19661 resultobj = SWIG_From_int(static_cast< int >(result));
19662 return resultobj;
19663 fail:
19664 return NULL;
19665 }
19666
19667
19668 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19669 PyObject *resultobj = 0;
19670 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19671 int arg2 ;
19672 void *argp1 = 0 ;
19673 int res1 = 0 ;
19674 int val2 ;
19675 int ecode2 = 0 ;
19676 PyObject * obj0 = 0 ;
19677 PyObject * obj1 = 0 ;
19678 char * kwnames[] = {
19679 (char *) "self",(char *) "flags", NULL
19680 };
19681
19682 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19683 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19684 if (!SWIG_IsOK(res1)) {
19685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19686 }
19687 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19688 ecode2 = SWIG_AsVal_int(obj1, &val2);
19689 if (!SWIG_IsOK(ecode2)) {
19690 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
19691 }
19692 arg2 = static_cast< int >(val2);
19693 {
19694 PyThreadState* __tstate = wxPyBeginAllowThreads();
19695 (arg1)->SetFlags(arg2);
19696 wxPyEndAllowThreads(__tstate);
19697 if (PyErr_Occurred()) SWIG_fail;
19698 }
19699 resultobj = SWIG_Py_Void();
19700 return resultobj;
19701 fail:
19702 return NULL;
19703 }
19704
19705
19706 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19707 PyObject *resultobj = 0;
19708 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19709 wxString *arg2 = 0 ;
19710 void *argp1 = 0 ;
19711 int res1 = 0 ;
19712 bool temp2 = false ;
19713 PyObject * obj0 = 0 ;
19714 PyObject * obj1 = 0 ;
19715 char * kwnames[] = {
19716 (char *) "self",(char *) "str", NULL
19717 };
19718
19719 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19720 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19721 if (!SWIG_IsOK(res1)) {
19722 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19723 }
19724 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19725 {
19726 arg2 = wxString_in_helper(obj1);
19727 if (arg2 == NULL) SWIG_fail;
19728 temp2 = true;
19729 }
19730 {
19731 PyThreadState* __tstate = wxPyBeginAllowThreads();
19732 (arg1)->SetFindString((wxString const &)*arg2);
19733 wxPyEndAllowThreads(__tstate);
19734 if (PyErr_Occurred()) SWIG_fail;
19735 }
19736 resultobj = SWIG_Py_Void();
19737 {
19738 if (temp2)
19739 delete arg2;
19740 }
19741 return resultobj;
19742 fail:
19743 {
19744 if (temp2)
19745 delete arg2;
19746 }
19747 return NULL;
19748 }
19749
19750
19751 SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19752 PyObject *resultobj = 0;
19753 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19754 wxString *arg2 = 0 ;
19755 void *argp1 = 0 ;
19756 int res1 = 0 ;
19757 bool temp2 = false ;
19758 PyObject * obj0 = 0 ;
19759 PyObject * obj1 = 0 ;
19760 char * kwnames[] = {
19761 (char *) "self",(char *) "str", NULL
19762 };
19763
19764 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
19765 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19766 if (!SWIG_IsOK(res1)) {
19767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19768 }
19769 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19770 {
19771 arg2 = wxString_in_helper(obj1);
19772 if (arg2 == NULL) SWIG_fail;
19773 temp2 = true;
19774 }
19775 {
19776 PyThreadState* __tstate = wxPyBeginAllowThreads();
19777 (arg1)->SetReplaceString((wxString const &)*arg2);
19778 wxPyEndAllowThreads(__tstate);
19779 if (PyErr_Occurred()) SWIG_fail;
19780 }
19781 resultobj = SWIG_Py_Void();
19782 {
19783 if (temp2)
19784 delete arg2;
19785 }
19786 return resultobj;
19787 fail:
19788 {
19789 if (temp2)
19790 delete arg2;
19791 }
19792 return NULL;
19793 }
19794
19795
19796 SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19797 PyObject *obj;
19798 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19799 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
19800 return SWIG_Py_Void();
19801 }
19802
19803 SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19804 return SWIG_Python_InitShadowInstance(args);
19805 }
19806
19807 SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19808 PyObject *resultobj = 0;
19809 wxWindow *arg1 = (wxWindow *) 0 ;
19810 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
19811 wxString *arg3 = 0 ;
19812 int arg4 = (int) 0 ;
19813 wxFindReplaceDialog *result = 0 ;
19814 void *argp1 = 0 ;
19815 int res1 = 0 ;
19816 void *argp2 = 0 ;
19817 int res2 = 0 ;
19818 bool temp3 = false ;
19819 int val4 ;
19820 int ecode4 = 0 ;
19821 PyObject * obj0 = 0 ;
19822 PyObject * obj1 = 0 ;
19823 PyObject * obj2 = 0 ;
19824 PyObject * obj3 = 0 ;
19825 char * kwnames[] = {
19826 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
19827 };
19828
19829 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
19830 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19831 if (!SWIG_IsOK(res1)) {
19832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19833 }
19834 arg1 = reinterpret_cast< wxWindow * >(argp1);
19835 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19836 if (!SWIG_IsOK(res2)) {
19837 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
19838 }
19839 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
19840 {
19841 arg3 = wxString_in_helper(obj2);
19842 if (arg3 == NULL) SWIG_fail;
19843 temp3 = true;
19844 }
19845 if (obj3) {
19846 ecode4 = SWIG_AsVal_int(obj3, &val4);
19847 if (!SWIG_IsOK(ecode4)) {
19848 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
19849 }
19850 arg4 = static_cast< int >(val4);
19851 }
19852 {
19853 if (!wxPyCheckForApp()) SWIG_fail;
19854 PyThreadState* __tstate = wxPyBeginAllowThreads();
19855 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
19856 wxPyEndAllowThreads(__tstate);
19857 if (PyErr_Occurred()) SWIG_fail;
19858 }
19859 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
19860 {
19861 if (temp3)
19862 delete arg3;
19863 }
19864 return resultobj;
19865 fail:
19866 {
19867 if (temp3)
19868 delete arg3;
19869 }
19870 return NULL;
19871 }
19872
19873
19874 SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19875 PyObject *resultobj = 0;
19876 wxFindReplaceDialog *result = 0 ;
19877
19878 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
19879 {
19880 if (!wxPyCheckForApp()) SWIG_fail;
19881 PyThreadState* __tstate = wxPyBeginAllowThreads();
19882 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
19883 wxPyEndAllowThreads(__tstate);
19884 if (PyErr_Occurred()) SWIG_fail;
19885 }
19886 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
19887 return resultobj;
19888 fail:
19889 return NULL;
19890 }
19891
19892
19893 SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19894 PyObject *resultobj = 0;
19895 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
19896 wxWindow *arg2 = (wxWindow *) 0 ;
19897 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
19898 wxString *arg4 = 0 ;
19899 int arg5 = (int) 0 ;
19900 bool result;
19901 void *argp1 = 0 ;
19902 int res1 = 0 ;
19903 void *argp2 = 0 ;
19904 int res2 = 0 ;
19905 void *argp3 = 0 ;
19906 int res3 = 0 ;
19907 bool temp4 = false ;
19908 int val5 ;
19909 int ecode5 = 0 ;
19910 PyObject * obj0 = 0 ;
19911 PyObject * obj1 = 0 ;
19912 PyObject * obj2 = 0 ;
19913 PyObject * obj3 = 0 ;
19914 PyObject * obj4 = 0 ;
19915 char * kwnames[] = {
19916 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
19917 };
19918
19919 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19920 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19921 if (!SWIG_IsOK(res1)) {
19922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
19923 }
19924 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
19925 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
19926 if (!SWIG_IsOK(res2)) {
19927 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
19928 }
19929 arg2 = reinterpret_cast< wxWindow * >(argp2);
19930 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19931 if (!SWIG_IsOK(res3)) {
19932 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
19933 }
19934 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
19935 {
19936 arg4 = wxString_in_helper(obj3);
19937 if (arg4 == NULL) SWIG_fail;
19938 temp4 = true;
19939 }
19940 if (obj4) {
19941 ecode5 = SWIG_AsVal_int(obj4, &val5);
19942 if (!SWIG_IsOK(ecode5)) {
19943 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
19944 }
19945 arg5 = static_cast< int >(val5);
19946 }
19947 {
19948 PyThreadState* __tstate = wxPyBeginAllowThreads();
19949 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
19950 wxPyEndAllowThreads(__tstate);
19951 if (PyErr_Occurred()) SWIG_fail;
19952 }
19953 {
19954 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19955 }
19956 {
19957 if (temp4)
19958 delete arg4;
19959 }
19960 return resultobj;
19961 fail:
19962 {
19963 if (temp4)
19964 delete arg4;
19965 }
19966 return NULL;
19967 }
19968
19969
19970 SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19971 PyObject *resultobj = 0;
19972 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
19973 wxFindReplaceData *result = 0 ;
19974 void *argp1 = 0 ;
19975 int res1 = 0 ;
19976 PyObject *swig_obj[1] ;
19977
19978 if (!args) SWIG_fail;
19979 swig_obj[0] = args;
19980 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19981 if (!SWIG_IsOK(res1)) {
19982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
19983 }
19984 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
19985 {
19986 PyThreadState* __tstate = wxPyBeginAllowThreads();
19987 result = (wxFindReplaceData *)(arg1)->GetData();
19988 wxPyEndAllowThreads(__tstate);
19989 if (PyErr_Occurred()) SWIG_fail;
19990 }
19991 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19992 return resultobj;
19993 fail:
19994 return NULL;
19995 }
19996
19997
19998 SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19999 PyObject *resultobj = 0;
20000 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20001 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20002 void *argp1 = 0 ;
20003 int res1 = 0 ;
20004 void *argp2 = 0 ;
20005 int res2 = 0 ;
20006 PyObject * obj0 = 0 ;
20007 PyObject * obj1 = 0 ;
20008 char * kwnames[] = {
20009 (char *) "self",(char *) "data", NULL
20010 };
20011
20012 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
20013 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20014 if (!SWIG_IsOK(res1)) {
20015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20016 }
20017 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20018 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20019 if (!SWIG_IsOK(res2)) {
20020 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20021 }
20022 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20023 {
20024 PyThreadState* __tstate = wxPyBeginAllowThreads();
20025 (arg1)->SetData(arg2);
20026 wxPyEndAllowThreads(__tstate);
20027 if (PyErr_Occurred()) SWIG_fail;
20028 }
20029 resultobj = SWIG_Py_Void();
20030 return resultobj;
20031 fail:
20032 return NULL;
20033 }
20034
20035
20036 SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20037 PyObject *obj;
20038 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20039 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
20040 return SWIG_Py_Void();
20041 }
20042
20043 SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20044 return SWIG_Python_InitShadowInstance(args);
20045 }
20046
20047 SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20048 PyObject *resultobj = 0;
20049 wxWindow *arg1 = (wxWindow *) 0 ;
20050 int arg2 = (int) (int)-1 ;
20051 wxString const &arg3_defvalue = wxPyEmptyString ;
20052 wxString *arg3 = (wxString *) &arg3_defvalue ;
20053 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20054 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20055 wxSize const &arg5_defvalue = wxDefaultSize ;
20056 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20057 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20058 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20059 wxString *arg7 = (wxString *) &arg7_defvalue ;
20060 wxMDIParentFrame *result = 0 ;
20061 void *argp1 = 0 ;
20062 int res1 = 0 ;
20063 int val2 ;
20064 int ecode2 = 0 ;
20065 bool temp3 = false ;
20066 wxPoint temp4 ;
20067 wxSize temp5 ;
20068 long val6 ;
20069 int ecode6 = 0 ;
20070 bool temp7 = false ;
20071 PyObject * obj0 = 0 ;
20072 PyObject * obj1 = 0 ;
20073 PyObject * obj2 = 0 ;
20074 PyObject * obj3 = 0 ;
20075 PyObject * obj4 = 0 ;
20076 PyObject * obj5 = 0 ;
20077 PyObject * obj6 = 0 ;
20078 char * kwnames[] = {
20079 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20080 };
20081
20082 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20083 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20084 if (!SWIG_IsOK(res1)) {
20085 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20086 }
20087 arg1 = reinterpret_cast< wxWindow * >(argp1);
20088 if (obj1) {
20089 ecode2 = SWIG_AsVal_int(obj1, &val2);
20090 if (!SWIG_IsOK(ecode2)) {
20091 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20092 }
20093 arg2 = static_cast< int >(val2);
20094 }
20095 if (obj2) {
20096 {
20097 arg3 = wxString_in_helper(obj2);
20098 if (arg3 == NULL) SWIG_fail;
20099 temp3 = true;
20100 }
20101 }
20102 if (obj3) {
20103 {
20104 arg4 = &temp4;
20105 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20106 }
20107 }
20108 if (obj4) {
20109 {
20110 arg5 = &temp5;
20111 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20112 }
20113 }
20114 if (obj5) {
20115 ecode6 = SWIG_AsVal_long(obj5, &val6);
20116 if (!SWIG_IsOK(ecode6)) {
20117 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20118 }
20119 arg6 = static_cast< long >(val6);
20120 }
20121 if (obj6) {
20122 {
20123 arg7 = wxString_in_helper(obj6);
20124 if (arg7 == NULL) SWIG_fail;
20125 temp7 = true;
20126 }
20127 }
20128 {
20129 if (!wxPyCheckForApp()) SWIG_fail;
20130 PyThreadState* __tstate = wxPyBeginAllowThreads();
20131 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20132 wxPyEndAllowThreads(__tstate);
20133 if (PyErr_Occurred()) SWIG_fail;
20134 }
20135 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
20136 {
20137 if (temp3)
20138 delete arg3;
20139 }
20140 {
20141 if (temp7)
20142 delete arg7;
20143 }
20144 return resultobj;
20145 fail:
20146 {
20147 if (temp3)
20148 delete arg3;
20149 }
20150 {
20151 if (temp7)
20152 delete arg7;
20153 }
20154 return NULL;
20155 }
20156
20157
20158 SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20159 PyObject *resultobj = 0;
20160 wxMDIParentFrame *result = 0 ;
20161
20162 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
20163 {
20164 if (!wxPyCheckForApp()) SWIG_fail;
20165 PyThreadState* __tstate = wxPyBeginAllowThreads();
20166 result = (wxMDIParentFrame *)new wxMDIParentFrame();
20167 wxPyEndAllowThreads(__tstate);
20168 if (PyErr_Occurred()) SWIG_fail;
20169 }
20170 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
20171 return resultobj;
20172 fail:
20173 return NULL;
20174 }
20175
20176
20177 SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20178 PyObject *resultobj = 0;
20179 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20180 wxWindow *arg2 = (wxWindow *) 0 ;
20181 int arg3 = (int) (int)-1 ;
20182 wxString const &arg4_defvalue = wxPyEmptyString ;
20183 wxString *arg4 = (wxString *) &arg4_defvalue ;
20184 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20185 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20186 wxSize const &arg6_defvalue = wxDefaultSize ;
20187 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20188 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20189 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20190 wxString *arg8 = (wxString *) &arg8_defvalue ;
20191 bool result;
20192 void *argp1 = 0 ;
20193 int res1 = 0 ;
20194 void *argp2 = 0 ;
20195 int res2 = 0 ;
20196 int val3 ;
20197 int ecode3 = 0 ;
20198 bool temp4 = false ;
20199 wxPoint temp5 ;
20200 wxSize temp6 ;
20201 long val7 ;
20202 int ecode7 = 0 ;
20203 bool temp8 = false ;
20204 PyObject * obj0 = 0 ;
20205 PyObject * obj1 = 0 ;
20206 PyObject * obj2 = 0 ;
20207 PyObject * obj3 = 0 ;
20208 PyObject * obj4 = 0 ;
20209 PyObject * obj5 = 0 ;
20210 PyObject * obj6 = 0 ;
20211 PyObject * obj7 = 0 ;
20212 char * kwnames[] = {
20213 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20214 };
20215
20216 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20217 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20218 if (!SWIG_IsOK(res1)) {
20219 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20220 }
20221 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20222 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20223 if (!SWIG_IsOK(res2)) {
20224 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20225 }
20226 arg2 = reinterpret_cast< wxWindow * >(argp2);
20227 if (obj2) {
20228 ecode3 = SWIG_AsVal_int(obj2, &val3);
20229 if (!SWIG_IsOK(ecode3)) {
20230 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20231 }
20232 arg3 = static_cast< int >(val3);
20233 }
20234 if (obj3) {
20235 {
20236 arg4 = wxString_in_helper(obj3);
20237 if (arg4 == NULL) SWIG_fail;
20238 temp4 = true;
20239 }
20240 }
20241 if (obj4) {
20242 {
20243 arg5 = &temp5;
20244 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
20245 }
20246 }
20247 if (obj5) {
20248 {
20249 arg6 = &temp6;
20250 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
20251 }
20252 }
20253 if (obj6) {
20254 ecode7 = SWIG_AsVal_long(obj6, &val7);
20255 if (!SWIG_IsOK(ecode7)) {
20256 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20257 }
20258 arg7 = static_cast< long >(val7);
20259 }
20260 if (obj7) {
20261 {
20262 arg8 = wxString_in_helper(obj7);
20263 if (arg8 == NULL) SWIG_fail;
20264 temp8 = true;
20265 }
20266 }
20267 {
20268 PyThreadState* __tstate = wxPyBeginAllowThreads();
20269 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20270 wxPyEndAllowThreads(__tstate);
20271 if (PyErr_Occurred()) SWIG_fail;
20272 }
20273 {
20274 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20275 }
20276 {
20277 if (temp4)
20278 delete arg4;
20279 }
20280 {
20281 if (temp8)
20282 delete arg8;
20283 }
20284 return resultobj;
20285 fail:
20286 {
20287 if (temp4)
20288 delete arg4;
20289 }
20290 {
20291 if (temp8)
20292 delete arg8;
20293 }
20294 return NULL;
20295 }
20296
20297
20298 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20299 PyObject *resultobj = 0;
20300 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20301 void *argp1 = 0 ;
20302 int res1 = 0 ;
20303 PyObject *swig_obj[1] ;
20304
20305 if (!args) SWIG_fail;
20306 swig_obj[0] = args;
20307 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20308 if (!SWIG_IsOK(res1)) {
20309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20310 }
20311 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20312 {
20313 PyThreadState* __tstate = wxPyBeginAllowThreads();
20314 (arg1)->ActivateNext();
20315 wxPyEndAllowThreads(__tstate);
20316 if (PyErr_Occurred()) SWIG_fail;
20317 }
20318 resultobj = SWIG_Py_Void();
20319 return resultobj;
20320 fail:
20321 return NULL;
20322 }
20323
20324
20325 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20326 PyObject *resultobj = 0;
20327 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20328 void *argp1 = 0 ;
20329 int res1 = 0 ;
20330 PyObject *swig_obj[1] ;
20331
20332 if (!args) SWIG_fail;
20333 swig_obj[0] = args;
20334 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20335 if (!SWIG_IsOK(res1)) {
20336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20337 }
20338 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20339 {
20340 PyThreadState* __tstate = wxPyBeginAllowThreads();
20341 (arg1)->ActivatePrevious();
20342 wxPyEndAllowThreads(__tstate);
20343 if (PyErr_Occurred()) SWIG_fail;
20344 }
20345 resultobj = SWIG_Py_Void();
20346 return resultobj;
20347 fail:
20348 return NULL;
20349 }
20350
20351
20352 SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20353 PyObject *resultobj = 0;
20354 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20355 void *argp1 = 0 ;
20356 int res1 = 0 ;
20357 PyObject *swig_obj[1] ;
20358
20359 if (!args) SWIG_fail;
20360 swig_obj[0] = args;
20361 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20362 if (!SWIG_IsOK(res1)) {
20363 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20364 }
20365 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20366 {
20367 PyThreadState* __tstate = wxPyBeginAllowThreads();
20368 (arg1)->ArrangeIcons();
20369 wxPyEndAllowThreads(__tstate);
20370 if (PyErr_Occurred()) SWIG_fail;
20371 }
20372 resultobj = SWIG_Py_Void();
20373 return resultobj;
20374 fail:
20375 return NULL;
20376 }
20377
20378
20379 SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20380 PyObject *resultobj = 0;
20381 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20382 void *argp1 = 0 ;
20383 int res1 = 0 ;
20384 PyObject *swig_obj[1] ;
20385
20386 if (!args) SWIG_fail;
20387 swig_obj[0] = args;
20388 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20389 if (!SWIG_IsOK(res1)) {
20390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20391 }
20392 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20393 {
20394 PyThreadState* __tstate = wxPyBeginAllowThreads();
20395 (arg1)->Cascade();
20396 wxPyEndAllowThreads(__tstate);
20397 if (PyErr_Occurred()) SWIG_fail;
20398 }
20399 resultobj = SWIG_Py_Void();
20400 return resultobj;
20401 fail:
20402 return NULL;
20403 }
20404
20405
20406 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20407 PyObject *resultobj = 0;
20408 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20409 wxMDIChildFrame *result = 0 ;
20410 void *argp1 = 0 ;
20411 int res1 = 0 ;
20412 PyObject *swig_obj[1] ;
20413
20414 if (!args) SWIG_fail;
20415 swig_obj[0] = args;
20416 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20417 if (!SWIG_IsOK(res1)) {
20418 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20419 }
20420 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20421 {
20422 PyThreadState* __tstate = wxPyBeginAllowThreads();
20423 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
20424 wxPyEndAllowThreads(__tstate);
20425 if (PyErr_Occurred()) SWIG_fail;
20426 }
20427 {
20428 resultobj = wxPyMake_wxObject(result, (bool)0);
20429 }
20430 return resultobj;
20431 fail:
20432 return NULL;
20433 }
20434
20435
20436 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20437 PyObject *resultobj = 0;
20438 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20439 wxMDIClientWindow *result = 0 ;
20440 void *argp1 = 0 ;
20441 int res1 = 0 ;
20442 PyObject *swig_obj[1] ;
20443
20444 if (!args) SWIG_fail;
20445 swig_obj[0] = args;
20446 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20447 if (!SWIG_IsOK(res1)) {
20448 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20449 }
20450 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20451 {
20452 PyThreadState* __tstate = wxPyBeginAllowThreads();
20453 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
20454 wxPyEndAllowThreads(__tstate);
20455 if (PyErr_Occurred()) SWIG_fail;
20456 }
20457 {
20458 resultobj = wxPyMake_wxObject(result, (bool)0);
20459 }
20460 return resultobj;
20461 fail:
20462 return NULL;
20463 }
20464
20465
20466 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20467 PyObject *resultobj = 0;
20468 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20469 wxWindow *result = 0 ;
20470 void *argp1 = 0 ;
20471 int res1 = 0 ;
20472 PyObject *swig_obj[1] ;
20473
20474 if (!args) SWIG_fail;
20475 swig_obj[0] = args;
20476 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20477 if (!SWIG_IsOK(res1)) {
20478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20479 }
20480 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20481 {
20482 PyThreadState* __tstate = wxPyBeginAllowThreads();
20483 result = (wxWindow *)(arg1)->GetToolBar();
20484 wxPyEndAllowThreads(__tstate);
20485 if (PyErr_Occurred()) SWIG_fail;
20486 }
20487 {
20488 resultobj = wxPyMake_wxObject(result, 0);
20489 }
20490 return resultobj;
20491 fail:
20492 return NULL;
20493 }
20494
20495
20496 SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20497 PyObject *resultobj = 0;
20498 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20499 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
20500 void *argp1 = 0 ;
20501 int res1 = 0 ;
20502 int val2 ;
20503 int ecode2 = 0 ;
20504 PyObject * obj0 = 0 ;
20505 PyObject * obj1 = 0 ;
20506 char * kwnames[] = {
20507 (char *) "self",(char *) "orient", NULL
20508 };
20509
20510 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
20511 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20512 if (!SWIG_IsOK(res1)) {
20513 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20514 }
20515 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20516 if (obj1) {
20517 ecode2 = SWIG_AsVal_int(obj1, &val2);
20518 if (!SWIG_IsOK(ecode2)) {
20519 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20520 }
20521 arg2 = static_cast< wxOrientation >(val2);
20522 }
20523 {
20524 PyThreadState* __tstate = wxPyBeginAllowThreads();
20525 (arg1)->Tile(arg2);
20526 wxPyEndAllowThreads(__tstate);
20527 if (PyErr_Occurred()) SWIG_fail;
20528 }
20529 resultobj = SWIG_Py_Void();
20530 return resultobj;
20531 fail:
20532 return NULL;
20533 }
20534
20535
20536 SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20537 PyObject *obj;
20538 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20539 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
20540 return SWIG_Py_Void();
20541 }
20542
20543 SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20544 return SWIG_Python_InitShadowInstance(args);
20545 }
20546
20547 SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20548 PyObject *resultobj = 0;
20549 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20550 int arg2 = (int) (int)-1 ;
20551 wxString const &arg3_defvalue = wxPyEmptyString ;
20552 wxString *arg3 = (wxString *) &arg3_defvalue ;
20553 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20554 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20555 wxSize const &arg5_defvalue = wxDefaultSize ;
20556 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20557 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
20558 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20559 wxString *arg7 = (wxString *) &arg7_defvalue ;
20560 wxMDIChildFrame *result = 0 ;
20561 void *argp1 = 0 ;
20562 int res1 = 0 ;
20563 int val2 ;
20564 int ecode2 = 0 ;
20565 bool temp3 = false ;
20566 wxPoint temp4 ;
20567 wxSize temp5 ;
20568 long val6 ;
20569 int ecode6 = 0 ;
20570 bool temp7 = false ;
20571 PyObject * obj0 = 0 ;
20572 PyObject * obj1 = 0 ;
20573 PyObject * obj2 = 0 ;
20574 PyObject * obj3 = 0 ;
20575 PyObject * obj4 = 0 ;
20576 PyObject * obj5 = 0 ;
20577 PyObject * obj6 = 0 ;
20578 char * kwnames[] = {
20579 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20580 };
20581
20582 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20583 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20584 if (!SWIG_IsOK(res1)) {
20585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20586 }
20587 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20588 if (obj1) {
20589 ecode2 = SWIG_AsVal_int(obj1, &val2);
20590 if (!SWIG_IsOK(ecode2)) {
20591 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
20592 }
20593 arg2 = static_cast< int >(val2);
20594 }
20595 if (obj2) {
20596 {
20597 arg3 = wxString_in_helper(obj2);
20598 if (arg3 == NULL) SWIG_fail;
20599 temp3 = true;
20600 }
20601 }
20602 if (obj3) {
20603 {
20604 arg4 = &temp4;
20605 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20606 }
20607 }
20608 if (obj4) {
20609 {
20610 arg5 = &temp5;
20611 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20612 }
20613 }
20614 if (obj5) {
20615 ecode6 = SWIG_AsVal_long(obj5, &val6);
20616 if (!SWIG_IsOK(ecode6)) {
20617 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
20618 }
20619 arg6 = static_cast< long >(val6);
20620 }
20621 if (obj6) {
20622 {
20623 arg7 = wxString_in_helper(obj6);
20624 if (arg7 == NULL) SWIG_fail;
20625 temp7 = true;
20626 }
20627 }
20628 {
20629 if (!wxPyCheckForApp()) SWIG_fail;
20630 PyThreadState* __tstate = wxPyBeginAllowThreads();
20631 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20632 wxPyEndAllowThreads(__tstate);
20633 if (PyErr_Occurred()) SWIG_fail;
20634 }
20635 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
20636 {
20637 if (temp3)
20638 delete arg3;
20639 }
20640 {
20641 if (temp7)
20642 delete arg7;
20643 }
20644 return resultobj;
20645 fail:
20646 {
20647 if (temp3)
20648 delete arg3;
20649 }
20650 {
20651 if (temp7)
20652 delete arg7;
20653 }
20654 return NULL;
20655 }
20656
20657
20658 SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20659 PyObject *resultobj = 0;
20660 wxMDIChildFrame *result = 0 ;
20661
20662 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
20663 {
20664 if (!wxPyCheckForApp()) SWIG_fail;
20665 PyThreadState* __tstate = wxPyBeginAllowThreads();
20666 result = (wxMDIChildFrame *)new wxMDIChildFrame();
20667 wxPyEndAllowThreads(__tstate);
20668 if (PyErr_Occurred()) SWIG_fail;
20669 }
20670 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
20671 return resultobj;
20672 fail:
20673 return NULL;
20674 }
20675
20676
20677 SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20678 PyObject *resultobj = 0;
20679 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
20680 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
20681 int arg3 = (int) (int)-1 ;
20682 wxString const &arg4_defvalue = wxPyEmptyString ;
20683 wxString *arg4 = (wxString *) &arg4_defvalue ;
20684 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20685 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20686 wxSize const &arg6_defvalue = wxDefaultSize ;
20687 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20688 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
20689 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20690 wxString *arg8 = (wxString *) &arg8_defvalue ;
20691 bool result;
20692 void *argp1 = 0 ;
20693 int res1 = 0 ;
20694 void *argp2 = 0 ;
20695 int res2 = 0 ;
20696 int val3 ;
20697 int ecode3 = 0 ;
20698 bool temp4 = false ;
20699 wxPoint temp5 ;
20700 wxSize temp6 ;
20701 long val7 ;
20702 int ecode7 = 0 ;
20703 bool temp8 = false ;
20704 PyObject * obj0 = 0 ;
20705 PyObject * obj1 = 0 ;
20706 PyObject * obj2 = 0 ;
20707 PyObject * obj3 = 0 ;
20708 PyObject * obj4 = 0 ;
20709 PyObject * obj5 = 0 ;
20710 PyObject * obj6 = 0 ;
20711 PyObject * obj7 = 0 ;
20712 char * kwnames[] = {
20713 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20714 };
20715
20716 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20717 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
20718 if (!SWIG_IsOK(res1)) {
20719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20720 }
20721 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
20722 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20723 if (!SWIG_IsOK(res2)) {
20724 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
20725 }
20726 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
20727 if (obj2) {
20728 ecode3 = SWIG_AsVal_int(obj2, &val3);
20729 if (!SWIG_IsOK(ecode3)) {
20730 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
20731 }
20732 arg3 = static_cast< int >(val3);
20733 }
20734 if (obj3) {
20735 {
20736 arg4 = wxString_in_helper(obj3);
20737 if (arg4 == NULL) SWIG_fail;
20738 temp4 = true;
20739 }
20740 }
20741 if (obj4) {
20742 {
20743 arg5 = &temp5;
20744 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
20745 }
20746 }
20747 if (obj5) {
20748 {
20749 arg6 = &temp6;
20750 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
20751 }
20752 }
20753 if (obj6) {
20754 ecode7 = SWIG_AsVal_long(obj6, &val7);
20755 if (!SWIG_IsOK(ecode7)) {
20756 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
20757 }
20758 arg7 = static_cast< long >(val7);
20759 }
20760 if (obj7) {
20761 {
20762 arg8 = wxString_in_helper(obj7);
20763 if (arg8 == NULL) SWIG_fail;
20764 temp8 = true;
20765 }
20766 }
20767 {
20768 PyThreadState* __tstate = wxPyBeginAllowThreads();
20769 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20770 wxPyEndAllowThreads(__tstate);
20771 if (PyErr_Occurred()) SWIG_fail;
20772 }
20773 {
20774 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20775 }
20776 {
20777 if (temp4)
20778 delete arg4;
20779 }
20780 {
20781 if (temp8)
20782 delete arg8;
20783 }
20784 return resultobj;
20785 fail:
20786 {
20787 if (temp4)
20788 delete arg4;
20789 }
20790 {
20791 if (temp8)
20792 delete arg8;
20793 }
20794 return NULL;
20795 }
20796
20797
20798 SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20799 PyObject *resultobj = 0;
20800 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
20801 void *argp1 = 0 ;
20802 int res1 = 0 ;
20803 PyObject *swig_obj[1] ;
20804
20805 if (!args) SWIG_fail;
20806 swig_obj[0] = args;
20807 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
20808 if (!SWIG_IsOK(res1)) {
20809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20810 }
20811 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
20812 {
20813 PyThreadState* __tstate = wxPyBeginAllowThreads();
20814 (arg1)->Activate();
20815 wxPyEndAllowThreads(__tstate);
20816 if (PyErr_Occurred()) SWIG_fail;
20817 }
20818 resultobj = SWIG_Py_Void();
20819 return resultobj;
20820 fail:
20821 return NULL;
20822 }
20823
20824
20825 SWIGINTERN PyObject *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20826 PyObject *obj;
20827 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20828 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
20829 return SWIG_Py_Void();
20830 }
20831
20832 SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20833 return SWIG_Python_InitShadowInstance(args);
20834 }
20835
20836 SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20837 PyObject *resultobj = 0;
20838 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20839 long arg2 = (long) 0 ;
20840 wxMDIClientWindow *result = 0 ;
20841 void *argp1 = 0 ;
20842 int res1 = 0 ;
20843 long val2 ;
20844 int ecode2 = 0 ;
20845 PyObject * obj0 = 0 ;
20846 PyObject * obj1 = 0 ;
20847 char * kwnames[] = {
20848 (char *) "parent",(char *) "style", NULL
20849 };
20850
20851 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
20852 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20853 if (!SWIG_IsOK(res1)) {
20854 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20855 }
20856 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20857 if (obj1) {
20858 ecode2 = SWIG_AsVal_long(obj1, &val2);
20859 if (!SWIG_IsOK(ecode2)) {
20860 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
20861 }
20862 arg2 = static_cast< long >(val2);
20863 }
20864 {
20865 if (!wxPyCheckForApp()) SWIG_fail;
20866 PyThreadState* __tstate = wxPyBeginAllowThreads();
20867 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
20868 wxPyEndAllowThreads(__tstate);
20869 if (PyErr_Occurred()) SWIG_fail;
20870 }
20871 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
20872 return resultobj;
20873 fail:
20874 return NULL;
20875 }
20876
20877
20878 SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20879 PyObject *resultobj = 0;
20880 wxMDIClientWindow *result = 0 ;
20881
20882 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
20883 {
20884 if (!wxPyCheckForApp()) SWIG_fail;
20885 PyThreadState* __tstate = wxPyBeginAllowThreads();
20886 result = (wxMDIClientWindow *)new wxMDIClientWindow();
20887 wxPyEndAllowThreads(__tstate);
20888 if (PyErr_Occurred()) SWIG_fail;
20889 }
20890 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
20891 return resultobj;
20892 fail:
20893 return NULL;
20894 }
20895
20896
20897 SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20898 PyObject *resultobj = 0;
20899 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
20900 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
20901 long arg3 = (long) 0 ;
20902 bool result;
20903 void *argp1 = 0 ;
20904 int res1 = 0 ;
20905 void *argp2 = 0 ;
20906 int res2 = 0 ;
20907 long val3 ;
20908 int ecode3 = 0 ;
20909 PyObject * obj0 = 0 ;
20910 PyObject * obj1 = 0 ;
20911 PyObject * obj2 = 0 ;
20912 char * kwnames[] = {
20913 (char *) "self",(char *) "parent",(char *) "style", NULL
20914 };
20915
20916 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
20917 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
20918 if (!SWIG_IsOK(res1)) {
20919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
20920 }
20921 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
20922 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20923 if (!SWIG_IsOK(res2)) {
20924 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
20925 }
20926 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
20927 if (obj2) {
20928 ecode3 = SWIG_AsVal_long(obj2, &val3);
20929 if (!SWIG_IsOK(ecode3)) {
20930 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
20931 }
20932 arg3 = static_cast< long >(val3);
20933 }
20934 {
20935 PyThreadState* __tstate = wxPyBeginAllowThreads();
20936 result = (bool)(arg1)->Create(arg2,arg3);
20937 wxPyEndAllowThreads(__tstate);
20938 if (PyErr_Occurred()) SWIG_fail;
20939 }
20940 {
20941 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20942 }
20943 return resultobj;
20944 fail:
20945 return NULL;
20946 }
20947
20948
20949 SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20950 PyObject *obj;
20951 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20952 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
20953 return SWIG_Py_Void();
20954 }
20955
20956 SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20957 return SWIG_Python_InitShadowInstance(args);
20958 }
20959
20960 SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20961 PyObject *resultobj = 0;
20962 wxWindow *arg1 = (wxWindow *) 0 ;
20963 int arg2 = (int) (int)-1 ;
20964 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20965 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20966 wxSize const &arg4_defvalue = wxDefaultSize ;
20967 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20968 long arg5 = (long) 0 ;
20969 wxString const &arg6_defvalue = wxPyPanelNameStr ;
20970 wxString *arg6 = (wxString *) &arg6_defvalue ;
20971 wxPyWindow *result = 0 ;
20972 void *argp1 = 0 ;
20973 int res1 = 0 ;
20974 int val2 ;
20975 int ecode2 = 0 ;
20976 wxPoint temp3 ;
20977 wxSize temp4 ;
20978 long val5 ;
20979 int ecode5 = 0 ;
20980 bool temp6 = false ;
20981 PyObject * obj0 = 0 ;
20982 PyObject * obj1 = 0 ;
20983 PyObject * obj2 = 0 ;
20984 PyObject * obj3 = 0 ;
20985 PyObject * obj4 = 0 ;
20986 PyObject * obj5 = 0 ;
20987 char * kwnames[] = {
20988 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20989 };
20990
20991 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20992 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20993 if (!SWIG_IsOK(res1)) {
20994 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
20995 }
20996 arg1 = reinterpret_cast< wxWindow * >(argp1);
20997 if (obj1) {
20998 ecode2 = SWIG_AsVal_int(obj1, &val2);
20999 if (!SWIG_IsOK(ecode2)) {
21000 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21001 }
21002 arg2 = static_cast< int >(val2);
21003 }
21004 if (obj2) {
21005 {
21006 arg3 = &temp3;
21007 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21008 }
21009 }
21010 if (obj3) {
21011 {
21012 arg4 = &temp4;
21013 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21014 }
21015 }
21016 if (obj4) {
21017 ecode5 = SWIG_AsVal_long(obj4, &val5);
21018 if (!SWIG_IsOK(ecode5)) {
21019 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21020 }
21021 arg5 = static_cast< long >(val5);
21022 }
21023 if (obj5) {
21024 {
21025 arg6 = wxString_in_helper(obj5);
21026 if (arg6 == NULL) SWIG_fail;
21027 temp6 = true;
21028 }
21029 }
21030 {
21031 if (!wxPyCheckForApp()) SWIG_fail;
21032 PyThreadState* __tstate = wxPyBeginAllowThreads();
21033 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21034 wxPyEndAllowThreads(__tstate);
21035 if (PyErr_Occurred()) SWIG_fail;
21036 }
21037 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
21038 {
21039 if (temp6)
21040 delete arg6;
21041 }
21042 return resultobj;
21043 fail:
21044 {
21045 if (temp6)
21046 delete arg6;
21047 }
21048 return NULL;
21049 }
21050
21051
21052 SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21053 PyObject *resultobj = 0;
21054 wxPyWindow *result = 0 ;
21055
21056 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
21057 {
21058 if (!wxPyCheckForApp()) SWIG_fail;
21059 PyThreadState* __tstate = wxPyBeginAllowThreads();
21060 result = (wxPyWindow *)new wxPyWindow();
21061 wxPyEndAllowThreads(__tstate);
21062 if (PyErr_Occurred()) SWIG_fail;
21063 }
21064 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
21065 return resultobj;
21066 fail:
21067 return NULL;
21068 }
21069
21070
21071 SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21072 PyObject *resultobj = 0;
21073 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21074 PyObject *arg2 = (PyObject *) 0 ;
21075 PyObject *arg3 = (PyObject *) 0 ;
21076 void *argp1 = 0 ;
21077 int res1 = 0 ;
21078 PyObject * obj0 = 0 ;
21079 PyObject * obj1 = 0 ;
21080 PyObject * obj2 = 0 ;
21081 char * kwnames[] = {
21082 (char *) "self",(char *) "self",(char *) "_class", NULL
21083 };
21084
21085 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21086 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21087 if (!SWIG_IsOK(res1)) {
21088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21089 }
21090 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21091 arg2 = obj1;
21092 arg3 = obj2;
21093 {
21094 PyThreadState* __tstate = wxPyBeginAllowThreads();
21095 (arg1)->_setCallbackInfo(arg2,arg3);
21096 wxPyEndAllowThreads(__tstate);
21097 if (PyErr_Occurred()) SWIG_fail;
21098 }
21099 resultobj = SWIG_Py_Void();
21100 return resultobj;
21101 fail:
21102 return NULL;
21103 }
21104
21105
21106 SWIGINTERN PyObject *_wrap_PyWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21107 PyObject *resultobj = 0;
21108 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21109 wxSize *arg2 = 0 ;
21110 void *argp1 = 0 ;
21111 int res1 = 0 ;
21112 wxSize temp2 ;
21113 PyObject * obj0 = 0 ;
21114 PyObject * obj1 = 0 ;
21115 char * kwnames[] = {
21116 (char *) "self",(char *) "size", NULL
21117 };
21118
21119 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
21120 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21121 if (!SWIG_IsOK(res1)) {
21122 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21123 }
21124 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21125 {
21126 arg2 = &temp2;
21127 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21128 }
21129 {
21130 PyThreadState* __tstate = wxPyBeginAllowThreads();
21131 (arg1)->SetBestSize((wxSize const &)*arg2);
21132 wxPyEndAllowThreads(__tstate);
21133 if (PyErr_Occurred()) SWIG_fail;
21134 }
21135 resultobj = SWIG_Py_Void();
21136 return resultobj;
21137 fail:
21138 return NULL;
21139 }
21140
21141
21142 SWIGINTERN PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21143 PyObject *resultobj = 0;
21144 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21145 wxDC *arg2 = (wxDC *) 0 ;
21146 bool result;
21147 void *argp1 = 0 ;
21148 int res1 = 0 ;
21149 void *argp2 = 0 ;
21150 int res2 = 0 ;
21151 PyObject * obj0 = 0 ;
21152 PyObject * obj1 = 0 ;
21153 char * kwnames[] = {
21154 (char *) "self",(char *) "dc", NULL
21155 };
21156
21157 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21158 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21159 if (!SWIG_IsOK(res1)) {
21160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21161 }
21162 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21163 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21164 if (!SWIG_IsOK(res2)) {
21165 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21166 }
21167 arg2 = reinterpret_cast< wxDC * >(argp2);
21168 {
21169 PyThreadState* __tstate = wxPyBeginAllowThreads();
21170 result = (bool)(arg1)->DoEraseBackground(arg2);
21171 wxPyEndAllowThreads(__tstate);
21172 if (PyErr_Occurred()) SWIG_fail;
21173 }
21174 {
21175 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21176 }
21177 return resultobj;
21178 fail:
21179 return NULL;
21180 }
21181
21182
21183 SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21184 PyObject *resultobj = 0;
21185 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21186 int arg2 ;
21187 int arg3 ;
21188 int arg4 ;
21189 int arg5 ;
21190 void *argp1 = 0 ;
21191 int res1 = 0 ;
21192 int val2 ;
21193 int ecode2 = 0 ;
21194 int val3 ;
21195 int ecode3 = 0 ;
21196 int val4 ;
21197 int ecode4 = 0 ;
21198 int val5 ;
21199 int ecode5 = 0 ;
21200 PyObject * obj0 = 0 ;
21201 PyObject * obj1 = 0 ;
21202 PyObject * obj2 = 0 ;
21203 PyObject * obj3 = 0 ;
21204 PyObject * obj4 = 0 ;
21205 char * kwnames[] = {
21206 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21207 };
21208
21209 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21210 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21211 if (!SWIG_IsOK(res1)) {
21212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21213 }
21214 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21215 ecode2 = SWIG_AsVal_int(obj1, &val2);
21216 if (!SWIG_IsOK(ecode2)) {
21217 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21218 }
21219 arg2 = static_cast< int >(val2);
21220 ecode3 = SWIG_AsVal_int(obj2, &val3);
21221 if (!SWIG_IsOK(ecode3)) {
21222 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21223 }
21224 arg3 = static_cast< int >(val3);
21225 ecode4 = SWIG_AsVal_int(obj3, &val4);
21226 if (!SWIG_IsOK(ecode4)) {
21227 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21228 }
21229 arg4 = static_cast< int >(val4);
21230 ecode5 = SWIG_AsVal_int(obj4, &val5);
21231 if (!SWIG_IsOK(ecode5)) {
21232 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21233 }
21234 arg5 = static_cast< int >(val5);
21235 {
21236 PyThreadState* __tstate = wxPyBeginAllowThreads();
21237 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
21238 wxPyEndAllowThreads(__tstate);
21239 if (PyErr_Occurred()) SWIG_fail;
21240 }
21241 resultobj = SWIG_Py_Void();
21242 return resultobj;
21243 fail:
21244 return NULL;
21245 }
21246
21247
21248 SWIGINTERN PyObject *_wrap_PyWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21249 PyObject *resultobj = 0;
21250 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21251 int arg2 ;
21252 int arg3 ;
21253 int arg4 ;
21254 int arg5 ;
21255 int arg6 = (int) wxSIZE_AUTO ;
21256 void *argp1 = 0 ;
21257 int res1 = 0 ;
21258 int val2 ;
21259 int ecode2 = 0 ;
21260 int val3 ;
21261 int ecode3 = 0 ;
21262 int val4 ;
21263 int ecode4 = 0 ;
21264 int val5 ;
21265 int ecode5 = 0 ;
21266 int val6 ;
21267 int ecode6 = 0 ;
21268 PyObject * obj0 = 0 ;
21269 PyObject * obj1 = 0 ;
21270 PyObject * obj2 = 0 ;
21271 PyObject * obj3 = 0 ;
21272 PyObject * obj4 = 0 ;
21273 PyObject * obj5 = 0 ;
21274 char * kwnames[] = {
21275 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21276 };
21277
21278 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21279 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21280 if (!SWIG_IsOK(res1)) {
21281 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21282 }
21283 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21284 ecode2 = SWIG_AsVal_int(obj1, &val2);
21285 if (!SWIG_IsOK(ecode2)) {
21286 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21287 }
21288 arg2 = static_cast< int >(val2);
21289 ecode3 = SWIG_AsVal_int(obj2, &val3);
21290 if (!SWIG_IsOK(ecode3)) {
21291 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21292 }
21293 arg3 = static_cast< int >(val3);
21294 ecode4 = SWIG_AsVal_int(obj3, &val4);
21295 if (!SWIG_IsOK(ecode4)) {
21296 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21297 }
21298 arg4 = static_cast< int >(val4);
21299 ecode5 = SWIG_AsVal_int(obj4, &val5);
21300 if (!SWIG_IsOK(ecode5)) {
21301 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21302 }
21303 arg5 = static_cast< int >(val5);
21304 if (obj5) {
21305 ecode6 = SWIG_AsVal_int(obj5, &val6);
21306 if (!SWIG_IsOK(ecode6)) {
21307 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21308 }
21309 arg6 = static_cast< int >(val6);
21310 }
21311 {
21312 PyThreadState* __tstate = wxPyBeginAllowThreads();
21313 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
21314 wxPyEndAllowThreads(__tstate);
21315 if (PyErr_Occurred()) SWIG_fail;
21316 }
21317 resultobj = SWIG_Py_Void();
21318 return resultobj;
21319 fail:
21320 return NULL;
21321 }
21322
21323
21324 SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21325 PyObject *resultobj = 0;
21326 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21327 int arg2 ;
21328 int arg3 ;
21329 void *argp1 = 0 ;
21330 int res1 = 0 ;
21331 int val2 ;
21332 int ecode2 = 0 ;
21333 int val3 ;
21334 int ecode3 = 0 ;
21335 PyObject * obj0 = 0 ;
21336 PyObject * obj1 = 0 ;
21337 PyObject * obj2 = 0 ;
21338 char * kwnames[] = {
21339 (char *) "self",(char *) "width",(char *) "height", NULL
21340 };
21341
21342 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21343 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21344 if (!SWIG_IsOK(res1)) {
21345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21346 }
21347 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21348 ecode2 = SWIG_AsVal_int(obj1, &val2);
21349 if (!SWIG_IsOK(ecode2)) {
21350 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21351 }
21352 arg2 = static_cast< int >(val2);
21353 ecode3 = SWIG_AsVal_int(obj2, &val3);
21354 if (!SWIG_IsOK(ecode3)) {
21355 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21356 }
21357 arg3 = static_cast< int >(val3);
21358 {
21359 PyThreadState* __tstate = wxPyBeginAllowThreads();
21360 (arg1)->DoSetClientSize(arg2,arg3);
21361 wxPyEndAllowThreads(__tstate);
21362 if (PyErr_Occurred()) SWIG_fail;
21363 }
21364 resultobj = SWIG_Py_Void();
21365 return resultobj;
21366 fail:
21367 return NULL;
21368 }
21369
21370
21371 SWIGINTERN PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21372 PyObject *resultobj = 0;
21373 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21374 int arg2 ;
21375 int arg3 ;
21376 void *argp1 = 0 ;
21377 int res1 = 0 ;
21378 int val2 ;
21379 int ecode2 = 0 ;
21380 int val3 ;
21381 int ecode3 = 0 ;
21382 PyObject * obj0 = 0 ;
21383 PyObject * obj1 = 0 ;
21384 PyObject * obj2 = 0 ;
21385 char * kwnames[] = {
21386 (char *) "self",(char *) "x",(char *) "y", NULL
21387 };
21388
21389 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21390 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21391 if (!SWIG_IsOK(res1)) {
21392 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21393 }
21394 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21395 ecode2 = SWIG_AsVal_int(obj1, &val2);
21396 if (!SWIG_IsOK(ecode2)) {
21397 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21398 }
21399 arg2 = static_cast< int >(val2);
21400 ecode3 = SWIG_AsVal_int(obj2, &val3);
21401 if (!SWIG_IsOK(ecode3)) {
21402 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21403 }
21404 arg3 = static_cast< int >(val3);
21405 {
21406 PyThreadState* __tstate = wxPyBeginAllowThreads();
21407 (arg1)->DoSetVirtualSize(arg2,arg3);
21408 wxPyEndAllowThreads(__tstate);
21409 if (PyErr_Occurred()) SWIG_fail;
21410 }
21411 resultobj = SWIG_Py_Void();
21412 return resultobj;
21413 fail:
21414 return NULL;
21415 }
21416
21417
21418 SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21419 PyObject *resultobj = 0;
21420 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21421 int *arg2 = (int *) 0 ;
21422 int *arg3 = (int *) 0 ;
21423 void *argp1 = 0 ;
21424 int res1 = 0 ;
21425 int temp2 ;
21426 int res2 = SWIG_TMPOBJ ;
21427 int temp3 ;
21428 int res3 = SWIG_TMPOBJ ;
21429 PyObject *swig_obj[1] ;
21430
21431 arg2 = &temp2;
21432 arg3 = &temp3;
21433 if (!args) SWIG_fail;
21434 swig_obj[0] = args;
21435 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21436 if (!SWIG_IsOK(res1)) {
21437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21438 }
21439 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21440 {
21441 PyThreadState* __tstate = wxPyBeginAllowThreads();
21442 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
21443 wxPyEndAllowThreads(__tstate);
21444 if (PyErr_Occurred()) SWIG_fail;
21445 }
21446 resultobj = SWIG_Py_Void();
21447 if (SWIG_IsTmpObj(res2)) {
21448 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21449 } else {
21450 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21451 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21452 }
21453 if (SWIG_IsTmpObj(res3)) {
21454 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21455 } else {
21456 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21457 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21458 }
21459 return resultobj;
21460 fail:
21461 return NULL;
21462 }
21463
21464
21465 SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21466 PyObject *resultobj = 0;
21467 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21468 int *arg2 = (int *) 0 ;
21469 int *arg3 = (int *) 0 ;
21470 void *argp1 = 0 ;
21471 int res1 = 0 ;
21472 int temp2 ;
21473 int res2 = SWIG_TMPOBJ ;
21474 int temp3 ;
21475 int res3 = SWIG_TMPOBJ ;
21476 PyObject *swig_obj[1] ;
21477
21478 arg2 = &temp2;
21479 arg3 = &temp3;
21480 if (!args) SWIG_fail;
21481 swig_obj[0] = args;
21482 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21483 if (!SWIG_IsOK(res1)) {
21484 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21485 }
21486 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21487 {
21488 PyThreadState* __tstate = wxPyBeginAllowThreads();
21489 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
21490 wxPyEndAllowThreads(__tstate);
21491 if (PyErr_Occurred()) SWIG_fail;
21492 }
21493 resultobj = SWIG_Py_Void();
21494 if (SWIG_IsTmpObj(res2)) {
21495 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21496 } else {
21497 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21498 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21499 }
21500 if (SWIG_IsTmpObj(res3)) {
21501 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21502 } else {
21503 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21504 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21505 }
21506 return resultobj;
21507 fail:
21508 return NULL;
21509 }
21510
21511
21512 SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21513 PyObject *resultobj = 0;
21514 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21515 int *arg2 = (int *) 0 ;
21516 int *arg3 = (int *) 0 ;
21517 void *argp1 = 0 ;
21518 int res1 = 0 ;
21519 int temp2 ;
21520 int res2 = SWIG_TMPOBJ ;
21521 int temp3 ;
21522 int res3 = SWIG_TMPOBJ ;
21523 PyObject *swig_obj[1] ;
21524
21525 arg2 = &temp2;
21526 arg3 = &temp3;
21527 if (!args) SWIG_fail;
21528 swig_obj[0] = args;
21529 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21530 if (!SWIG_IsOK(res1)) {
21531 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21532 }
21533 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21534 {
21535 PyThreadState* __tstate = wxPyBeginAllowThreads();
21536 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
21537 wxPyEndAllowThreads(__tstate);
21538 if (PyErr_Occurred()) SWIG_fail;
21539 }
21540 resultobj = SWIG_Py_Void();
21541 if (SWIG_IsTmpObj(res2)) {
21542 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21543 } else {
21544 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21545 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21546 }
21547 if (SWIG_IsTmpObj(res3)) {
21548 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21549 } else {
21550 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21551 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21552 }
21553 return resultobj;
21554 fail:
21555 return NULL;
21556 }
21557
21558
21559 SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21560 PyObject *resultobj = 0;
21561 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21562 wxSize result;
21563 void *argp1 = 0 ;
21564 int res1 = 0 ;
21565 PyObject *swig_obj[1] ;
21566
21567 if (!args) SWIG_fail;
21568 swig_obj[0] = args;
21569 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21570 if (!SWIG_IsOK(res1)) {
21571 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21572 }
21573 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21574 {
21575 PyThreadState* __tstate = wxPyBeginAllowThreads();
21576 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
21577 wxPyEndAllowThreads(__tstate);
21578 if (PyErr_Occurred()) SWIG_fail;
21579 }
21580 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
21581 return resultobj;
21582 fail:
21583 return NULL;
21584 }
21585
21586
21587 SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21588 PyObject *resultobj = 0;
21589 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21590 wxSize result;
21591 void *argp1 = 0 ;
21592 int res1 = 0 ;
21593 PyObject *swig_obj[1] ;
21594
21595 if (!args) SWIG_fail;
21596 swig_obj[0] = args;
21597 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21598 if (!SWIG_IsOK(res1)) {
21599 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21600 }
21601 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21602 {
21603 PyThreadState* __tstate = wxPyBeginAllowThreads();
21604 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
21605 wxPyEndAllowThreads(__tstate);
21606 if (PyErr_Occurred()) SWIG_fail;
21607 }
21608 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
21609 return resultobj;
21610 fail:
21611 return NULL;
21612 }
21613
21614
21615 SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21616 PyObject *resultobj = 0;
21617 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21618 SwigValueWrapper<wxVisualAttributes > result;
21619 void *argp1 = 0 ;
21620 int res1 = 0 ;
21621 PyObject *swig_obj[1] ;
21622
21623 if (!args) SWIG_fail;
21624 swig_obj[0] = args;
21625 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21626 if (!SWIG_IsOK(res1)) {
21627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21628 }
21629 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21630 {
21631 PyThreadState* __tstate = wxPyBeginAllowThreads();
21632 result = (arg1)->GetDefaultAttributes();
21633 wxPyEndAllowThreads(__tstate);
21634 if (PyErr_Occurred()) SWIG_fail;
21635 }
21636 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
21637 return resultobj;
21638 fail:
21639 return NULL;
21640 }
21641
21642
21643 SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21644 PyObject *resultobj = 0;
21645 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21646 void *argp1 = 0 ;
21647 int res1 = 0 ;
21648 PyObject *swig_obj[1] ;
21649
21650 if (!args) SWIG_fail;
21651 swig_obj[0] = args;
21652 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21653 if (!SWIG_IsOK(res1)) {
21654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21655 }
21656 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21657 {
21658 PyThreadState* __tstate = wxPyBeginAllowThreads();
21659 (arg1)->OnInternalIdle();
21660 wxPyEndAllowThreads(__tstate);
21661 if (PyErr_Occurred()) SWIG_fail;
21662 }
21663 resultobj = SWIG_Py_Void();
21664 return resultobj;
21665 fail:
21666 return NULL;
21667 }
21668
21669
21670 SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21671 PyObject *obj;
21672 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21673 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
21674 return SWIG_Py_Void();
21675 }
21676
21677 SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21678 return SWIG_Python_InitShadowInstance(args);
21679 }
21680
21681 SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21682 PyObject *resultobj = 0;
21683 wxWindow *arg1 = (wxWindow *) 0 ;
21684 int arg2 = (int) (int)-1 ;
21685 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21686 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21687 wxSize const &arg4_defvalue = wxDefaultSize ;
21688 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21689 long arg5 = (long) 0 ;
21690 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21691 wxString *arg6 = (wxString *) &arg6_defvalue ;
21692 wxPyPanel *result = 0 ;
21693 void *argp1 = 0 ;
21694 int res1 = 0 ;
21695 int val2 ;
21696 int ecode2 = 0 ;
21697 wxPoint temp3 ;
21698 wxSize temp4 ;
21699 long val5 ;
21700 int ecode5 = 0 ;
21701 bool temp6 = false ;
21702 PyObject * obj0 = 0 ;
21703 PyObject * obj1 = 0 ;
21704 PyObject * obj2 = 0 ;
21705 PyObject * obj3 = 0 ;
21706 PyObject * obj4 = 0 ;
21707 PyObject * obj5 = 0 ;
21708 char * kwnames[] = {
21709 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21710 };
21711
21712 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21713 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21714 if (!SWIG_IsOK(res1)) {
21715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
21716 }
21717 arg1 = reinterpret_cast< wxWindow * >(argp1);
21718 if (obj1) {
21719 ecode2 = SWIG_AsVal_int(obj1, &val2);
21720 if (!SWIG_IsOK(ecode2)) {
21721 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
21722 }
21723 arg2 = static_cast< int >(val2);
21724 }
21725 if (obj2) {
21726 {
21727 arg3 = &temp3;
21728 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21729 }
21730 }
21731 if (obj3) {
21732 {
21733 arg4 = &temp4;
21734 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21735 }
21736 }
21737 if (obj4) {
21738 ecode5 = SWIG_AsVal_long(obj4, &val5);
21739 if (!SWIG_IsOK(ecode5)) {
21740 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
21741 }
21742 arg5 = static_cast< long >(val5);
21743 }
21744 if (obj5) {
21745 {
21746 arg6 = wxString_in_helper(obj5);
21747 if (arg6 == NULL) SWIG_fail;
21748 temp6 = true;
21749 }
21750 }
21751 {
21752 if (!wxPyCheckForApp()) SWIG_fail;
21753 PyThreadState* __tstate = wxPyBeginAllowThreads();
21754 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21755 wxPyEndAllowThreads(__tstate);
21756 if (PyErr_Occurred()) SWIG_fail;
21757 }
21758 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
21759 {
21760 if (temp6)
21761 delete arg6;
21762 }
21763 return resultobj;
21764 fail:
21765 {
21766 if (temp6)
21767 delete arg6;
21768 }
21769 return NULL;
21770 }
21771
21772
21773 SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21774 PyObject *resultobj = 0;
21775 wxPyPanel *result = 0 ;
21776
21777 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
21778 {
21779 if (!wxPyCheckForApp()) SWIG_fail;
21780 PyThreadState* __tstate = wxPyBeginAllowThreads();
21781 result = (wxPyPanel *)new wxPyPanel();
21782 wxPyEndAllowThreads(__tstate);
21783 if (PyErr_Occurred()) SWIG_fail;
21784 }
21785 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
21786 return resultobj;
21787 fail:
21788 return NULL;
21789 }
21790
21791
21792 SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21793 PyObject *resultobj = 0;
21794 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
21795 PyObject *arg2 = (PyObject *) 0 ;
21796 PyObject *arg3 = (PyObject *) 0 ;
21797 void *argp1 = 0 ;
21798 int res1 = 0 ;
21799 PyObject * obj0 = 0 ;
21800 PyObject * obj1 = 0 ;
21801 PyObject * obj2 = 0 ;
21802 char * kwnames[] = {
21803 (char *) "self",(char *) "self",(char *) "_class", NULL
21804 };
21805
21806 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21807 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
21808 if (!SWIG_IsOK(res1)) {
21809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21810 }
21811 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
21812 arg2 = obj1;
21813 arg3 = obj2;
21814 {
21815 PyThreadState* __tstate = wxPyBeginAllowThreads();
21816 (arg1)->_setCallbackInfo(arg2,arg3);
21817 wxPyEndAllowThreads(__tstate);
21818 if (PyErr_Occurred()) SWIG_fail;
21819 }
21820 resultobj = SWIG_Py_Void();
21821 return resultobj;
21822 fail:
21823 return NULL;
21824 }
21825
21826
21827 SWIGINTERN PyObject *_wrap_PyPanel_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21828 PyObject *resultobj = 0;
21829 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
21830 wxSize *arg2 = 0 ;
21831 void *argp1 = 0 ;
21832 int res1 = 0 ;
21833 wxSize temp2 ;
21834 PyObject * obj0 = 0 ;
21835 PyObject * obj1 = 0 ;
21836 char * kwnames[] = {
21837 (char *) "self",(char *) "size", NULL
21838 };
21839
21840 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
21841 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
21842 if (!SWIG_IsOK(res1)) {
21843 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21844 }
21845 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
21846 {
21847 arg2 = &temp2;
21848 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21849 }
21850 {
21851 PyThreadState* __tstate = wxPyBeginAllowThreads();
21852 (arg1)->SetBestSize((wxSize const &)*arg2);
21853 wxPyEndAllowThreads(__tstate);
21854 if (PyErr_Occurred()) SWIG_fail;
21855 }
21856 resultobj = SWIG_Py_Void();
21857 return resultobj;
21858 fail:
21859 return NULL;
21860 }
21861
21862
21863 SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21864 PyObject *resultobj = 0;
21865 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
21866 wxDC *arg2 = (wxDC *) 0 ;
21867 bool result;
21868 void *argp1 = 0 ;
21869 int res1 = 0 ;
21870 void *argp2 = 0 ;
21871 int res2 = 0 ;
21872 PyObject * obj0 = 0 ;
21873 PyObject * obj1 = 0 ;
21874 char * kwnames[] = {
21875 (char *) "self",(char *) "dc", NULL
21876 };
21877
21878 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21879 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
21880 if (!SWIG_IsOK(res1)) {
21881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21882 }
21883 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
21884 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21885 if (!SWIG_IsOK(res2)) {
21886 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21887 }
21888 arg2 = reinterpret_cast< wxDC * >(argp2);
21889 {
21890 PyThreadState* __tstate = wxPyBeginAllowThreads();
21891 result = (bool)(arg1)->DoEraseBackground(arg2);
21892 wxPyEndAllowThreads(__tstate);
21893 if (PyErr_Occurred()) SWIG_fail;
21894 }
21895 {
21896 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21897 }
21898 return resultobj;
21899 fail:
21900 return NULL;
21901 }
21902
21903
21904 SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21905 PyObject *resultobj = 0;
21906 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
21907 int arg2 ;
21908 int arg3 ;
21909 int arg4 ;
21910 int arg5 ;
21911 void *argp1 = 0 ;
21912 int res1 = 0 ;
21913 int val2 ;
21914 int ecode2 = 0 ;
21915 int val3 ;
21916 int ecode3 = 0 ;
21917 int val4 ;
21918 int ecode4 = 0 ;
21919 int val5 ;
21920 int ecode5 = 0 ;
21921 PyObject * obj0 = 0 ;
21922 PyObject * obj1 = 0 ;
21923 PyObject * obj2 = 0 ;
21924 PyObject * obj3 = 0 ;
21925 PyObject * obj4 = 0 ;
21926 char * kwnames[] = {
21927 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21928 };
21929
21930 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21931 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
21932 if (!SWIG_IsOK(res1)) {
21933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21934 }
21935 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
21936 ecode2 = SWIG_AsVal_int(obj1, &val2);
21937 if (!SWIG_IsOK(ecode2)) {
21938 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21939 }
21940 arg2 = static_cast< int >(val2);
21941 ecode3 = SWIG_AsVal_int(obj2, &val3);
21942 if (!SWIG_IsOK(ecode3)) {
21943 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21944 }
21945 arg3 = static_cast< int >(val3);
21946 ecode4 = SWIG_AsVal_int(obj3, &val4);
21947 if (!SWIG_IsOK(ecode4)) {
21948 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21949 }
21950 arg4 = static_cast< int >(val4);
21951 ecode5 = SWIG_AsVal_int(obj4, &val5);
21952 if (!SWIG_IsOK(ecode5)) {
21953 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21954 }
21955 arg5 = static_cast< int >(val5);
21956 {
21957 PyThreadState* __tstate = wxPyBeginAllowThreads();
21958 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
21959 wxPyEndAllowThreads(__tstate);
21960 if (PyErr_Occurred()) SWIG_fail;
21961 }
21962 resultobj = SWIG_Py_Void();
21963 return resultobj;
21964 fail:
21965 return NULL;
21966 }
21967
21968
21969 SWIGINTERN PyObject *_wrap_PyPanel_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21970 PyObject *resultobj = 0;
21971 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
21972 int arg2 ;
21973 int arg3 ;
21974 int arg4 ;
21975 int arg5 ;
21976 int arg6 = (int) wxSIZE_AUTO ;
21977 void *argp1 = 0 ;
21978 int res1 = 0 ;
21979 int val2 ;
21980 int ecode2 = 0 ;
21981 int val3 ;
21982 int ecode3 = 0 ;
21983 int val4 ;
21984 int ecode4 = 0 ;
21985 int val5 ;
21986 int ecode5 = 0 ;
21987 int val6 ;
21988 int ecode6 = 0 ;
21989 PyObject * obj0 = 0 ;
21990 PyObject * obj1 = 0 ;
21991 PyObject * obj2 = 0 ;
21992 PyObject * obj3 = 0 ;
21993 PyObject * obj4 = 0 ;
21994 PyObject * obj5 = 0 ;
21995 char * kwnames[] = {
21996 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21997 };
21998
21999 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22000 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22001 if (!SWIG_IsOK(res1)) {
22002 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22003 }
22004 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22005 ecode2 = SWIG_AsVal_int(obj1, &val2);
22006 if (!SWIG_IsOK(ecode2)) {
22007 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22008 }
22009 arg2 = static_cast< int >(val2);
22010 ecode3 = SWIG_AsVal_int(obj2, &val3);
22011 if (!SWIG_IsOK(ecode3)) {
22012 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22013 }
22014 arg3 = static_cast< int >(val3);
22015 ecode4 = SWIG_AsVal_int(obj3, &val4);
22016 if (!SWIG_IsOK(ecode4)) {
22017 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22018 }
22019 arg4 = static_cast< int >(val4);
22020 ecode5 = SWIG_AsVal_int(obj4, &val5);
22021 if (!SWIG_IsOK(ecode5)) {
22022 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22023 }
22024 arg5 = static_cast< int >(val5);
22025 if (obj5) {
22026 ecode6 = SWIG_AsVal_int(obj5, &val6);
22027 if (!SWIG_IsOK(ecode6)) {
22028 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22029 }
22030 arg6 = static_cast< int >(val6);
22031 }
22032 {
22033 PyThreadState* __tstate = wxPyBeginAllowThreads();
22034 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22035 wxPyEndAllowThreads(__tstate);
22036 if (PyErr_Occurred()) SWIG_fail;
22037 }
22038 resultobj = SWIG_Py_Void();
22039 return resultobj;
22040 fail:
22041 return NULL;
22042 }
22043
22044
22045 SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22046 PyObject *resultobj = 0;
22047 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22048 int arg2 ;
22049 int arg3 ;
22050 void *argp1 = 0 ;
22051 int res1 = 0 ;
22052 int val2 ;
22053 int ecode2 = 0 ;
22054 int val3 ;
22055 int ecode3 = 0 ;
22056 PyObject * obj0 = 0 ;
22057 PyObject * obj1 = 0 ;
22058 PyObject * obj2 = 0 ;
22059 char * kwnames[] = {
22060 (char *) "self",(char *) "width",(char *) "height", NULL
22061 };
22062
22063 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22064 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22065 if (!SWIG_IsOK(res1)) {
22066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22067 }
22068 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22069 ecode2 = SWIG_AsVal_int(obj1, &val2);
22070 if (!SWIG_IsOK(ecode2)) {
22071 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22072 }
22073 arg2 = static_cast< int >(val2);
22074 ecode3 = SWIG_AsVal_int(obj2, &val3);
22075 if (!SWIG_IsOK(ecode3)) {
22076 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22077 }
22078 arg3 = static_cast< int >(val3);
22079 {
22080 PyThreadState* __tstate = wxPyBeginAllowThreads();
22081 (arg1)->DoSetClientSize(arg2,arg3);
22082 wxPyEndAllowThreads(__tstate);
22083 if (PyErr_Occurred()) SWIG_fail;
22084 }
22085 resultobj = SWIG_Py_Void();
22086 return resultobj;
22087 fail:
22088 return NULL;
22089 }
22090
22091
22092 SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22093 PyObject *resultobj = 0;
22094 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22095 int arg2 ;
22096 int arg3 ;
22097 void *argp1 = 0 ;
22098 int res1 = 0 ;
22099 int val2 ;
22100 int ecode2 = 0 ;
22101 int val3 ;
22102 int ecode3 = 0 ;
22103 PyObject * obj0 = 0 ;
22104 PyObject * obj1 = 0 ;
22105 PyObject * obj2 = 0 ;
22106 char * kwnames[] = {
22107 (char *) "self",(char *) "x",(char *) "y", NULL
22108 };
22109
22110 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22111 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22112 if (!SWIG_IsOK(res1)) {
22113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22114 }
22115 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22116 ecode2 = SWIG_AsVal_int(obj1, &val2);
22117 if (!SWIG_IsOK(ecode2)) {
22118 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22119 }
22120 arg2 = static_cast< int >(val2);
22121 ecode3 = SWIG_AsVal_int(obj2, &val3);
22122 if (!SWIG_IsOK(ecode3)) {
22123 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22124 }
22125 arg3 = static_cast< int >(val3);
22126 {
22127 PyThreadState* __tstate = wxPyBeginAllowThreads();
22128 (arg1)->DoSetVirtualSize(arg2,arg3);
22129 wxPyEndAllowThreads(__tstate);
22130 if (PyErr_Occurred()) SWIG_fail;
22131 }
22132 resultobj = SWIG_Py_Void();
22133 return resultobj;
22134 fail:
22135 return NULL;
22136 }
22137
22138
22139 SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22140 PyObject *resultobj = 0;
22141 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22142 int *arg2 = (int *) 0 ;
22143 int *arg3 = (int *) 0 ;
22144 void *argp1 = 0 ;
22145 int res1 = 0 ;
22146 int temp2 ;
22147 int res2 = SWIG_TMPOBJ ;
22148 int temp3 ;
22149 int res3 = SWIG_TMPOBJ ;
22150 PyObject *swig_obj[1] ;
22151
22152 arg2 = &temp2;
22153 arg3 = &temp3;
22154 if (!args) SWIG_fail;
22155 swig_obj[0] = args;
22156 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22157 if (!SWIG_IsOK(res1)) {
22158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22159 }
22160 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22161 {
22162 PyThreadState* __tstate = wxPyBeginAllowThreads();
22163 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
22164 wxPyEndAllowThreads(__tstate);
22165 if (PyErr_Occurred()) SWIG_fail;
22166 }
22167 resultobj = SWIG_Py_Void();
22168 if (SWIG_IsTmpObj(res2)) {
22169 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22170 } else {
22171 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22172 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22173 }
22174 if (SWIG_IsTmpObj(res3)) {
22175 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22176 } else {
22177 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22178 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22179 }
22180 return resultobj;
22181 fail:
22182 return NULL;
22183 }
22184
22185
22186 SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22187 PyObject *resultobj = 0;
22188 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22189 int *arg2 = (int *) 0 ;
22190 int *arg3 = (int *) 0 ;
22191 void *argp1 = 0 ;
22192 int res1 = 0 ;
22193 int temp2 ;
22194 int res2 = SWIG_TMPOBJ ;
22195 int temp3 ;
22196 int res3 = SWIG_TMPOBJ ;
22197 PyObject *swig_obj[1] ;
22198
22199 arg2 = &temp2;
22200 arg3 = &temp3;
22201 if (!args) SWIG_fail;
22202 swig_obj[0] = args;
22203 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22204 if (!SWIG_IsOK(res1)) {
22205 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22206 }
22207 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22208 {
22209 PyThreadState* __tstate = wxPyBeginAllowThreads();
22210 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
22211 wxPyEndAllowThreads(__tstate);
22212 if (PyErr_Occurred()) SWIG_fail;
22213 }
22214 resultobj = SWIG_Py_Void();
22215 if (SWIG_IsTmpObj(res2)) {
22216 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22217 } else {
22218 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22219 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22220 }
22221 if (SWIG_IsTmpObj(res3)) {
22222 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22223 } else {
22224 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22225 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22226 }
22227 return resultobj;
22228 fail:
22229 return NULL;
22230 }
22231
22232
22233 SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22234 PyObject *resultobj = 0;
22235 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22236 int *arg2 = (int *) 0 ;
22237 int *arg3 = (int *) 0 ;
22238 void *argp1 = 0 ;
22239 int res1 = 0 ;
22240 int temp2 ;
22241 int res2 = SWIG_TMPOBJ ;
22242 int temp3 ;
22243 int res3 = SWIG_TMPOBJ ;
22244 PyObject *swig_obj[1] ;
22245
22246 arg2 = &temp2;
22247 arg3 = &temp3;
22248 if (!args) SWIG_fail;
22249 swig_obj[0] = args;
22250 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22251 if (!SWIG_IsOK(res1)) {
22252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22253 }
22254 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22255 {
22256 PyThreadState* __tstate = wxPyBeginAllowThreads();
22257 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
22258 wxPyEndAllowThreads(__tstate);
22259 if (PyErr_Occurred()) SWIG_fail;
22260 }
22261 resultobj = SWIG_Py_Void();
22262 if (SWIG_IsTmpObj(res2)) {
22263 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22264 } else {
22265 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22266 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22267 }
22268 if (SWIG_IsTmpObj(res3)) {
22269 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22270 } else {
22271 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22272 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22273 }
22274 return resultobj;
22275 fail:
22276 return NULL;
22277 }
22278
22279
22280 SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22281 PyObject *resultobj = 0;
22282 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22283 wxSize result;
22284 void *argp1 = 0 ;
22285 int res1 = 0 ;
22286 PyObject *swig_obj[1] ;
22287
22288 if (!args) SWIG_fail;
22289 swig_obj[0] = args;
22290 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22291 if (!SWIG_IsOK(res1)) {
22292 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22293 }
22294 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22295 {
22296 PyThreadState* __tstate = wxPyBeginAllowThreads();
22297 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
22298 wxPyEndAllowThreads(__tstate);
22299 if (PyErr_Occurred()) SWIG_fail;
22300 }
22301 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22302 return resultobj;
22303 fail:
22304 return NULL;
22305 }
22306
22307
22308 SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22309 PyObject *resultobj = 0;
22310 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22311 wxSize result;
22312 void *argp1 = 0 ;
22313 int res1 = 0 ;
22314 PyObject *swig_obj[1] ;
22315
22316 if (!args) SWIG_fail;
22317 swig_obj[0] = args;
22318 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22319 if (!SWIG_IsOK(res1)) {
22320 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22321 }
22322 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22323 {
22324 PyThreadState* __tstate = wxPyBeginAllowThreads();
22325 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
22326 wxPyEndAllowThreads(__tstate);
22327 if (PyErr_Occurred()) SWIG_fail;
22328 }
22329 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22330 return resultobj;
22331 fail:
22332 return NULL;
22333 }
22334
22335
22336 SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22337 PyObject *resultobj = 0;
22338 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22339 SwigValueWrapper<wxVisualAttributes > result;
22340 void *argp1 = 0 ;
22341 int res1 = 0 ;
22342 PyObject *swig_obj[1] ;
22343
22344 if (!args) SWIG_fail;
22345 swig_obj[0] = args;
22346 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22347 if (!SWIG_IsOK(res1)) {
22348 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22349 }
22350 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22351 {
22352 PyThreadState* __tstate = wxPyBeginAllowThreads();
22353 result = (arg1)->GetDefaultAttributes();
22354 wxPyEndAllowThreads(__tstate);
22355 if (PyErr_Occurred()) SWIG_fail;
22356 }
22357 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22358 return resultobj;
22359 fail:
22360 return NULL;
22361 }
22362
22363
22364 SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22365 PyObject *resultobj = 0;
22366 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22367 void *argp1 = 0 ;
22368 int res1 = 0 ;
22369 PyObject *swig_obj[1] ;
22370
22371 if (!args) SWIG_fail;
22372 swig_obj[0] = args;
22373 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22374 if (!SWIG_IsOK(res1)) {
22375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22376 }
22377 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22378 {
22379 PyThreadState* __tstate = wxPyBeginAllowThreads();
22380 (arg1)->OnInternalIdle();
22381 wxPyEndAllowThreads(__tstate);
22382 if (PyErr_Occurred()) SWIG_fail;
22383 }
22384 resultobj = SWIG_Py_Void();
22385 return resultobj;
22386 fail:
22387 return NULL;
22388 }
22389
22390
22391 SWIGINTERN PyObject *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22392 PyObject *obj;
22393 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22394 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
22395 return SWIG_Py_Void();
22396 }
22397
22398 SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22399 return SWIG_Python_InitShadowInstance(args);
22400 }
22401
22402 SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22403 PyObject *resultobj = 0;
22404 wxWindow *arg1 = (wxWindow *) 0 ;
22405 int arg2 = (int) (int)-1 ;
22406 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22407 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22408 wxSize const &arg4_defvalue = wxDefaultSize ;
22409 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22410 long arg5 = (long) 0 ;
22411 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22412 wxString *arg6 = (wxString *) &arg6_defvalue ;
22413 wxPyScrolledWindow *result = 0 ;
22414 void *argp1 = 0 ;
22415 int res1 = 0 ;
22416 int val2 ;
22417 int ecode2 = 0 ;
22418 wxPoint temp3 ;
22419 wxSize temp4 ;
22420 long val5 ;
22421 int ecode5 = 0 ;
22422 bool temp6 = false ;
22423 PyObject * obj0 = 0 ;
22424 PyObject * obj1 = 0 ;
22425 PyObject * obj2 = 0 ;
22426 PyObject * obj3 = 0 ;
22427 PyObject * obj4 = 0 ;
22428 PyObject * obj5 = 0 ;
22429 char * kwnames[] = {
22430 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22431 };
22432
22433 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22434 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22435 if (!SWIG_IsOK(res1)) {
22436 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22437 }
22438 arg1 = reinterpret_cast< wxWindow * >(argp1);
22439 if (obj1) {
22440 ecode2 = SWIG_AsVal_int(obj1, &val2);
22441 if (!SWIG_IsOK(ecode2)) {
22442 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22443 }
22444 arg2 = static_cast< int >(val2);
22445 }
22446 if (obj2) {
22447 {
22448 arg3 = &temp3;
22449 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22450 }
22451 }
22452 if (obj3) {
22453 {
22454 arg4 = &temp4;
22455 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22456 }
22457 }
22458 if (obj4) {
22459 ecode5 = SWIG_AsVal_long(obj4, &val5);
22460 if (!SWIG_IsOK(ecode5)) {
22461 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22462 }
22463 arg5 = static_cast< long >(val5);
22464 }
22465 if (obj5) {
22466 {
22467 arg6 = wxString_in_helper(obj5);
22468 if (arg6 == NULL) SWIG_fail;
22469 temp6 = true;
22470 }
22471 }
22472 {
22473 if (!wxPyCheckForApp()) SWIG_fail;
22474 PyThreadState* __tstate = wxPyBeginAllowThreads();
22475 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22476 wxPyEndAllowThreads(__tstate);
22477 if (PyErr_Occurred()) SWIG_fail;
22478 }
22479 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
22480 {
22481 if (temp6)
22482 delete arg6;
22483 }
22484 return resultobj;
22485 fail:
22486 {
22487 if (temp6)
22488 delete arg6;
22489 }
22490 return NULL;
22491 }
22492
22493
22494 SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22495 PyObject *resultobj = 0;
22496 wxPyScrolledWindow *result = 0 ;
22497
22498 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
22499 {
22500 if (!wxPyCheckForApp()) SWIG_fail;
22501 PyThreadState* __tstate = wxPyBeginAllowThreads();
22502 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
22503 wxPyEndAllowThreads(__tstate);
22504 if (PyErr_Occurred()) SWIG_fail;
22505 }
22506 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
22507 return resultobj;
22508 fail:
22509 return NULL;
22510 }
22511
22512
22513 SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22514 PyObject *resultobj = 0;
22515 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22516 PyObject *arg2 = (PyObject *) 0 ;
22517 PyObject *arg3 = (PyObject *) 0 ;
22518 void *argp1 = 0 ;
22519 int res1 = 0 ;
22520 PyObject * obj0 = 0 ;
22521 PyObject * obj1 = 0 ;
22522 PyObject * obj2 = 0 ;
22523 char * kwnames[] = {
22524 (char *) "self",(char *) "self",(char *) "_class", NULL
22525 };
22526
22527 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22528 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22529 if (!SWIG_IsOK(res1)) {
22530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22531 }
22532 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22533 arg2 = obj1;
22534 arg3 = obj2;
22535 {
22536 PyThreadState* __tstate = wxPyBeginAllowThreads();
22537 (arg1)->_setCallbackInfo(arg2,arg3);
22538 wxPyEndAllowThreads(__tstate);
22539 if (PyErr_Occurred()) SWIG_fail;
22540 }
22541 resultobj = SWIG_Py_Void();
22542 return resultobj;
22543 fail:
22544 return NULL;
22545 }
22546
22547
22548 SWIGINTERN PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22549 PyObject *resultobj = 0;
22550 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22551 wxSize *arg2 = 0 ;
22552 void *argp1 = 0 ;
22553 int res1 = 0 ;
22554 wxSize temp2 ;
22555 PyObject * obj0 = 0 ;
22556 PyObject * obj1 = 0 ;
22557 char * kwnames[] = {
22558 (char *) "self",(char *) "size", NULL
22559 };
22560
22561 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
22562 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22563 if (!SWIG_IsOK(res1)) {
22564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22565 }
22566 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22567 {
22568 arg2 = &temp2;
22569 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22570 }
22571 {
22572 PyThreadState* __tstate = wxPyBeginAllowThreads();
22573 (arg1)->SetBestSize((wxSize const &)*arg2);
22574 wxPyEndAllowThreads(__tstate);
22575 if (PyErr_Occurred()) SWIG_fail;
22576 }
22577 resultobj = SWIG_Py_Void();
22578 return resultobj;
22579 fail:
22580 return NULL;
22581 }
22582
22583
22584 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22585 PyObject *resultobj = 0;
22586 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22587 wxDC *arg2 = (wxDC *) 0 ;
22588 bool result;
22589 void *argp1 = 0 ;
22590 int res1 = 0 ;
22591 void *argp2 = 0 ;
22592 int res2 = 0 ;
22593 PyObject * obj0 = 0 ;
22594 PyObject * obj1 = 0 ;
22595 char * kwnames[] = {
22596 (char *) "self",(char *) "dc", NULL
22597 };
22598
22599 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22600 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22601 if (!SWIG_IsOK(res1)) {
22602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22603 }
22604 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22605 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22606 if (!SWIG_IsOK(res2)) {
22607 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22608 }
22609 arg2 = reinterpret_cast< wxDC * >(argp2);
22610 {
22611 PyThreadState* __tstate = wxPyBeginAllowThreads();
22612 result = (bool)(arg1)->DoEraseBackground(arg2);
22613 wxPyEndAllowThreads(__tstate);
22614 if (PyErr_Occurred()) SWIG_fail;
22615 }
22616 {
22617 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22618 }
22619 return resultobj;
22620 fail:
22621 return NULL;
22622 }
22623
22624
22625 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22626 PyObject *resultobj = 0;
22627 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22628 int arg2 ;
22629 int arg3 ;
22630 int arg4 ;
22631 int arg5 ;
22632 void *argp1 = 0 ;
22633 int res1 = 0 ;
22634 int val2 ;
22635 int ecode2 = 0 ;
22636 int val3 ;
22637 int ecode3 = 0 ;
22638 int val4 ;
22639 int ecode4 = 0 ;
22640 int val5 ;
22641 int ecode5 = 0 ;
22642 PyObject * obj0 = 0 ;
22643 PyObject * obj1 = 0 ;
22644 PyObject * obj2 = 0 ;
22645 PyObject * obj3 = 0 ;
22646 PyObject * obj4 = 0 ;
22647 char * kwnames[] = {
22648 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22649 };
22650
22651 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22652 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22653 if (!SWIG_IsOK(res1)) {
22654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22655 }
22656 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22657 ecode2 = SWIG_AsVal_int(obj1, &val2);
22658 if (!SWIG_IsOK(ecode2)) {
22659 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22660 }
22661 arg2 = static_cast< int >(val2);
22662 ecode3 = SWIG_AsVal_int(obj2, &val3);
22663 if (!SWIG_IsOK(ecode3)) {
22664 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22665 }
22666 arg3 = static_cast< int >(val3);
22667 ecode4 = SWIG_AsVal_int(obj3, &val4);
22668 if (!SWIG_IsOK(ecode4)) {
22669 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22670 }
22671 arg4 = static_cast< int >(val4);
22672 ecode5 = SWIG_AsVal_int(obj4, &val5);
22673 if (!SWIG_IsOK(ecode5)) {
22674 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22675 }
22676 arg5 = static_cast< int >(val5);
22677 {
22678 PyThreadState* __tstate = wxPyBeginAllowThreads();
22679 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22680 wxPyEndAllowThreads(__tstate);
22681 if (PyErr_Occurred()) SWIG_fail;
22682 }
22683 resultobj = SWIG_Py_Void();
22684 return resultobj;
22685 fail:
22686 return NULL;
22687 }
22688
22689
22690 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22691 PyObject *resultobj = 0;
22692 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22693 int arg2 ;
22694 int arg3 ;
22695 int arg4 ;
22696 int arg5 ;
22697 int arg6 = (int) wxSIZE_AUTO ;
22698 void *argp1 = 0 ;
22699 int res1 = 0 ;
22700 int val2 ;
22701 int ecode2 = 0 ;
22702 int val3 ;
22703 int ecode3 = 0 ;
22704 int val4 ;
22705 int ecode4 = 0 ;
22706 int val5 ;
22707 int ecode5 = 0 ;
22708 int val6 ;
22709 int ecode6 = 0 ;
22710 PyObject * obj0 = 0 ;
22711 PyObject * obj1 = 0 ;
22712 PyObject * obj2 = 0 ;
22713 PyObject * obj3 = 0 ;
22714 PyObject * obj4 = 0 ;
22715 PyObject * obj5 = 0 ;
22716 char * kwnames[] = {
22717 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22718 };
22719
22720 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22721 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22722 if (!SWIG_IsOK(res1)) {
22723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22724 }
22725 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22726 ecode2 = SWIG_AsVal_int(obj1, &val2);
22727 if (!SWIG_IsOK(ecode2)) {
22728 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22729 }
22730 arg2 = static_cast< int >(val2);
22731 ecode3 = SWIG_AsVal_int(obj2, &val3);
22732 if (!SWIG_IsOK(ecode3)) {
22733 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22734 }
22735 arg3 = static_cast< int >(val3);
22736 ecode4 = SWIG_AsVal_int(obj3, &val4);
22737 if (!SWIG_IsOK(ecode4)) {
22738 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22739 }
22740 arg4 = static_cast< int >(val4);
22741 ecode5 = SWIG_AsVal_int(obj4, &val5);
22742 if (!SWIG_IsOK(ecode5)) {
22743 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22744 }
22745 arg5 = static_cast< int >(val5);
22746 if (obj5) {
22747 ecode6 = SWIG_AsVal_int(obj5, &val6);
22748 if (!SWIG_IsOK(ecode6)) {
22749 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22750 }
22751 arg6 = static_cast< int >(val6);
22752 }
22753 {
22754 PyThreadState* __tstate = wxPyBeginAllowThreads();
22755 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22756 wxPyEndAllowThreads(__tstate);
22757 if (PyErr_Occurred()) SWIG_fail;
22758 }
22759 resultobj = SWIG_Py_Void();
22760 return resultobj;
22761 fail:
22762 return NULL;
22763 }
22764
22765
22766 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22767 PyObject *resultobj = 0;
22768 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22769 int arg2 ;
22770 int arg3 ;
22771 void *argp1 = 0 ;
22772 int res1 = 0 ;
22773 int val2 ;
22774 int ecode2 = 0 ;
22775 int val3 ;
22776 int ecode3 = 0 ;
22777 PyObject * obj0 = 0 ;
22778 PyObject * obj1 = 0 ;
22779 PyObject * obj2 = 0 ;
22780 char * kwnames[] = {
22781 (char *) "self",(char *) "width",(char *) "height", NULL
22782 };
22783
22784 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22785 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22786 if (!SWIG_IsOK(res1)) {
22787 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22788 }
22789 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22790 ecode2 = SWIG_AsVal_int(obj1, &val2);
22791 if (!SWIG_IsOK(ecode2)) {
22792 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22793 }
22794 arg2 = static_cast< int >(val2);
22795 ecode3 = SWIG_AsVal_int(obj2, &val3);
22796 if (!SWIG_IsOK(ecode3)) {
22797 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22798 }
22799 arg3 = static_cast< int >(val3);
22800 {
22801 PyThreadState* __tstate = wxPyBeginAllowThreads();
22802 (arg1)->DoSetClientSize(arg2,arg3);
22803 wxPyEndAllowThreads(__tstate);
22804 if (PyErr_Occurred()) SWIG_fail;
22805 }
22806 resultobj = SWIG_Py_Void();
22807 return resultobj;
22808 fail:
22809 return NULL;
22810 }
22811
22812
22813 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22814 PyObject *resultobj = 0;
22815 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22816 int arg2 ;
22817 int arg3 ;
22818 void *argp1 = 0 ;
22819 int res1 = 0 ;
22820 int val2 ;
22821 int ecode2 = 0 ;
22822 int val3 ;
22823 int ecode3 = 0 ;
22824 PyObject * obj0 = 0 ;
22825 PyObject * obj1 = 0 ;
22826 PyObject * obj2 = 0 ;
22827 char * kwnames[] = {
22828 (char *) "self",(char *) "x",(char *) "y", NULL
22829 };
22830
22831 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22832 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22833 if (!SWIG_IsOK(res1)) {
22834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22835 }
22836 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22837 ecode2 = SWIG_AsVal_int(obj1, &val2);
22838 if (!SWIG_IsOK(ecode2)) {
22839 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22840 }
22841 arg2 = static_cast< int >(val2);
22842 ecode3 = SWIG_AsVal_int(obj2, &val3);
22843 if (!SWIG_IsOK(ecode3)) {
22844 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22845 }
22846 arg3 = static_cast< int >(val3);
22847 {
22848 PyThreadState* __tstate = wxPyBeginAllowThreads();
22849 (arg1)->DoSetVirtualSize(arg2,arg3);
22850 wxPyEndAllowThreads(__tstate);
22851 if (PyErr_Occurred()) SWIG_fail;
22852 }
22853 resultobj = SWIG_Py_Void();
22854 return resultobj;
22855 fail:
22856 return NULL;
22857 }
22858
22859
22860 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22861 PyObject *resultobj = 0;
22862 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22863 int *arg2 = (int *) 0 ;
22864 int *arg3 = (int *) 0 ;
22865 void *argp1 = 0 ;
22866 int res1 = 0 ;
22867 int temp2 ;
22868 int res2 = SWIG_TMPOBJ ;
22869 int temp3 ;
22870 int res3 = SWIG_TMPOBJ ;
22871 PyObject *swig_obj[1] ;
22872
22873 arg2 = &temp2;
22874 arg3 = &temp3;
22875 if (!args) SWIG_fail;
22876 swig_obj[0] = args;
22877 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22878 if (!SWIG_IsOK(res1)) {
22879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22880 }
22881 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22882 {
22883 PyThreadState* __tstate = wxPyBeginAllowThreads();
22884 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
22885 wxPyEndAllowThreads(__tstate);
22886 if (PyErr_Occurred()) SWIG_fail;
22887 }
22888 resultobj = SWIG_Py_Void();
22889 if (SWIG_IsTmpObj(res2)) {
22890 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22891 } else {
22892 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22893 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22894 }
22895 if (SWIG_IsTmpObj(res3)) {
22896 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22897 } else {
22898 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22899 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22900 }
22901 return resultobj;
22902 fail:
22903 return NULL;
22904 }
22905
22906
22907 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22908 PyObject *resultobj = 0;
22909 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22910 int *arg2 = (int *) 0 ;
22911 int *arg3 = (int *) 0 ;
22912 void *argp1 = 0 ;
22913 int res1 = 0 ;
22914 int temp2 ;
22915 int res2 = SWIG_TMPOBJ ;
22916 int temp3 ;
22917 int res3 = SWIG_TMPOBJ ;
22918 PyObject *swig_obj[1] ;
22919
22920 arg2 = &temp2;
22921 arg3 = &temp3;
22922 if (!args) SWIG_fail;
22923 swig_obj[0] = args;
22924 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22925 if (!SWIG_IsOK(res1)) {
22926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22927 }
22928 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22929 {
22930 PyThreadState* __tstate = wxPyBeginAllowThreads();
22931 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
22932 wxPyEndAllowThreads(__tstate);
22933 if (PyErr_Occurred()) SWIG_fail;
22934 }
22935 resultobj = SWIG_Py_Void();
22936 if (SWIG_IsTmpObj(res2)) {
22937 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22938 } else {
22939 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22940 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22941 }
22942 if (SWIG_IsTmpObj(res3)) {
22943 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22944 } else {
22945 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22946 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22947 }
22948 return resultobj;
22949 fail:
22950 return NULL;
22951 }
22952
22953
22954 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22955 PyObject *resultobj = 0;
22956 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22957 int *arg2 = (int *) 0 ;
22958 int *arg3 = (int *) 0 ;
22959 void *argp1 = 0 ;
22960 int res1 = 0 ;
22961 int temp2 ;
22962 int res2 = SWIG_TMPOBJ ;
22963 int temp3 ;
22964 int res3 = SWIG_TMPOBJ ;
22965 PyObject *swig_obj[1] ;
22966
22967 arg2 = &temp2;
22968 arg3 = &temp3;
22969 if (!args) SWIG_fail;
22970 swig_obj[0] = args;
22971 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22972 if (!SWIG_IsOK(res1)) {
22973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22974 }
22975 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22976 {
22977 PyThreadState* __tstate = wxPyBeginAllowThreads();
22978 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
22979 wxPyEndAllowThreads(__tstate);
22980 if (PyErr_Occurred()) SWIG_fail;
22981 }
22982 resultobj = SWIG_Py_Void();
22983 if (SWIG_IsTmpObj(res2)) {
22984 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22985 } else {
22986 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22987 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22988 }
22989 if (SWIG_IsTmpObj(res3)) {
22990 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22991 } else {
22992 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22993 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22994 }
22995 return resultobj;
22996 fail:
22997 return NULL;
22998 }
22999
23000
23001 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23002 PyObject *resultobj = 0;
23003 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23004 wxSize result;
23005 void *argp1 = 0 ;
23006 int res1 = 0 ;
23007 PyObject *swig_obj[1] ;
23008
23009 if (!args) SWIG_fail;
23010 swig_obj[0] = args;
23011 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23012 if (!SWIG_IsOK(res1)) {
23013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23014 }
23015 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23016 {
23017 PyThreadState* __tstate = wxPyBeginAllowThreads();
23018 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
23019 wxPyEndAllowThreads(__tstate);
23020 if (PyErr_Occurred()) SWIG_fail;
23021 }
23022 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23023 return resultobj;
23024 fail:
23025 return NULL;
23026 }
23027
23028
23029 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23030 PyObject *resultobj = 0;
23031 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23032 wxSize result;
23033 void *argp1 = 0 ;
23034 int res1 = 0 ;
23035 PyObject *swig_obj[1] ;
23036
23037 if (!args) SWIG_fail;
23038 swig_obj[0] = args;
23039 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23040 if (!SWIG_IsOK(res1)) {
23041 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23042 }
23043 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23044 {
23045 PyThreadState* __tstate = wxPyBeginAllowThreads();
23046 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
23047 wxPyEndAllowThreads(__tstate);
23048 if (PyErr_Occurred()) SWIG_fail;
23049 }
23050 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23051 return resultobj;
23052 fail:
23053 return NULL;
23054 }
23055
23056
23057 SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23058 PyObject *resultobj = 0;
23059 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23060 SwigValueWrapper<wxVisualAttributes > result;
23061 void *argp1 = 0 ;
23062 int res1 = 0 ;
23063 PyObject *swig_obj[1] ;
23064
23065 if (!args) SWIG_fail;
23066 swig_obj[0] = args;
23067 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23068 if (!SWIG_IsOK(res1)) {
23069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23070 }
23071 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23072 {
23073 PyThreadState* __tstate = wxPyBeginAllowThreads();
23074 result = (arg1)->GetDefaultAttributes();
23075 wxPyEndAllowThreads(__tstate);
23076 if (PyErr_Occurred()) SWIG_fail;
23077 }
23078 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
23079 return resultobj;
23080 fail:
23081 return NULL;
23082 }
23083
23084
23085 SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23086 PyObject *resultobj = 0;
23087 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23088 void *argp1 = 0 ;
23089 int res1 = 0 ;
23090 PyObject *swig_obj[1] ;
23091
23092 if (!args) SWIG_fail;
23093 swig_obj[0] = args;
23094 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23095 if (!SWIG_IsOK(res1)) {
23096 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23097 }
23098 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23099 {
23100 PyThreadState* __tstate = wxPyBeginAllowThreads();
23101 (arg1)->OnInternalIdle();
23102 wxPyEndAllowThreads(__tstate);
23103 if (PyErr_Occurred()) SWIG_fail;
23104 }
23105 resultobj = SWIG_Py_Void();
23106 return resultobj;
23107 fail:
23108 return NULL;
23109 }
23110
23111
23112 SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23113 PyObject *obj;
23114 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23115 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
23116 return SWIG_Py_Void();
23117 }
23118
23119 SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23120 return SWIG_Python_InitShadowInstance(args);
23121 }
23122
23123 SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
23124 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
23125 return 1;
23126 }
23127
23128
23129 SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
23130 PyObject *pyobj = 0;
23131
23132 {
23133 #if wxUSE_UNICODE
23134 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23135 #else
23136 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23137 #endif
23138 }
23139 return pyobj;
23140 }
23141
23142
23143 SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
23144 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
23145 return 1;
23146 }
23147
23148
23149 SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
23150 PyObject *pyobj = 0;
23151
23152 {
23153 #if wxUSE_UNICODE
23154 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23155 #else
23156 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23157 #endif
23158 }
23159 return pyobj;
23160 }
23161
23162
23163 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
23164 PyObject *resultobj = 0;
23165 wxPrintData *result = 0 ;
23166
23167 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
23168 {
23169 PyThreadState* __tstate = wxPyBeginAllowThreads();
23170 result = (wxPrintData *)new wxPrintData();
23171 wxPyEndAllowThreads(__tstate);
23172 if (PyErr_Occurred()) SWIG_fail;
23173 }
23174 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23175 return resultobj;
23176 fail:
23177 return NULL;
23178 }
23179
23180
23181 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
23182 PyObject *resultobj = 0;
23183 wxPrintData *arg1 = 0 ;
23184 wxPrintData *result = 0 ;
23185 void *argp1 = 0 ;
23186 int res1 = 0 ;
23187
23188 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
23189 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
23190 if (!SWIG_IsOK(res1)) {
23191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23192 }
23193 if (!argp1) {
23194 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23195 }
23196 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23197 {
23198 PyThreadState* __tstate = wxPyBeginAllowThreads();
23199 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
23200 wxPyEndAllowThreads(__tstate);
23201 if (PyErr_Occurred()) SWIG_fail;
23202 }
23203 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23204 return resultobj;
23205 fail:
23206 return NULL;
23207 }
23208
23209
23210 SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
23211 int argc;
23212 PyObject *argv[2];
23213
23214 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
23215 --argc;
23216 if (argc == 0) {
23217 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
23218 }
23219 if (argc == 1) {
23220 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
23221 }
23222
23223 fail:
23224 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
23225 return NULL;
23226 }
23227
23228
23229 SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23230 PyObject *resultobj = 0;
23231 wxPrintData *arg1 = (wxPrintData *) 0 ;
23232 void *argp1 = 0 ;
23233 int res1 = 0 ;
23234 PyObject *swig_obj[1] ;
23235
23236 if (!args) SWIG_fail;
23237 swig_obj[0] = args;
23238 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
23239 if (!SWIG_IsOK(res1)) {
23240 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23241 }
23242 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23243 {
23244 PyThreadState* __tstate = wxPyBeginAllowThreads();
23245 delete arg1;
23246
23247 wxPyEndAllowThreads(__tstate);
23248 if (PyErr_Occurred()) SWIG_fail;
23249 }
23250 resultobj = SWIG_Py_Void();
23251 return resultobj;
23252 fail:
23253 return NULL;
23254 }
23255
23256
23257 SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23258 PyObject *resultobj = 0;
23259 wxPrintData *arg1 = (wxPrintData *) 0 ;
23260 int result;
23261 void *argp1 = 0 ;
23262 int res1 = 0 ;
23263 PyObject *swig_obj[1] ;
23264
23265 if (!args) SWIG_fail;
23266 swig_obj[0] = args;
23267 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23268 if (!SWIG_IsOK(res1)) {
23269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23270 }
23271 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23272 {
23273 PyThreadState* __tstate = wxPyBeginAllowThreads();
23274 result = (int)(arg1)->GetNoCopies();
23275 wxPyEndAllowThreads(__tstate);
23276 if (PyErr_Occurred()) SWIG_fail;
23277 }
23278 resultobj = SWIG_From_int(static_cast< int >(result));
23279 return resultobj;
23280 fail:
23281 return NULL;
23282 }
23283
23284
23285 SWIGINTERN PyObject *_wrap_PrintData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23286 PyObject *resultobj = 0;
23287 wxPrintData *arg1 = (wxPrintData *) 0 ;
23288 bool result;
23289 void *argp1 = 0 ;
23290 int res1 = 0 ;
23291 PyObject *swig_obj[1] ;
23292
23293 if (!args) SWIG_fail;
23294 swig_obj[0] = args;
23295 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23296 if (!SWIG_IsOK(res1)) {
23297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23298 }
23299 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23300 {
23301 PyThreadState* __tstate = wxPyBeginAllowThreads();
23302 result = (bool)(arg1)->GetCollate();
23303 wxPyEndAllowThreads(__tstate);
23304 if (PyErr_Occurred()) SWIG_fail;
23305 }
23306 {
23307 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23308 }
23309 return resultobj;
23310 fail:
23311 return NULL;
23312 }
23313
23314
23315 SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23316 PyObject *resultobj = 0;
23317 wxPrintData *arg1 = (wxPrintData *) 0 ;
23318 int result;
23319 void *argp1 = 0 ;
23320 int res1 = 0 ;
23321 PyObject *swig_obj[1] ;
23322
23323 if (!args) SWIG_fail;
23324 swig_obj[0] = args;
23325 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23326 if (!SWIG_IsOK(res1)) {
23327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23328 }
23329 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23330 {
23331 PyThreadState* __tstate = wxPyBeginAllowThreads();
23332 result = (int)(arg1)->GetOrientation();
23333 wxPyEndAllowThreads(__tstate);
23334 if (PyErr_Occurred()) SWIG_fail;
23335 }
23336 resultobj = SWIG_From_int(static_cast< int >(result));
23337 return resultobj;
23338 fail:
23339 return NULL;
23340 }
23341
23342
23343 SWIGINTERN PyObject *_wrap_PrintData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23344 PyObject *resultobj = 0;
23345 wxPrintData *arg1 = (wxPrintData *) 0 ;
23346 bool result;
23347 void *argp1 = 0 ;
23348 int res1 = 0 ;
23349 PyObject *swig_obj[1] ;
23350
23351 if (!args) SWIG_fail;
23352 swig_obj[0] = args;
23353 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23354 if (!SWIG_IsOK(res1)) {
23355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23356 }
23357 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23358 {
23359 PyThreadState* __tstate = wxPyBeginAllowThreads();
23360 result = (bool)(arg1)->Ok();
23361 wxPyEndAllowThreads(__tstate);
23362 if (PyErr_Occurred()) SWIG_fail;
23363 }
23364 {
23365 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23366 }
23367 return resultobj;
23368 fail:
23369 return NULL;
23370 }
23371
23372
23373 SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23374 PyObject *resultobj = 0;
23375 wxPrintData *arg1 = (wxPrintData *) 0 ;
23376 wxString *result = 0 ;
23377 void *argp1 = 0 ;
23378 int res1 = 0 ;
23379 PyObject *swig_obj[1] ;
23380
23381 if (!args) SWIG_fail;
23382 swig_obj[0] = args;
23383 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23384 if (!SWIG_IsOK(res1)) {
23385 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23386 }
23387 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23388 {
23389 PyThreadState* __tstate = wxPyBeginAllowThreads();
23390 {
23391 wxString const &_result_ref = (arg1)->GetPrinterName();
23392 result = (wxString *) &_result_ref;
23393 }
23394 wxPyEndAllowThreads(__tstate);
23395 if (PyErr_Occurred()) SWIG_fail;
23396 }
23397 {
23398 #if wxUSE_UNICODE
23399 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23400 #else
23401 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23402 #endif
23403 }
23404 return resultobj;
23405 fail:
23406 return NULL;
23407 }
23408
23409
23410 SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23411 PyObject *resultobj = 0;
23412 wxPrintData *arg1 = (wxPrintData *) 0 ;
23413 bool result;
23414 void *argp1 = 0 ;
23415 int res1 = 0 ;
23416 PyObject *swig_obj[1] ;
23417
23418 if (!args) SWIG_fail;
23419 swig_obj[0] = args;
23420 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23421 if (!SWIG_IsOK(res1)) {
23422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23423 }
23424 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23425 {
23426 PyThreadState* __tstate = wxPyBeginAllowThreads();
23427 result = (bool)(arg1)->GetColour();
23428 wxPyEndAllowThreads(__tstate);
23429 if (PyErr_Occurred()) SWIG_fail;
23430 }
23431 {
23432 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23433 }
23434 return resultobj;
23435 fail:
23436 return NULL;
23437 }
23438
23439
23440 SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23441 PyObject *resultobj = 0;
23442 wxPrintData *arg1 = (wxPrintData *) 0 ;
23443 wxDuplexMode result;
23444 void *argp1 = 0 ;
23445 int res1 = 0 ;
23446 PyObject *swig_obj[1] ;
23447
23448 if (!args) SWIG_fail;
23449 swig_obj[0] = args;
23450 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23451 if (!SWIG_IsOK(res1)) {
23452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23453 }
23454 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23455 {
23456 PyThreadState* __tstate = wxPyBeginAllowThreads();
23457 result = (wxDuplexMode)(arg1)->GetDuplex();
23458 wxPyEndAllowThreads(__tstate);
23459 if (PyErr_Occurred()) SWIG_fail;
23460 }
23461 resultobj = SWIG_From_int(static_cast< int >(result));
23462 return resultobj;
23463 fail:
23464 return NULL;
23465 }
23466
23467
23468 SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23469 PyObject *resultobj = 0;
23470 wxPrintData *arg1 = (wxPrintData *) 0 ;
23471 wxPaperSize result;
23472 void *argp1 = 0 ;
23473 int res1 = 0 ;
23474 PyObject *swig_obj[1] ;
23475
23476 if (!args) SWIG_fail;
23477 swig_obj[0] = args;
23478 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23479 if (!SWIG_IsOK(res1)) {
23480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23481 }
23482 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23483 {
23484 PyThreadState* __tstate = wxPyBeginAllowThreads();
23485 result = (wxPaperSize)(arg1)->GetPaperId();
23486 wxPyEndAllowThreads(__tstate);
23487 if (PyErr_Occurred()) SWIG_fail;
23488 }
23489 resultobj = SWIG_From_int(static_cast< int >(result));
23490 return resultobj;
23491 fail:
23492 return NULL;
23493 }
23494
23495
23496 SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23497 PyObject *resultobj = 0;
23498 wxPrintData *arg1 = (wxPrintData *) 0 ;
23499 wxSize *result = 0 ;
23500 void *argp1 = 0 ;
23501 int res1 = 0 ;
23502 PyObject *swig_obj[1] ;
23503
23504 if (!args) SWIG_fail;
23505 swig_obj[0] = args;
23506 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23507 if (!SWIG_IsOK(res1)) {
23508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23509 }
23510 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23511 {
23512 PyThreadState* __tstate = wxPyBeginAllowThreads();
23513 {
23514 wxSize const &_result_ref = (arg1)->GetPaperSize();
23515 result = (wxSize *) &_result_ref;
23516 }
23517 wxPyEndAllowThreads(__tstate);
23518 if (PyErr_Occurred()) SWIG_fail;
23519 }
23520 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
23521 return resultobj;
23522 fail:
23523 return NULL;
23524 }
23525
23526
23527 SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23528 PyObject *resultobj = 0;
23529 wxPrintData *arg1 = (wxPrintData *) 0 ;
23530 int result;
23531 void *argp1 = 0 ;
23532 int res1 = 0 ;
23533 PyObject *swig_obj[1] ;
23534
23535 if (!args) SWIG_fail;
23536 swig_obj[0] = args;
23537 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23538 if (!SWIG_IsOK(res1)) {
23539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23540 }
23541 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23542 {
23543 PyThreadState* __tstate = wxPyBeginAllowThreads();
23544 result = (int)(arg1)->GetQuality();
23545 wxPyEndAllowThreads(__tstate);
23546 if (PyErr_Occurred()) SWIG_fail;
23547 }
23548 resultobj = SWIG_From_int(static_cast< int >(result));
23549 return resultobj;
23550 fail:
23551 return NULL;
23552 }
23553
23554
23555 SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23556 PyObject *resultobj = 0;
23557 wxPrintData *arg1 = (wxPrintData *) 0 ;
23558 wxPrintBin result;
23559 void *argp1 = 0 ;
23560 int res1 = 0 ;
23561 PyObject *swig_obj[1] ;
23562
23563 if (!args) SWIG_fail;
23564 swig_obj[0] = args;
23565 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23566 if (!SWIG_IsOK(res1)) {
23567 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23568 }
23569 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23570 {
23571 PyThreadState* __tstate = wxPyBeginAllowThreads();
23572 result = (wxPrintBin)(arg1)->GetBin();
23573 wxPyEndAllowThreads(__tstate);
23574 if (PyErr_Occurred()) SWIG_fail;
23575 }
23576 resultobj = SWIG_From_int(static_cast< int >(result));
23577 return resultobj;
23578 fail:
23579 return NULL;
23580 }
23581
23582
23583 SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23584 PyObject *resultobj = 0;
23585 wxPrintData *arg1 = (wxPrintData *) 0 ;
23586 wxPrintMode result;
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, 0 | 0 );
23594 if (!SWIG_IsOK(res1)) {
23595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23596 }
23597 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23598 {
23599 PyThreadState* __tstate = wxPyBeginAllowThreads();
23600 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
23601 wxPyEndAllowThreads(__tstate);
23602 if (PyErr_Occurred()) SWIG_fail;
23603 }
23604 resultobj = SWIG_From_int(static_cast< int >(result));
23605 return resultobj;
23606 fail:
23607 return NULL;
23608 }
23609
23610
23611 SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23612 PyObject *resultobj = 0;
23613 wxPrintData *arg1 = (wxPrintData *) 0 ;
23614 int arg2 ;
23615 void *argp1 = 0 ;
23616 int res1 = 0 ;
23617 int val2 ;
23618 int ecode2 = 0 ;
23619 PyObject * obj0 = 0 ;
23620 PyObject * obj1 = 0 ;
23621 char * kwnames[] = {
23622 (char *) "self",(char *) "v", NULL
23623 };
23624
23625 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
23626 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23627 if (!SWIG_IsOK(res1)) {
23628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23629 }
23630 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23631 ecode2 = SWIG_AsVal_int(obj1, &val2);
23632 if (!SWIG_IsOK(ecode2)) {
23633 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
23634 }
23635 arg2 = static_cast< int >(val2);
23636 {
23637 PyThreadState* __tstate = wxPyBeginAllowThreads();
23638 (arg1)->SetNoCopies(arg2);
23639 wxPyEndAllowThreads(__tstate);
23640 if (PyErr_Occurred()) SWIG_fail;
23641 }
23642 resultobj = SWIG_Py_Void();
23643 return resultobj;
23644 fail:
23645 return NULL;
23646 }
23647
23648
23649 SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23650 PyObject *resultobj = 0;
23651 wxPrintData *arg1 = (wxPrintData *) 0 ;
23652 bool arg2 ;
23653 void *argp1 = 0 ;
23654 int res1 = 0 ;
23655 bool val2 ;
23656 int ecode2 = 0 ;
23657 PyObject * obj0 = 0 ;
23658 PyObject * obj1 = 0 ;
23659 char * kwnames[] = {
23660 (char *) "self",(char *) "flag", NULL
23661 };
23662
23663 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
23664 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23665 if (!SWIG_IsOK(res1)) {
23666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23667 }
23668 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23669 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23670 if (!SWIG_IsOK(ecode2)) {
23671 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
23672 }
23673 arg2 = static_cast< bool >(val2);
23674 {
23675 PyThreadState* __tstate = wxPyBeginAllowThreads();
23676 (arg1)->SetCollate(arg2);
23677 wxPyEndAllowThreads(__tstate);
23678 if (PyErr_Occurred()) SWIG_fail;
23679 }
23680 resultobj = SWIG_Py_Void();
23681 return resultobj;
23682 fail:
23683 return NULL;
23684 }
23685
23686
23687 SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23688 PyObject *resultobj = 0;
23689 wxPrintData *arg1 = (wxPrintData *) 0 ;
23690 int arg2 ;
23691 void *argp1 = 0 ;
23692 int res1 = 0 ;
23693 int val2 ;
23694 int ecode2 = 0 ;
23695 PyObject * obj0 = 0 ;
23696 PyObject * obj1 = 0 ;
23697 char * kwnames[] = {
23698 (char *) "self",(char *) "orient", NULL
23699 };
23700
23701 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
23702 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23703 if (!SWIG_IsOK(res1)) {
23704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23705 }
23706 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23707 ecode2 = SWIG_AsVal_int(obj1, &val2);
23708 if (!SWIG_IsOK(ecode2)) {
23709 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
23710 }
23711 arg2 = static_cast< int >(val2);
23712 {
23713 PyThreadState* __tstate = wxPyBeginAllowThreads();
23714 (arg1)->SetOrientation(arg2);
23715 wxPyEndAllowThreads(__tstate);
23716 if (PyErr_Occurred()) SWIG_fail;
23717 }
23718 resultobj = SWIG_Py_Void();
23719 return resultobj;
23720 fail:
23721 return NULL;
23722 }
23723
23724
23725 SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23726 PyObject *resultobj = 0;
23727 wxPrintData *arg1 = (wxPrintData *) 0 ;
23728 wxString *arg2 = 0 ;
23729 void *argp1 = 0 ;
23730 int res1 = 0 ;
23731 bool temp2 = false ;
23732 PyObject * obj0 = 0 ;
23733 PyObject * obj1 = 0 ;
23734 char * kwnames[] = {
23735 (char *) "self",(char *) "name", NULL
23736 };
23737
23738 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) SWIG_fail;
23739 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23740 if (!SWIG_IsOK(res1)) {
23741 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23742 }
23743 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23744 {
23745 arg2 = wxString_in_helper(obj1);
23746 if (arg2 == NULL) SWIG_fail;
23747 temp2 = true;
23748 }
23749 {
23750 PyThreadState* __tstate = wxPyBeginAllowThreads();
23751 (arg1)->SetPrinterName((wxString const &)*arg2);
23752 wxPyEndAllowThreads(__tstate);
23753 if (PyErr_Occurred()) SWIG_fail;
23754 }
23755 resultobj = SWIG_Py_Void();
23756 {
23757 if (temp2)
23758 delete arg2;
23759 }
23760 return resultobj;
23761 fail:
23762 {
23763 if (temp2)
23764 delete arg2;
23765 }
23766 return NULL;
23767 }
23768
23769
23770 SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23771 PyObject *resultobj = 0;
23772 wxPrintData *arg1 = (wxPrintData *) 0 ;
23773 bool arg2 ;
23774 void *argp1 = 0 ;
23775 int res1 = 0 ;
23776 bool val2 ;
23777 int ecode2 = 0 ;
23778 PyObject * obj0 = 0 ;
23779 PyObject * obj1 = 0 ;
23780 char * kwnames[] = {
23781 (char *) "self",(char *) "colour", NULL
23782 };
23783
23784 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
23785 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23786 if (!SWIG_IsOK(res1)) {
23787 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23788 }
23789 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23790 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23791 if (!SWIG_IsOK(ecode2)) {
23792 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
23793 }
23794 arg2 = static_cast< bool >(val2);
23795 {
23796 PyThreadState* __tstate = wxPyBeginAllowThreads();
23797 (arg1)->SetColour(arg2);
23798 wxPyEndAllowThreads(__tstate);
23799 if (PyErr_Occurred()) SWIG_fail;
23800 }
23801 resultobj = SWIG_Py_Void();
23802 return resultobj;
23803 fail:
23804 return NULL;
23805 }
23806
23807
23808 SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23809 PyObject *resultobj = 0;
23810 wxPrintData *arg1 = (wxPrintData *) 0 ;
23811 wxDuplexMode arg2 ;
23812 void *argp1 = 0 ;
23813 int res1 = 0 ;
23814 int val2 ;
23815 int ecode2 = 0 ;
23816 PyObject * obj0 = 0 ;
23817 PyObject * obj1 = 0 ;
23818 char * kwnames[] = {
23819 (char *) "self",(char *) "duplex", NULL
23820 };
23821
23822 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) SWIG_fail;
23823 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23824 if (!SWIG_IsOK(res1)) {
23825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23826 }
23827 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23828 ecode2 = SWIG_AsVal_int(obj1, &val2);
23829 if (!SWIG_IsOK(ecode2)) {
23830 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
23831 }
23832 arg2 = static_cast< wxDuplexMode >(val2);
23833 {
23834 PyThreadState* __tstate = wxPyBeginAllowThreads();
23835 (arg1)->SetDuplex(arg2);
23836 wxPyEndAllowThreads(__tstate);
23837 if (PyErr_Occurred()) SWIG_fail;
23838 }
23839 resultobj = SWIG_Py_Void();
23840 return resultobj;
23841 fail:
23842 return NULL;
23843 }
23844
23845
23846 SWIGINTERN PyObject *_wrap_PrintData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23847 PyObject *resultobj = 0;
23848 wxPrintData *arg1 = (wxPrintData *) 0 ;
23849 wxPaperSize arg2 ;
23850 void *argp1 = 0 ;
23851 int res1 = 0 ;
23852 int val2 ;
23853 int ecode2 = 0 ;
23854 PyObject * obj0 = 0 ;
23855 PyObject * obj1 = 0 ;
23856 char * kwnames[] = {
23857 (char *) "self",(char *) "sizeId", NULL
23858 };
23859
23860 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
23861 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23862 if (!SWIG_IsOK(res1)) {
23863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23864 }
23865 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23866 ecode2 = SWIG_AsVal_int(obj1, &val2);
23867 if (!SWIG_IsOK(ecode2)) {
23868 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
23869 }
23870 arg2 = static_cast< wxPaperSize >(val2);
23871 {
23872 PyThreadState* __tstate = wxPyBeginAllowThreads();
23873 (arg1)->SetPaperId(arg2);
23874 wxPyEndAllowThreads(__tstate);
23875 if (PyErr_Occurred()) SWIG_fail;
23876 }
23877 resultobj = SWIG_Py_Void();
23878 return resultobj;
23879 fail:
23880 return NULL;
23881 }
23882
23883
23884 SWIGINTERN PyObject *_wrap_PrintData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23885 PyObject *resultobj = 0;
23886 wxPrintData *arg1 = (wxPrintData *) 0 ;
23887 wxSize *arg2 = 0 ;
23888 void *argp1 = 0 ;
23889 int res1 = 0 ;
23890 wxSize temp2 ;
23891 PyObject * obj0 = 0 ;
23892 PyObject * obj1 = 0 ;
23893 char * kwnames[] = {
23894 (char *) "self",(char *) "sz", NULL
23895 };
23896
23897 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
23898 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23899 if (!SWIG_IsOK(res1)) {
23900 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23901 }
23902 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23903 {
23904 arg2 = &temp2;
23905 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23906 }
23907 {
23908 PyThreadState* __tstate = wxPyBeginAllowThreads();
23909 (arg1)->SetPaperSize((wxSize const &)*arg2);
23910 wxPyEndAllowThreads(__tstate);
23911 if (PyErr_Occurred()) SWIG_fail;
23912 }
23913 resultobj = SWIG_Py_Void();
23914 return resultobj;
23915 fail:
23916 return NULL;
23917 }
23918
23919
23920 SWIGINTERN PyObject *_wrap_PrintData_SetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23921 PyObject *resultobj = 0;
23922 wxPrintData *arg1 = (wxPrintData *) 0 ;
23923 int arg2 ;
23924 void *argp1 = 0 ;
23925 int res1 = 0 ;
23926 int val2 ;
23927 int ecode2 = 0 ;
23928 PyObject * obj0 = 0 ;
23929 PyObject * obj1 = 0 ;
23930 char * kwnames[] = {
23931 (char *) "self",(char *) "quality", NULL
23932 };
23933
23934 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) SWIG_fail;
23935 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23936 if (!SWIG_IsOK(res1)) {
23937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23938 }
23939 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23940 ecode2 = SWIG_AsVal_int(obj1, &val2);
23941 if (!SWIG_IsOK(ecode2)) {
23942 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
23943 }
23944 arg2 = static_cast< int >(val2);
23945 {
23946 PyThreadState* __tstate = wxPyBeginAllowThreads();
23947 (arg1)->SetQuality(arg2);
23948 wxPyEndAllowThreads(__tstate);
23949 if (PyErr_Occurred()) SWIG_fail;
23950 }
23951 resultobj = SWIG_Py_Void();
23952 return resultobj;
23953 fail:
23954 return NULL;
23955 }
23956
23957
23958 SWIGINTERN PyObject *_wrap_PrintData_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23959 PyObject *resultobj = 0;
23960 wxPrintData *arg1 = (wxPrintData *) 0 ;
23961 wxPrintBin arg2 ;
23962 void *argp1 = 0 ;
23963 int res1 = 0 ;
23964 int val2 ;
23965 int ecode2 = 0 ;
23966 PyObject * obj0 = 0 ;
23967 PyObject * obj1 = 0 ;
23968 char * kwnames[] = {
23969 (char *) "self",(char *) "bin", NULL
23970 };
23971
23972 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) SWIG_fail;
23973 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23974 if (!SWIG_IsOK(res1)) {
23975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23976 }
23977 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23978 ecode2 = SWIG_AsVal_int(obj1, &val2);
23979 if (!SWIG_IsOK(ecode2)) {
23980 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
23981 }
23982 arg2 = static_cast< wxPrintBin >(val2);
23983 {
23984 PyThreadState* __tstate = wxPyBeginAllowThreads();
23985 (arg1)->SetBin(arg2);
23986 wxPyEndAllowThreads(__tstate);
23987 if (PyErr_Occurred()) SWIG_fail;
23988 }
23989 resultobj = SWIG_Py_Void();
23990 return resultobj;
23991 fail:
23992 return NULL;
23993 }
23994
23995
23996 SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23997 PyObject *resultobj = 0;
23998 wxPrintData *arg1 = (wxPrintData *) 0 ;
23999 wxPrintMode arg2 ;
24000 void *argp1 = 0 ;
24001 int res1 = 0 ;
24002 int val2 ;
24003 int ecode2 = 0 ;
24004 PyObject * obj0 = 0 ;
24005 PyObject * obj1 = 0 ;
24006 char * kwnames[] = {
24007 (char *) "self",(char *) "printMode", NULL
24008 };
24009
24010 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
24011 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24012 if (!SWIG_IsOK(res1)) {
24013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24014 }
24015 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24016 ecode2 = SWIG_AsVal_int(obj1, &val2);
24017 if (!SWIG_IsOK(ecode2)) {
24018 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24019 }
24020 arg2 = static_cast< wxPrintMode >(val2);
24021 {
24022 PyThreadState* __tstate = wxPyBeginAllowThreads();
24023 (arg1)->SetPrintMode(arg2);
24024 wxPyEndAllowThreads(__tstate);
24025 if (PyErr_Occurred()) SWIG_fail;
24026 }
24027 resultobj = SWIG_Py_Void();
24028 return resultobj;
24029 fail:
24030 return NULL;
24031 }
24032
24033
24034 SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24035 PyObject *resultobj = 0;
24036 wxPrintData *arg1 = (wxPrintData *) 0 ;
24037 wxString result;
24038 void *argp1 = 0 ;
24039 int res1 = 0 ;
24040 PyObject *swig_obj[1] ;
24041
24042 if (!args) SWIG_fail;
24043 swig_obj[0] = args;
24044 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24045 if (!SWIG_IsOK(res1)) {
24046 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24047 }
24048 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24049 {
24050 PyThreadState* __tstate = wxPyBeginAllowThreads();
24051 result = ((wxPrintData const *)arg1)->GetFilename();
24052 wxPyEndAllowThreads(__tstate);
24053 if (PyErr_Occurred()) SWIG_fail;
24054 }
24055 {
24056 #if wxUSE_UNICODE
24057 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24058 #else
24059 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24060 #endif
24061 }
24062 return resultobj;
24063 fail:
24064 return NULL;
24065 }
24066
24067
24068 SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24069 PyObject *resultobj = 0;
24070 wxPrintData *arg1 = (wxPrintData *) 0 ;
24071 wxString *arg2 = 0 ;
24072 void *argp1 = 0 ;
24073 int res1 = 0 ;
24074 bool temp2 = false ;
24075 PyObject * obj0 = 0 ;
24076 PyObject * obj1 = 0 ;
24077 char * kwnames[] = {
24078 (char *) "self",(char *) "filename", NULL
24079 };
24080
24081 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
24082 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24083 if (!SWIG_IsOK(res1)) {
24084 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24085 }
24086 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24087 {
24088 arg2 = wxString_in_helper(obj1);
24089 if (arg2 == NULL) SWIG_fail;
24090 temp2 = true;
24091 }
24092 {
24093 PyThreadState* __tstate = wxPyBeginAllowThreads();
24094 (arg1)->SetFilename((wxString const &)*arg2);
24095 wxPyEndAllowThreads(__tstate);
24096 if (PyErr_Occurred()) SWIG_fail;
24097 }
24098 resultobj = SWIG_Py_Void();
24099 {
24100 if (temp2)
24101 delete arg2;
24102 }
24103 return resultobj;
24104 fail:
24105 {
24106 if (temp2)
24107 delete arg2;
24108 }
24109 return NULL;
24110 }
24111
24112
24113 SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24114 PyObject *resultobj = 0;
24115 wxPrintData *arg1 = (wxPrintData *) 0 ;
24116 PyObject *result = 0 ;
24117 void *argp1 = 0 ;
24118 int res1 = 0 ;
24119 PyObject *swig_obj[1] ;
24120
24121 if (!args) SWIG_fail;
24122 swig_obj[0] = args;
24123 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24124 if (!SWIG_IsOK(res1)) {
24125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24126 }
24127 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24128 {
24129 PyThreadState* __tstate = wxPyBeginAllowThreads();
24130 result = (PyObject *)wxPrintData_GetPrivData(arg1);
24131 wxPyEndAllowThreads(__tstate);
24132 if (PyErr_Occurred()) SWIG_fail;
24133 }
24134 resultobj = result;
24135 return resultobj;
24136 fail:
24137 return NULL;
24138 }
24139
24140
24141 SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24142 PyObject *resultobj = 0;
24143 wxPrintData *arg1 = (wxPrintData *) 0 ;
24144 PyObject *arg2 = (PyObject *) 0 ;
24145 void *argp1 = 0 ;
24146 int res1 = 0 ;
24147 PyObject * obj0 = 0 ;
24148 PyObject * obj1 = 0 ;
24149 char * kwnames[] = {
24150 (char *) "self",(char *) "data", NULL
24151 };
24152
24153 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
24154 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24155 if (!SWIG_IsOK(res1)) {
24156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24157 }
24158 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24159 arg2 = obj1;
24160 {
24161 PyThreadState* __tstate = wxPyBeginAllowThreads();
24162 wxPrintData_SetPrivData(arg1,arg2);
24163 wxPyEndAllowThreads(__tstate);
24164 if (PyErr_Occurred()) SWIG_fail;
24165 }
24166 resultobj = SWIG_Py_Void();
24167 return resultobj;
24168 fail:
24169 return NULL;
24170 }
24171
24172
24173 SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24174 PyObject *obj;
24175 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
24176 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
24177 return SWIG_Py_Void();
24178 }
24179
24180 SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24181 return SWIG_Python_InitShadowInstance(args);
24182 }
24183
24184 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
24185 PyObject *resultobj = 0;
24186 wxPageSetupDialogData *result = 0 ;
24187
24188 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
24189 {
24190 PyThreadState* __tstate = wxPyBeginAllowThreads();
24191 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
24192 wxPyEndAllowThreads(__tstate);
24193 if (PyErr_Occurred()) SWIG_fail;
24194 }
24195 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24196 return resultobj;
24197 fail:
24198 return NULL;
24199 }
24200
24201
24202 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24203 PyObject *resultobj = 0;
24204 wxPageSetupDialogData *arg1 = 0 ;
24205 wxPageSetupDialogData *result = 0 ;
24206 void *argp1 = 0 ;
24207 int res1 = 0 ;
24208
24209 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24210 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
24211 if (!SWIG_IsOK(res1)) {
24212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24213 }
24214 if (!argp1) {
24215 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24216 }
24217 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24218 {
24219 PyThreadState* __tstate = wxPyBeginAllowThreads();
24220 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
24221 wxPyEndAllowThreads(__tstate);
24222 if (PyErr_Occurred()) SWIG_fail;
24223 }
24224 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24225 return resultobj;
24226 fail:
24227 return NULL;
24228 }
24229
24230
24231 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24232 PyObject *resultobj = 0;
24233 wxPrintData *arg1 = 0 ;
24234 wxPageSetupDialogData *result = 0 ;
24235 void *argp1 = 0 ;
24236 int res1 = 0 ;
24237
24238 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24239 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
24240 if (!SWIG_IsOK(res1)) {
24241 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24242 }
24243 if (!argp1) {
24244 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24245 }
24246 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24247 {
24248 PyThreadState* __tstate = wxPyBeginAllowThreads();
24249 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
24250 wxPyEndAllowThreads(__tstate);
24251 if (PyErr_Occurred()) SWIG_fail;
24252 }
24253 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24254 return resultobj;
24255 fail:
24256 return NULL;
24257 }
24258
24259
24260 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
24261 int argc;
24262 PyObject *argv[2];
24263
24264 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
24265 --argc;
24266 if (argc == 0) {
24267 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
24268 }
24269 if (argc == 1) {
24270 int _v = 0;
24271 {
24272 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
24273 _v = SWIG_CheckState(res);
24274 }
24275 if (!_v) goto check_2;
24276 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
24277 }
24278 check_2:
24279
24280 if (argc == 1) {
24281 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
24282 }
24283
24284 fail:
24285 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
24286 return NULL;
24287 }
24288
24289
24290 SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24291 PyObject *resultobj = 0;
24292 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24293 void *argp1 = 0 ;
24294 int res1 = 0 ;
24295 PyObject *swig_obj[1] ;
24296
24297 if (!args) SWIG_fail;
24298 swig_obj[0] = args;
24299 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
24300 if (!SWIG_IsOK(res1)) {
24301 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24302 }
24303 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24304 {
24305 PyThreadState* __tstate = wxPyBeginAllowThreads();
24306 delete arg1;
24307
24308 wxPyEndAllowThreads(__tstate);
24309 if (PyErr_Occurred()) SWIG_fail;
24310 }
24311 resultobj = SWIG_Py_Void();
24312 return resultobj;
24313 fail:
24314 return NULL;
24315 }
24316
24317
24318 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24319 PyObject *resultobj = 0;
24320 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24321 bool arg2 ;
24322 void *argp1 = 0 ;
24323 int res1 = 0 ;
24324 bool val2 ;
24325 int ecode2 = 0 ;
24326 PyObject * obj0 = 0 ;
24327 PyObject * obj1 = 0 ;
24328 char * kwnames[] = {
24329 (char *) "self",(char *) "flag", NULL
24330 };
24331
24332 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
24333 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24334 if (!SWIG_IsOK(res1)) {
24335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24336 }
24337 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24338 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24339 if (!SWIG_IsOK(ecode2)) {
24340 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24341 }
24342 arg2 = static_cast< bool >(val2);
24343 {
24344 PyThreadState* __tstate = wxPyBeginAllowThreads();
24345 (arg1)->EnableHelp(arg2);
24346 wxPyEndAllowThreads(__tstate);
24347 if (PyErr_Occurred()) SWIG_fail;
24348 }
24349 resultobj = SWIG_Py_Void();
24350 return resultobj;
24351 fail:
24352 return NULL;
24353 }
24354
24355
24356 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24357 PyObject *resultobj = 0;
24358 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24359 bool arg2 ;
24360 void *argp1 = 0 ;
24361 int res1 = 0 ;
24362 bool val2 ;
24363 int ecode2 = 0 ;
24364 PyObject * obj0 = 0 ;
24365 PyObject * obj1 = 0 ;
24366 char * kwnames[] = {
24367 (char *) "self",(char *) "flag", NULL
24368 };
24369
24370 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
24371 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24372 if (!SWIG_IsOK(res1)) {
24373 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24374 }
24375 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24376 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24377 if (!SWIG_IsOK(ecode2)) {
24378 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24379 }
24380 arg2 = static_cast< bool >(val2);
24381 {
24382 PyThreadState* __tstate = wxPyBeginAllowThreads();
24383 (arg1)->EnableMargins(arg2);
24384 wxPyEndAllowThreads(__tstate);
24385 if (PyErr_Occurred()) SWIG_fail;
24386 }
24387 resultobj = SWIG_Py_Void();
24388 return resultobj;
24389 fail:
24390 return NULL;
24391 }
24392
24393
24394 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24395 PyObject *resultobj = 0;
24396 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24397 bool arg2 ;
24398 void *argp1 = 0 ;
24399 int res1 = 0 ;
24400 bool val2 ;
24401 int ecode2 = 0 ;
24402 PyObject * obj0 = 0 ;
24403 PyObject * obj1 = 0 ;
24404 char * kwnames[] = {
24405 (char *) "self",(char *) "flag", NULL
24406 };
24407
24408 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24409 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24410 if (!SWIG_IsOK(res1)) {
24411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24412 }
24413 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24414 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24415 if (!SWIG_IsOK(ecode2)) {
24416 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24417 }
24418 arg2 = static_cast< bool >(val2);
24419 {
24420 PyThreadState* __tstate = wxPyBeginAllowThreads();
24421 (arg1)->EnableOrientation(arg2);
24422 wxPyEndAllowThreads(__tstate);
24423 if (PyErr_Occurred()) SWIG_fail;
24424 }
24425 resultobj = SWIG_Py_Void();
24426 return resultobj;
24427 fail:
24428 return NULL;
24429 }
24430
24431
24432 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24433 PyObject *resultobj = 0;
24434 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24435 bool arg2 ;
24436 void *argp1 = 0 ;
24437 int res1 = 0 ;
24438 bool val2 ;
24439 int ecode2 = 0 ;
24440 PyObject * obj0 = 0 ;
24441 PyObject * obj1 = 0 ;
24442 char * kwnames[] = {
24443 (char *) "self",(char *) "flag", NULL
24444 };
24445
24446 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
24447 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24448 if (!SWIG_IsOK(res1)) {
24449 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24450 }
24451 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24452 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24453 if (!SWIG_IsOK(ecode2)) {
24454 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24455 }
24456 arg2 = static_cast< bool >(val2);
24457 {
24458 PyThreadState* __tstate = wxPyBeginAllowThreads();
24459 (arg1)->EnablePaper(arg2);
24460 wxPyEndAllowThreads(__tstate);
24461 if (PyErr_Occurred()) SWIG_fail;
24462 }
24463 resultobj = SWIG_Py_Void();
24464 return resultobj;
24465 fail:
24466 return NULL;
24467 }
24468
24469
24470 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24471 PyObject *resultobj = 0;
24472 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24473 bool arg2 ;
24474 void *argp1 = 0 ;
24475 int res1 = 0 ;
24476 bool val2 ;
24477 int ecode2 = 0 ;
24478 PyObject * obj0 = 0 ;
24479 PyObject * obj1 = 0 ;
24480 char * kwnames[] = {
24481 (char *) "self",(char *) "flag", NULL
24482 };
24483
24484 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
24485 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24486 if (!SWIG_IsOK(res1)) {
24487 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24488 }
24489 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24490 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24491 if (!SWIG_IsOK(ecode2)) {
24492 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24493 }
24494 arg2 = static_cast< bool >(val2);
24495 {
24496 PyThreadState* __tstate = wxPyBeginAllowThreads();
24497 (arg1)->EnablePrinter(arg2);
24498 wxPyEndAllowThreads(__tstate);
24499 if (PyErr_Occurred()) SWIG_fail;
24500 }
24501 resultobj = SWIG_Py_Void();
24502 return resultobj;
24503 fail:
24504 return NULL;
24505 }
24506
24507
24508 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24509 PyObject *resultobj = 0;
24510 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24511 bool result;
24512 void *argp1 = 0 ;
24513 int res1 = 0 ;
24514 PyObject *swig_obj[1] ;
24515
24516 if (!args) SWIG_fail;
24517 swig_obj[0] = args;
24518 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24519 if (!SWIG_IsOK(res1)) {
24520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24521 }
24522 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24523 {
24524 PyThreadState* __tstate = wxPyBeginAllowThreads();
24525 result = (bool)(arg1)->GetDefaultMinMargins();
24526 wxPyEndAllowThreads(__tstate);
24527 if (PyErr_Occurred()) SWIG_fail;
24528 }
24529 {
24530 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24531 }
24532 return resultobj;
24533 fail:
24534 return NULL;
24535 }
24536
24537
24538 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24539 PyObject *resultobj = 0;
24540 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24541 bool result;
24542 void *argp1 = 0 ;
24543 int res1 = 0 ;
24544 PyObject *swig_obj[1] ;
24545
24546 if (!args) SWIG_fail;
24547 swig_obj[0] = args;
24548 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24549 if (!SWIG_IsOK(res1)) {
24550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24551 }
24552 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24553 {
24554 PyThreadState* __tstate = wxPyBeginAllowThreads();
24555 result = (bool)(arg1)->GetEnableMargins();
24556 wxPyEndAllowThreads(__tstate);
24557 if (PyErr_Occurred()) SWIG_fail;
24558 }
24559 {
24560 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24561 }
24562 return resultobj;
24563 fail:
24564 return NULL;
24565 }
24566
24567
24568 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24569 PyObject *resultobj = 0;
24570 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24571 bool result;
24572 void *argp1 = 0 ;
24573 int res1 = 0 ;
24574 PyObject *swig_obj[1] ;
24575
24576 if (!args) SWIG_fail;
24577 swig_obj[0] = args;
24578 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24579 if (!SWIG_IsOK(res1)) {
24580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24581 }
24582 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24583 {
24584 PyThreadState* __tstate = wxPyBeginAllowThreads();
24585 result = (bool)(arg1)->GetEnableOrientation();
24586 wxPyEndAllowThreads(__tstate);
24587 if (PyErr_Occurred()) SWIG_fail;
24588 }
24589 {
24590 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24591 }
24592 return resultobj;
24593 fail:
24594 return NULL;
24595 }
24596
24597
24598 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24599 PyObject *resultobj = 0;
24600 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24601 bool result;
24602 void *argp1 = 0 ;
24603 int res1 = 0 ;
24604 PyObject *swig_obj[1] ;
24605
24606 if (!args) SWIG_fail;
24607 swig_obj[0] = args;
24608 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24609 if (!SWIG_IsOK(res1)) {
24610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24611 }
24612 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24613 {
24614 PyThreadState* __tstate = wxPyBeginAllowThreads();
24615 result = (bool)(arg1)->GetEnablePaper();
24616 wxPyEndAllowThreads(__tstate);
24617 if (PyErr_Occurred()) SWIG_fail;
24618 }
24619 {
24620 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24621 }
24622 return resultobj;
24623 fail:
24624 return NULL;
24625 }
24626
24627
24628 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24629 PyObject *resultobj = 0;
24630 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24631 bool result;
24632 void *argp1 = 0 ;
24633 int res1 = 0 ;
24634 PyObject *swig_obj[1] ;
24635
24636 if (!args) SWIG_fail;
24637 swig_obj[0] = args;
24638 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24639 if (!SWIG_IsOK(res1)) {
24640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24641 }
24642 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24643 {
24644 PyThreadState* __tstate = wxPyBeginAllowThreads();
24645 result = (bool)(arg1)->GetEnablePrinter();
24646 wxPyEndAllowThreads(__tstate);
24647 if (PyErr_Occurred()) SWIG_fail;
24648 }
24649 {
24650 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24651 }
24652 return resultobj;
24653 fail:
24654 return NULL;
24655 }
24656
24657
24658 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24659 PyObject *resultobj = 0;
24660 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24661 bool result;
24662 void *argp1 = 0 ;
24663 int res1 = 0 ;
24664 PyObject *swig_obj[1] ;
24665
24666 if (!args) SWIG_fail;
24667 swig_obj[0] = args;
24668 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24669 if (!SWIG_IsOK(res1)) {
24670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24671 }
24672 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24673 {
24674 PyThreadState* __tstate = wxPyBeginAllowThreads();
24675 result = (bool)(arg1)->GetEnableHelp();
24676 wxPyEndAllowThreads(__tstate);
24677 if (PyErr_Occurred()) SWIG_fail;
24678 }
24679 {
24680 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24681 }
24682 return resultobj;
24683 fail:
24684 return NULL;
24685 }
24686
24687
24688 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24689 PyObject *resultobj = 0;
24690 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24691 bool result;
24692 void *argp1 = 0 ;
24693 int res1 = 0 ;
24694 PyObject *swig_obj[1] ;
24695
24696 if (!args) SWIG_fail;
24697 swig_obj[0] = args;
24698 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24699 if (!SWIG_IsOK(res1)) {
24700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24701 }
24702 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24703 {
24704 PyThreadState* __tstate = wxPyBeginAllowThreads();
24705 result = (bool)(arg1)->GetDefaultInfo();
24706 wxPyEndAllowThreads(__tstate);
24707 if (PyErr_Occurred()) SWIG_fail;
24708 }
24709 {
24710 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24711 }
24712 return resultobj;
24713 fail:
24714 return NULL;
24715 }
24716
24717
24718 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24719 PyObject *resultobj = 0;
24720 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24721 wxPoint result;
24722 void *argp1 = 0 ;
24723 int res1 = 0 ;
24724 PyObject *swig_obj[1] ;
24725
24726 if (!args) SWIG_fail;
24727 swig_obj[0] = args;
24728 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24729 if (!SWIG_IsOK(res1)) {
24730 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24731 }
24732 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24733 {
24734 PyThreadState* __tstate = wxPyBeginAllowThreads();
24735 result = (arg1)->GetMarginTopLeft();
24736 wxPyEndAllowThreads(__tstate);
24737 if (PyErr_Occurred()) SWIG_fail;
24738 }
24739 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
24740 return resultobj;
24741 fail:
24742 return NULL;
24743 }
24744
24745
24746 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24747 PyObject *resultobj = 0;
24748 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24749 wxPoint result;
24750 void *argp1 = 0 ;
24751 int res1 = 0 ;
24752 PyObject *swig_obj[1] ;
24753
24754 if (!args) SWIG_fail;
24755 swig_obj[0] = args;
24756 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24757 if (!SWIG_IsOK(res1)) {
24758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24759 }
24760 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24761 {
24762 PyThreadState* __tstate = wxPyBeginAllowThreads();
24763 result = (arg1)->GetMarginBottomRight();
24764 wxPyEndAllowThreads(__tstate);
24765 if (PyErr_Occurred()) SWIG_fail;
24766 }
24767 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
24768 return resultobj;
24769 fail:
24770 return NULL;
24771 }
24772
24773
24774 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24775 PyObject *resultobj = 0;
24776 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24777 wxPoint result;
24778 void *argp1 = 0 ;
24779 int res1 = 0 ;
24780 PyObject *swig_obj[1] ;
24781
24782 if (!args) SWIG_fail;
24783 swig_obj[0] = args;
24784 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24785 if (!SWIG_IsOK(res1)) {
24786 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24787 }
24788 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24789 {
24790 PyThreadState* __tstate = wxPyBeginAllowThreads();
24791 result = (arg1)->GetMinMarginTopLeft();
24792 wxPyEndAllowThreads(__tstate);
24793 if (PyErr_Occurred()) SWIG_fail;
24794 }
24795 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
24796 return resultobj;
24797 fail:
24798 return NULL;
24799 }
24800
24801
24802 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24803 PyObject *resultobj = 0;
24804 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24805 wxPoint result;
24806 void *argp1 = 0 ;
24807 int res1 = 0 ;
24808 PyObject *swig_obj[1] ;
24809
24810 if (!args) SWIG_fail;
24811 swig_obj[0] = args;
24812 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24813 if (!SWIG_IsOK(res1)) {
24814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24815 }
24816 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24817 {
24818 PyThreadState* __tstate = wxPyBeginAllowThreads();
24819 result = (arg1)->GetMinMarginBottomRight();
24820 wxPyEndAllowThreads(__tstate);
24821 if (PyErr_Occurred()) SWIG_fail;
24822 }
24823 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
24824 return resultobj;
24825 fail:
24826 return NULL;
24827 }
24828
24829
24830 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24831 PyObject *resultobj = 0;
24832 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24833 wxPaperSize result;
24834 void *argp1 = 0 ;
24835 int res1 = 0 ;
24836 PyObject *swig_obj[1] ;
24837
24838 if (!args) SWIG_fail;
24839 swig_obj[0] = args;
24840 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24841 if (!SWIG_IsOK(res1)) {
24842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24843 }
24844 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24845 {
24846 PyThreadState* __tstate = wxPyBeginAllowThreads();
24847 result = (wxPaperSize)(arg1)->GetPaperId();
24848 wxPyEndAllowThreads(__tstate);
24849 if (PyErr_Occurred()) SWIG_fail;
24850 }
24851 resultobj = SWIG_From_int(static_cast< int >(result));
24852 return resultobj;
24853 fail:
24854 return NULL;
24855 }
24856
24857
24858 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24859 PyObject *resultobj = 0;
24860 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24861 wxSize result;
24862 void *argp1 = 0 ;
24863 int res1 = 0 ;
24864 PyObject *swig_obj[1] ;
24865
24866 if (!args) SWIG_fail;
24867 swig_obj[0] = args;
24868 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24869 if (!SWIG_IsOK(res1)) {
24870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24871 }
24872 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24873 {
24874 PyThreadState* __tstate = wxPyBeginAllowThreads();
24875 result = (arg1)->GetPaperSize();
24876 wxPyEndAllowThreads(__tstate);
24877 if (PyErr_Occurred()) SWIG_fail;
24878 }
24879 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
24880 return resultobj;
24881 fail:
24882 return NULL;
24883 }
24884
24885
24886 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24887 PyObject *resultobj = 0;
24888 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24889 wxPrintData *result = 0 ;
24890 void *argp1 = 0 ;
24891 int res1 = 0 ;
24892 PyObject *swig_obj[1] ;
24893
24894 if (!args) SWIG_fail;
24895 swig_obj[0] = args;
24896 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24897 if (!SWIG_IsOK(res1)) {
24898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24899 }
24900 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24901 {
24902 PyThreadState* __tstate = wxPyBeginAllowThreads();
24903 {
24904 wxPrintData &_result_ref = (arg1)->GetPrintData();
24905 result = (wxPrintData *) &_result_ref;
24906 }
24907 wxPyEndAllowThreads(__tstate);
24908 if (PyErr_Occurred()) SWIG_fail;
24909 }
24910 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
24911 return resultobj;
24912 fail:
24913 return NULL;
24914 }
24915
24916
24917 SWIGINTERN PyObject *_wrap_PageSetupDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24918 PyObject *resultobj = 0;
24919 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24920 bool result;
24921 void *argp1 = 0 ;
24922 int res1 = 0 ;
24923 PyObject *swig_obj[1] ;
24924
24925 if (!args) SWIG_fail;
24926 swig_obj[0] = args;
24927 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24928 if (!SWIG_IsOK(res1)) {
24929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24930 }
24931 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24932 {
24933 PyThreadState* __tstate = wxPyBeginAllowThreads();
24934 result = (bool)(arg1)->Ok();
24935 wxPyEndAllowThreads(__tstate);
24936 if (PyErr_Occurred()) SWIG_fail;
24937 }
24938 {
24939 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24940 }
24941 return resultobj;
24942 fail:
24943 return NULL;
24944 }
24945
24946
24947 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24948 PyObject *resultobj = 0;
24949 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24950 bool arg2 ;
24951 void *argp1 = 0 ;
24952 int res1 = 0 ;
24953 bool val2 ;
24954 int ecode2 = 0 ;
24955 PyObject * obj0 = 0 ;
24956 PyObject * obj1 = 0 ;
24957 char * kwnames[] = {
24958 (char *) "self",(char *) "flag", NULL
24959 };
24960
24961 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
24962 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24963 if (!SWIG_IsOK(res1)) {
24964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24965 }
24966 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24967 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24968 if (!SWIG_IsOK(ecode2)) {
24969 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
24970 }
24971 arg2 = static_cast< bool >(val2);
24972 {
24973 PyThreadState* __tstate = wxPyBeginAllowThreads();
24974 (arg1)->SetDefaultInfo(arg2);
24975 wxPyEndAllowThreads(__tstate);
24976 if (PyErr_Occurred()) SWIG_fail;
24977 }
24978 resultobj = SWIG_Py_Void();
24979 return resultobj;
24980 fail:
24981 return NULL;
24982 }
24983
24984
24985 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24986 PyObject *resultobj = 0;
24987 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24988 bool arg2 ;
24989 void *argp1 = 0 ;
24990 int res1 = 0 ;
24991 bool val2 ;
24992 int ecode2 = 0 ;
24993 PyObject * obj0 = 0 ;
24994 PyObject * obj1 = 0 ;
24995 char * kwnames[] = {
24996 (char *) "self",(char *) "flag", NULL
24997 };
24998
24999 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25000 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25001 if (!SWIG_IsOK(res1)) {
25002 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25003 }
25004 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25005 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25006 if (!SWIG_IsOK(ecode2)) {
25007 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25008 }
25009 arg2 = static_cast< bool >(val2);
25010 {
25011 PyThreadState* __tstate = wxPyBeginAllowThreads();
25012 (arg1)->SetDefaultMinMargins(arg2);
25013 wxPyEndAllowThreads(__tstate);
25014 if (PyErr_Occurred()) SWIG_fail;
25015 }
25016 resultobj = SWIG_Py_Void();
25017 return resultobj;
25018 fail:
25019 return NULL;
25020 }
25021
25022
25023 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25024 PyObject *resultobj = 0;
25025 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25026 wxPoint *arg2 = 0 ;
25027 void *argp1 = 0 ;
25028 int res1 = 0 ;
25029 wxPoint temp2 ;
25030 PyObject * obj0 = 0 ;
25031 PyObject * obj1 = 0 ;
25032 char * kwnames[] = {
25033 (char *) "self",(char *) "pt", NULL
25034 };
25035
25036 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25037 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25038 if (!SWIG_IsOK(res1)) {
25039 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25040 }
25041 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25042 {
25043 arg2 = &temp2;
25044 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25045 }
25046 {
25047 PyThreadState* __tstate = wxPyBeginAllowThreads();
25048 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
25049 wxPyEndAllowThreads(__tstate);
25050 if (PyErr_Occurred()) SWIG_fail;
25051 }
25052 resultobj = SWIG_Py_Void();
25053 return resultobj;
25054 fail:
25055 return NULL;
25056 }
25057
25058
25059 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25060 PyObject *resultobj = 0;
25061 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25062 wxPoint *arg2 = 0 ;
25063 void *argp1 = 0 ;
25064 int res1 = 0 ;
25065 wxPoint temp2 ;
25066 PyObject * obj0 = 0 ;
25067 PyObject * obj1 = 0 ;
25068 char * kwnames[] = {
25069 (char *) "self",(char *) "pt", NULL
25070 };
25071
25072 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25073 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25074 if (!SWIG_IsOK(res1)) {
25075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25076 }
25077 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25078 {
25079 arg2 = &temp2;
25080 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25081 }
25082 {
25083 PyThreadState* __tstate = wxPyBeginAllowThreads();
25084 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
25085 wxPyEndAllowThreads(__tstate);
25086 if (PyErr_Occurred()) SWIG_fail;
25087 }
25088 resultobj = SWIG_Py_Void();
25089 return resultobj;
25090 fail:
25091 return NULL;
25092 }
25093
25094
25095 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25096 PyObject *resultobj = 0;
25097 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25098 wxPoint *arg2 = 0 ;
25099 void *argp1 = 0 ;
25100 int res1 = 0 ;
25101 wxPoint temp2 ;
25102 PyObject * obj0 = 0 ;
25103 PyObject * obj1 = 0 ;
25104 char * kwnames[] = {
25105 (char *) "self",(char *) "pt", NULL
25106 };
25107
25108 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25109 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25110 if (!SWIG_IsOK(res1)) {
25111 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25112 }
25113 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25114 {
25115 arg2 = &temp2;
25116 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25117 }
25118 {
25119 PyThreadState* __tstate = wxPyBeginAllowThreads();
25120 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
25121 wxPyEndAllowThreads(__tstate);
25122 if (PyErr_Occurred()) SWIG_fail;
25123 }
25124 resultobj = SWIG_Py_Void();
25125 return resultobj;
25126 fail:
25127 return NULL;
25128 }
25129
25130
25131 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25132 PyObject *resultobj = 0;
25133 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25134 wxPoint *arg2 = 0 ;
25135 void *argp1 = 0 ;
25136 int res1 = 0 ;
25137 wxPoint temp2 ;
25138 PyObject * obj0 = 0 ;
25139 PyObject * obj1 = 0 ;
25140 char * kwnames[] = {
25141 (char *) "self",(char *) "pt", NULL
25142 };
25143
25144 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25145 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25146 if (!SWIG_IsOK(res1)) {
25147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25148 }
25149 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25150 {
25151 arg2 = &temp2;
25152 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25153 }
25154 {
25155 PyThreadState* __tstate = wxPyBeginAllowThreads();
25156 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
25157 wxPyEndAllowThreads(__tstate);
25158 if (PyErr_Occurred()) SWIG_fail;
25159 }
25160 resultobj = SWIG_Py_Void();
25161 return resultobj;
25162 fail:
25163 return NULL;
25164 }
25165
25166
25167 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25168 PyObject *resultobj = 0;
25169 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25170 wxPaperSize arg2 ;
25171 void *argp1 = 0 ;
25172 int res1 = 0 ;
25173 int val2 ;
25174 int ecode2 = 0 ;
25175 PyObject * obj0 = 0 ;
25176 PyObject * obj1 = 0 ;
25177 char * kwnames[] = {
25178 (char *) "self",(char *) "id", NULL
25179 };
25180
25181 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
25182 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25183 if (!SWIG_IsOK(res1)) {
25184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25185 }
25186 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25187 ecode2 = SWIG_AsVal_int(obj1, &val2);
25188 if (!SWIG_IsOK(ecode2)) {
25189 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25190 }
25191 arg2 = static_cast< wxPaperSize >(val2);
25192 {
25193 PyThreadState* __tstate = wxPyBeginAllowThreads();
25194 (arg1)->SetPaperId(arg2);
25195 wxPyEndAllowThreads(__tstate);
25196 if (PyErr_Occurred()) SWIG_fail;
25197 }
25198 resultobj = SWIG_Py_Void();
25199 return resultobj;
25200 fail:
25201 return NULL;
25202 }
25203
25204
25205 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25206 PyObject *resultobj = 0;
25207 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25208 wxSize *arg2 = 0 ;
25209 void *argp1 = 0 ;
25210 int res1 = 0 ;
25211 wxSize temp2 ;
25212 PyObject * obj0 = 0 ;
25213 PyObject * obj1 = 0 ;
25214 char * kwnames[] = {
25215 (char *) "self",(char *) "size", NULL
25216 };
25217
25218 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
25219 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25220 if (!SWIG_IsOK(res1)) {
25221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25222 }
25223 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25224 {
25225 arg2 = &temp2;
25226 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25227 }
25228 {
25229 PyThreadState* __tstate = wxPyBeginAllowThreads();
25230 (arg1)->SetPaperSize((wxSize const &)*arg2);
25231 wxPyEndAllowThreads(__tstate);
25232 if (PyErr_Occurred()) SWIG_fail;
25233 }
25234 resultobj = SWIG_Py_Void();
25235 return resultobj;
25236 fail:
25237 return NULL;
25238 }
25239
25240
25241 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25242 PyObject *resultobj = 0;
25243 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25244 wxPrintData *arg2 = 0 ;
25245 void *argp1 = 0 ;
25246 int res1 = 0 ;
25247 void *argp2 = 0 ;
25248 int res2 = 0 ;
25249 PyObject * obj0 = 0 ;
25250 PyObject * obj1 = 0 ;
25251 char * kwnames[] = {
25252 (char *) "self",(char *) "printData", NULL
25253 };
25254
25255 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
25256 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25257 if (!SWIG_IsOK(res1)) {
25258 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25259 }
25260 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25261 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
25262 if (!SWIG_IsOK(res2)) {
25263 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25264 }
25265 if (!argp2) {
25266 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25267 }
25268 arg2 = reinterpret_cast< wxPrintData * >(argp2);
25269 {
25270 PyThreadState* __tstate = wxPyBeginAllowThreads();
25271 (arg1)->SetPrintData((wxPrintData const &)*arg2);
25272 wxPyEndAllowThreads(__tstate);
25273 if (PyErr_Occurred()) SWIG_fail;
25274 }
25275 resultobj = SWIG_Py_Void();
25276 return resultobj;
25277 fail:
25278 return NULL;
25279 }
25280
25281
25282 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25283 PyObject *resultobj = 0;
25284 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25285 void *argp1 = 0 ;
25286 int res1 = 0 ;
25287 PyObject *swig_obj[1] ;
25288
25289 if (!args) SWIG_fail;
25290 swig_obj[0] = args;
25291 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25292 if (!SWIG_IsOK(res1)) {
25293 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25294 }
25295 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25296 {
25297 PyThreadState* __tstate = wxPyBeginAllowThreads();
25298 (arg1)->CalculateIdFromPaperSize();
25299 wxPyEndAllowThreads(__tstate);
25300 if (PyErr_Occurred()) SWIG_fail;
25301 }
25302 resultobj = SWIG_Py_Void();
25303 return resultobj;
25304 fail:
25305 return NULL;
25306 }
25307
25308
25309 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25310 PyObject *resultobj = 0;
25311 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25312 void *argp1 = 0 ;
25313 int res1 = 0 ;
25314 PyObject *swig_obj[1] ;
25315
25316 if (!args) SWIG_fail;
25317 swig_obj[0] = args;
25318 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25319 if (!SWIG_IsOK(res1)) {
25320 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25321 }
25322 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25323 {
25324 PyThreadState* __tstate = wxPyBeginAllowThreads();
25325 (arg1)->CalculatePaperSizeFromId();
25326 wxPyEndAllowThreads(__tstate);
25327 if (PyErr_Occurred()) SWIG_fail;
25328 }
25329 resultobj = SWIG_Py_Void();
25330 return resultobj;
25331 fail:
25332 return NULL;
25333 }
25334
25335
25336 SWIGINTERN PyObject *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25337 PyObject *obj;
25338 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25339 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
25340 return SWIG_Py_Void();
25341 }
25342
25343 SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25344 return SWIG_Python_InitShadowInstance(args);
25345 }
25346
25347 SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25348 PyObject *resultobj = 0;
25349 wxWindow *arg1 = (wxWindow *) 0 ;
25350 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
25351 wxPageSetupDialog *result = 0 ;
25352 void *argp1 = 0 ;
25353 int res1 = 0 ;
25354 void *argp2 = 0 ;
25355 int res2 = 0 ;
25356 PyObject * obj0 = 0 ;
25357 PyObject * obj1 = 0 ;
25358 char * kwnames[] = {
25359 (char *) "parent",(char *) "data", NULL
25360 };
25361
25362 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
25363 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25364 if (!SWIG_IsOK(res1)) {
25365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25366 }
25367 arg1 = reinterpret_cast< wxWindow * >(argp1);
25368 if (obj1) {
25369 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25370 if (!SWIG_IsOK(res2)) {
25371 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25372 }
25373 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
25374 }
25375 {
25376 if (!wxPyCheckForApp()) SWIG_fail;
25377 PyThreadState* __tstate = wxPyBeginAllowThreads();
25378 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
25379 wxPyEndAllowThreads(__tstate);
25380 if (PyErr_Occurred()) SWIG_fail;
25381 }
25382 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
25383 return resultobj;
25384 fail:
25385 return NULL;
25386 }
25387
25388
25389 SWIGINTERN PyObject *_wrap_delete_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25390 PyObject *resultobj = 0;
25391 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25392 void *argp1 = 0 ;
25393 int res1 = 0 ;
25394 PyObject *swig_obj[1] ;
25395
25396 if (!args) SWIG_fail;
25397 swig_obj[0] = args;
25398 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_DISOWN | 0 );
25399 if (!SWIG_IsOK(res1)) {
25400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25401 }
25402 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25403 {
25404 PyThreadState* __tstate = wxPyBeginAllowThreads();
25405 delete arg1;
25406
25407 wxPyEndAllowThreads(__tstate);
25408 if (PyErr_Occurred()) SWIG_fail;
25409 }
25410 resultobj = SWIG_Py_Void();
25411 return resultobj;
25412 fail:
25413 return NULL;
25414 }
25415
25416
25417 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25418 PyObject *resultobj = 0;
25419 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25420 wxPageSetupDialogData *result = 0 ;
25421 void *argp1 = 0 ;
25422 int res1 = 0 ;
25423 PyObject *swig_obj[1] ;
25424
25425 if (!args) SWIG_fail;
25426 swig_obj[0] = args;
25427 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25428 if (!SWIG_IsOK(res1)) {
25429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25430 }
25431 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25432 {
25433 PyThreadState* __tstate = wxPyBeginAllowThreads();
25434 {
25435 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
25436 result = (wxPageSetupDialogData *) &_result_ref;
25437 }
25438 wxPyEndAllowThreads(__tstate);
25439 if (PyErr_Occurred()) SWIG_fail;
25440 }
25441 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25442 return resultobj;
25443 fail:
25444 return NULL;
25445 }
25446
25447
25448 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25449 PyObject *resultobj = 0;
25450 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25451 wxPageSetupDialogData *result = 0 ;
25452 void *argp1 = 0 ;
25453 int res1 = 0 ;
25454 PyObject *swig_obj[1] ;
25455
25456 if (!args) SWIG_fail;
25457 swig_obj[0] = args;
25458 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25459 if (!SWIG_IsOK(res1)) {
25460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25461 }
25462 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25463 {
25464 PyThreadState* __tstate = wxPyBeginAllowThreads();
25465 {
25466 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
25467 result = (wxPageSetupDialogData *) &_result_ref;
25468 }
25469 wxPyEndAllowThreads(__tstate);
25470 if (PyErr_Occurred()) SWIG_fail;
25471 }
25472 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25473 return resultobj;
25474 fail:
25475 return NULL;
25476 }
25477
25478
25479 SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25480 PyObject *resultobj = 0;
25481 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25482 int result;
25483 void *argp1 = 0 ;
25484 int res1 = 0 ;
25485 PyObject *swig_obj[1] ;
25486
25487 if (!args) SWIG_fail;
25488 swig_obj[0] = args;
25489 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25490 if (!SWIG_IsOK(res1)) {
25491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25492 }
25493 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25494 {
25495 PyThreadState* __tstate = wxPyBeginAllowThreads();
25496 result = (int)(arg1)->ShowModal();
25497 wxPyEndAllowThreads(__tstate);
25498 if (PyErr_Occurred()) SWIG_fail;
25499 }
25500 resultobj = SWIG_From_int(static_cast< int >(result));
25501 return resultobj;
25502 fail:
25503 return NULL;
25504 }
25505
25506
25507 SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25508 PyObject *obj;
25509 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25510 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
25511 return SWIG_Py_Void();
25512 }
25513
25514 SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25515 return SWIG_Python_InitShadowInstance(args);
25516 }
25517
25518 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
25519 PyObject *resultobj = 0;
25520 wxPrintDialogData *result = 0 ;
25521
25522 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
25523 {
25524 PyThreadState* __tstate = wxPyBeginAllowThreads();
25525 result = (wxPrintDialogData *)new wxPrintDialogData();
25526 wxPyEndAllowThreads(__tstate);
25527 if (PyErr_Occurred()) SWIG_fail;
25528 }
25529 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25530 return resultobj;
25531 fail:
25532 return NULL;
25533 }
25534
25535
25536 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25537 PyObject *resultobj = 0;
25538 wxPrintData *arg1 = 0 ;
25539 wxPrintDialogData *result = 0 ;
25540 void *argp1 = 0 ;
25541 int res1 = 0 ;
25542
25543 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25544 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
25545 if (!SWIG_IsOK(res1)) {
25546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25547 }
25548 if (!argp1) {
25549 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25550 }
25551 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25552 {
25553 PyThreadState* __tstate = wxPyBeginAllowThreads();
25554 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
25555 wxPyEndAllowThreads(__tstate);
25556 if (PyErr_Occurred()) SWIG_fail;
25557 }
25558 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25559 return resultobj;
25560 fail:
25561 return NULL;
25562 }
25563
25564
25565 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25566 PyObject *resultobj = 0;
25567 wxPrintDialogData *arg1 = 0 ;
25568 wxPrintDialogData *result = 0 ;
25569 void *argp1 = 0 ;
25570 int res1 = 0 ;
25571
25572 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25573 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
25574 if (!SWIG_IsOK(res1)) {
25575 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25576 }
25577 if (!argp1) {
25578 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25579 }
25580 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25581 {
25582 PyThreadState* __tstate = wxPyBeginAllowThreads();
25583 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
25584 wxPyEndAllowThreads(__tstate);
25585 if (PyErr_Occurred()) SWIG_fail;
25586 }
25587 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25588 return resultobj;
25589 fail:
25590 return NULL;
25591 }
25592
25593
25594 SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
25595 int argc;
25596 PyObject *argv[2];
25597
25598 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
25599 --argc;
25600 if (argc == 0) {
25601 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
25602 }
25603 if (argc == 1) {
25604 int _v = 0;
25605 {
25606 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
25607 _v = SWIG_CheckState(res);
25608 }
25609 if (!_v) goto check_2;
25610 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
25611 }
25612 check_2:
25613
25614 if (argc == 1) {
25615 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
25616 }
25617
25618 fail:
25619 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
25620 return NULL;
25621 }
25622
25623
25624 SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25625 PyObject *resultobj = 0;
25626 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25627 void *argp1 = 0 ;
25628 int res1 = 0 ;
25629 PyObject *swig_obj[1] ;
25630
25631 if (!args) SWIG_fail;
25632 swig_obj[0] = args;
25633 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
25634 if (!SWIG_IsOK(res1)) {
25635 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25636 }
25637 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25638 {
25639 PyThreadState* __tstate = wxPyBeginAllowThreads();
25640 delete arg1;
25641
25642 wxPyEndAllowThreads(__tstate);
25643 if (PyErr_Occurred()) SWIG_fail;
25644 }
25645 resultobj = SWIG_Py_Void();
25646 return resultobj;
25647 fail:
25648 return NULL;
25649 }
25650
25651
25652 SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25653 PyObject *resultobj = 0;
25654 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25655 int result;
25656 void *argp1 = 0 ;
25657 int res1 = 0 ;
25658 PyObject *swig_obj[1] ;
25659
25660 if (!args) SWIG_fail;
25661 swig_obj[0] = args;
25662 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25663 if (!SWIG_IsOK(res1)) {
25664 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25665 }
25666 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25667 {
25668 PyThreadState* __tstate = wxPyBeginAllowThreads();
25669 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
25670 wxPyEndAllowThreads(__tstate);
25671 if (PyErr_Occurred()) SWIG_fail;
25672 }
25673 resultobj = SWIG_From_int(static_cast< int >(result));
25674 return resultobj;
25675 fail:
25676 return NULL;
25677 }
25678
25679
25680 SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25681 PyObject *resultobj = 0;
25682 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25683 int result;
25684 void *argp1 = 0 ;
25685 int res1 = 0 ;
25686 PyObject *swig_obj[1] ;
25687
25688 if (!args) SWIG_fail;
25689 swig_obj[0] = args;
25690 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25691 if (!SWIG_IsOK(res1)) {
25692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25693 }
25694 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25695 {
25696 PyThreadState* __tstate = wxPyBeginAllowThreads();
25697 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
25698 wxPyEndAllowThreads(__tstate);
25699 if (PyErr_Occurred()) SWIG_fail;
25700 }
25701 resultobj = SWIG_From_int(static_cast< int >(result));
25702 return resultobj;
25703 fail:
25704 return NULL;
25705 }
25706
25707
25708 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25709 PyObject *resultobj = 0;
25710 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25711 int result;
25712 void *argp1 = 0 ;
25713 int res1 = 0 ;
25714 PyObject *swig_obj[1] ;
25715
25716 if (!args) SWIG_fail;
25717 swig_obj[0] = args;
25718 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25719 if (!SWIG_IsOK(res1)) {
25720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25721 }
25722 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25723 {
25724 PyThreadState* __tstate = wxPyBeginAllowThreads();
25725 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
25726 wxPyEndAllowThreads(__tstate);
25727 if (PyErr_Occurred()) SWIG_fail;
25728 }
25729 resultobj = SWIG_From_int(static_cast< int >(result));
25730 return resultobj;
25731 fail:
25732 return NULL;
25733 }
25734
25735
25736 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25737 PyObject *resultobj = 0;
25738 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25739 int result;
25740 void *argp1 = 0 ;
25741 int res1 = 0 ;
25742 PyObject *swig_obj[1] ;
25743
25744 if (!args) SWIG_fail;
25745 swig_obj[0] = args;
25746 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25747 if (!SWIG_IsOK(res1)) {
25748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25749 }
25750 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25751 {
25752 PyThreadState* __tstate = wxPyBeginAllowThreads();
25753 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
25754 wxPyEndAllowThreads(__tstate);
25755 if (PyErr_Occurred()) SWIG_fail;
25756 }
25757 resultobj = SWIG_From_int(static_cast< int >(result));
25758 return resultobj;
25759 fail:
25760 return NULL;
25761 }
25762
25763
25764 SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25765 PyObject *resultobj = 0;
25766 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25767 int result;
25768 void *argp1 = 0 ;
25769 int res1 = 0 ;
25770 PyObject *swig_obj[1] ;
25771
25772 if (!args) SWIG_fail;
25773 swig_obj[0] = args;
25774 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25775 if (!SWIG_IsOK(res1)) {
25776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25777 }
25778 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25779 {
25780 PyThreadState* __tstate = wxPyBeginAllowThreads();
25781 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
25782 wxPyEndAllowThreads(__tstate);
25783 if (PyErr_Occurred()) SWIG_fail;
25784 }
25785 resultobj = SWIG_From_int(static_cast< int >(result));
25786 return resultobj;
25787 fail:
25788 return NULL;
25789 }
25790
25791
25792 SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25793 PyObject *resultobj = 0;
25794 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25795 bool result;
25796 void *argp1 = 0 ;
25797 int res1 = 0 ;
25798 PyObject *swig_obj[1] ;
25799
25800 if (!args) SWIG_fail;
25801 swig_obj[0] = args;
25802 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25803 if (!SWIG_IsOK(res1)) {
25804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25805 }
25806 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25807 {
25808 PyThreadState* __tstate = wxPyBeginAllowThreads();
25809 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
25810 wxPyEndAllowThreads(__tstate);
25811 if (PyErr_Occurred()) SWIG_fail;
25812 }
25813 {
25814 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25815 }
25816 return resultobj;
25817 fail:
25818 return NULL;
25819 }
25820
25821
25822 SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25823 PyObject *resultobj = 0;
25824 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25825 bool result;
25826 void *argp1 = 0 ;
25827 int res1 = 0 ;
25828 PyObject *swig_obj[1] ;
25829
25830 if (!args) SWIG_fail;
25831 swig_obj[0] = args;
25832 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25833 if (!SWIG_IsOK(res1)) {
25834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25835 }
25836 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25837 {
25838 PyThreadState* __tstate = wxPyBeginAllowThreads();
25839 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
25840 wxPyEndAllowThreads(__tstate);
25841 if (PyErr_Occurred()) SWIG_fail;
25842 }
25843 {
25844 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25845 }
25846 return resultobj;
25847 fail:
25848 return NULL;
25849 }
25850
25851
25852 SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25853 PyObject *resultobj = 0;
25854 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25855 bool result;
25856 void *argp1 = 0 ;
25857 int res1 = 0 ;
25858 PyObject *swig_obj[1] ;
25859
25860 if (!args) SWIG_fail;
25861 swig_obj[0] = args;
25862 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25863 if (!SWIG_IsOK(res1)) {
25864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25865 }
25866 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25867 {
25868 PyThreadState* __tstate = wxPyBeginAllowThreads();
25869 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
25870 wxPyEndAllowThreads(__tstate);
25871 if (PyErr_Occurred()) SWIG_fail;
25872 }
25873 {
25874 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25875 }
25876 return resultobj;
25877 fail:
25878 return NULL;
25879 }
25880
25881
25882 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25883 PyObject *resultobj = 0;
25884 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25885 bool result;
25886 void *argp1 = 0 ;
25887 int res1 = 0 ;
25888 PyObject *swig_obj[1] ;
25889
25890 if (!args) SWIG_fail;
25891 swig_obj[0] = args;
25892 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25893 if (!SWIG_IsOK(res1)) {
25894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25895 }
25896 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25897 {
25898 PyThreadState* __tstate = wxPyBeginAllowThreads();
25899 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
25900 wxPyEndAllowThreads(__tstate);
25901 if (PyErr_Occurred()) SWIG_fail;
25902 }
25903 {
25904 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25905 }
25906 return resultobj;
25907 fail:
25908 return NULL;
25909 }
25910
25911
25912 SWIGINTERN PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25913 PyObject *resultobj = 0;
25914 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25915 int arg2 ;
25916 void *argp1 = 0 ;
25917 int res1 = 0 ;
25918 int val2 ;
25919 int ecode2 = 0 ;
25920 PyObject * obj0 = 0 ;
25921 PyObject * obj1 = 0 ;
25922 char * kwnames[] = {
25923 (char *) "self",(char *) "v", NULL
25924 };
25925
25926 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
25927 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25928 if (!SWIG_IsOK(res1)) {
25929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25930 }
25931 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25932 ecode2 = SWIG_AsVal_int(obj1, &val2);
25933 if (!SWIG_IsOK(ecode2)) {
25934 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
25935 }
25936 arg2 = static_cast< int >(val2);
25937 {
25938 PyThreadState* __tstate = wxPyBeginAllowThreads();
25939 (arg1)->SetFromPage(arg2);
25940 wxPyEndAllowThreads(__tstate);
25941 if (PyErr_Occurred()) SWIG_fail;
25942 }
25943 resultobj = SWIG_Py_Void();
25944 return resultobj;
25945 fail:
25946 return NULL;
25947 }
25948
25949
25950 SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25951 PyObject *resultobj = 0;
25952 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25953 int arg2 ;
25954 void *argp1 = 0 ;
25955 int res1 = 0 ;
25956 int val2 ;
25957 int ecode2 = 0 ;
25958 PyObject * obj0 = 0 ;
25959 PyObject * obj1 = 0 ;
25960 char * kwnames[] = {
25961 (char *) "self",(char *) "v", NULL
25962 };
25963
25964 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
25965 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25966 if (!SWIG_IsOK(res1)) {
25967 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25968 }
25969 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25970 ecode2 = SWIG_AsVal_int(obj1, &val2);
25971 if (!SWIG_IsOK(ecode2)) {
25972 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
25973 }
25974 arg2 = static_cast< int >(val2);
25975 {
25976 PyThreadState* __tstate = wxPyBeginAllowThreads();
25977 (arg1)->SetToPage(arg2);
25978 wxPyEndAllowThreads(__tstate);
25979 if (PyErr_Occurred()) SWIG_fail;
25980 }
25981 resultobj = SWIG_Py_Void();
25982 return resultobj;
25983 fail:
25984 return NULL;
25985 }
25986
25987
25988 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25989 PyObject *resultobj = 0;
25990 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25991 int arg2 ;
25992 void *argp1 = 0 ;
25993 int res1 = 0 ;
25994 int val2 ;
25995 int ecode2 = 0 ;
25996 PyObject * obj0 = 0 ;
25997 PyObject * obj1 = 0 ;
25998 char * kwnames[] = {
25999 (char *) "self",(char *) "v", NULL
26000 };
26001
26002 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
26003 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26004 if (!SWIG_IsOK(res1)) {
26005 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26006 }
26007 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26008 ecode2 = SWIG_AsVal_int(obj1, &val2);
26009 if (!SWIG_IsOK(ecode2)) {
26010 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26011 }
26012 arg2 = static_cast< int >(val2);
26013 {
26014 PyThreadState* __tstate = wxPyBeginAllowThreads();
26015 (arg1)->SetMinPage(arg2);
26016 wxPyEndAllowThreads(__tstate);
26017 if (PyErr_Occurred()) SWIG_fail;
26018 }
26019 resultobj = SWIG_Py_Void();
26020 return resultobj;
26021 fail:
26022 return NULL;
26023 }
26024
26025
26026 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26027 PyObject *resultobj = 0;
26028 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26029 int arg2 ;
26030 void *argp1 = 0 ;
26031 int res1 = 0 ;
26032 int val2 ;
26033 int ecode2 = 0 ;
26034 PyObject * obj0 = 0 ;
26035 PyObject * obj1 = 0 ;
26036 char * kwnames[] = {
26037 (char *) "self",(char *) "v", NULL
26038 };
26039
26040 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
26041 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26042 if (!SWIG_IsOK(res1)) {
26043 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26044 }
26045 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26046 ecode2 = SWIG_AsVal_int(obj1, &val2);
26047 if (!SWIG_IsOK(ecode2)) {
26048 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26049 }
26050 arg2 = static_cast< int >(val2);
26051 {
26052 PyThreadState* __tstate = wxPyBeginAllowThreads();
26053 (arg1)->SetMaxPage(arg2);
26054 wxPyEndAllowThreads(__tstate);
26055 if (PyErr_Occurred()) SWIG_fail;
26056 }
26057 resultobj = SWIG_Py_Void();
26058 return resultobj;
26059 fail:
26060 return NULL;
26061 }
26062
26063
26064 SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26065 PyObject *resultobj = 0;
26066 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26067 int arg2 ;
26068 void *argp1 = 0 ;
26069 int res1 = 0 ;
26070 int val2 ;
26071 int ecode2 = 0 ;
26072 PyObject * obj0 = 0 ;
26073 PyObject * obj1 = 0 ;
26074 char * kwnames[] = {
26075 (char *) "self",(char *) "v", NULL
26076 };
26077
26078 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
26079 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26080 if (!SWIG_IsOK(res1)) {
26081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26082 }
26083 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26084 ecode2 = SWIG_AsVal_int(obj1, &val2);
26085 if (!SWIG_IsOK(ecode2)) {
26086 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26087 }
26088 arg2 = static_cast< int >(val2);
26089 {
26090 PyThreadState* __tstate = wxPyBeginAllowThreads();
26091 (arg1)->SetNoCopies(arg2);
26092 wxPyEndAllowThreads(__tstate);
26093 if (PyErr_Occurred()) SWIG_fail;
26094 }
26095 resultobj = SWIG_Py_Void();
26096 return resultobj;
26097 fail:
26098 return NULL;
26099 }
26100
26101
26102 SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26103 PyObject *resultobj = 0;
26104 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26105 bool arg2 ;
26106 void *argp1 = 0 ;
26107 int res1 = 0 ;
26108 bool val2 ;
26109 int ecode2 = 0 ;
26110 PyObject * obj0 = 0 ;
26111 PyObject * obj1 = 0 ;
26112 char * kwnames[] = {
26113 (char *) "self",(char *) "flag", NULL
26114 };
26115
26116 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
26117 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26118 if (!SWIG_IsOK(res1)) {
26119 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26120 }
26121 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26122 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26123 if (!SWIG_IsOK(ecode2)) {
26124 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26125 }
26126 arg2 = static_cast< bool >(val2);
26127 {
26128 PyThreadState* __tstate = wxPyBeginAllowThreads();
26129 (arg1)->SetAllPages(arg2);
26130 wxPyEndAllowThreads(__tstate);
26131 if (PyErr_Occurred()) SWIG_fail;
26132 }
26133 resultobj = SWIG_Py_Void();
26134 return resultobj;
26135 fail:
26136 return NULL;
26137 }
26138
26139
26140 SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26141 PyObject *resultobj = 0;
26142 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26143 bool arg2 ;
26144 void *argp1 = 0 ;
26145 int res1 = 0 ;
26146 bool val2 ;
26147 int ecode2 = 0 ;
26148 PyObject * obj0 = 0 ;
26149 PyObject * obj1 = 0 ;
26150 char * kwnames[] = {
26151 (char *) "self",(char *) "flag", NULL
26152 };
26153
26154 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26155 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26156 if (!SWIG_IsOK(res1)) {
26157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26158 }
26159 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26160 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26161 if (!SWIG_IsOK(ecode2)) {
26162 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26163 }
26164 arg2 = static_cast< bool >(val2);
26165 {
26166 PyThreadState* __tstate = wxPyBeginAllowThreads();
26167 (arg1)->SetSelection(arg2);
26168 wxPyEndAllowThreads(__tstate);
26169 if (PyErr_Occurred()) SWIG_fail;
26170 }
26171 resultobj = SWIG_Py_Void();
26172 return resultobj;
26173 fail:
26174 return NULL;
26175 }
26176
26177
26178 SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26179 PyObject *resultobj = 0;
26180 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26181 bool arg2 ;
26182 void *argp1 = 0 ;
26183 int res1 = 0 ;
26184 bool val2 ;
26185 int ecode2 = 0 ;
26186 PyObject * obj0 = 0 ;
26187 PyObject * obj1 = 0 ;
26188 char * kwnames[] = {
26189 (char *) "self",(char *) "flag", NULL
26190 };
26191
26192 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
26193 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26194 if (!SWIG_IsOK(res1)) {
26195 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26196 }
26197 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26198 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26199 if (!SWIG_IsOK(ecode2)) {
26200 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26201 }
26202 arg2 = static_cast< bool >(val2);
26203 {
26204 PyThreadState* __tstate = wxPyBeginAllowThreads();
26205 (arg1)->SetCollate(arg2);
26206 wxPyEndAllowThreads(__tstate);
26207 if (PyErr_Occurred()) SWIG_fail;
26208 }
26209 resultobj = SWIG_Py_Void();
26210 return resultobj;
26211 fail:
26212 return NULL;
26213 }
26214
26215
26216 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26217 PyObject *resultobj = 0;
26218 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26219 bool arg2 ;
26220 void *argp1 = 0 ;
26221 int res1 = 0 ;
26222 bool val2 ;
26223 int ecode2 = 0 ;
26224 PyObject * obj0 = 0 ;
26225 PyObject * obj1 = 0 ;
26226 char * kwnames[] = {
26227 (char *) "self",(char *) "flag", NULL
26228 };
26229
26230 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26231 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26232 if (!SWIG_IsOK(res1)) {
26233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26234 }
26235 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26236 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26237 if (!SWIG_IsOK(ecode2)) {
26238 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26239 }
26240 arg2 = static_cast< bool >(val2);
26241 {
26242 PyThreadState* __tstate = wxPyBeginAllowThreads();
26243 (arg1)->SetPrintToFile(arg2);
26244 wxPyEndAllowThreads(__tstate);
26245 if (PyErr_Occurred()) SWIG_fail;
26246 }
26247 resultobj = SWIG_Py_Void();
26248 return resultobj;
26249 fail:
26250 return NULL;
26251 }
26252
26253
26254 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26255 PyObject *resultobj = 0;
26256 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26257 bool arg2 ;
26258 void *argp1 = 0 ;
26259 int res1 = 0 ;
26260 bool val2 ;
26261 int ecode2 = 0 ;
26262 PyObject * obj0 = 0 ;
26263 PyObject * obj1 = 0 ;
26264 char * kwnames[] = {
26265 (char *) "self",(char *) "flag", NULL
26266 };
26267
26268 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26269 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26270 if (!SWIG_IsOK(res1)) {
26271 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26272 }
26273 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26274 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26275 if (!SWIG_IsOK(ecode2)) {
26276 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26277 }
26278 arg2 = static_cast< bool >(val2);
26279 {
26280 PyThreadState* __tstate = wxPyBeginAllowThreads();
26281 (arg1)->EnablePrintToFile(arg2);
26282 wxPyEndAllowThreads(__tstate);
26283 if (PyErr_Occurred()) SWIG_fail;
26284 }
26285 resultobj = SWIG_Py_Void();
26286 return resultobj;
26287 fail:
26288 return NULL;
26289 }
26290
26291
26292 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26293 PyObject *resultobj = 0;
26294 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26295 bool arg2 ;
26296 void *argp1 = 0 ;
26297 int res1 = 0 ;
26298 bool val2 ;
26299 int ecode2 = 0 ;
26300 PyObject * obj0 = 0 ;
26301 PyObject * obj1 = 0 ;
26302 char * kwnames[] = {
26303 (char *) "self",(char *) "flag", NULL
26304 };
26305
26306 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26307 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26308 if (!SWIG_IsOK(res1)) {
26309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26310 }
26311 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26312 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26313 if (!SWIG_IsOK(ecode2)) {
26314 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26315 }
26316 arg2 = static_cast< bool >(val2);
26317 {
26318 PyThreadState* __tstate = wxPyBeginAllowThreads();
26319 (arg1)->EnableSelection(arg2);
26320 wxPyEndAllowThreads(__tstate);
26321 if (PyErr_Occurred()) SWIG_fail;
26322 }
26323 resultobj = SWIG_Py_Void();
26324 return resultobj;
26325 fail:
26326 return NULL;
26327 }
26328
26329
26330 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26331 PyObject *resultobj = 0;
26332 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26333 bool arg2 ;
26334 void *argp1 = 0 ;
26335 int res1 = 0 ;
26336 bool val2 ;
26337 int ecode2 = 0 ;
26338 PyObject * obj0 = 0 ;
26339 PyObject * obj1 = 0 ;
26340 char * kwnames[] = {
26341 (char *) "self",(char *) "flag", NULL
26342 };
26343
26344 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
26345 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26346 if (!SWIG_IsOK(res1)) {
26347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26348 }
26349 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26350 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26351 if (!SWIG_IsOK(ecode2)) {
26352 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26353 }
26354 arg2 = static_cast< bool >(val2);
26355 {
26356 PyThreadState* __tstate = wxPyBeginAllowThreads();
26357 (arg1)->EnablePageNumbers(arg2);
26358 wxPyEndAllowThreads(__tstate);
26359 if (PyErr_Occurred()) SWIG_fail;
26360 }
26361 resultobj = SWIG_Py_Void();
26362 return resultobj;
26363 fail:
26364 return NULL;
26365 }
26366
26367
26368 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26369 PyObject *resultobj = 0;
26370 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26371 bool arg2 ;
26372 void *argp1 = 0 ;
26373 int res1 = 0 ;
26374 bool val2 ;
26375 int ecode2 = 0 ;
26376 PyObject * obj0 = 0 ;
26377 PyObject * obj1 = 0 ;
26378 char * kwnames[] = {
26379 (char *) "self",(char *) "flag", NULL
26380 };
26381
26382 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
26383 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26384 if (!SWIG_IsOK(res1)) {
26385 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26386 }
26387 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26388 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26389 if (!SWIG_IsOK(ecode2)) {
26390 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26391 }
26392 arg2 = static_cast< bool >(val2);
26393 {
26394 PyThreadState* __tstate = wxPyBeginAllowThreads();
26395 (arg1)->EnableHelp(arg2);
26396 wxPyEndAllowThreads(__tstate);
26397 if (PyErr_Occurred()) SWIG_fail;
26398 }
26399 resultobj = SWIG_Py_Void();
26400 return resultobj;
26401 fail:
26402 return NULL;
26403 }
26404
26405
26406 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26407 PyObject *resultobj = 0;
26408 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26409 bool result;
26410 void *argp1 = 0 ;
26411 int res1 = 0 ;
26412 PyObject *swig_obj[1] ;
26413
26414 if (!args) SWIG_fail;
26415 swig_obj[0] = args;
26416 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26417 if (!SWIG_IsOK(res1)) {
26418 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26419 }
26420 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26421 {
26422 PyThreadState* __tstate = wxPyBeginAllowThreads();
26423 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
26424 wxPyEndAllowThreads(__tstate);
26425 if (PyErr_Occurred()) SWIG_fail;
26426 }
26427 {
26428 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26429 }
26430 return resultobj;
26431 fail:
26432 return NULL;
26433 }
26434
26435
26436 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26437 PyObject *resultobj = 0;
26438 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26439 bool result;
26440 void *argp1 = 0 ;
26441 int res1 = 0 ;
26442 PyObject *swig_obj[1] ;
26443
26444 if (!args) SWIG_fail;
26445 swig_obj[0] = args;
26446 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26447 if (!SWIG_IsOK(res1)) {
26448 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26449 }
26450 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26451 {
26452 PyThreadState* __tstate = wxPyBeginAllowThreads();
26453 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
26454 wxPyEndAllowThreads(__tstate);
26455 if (PyErr_Occurred()) SWIG_fail;
26456 }
26457 {
26458 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26459 }
26460 return resultobj;
26461 fail:
26462 return NULL;
26463 }
26464
26465
26466 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26467 PyObject *resultobj = 0;
26468 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26469 bool result;
26470 void *argp1 = 0 ;
26471 int res1 = 0 ;
26472 PyObject *swig_obj[1] ;
26473
26474 if (!args) SWIG_fail;
26475 swig_obj[0] = args;
26476 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26477 if (!SWIG_IsOK(res1)) {
26478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26479 }
26480 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26481 {
26482 PyThreadState* __tstate = wxPyBeginAllowThreads();
26483 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
26484 wxPyEndAllowThreads(__tstate);
26485 if (PyErr_Occurred()) SWIG_fail;
26486 }
26487 {
26488 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26489 }
26490 return resultobj;
26491 fail:
26492 return NULL;
26493 }
26494
26495
26496 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26497 PyObject *resultobj = 0;
26498 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26499 bool result;
26500 void *argp1 = 0 ;
26501 int res1 = 0 ;
26502 PyObject *swig_obj[1] ;
26503
26504 if (!args) SWIG_fail;
26505 swig_obj[0] = args;
26506 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26507 if (!SWIG_IsOK(res1)) {
26508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26509 }
26510 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26511 {
26512 PyThreadState* __tstate = wxPyBeginAllowThreads();
26513 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
26514 wxPyEndAllowThreads(__tstate);
26515 if (PyErr_Occurred()) SWIG_fail;
26516 }
26517 {
26518 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26519 }
26520 return resultobj;
26521 fail:
26522 return NULL;
26523 }
26524
26525
26526 SWIGINTERN PyObject *_wrap_PrintDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26527 PyObject *resultobj = 0;
26528 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26529 bool result;
26530 void *argp1 = 0 ;
26531 int res1 = 0 ;
26532 PyObject *swig_obj[1] ;
26533
26534 if (!args) SWIG_fail;
26535 swig_obj[0] = args;
26536 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26537 if (!SWIG_IsOK(res1)) {
26538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26539 }
26540 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26541 {
26542 PyThreadState* __tstate = wxPyBeginAllowThreads();
26543 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
26544 wxPyEndAllowThreads(__tstate);
26545 if (PyErr_Occurred()) SWIG_fail;
26546 }
26547 {
26548 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26549 }
26550 return resultobj;
26551 fail:
26552 return NULL;
26553 }
26554
26555
26556 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26557 PyObject *resultobj = 0;
26558 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26559 wxPrintData *result = 0 ;
26560 void *argp1 = 0 ;
26561 int res1 = 0 ;
26562 PyObject *swig_obj[1] ;
26563
26564 if (!args) SWIG_fail;
26565 swig_obj[0] = args;
26566 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26567 if (!SWIG_IsOK(res1)) {
26568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26569 }
26570 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26571 {
26572 PyThreadState* __tstate = wxPyBeginAllowThreads();
26573 {
26574 wxPrintData &_result_ref = (arg1)->GetPrintData();
26575 result = (wxPrintData *) &_result_ref;
26576 }
26577 wxPyEndAllowThreads(__tstate);
26578 if (PyErr_Occurred()) SWIG_fail;
26579 }
26580 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
26581 return resultobj;
26582 fail:
26583 return NULL;
26584 }
26585
26586
26587 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26588 PyObject *resultobj = 0;
26589 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26590 wxPrintData *arg2 = 0 ;
26591 void *argp1 = 0 ;
26592 int res1 = 0 ;
26593 void *argp2 = 0 ;
26594 int res2 = 0 ;
26595 PyObject * obj0 = 0 ;
26596 PyObject * obj1 = 0 ;
26597 char * kwnames[] = {
26598 (char *) "self",(char *) "printData", NULL
26599 };
26600
26601 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
26602 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26603 if (!SWIG_IsOK(res1)) {
26604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26605 }
26606 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26607 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
26608 if (!SWIG_IsOK(res2)) {
26609 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26610 }
26611 if (!argp2) {
26612 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26613 }
26614 arg2 = reinterpret_cast< wxPrintData * >(argp2);
26615 {
26616 PyThreadState* __tstate = wxPyBeginAllowThreads();
26617 (arg1)->SetPrintData((wxPrintData const &)*arg2);
26618 wxPyEndAllowThreads(__tstate);
26619 if (PyErr_Occurred()) SWIG_fail;
26620 }
26621 resultobj = SWIG_Py_Void();
26622 return resultobj;
26623 fail:
26624 return NULL;
26625 }
26626
26627
26628 SWIGINTERN PyObject *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26629 PyObject *obj;
26630 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26631 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
26632 return SWIG_Py_Void();
26633 }
26634
26635 SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26636 return SWIG_Python_InitShadowInstance(args);
26637 }
26638
26639 SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26640 PyObject *resultobj = 0;
26641 wxWindow *arg1 = (wxWindow *) 0 ;
26642 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
26643 wxPrintDialog *result = 0 ;
26644 void *argp1 = 0 ;
26645 int res1 = 0 ;
26646 void *argp2 = 0 ;
26647 int res2 = 0 ;
26648 PyObject * obj0 = 0 ;
26649 PyObject * obj1 = 0 ;
26650 char * kwnames[] = {
26651 (char *) "parent",(char *) "data", NULL
26652 };
26653
26654 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
26655 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
26656 if (!SWIG_IsOK(res1)) {
26657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26658 }
26659 arg1 = reinterpret_cast< wxWindow * >(argp1);
26660 if (obj1) {
26661 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26662 if (!SWIG_IsOK(res2)) {
26663 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
26664 }
26665 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
26666 }
26667 {
26668 if (!wxPyCheckForApp()) SWIG_fail;
26669 PyThreadState* __tstate = wxPyBeginAllowThreads();
26670 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
26671 wxPyEndAllowThreads(__tstate);
26672 if (PyErr_Occurred()) SWIG_fail;
26673 }
26674 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
26675 return resultobj;
26676 fail:
26677 return NULL;
26678 }
26679
26680
26681 SWIGINTERN PyObject *_wrap_delete_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26682 PyObject *resultobj = 0;
26683 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26684 void *argp1 = 0 ;
26685 int res1 = 0 ;
26686 PyObject *swig_obj[1] ;
26687
26688 if (!args) SWIG_fail;
26689 swig_obj[0] = args;
26690 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_DISOWN | 0 );
26691 if (!SWIG_IsOK(res1)) {
26692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26693 }
26694 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26695 {
26696 PyThreadState* __tstate = wxPyBeginAllowThreads();
26697 delete arg1;
26698
26699 wxPyEndAllowThreads(__tstate);
26700 if (PyErr_Occurred()) SWIG_fail;
26701 }
26702 resultobj = SWIG_Py_Void();
26703 return resultobj;
26704 fail:
26705 return NULL;
26706 }
26707
26708
26709 SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26710 PyObject *resultobj = 0;
26711 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26712 int result;
26713 void *argp1 = 0 ;
26714 int res1 = 0 ;
26715 PyObject *swig_obj[1] ;
26716
26717 if (!args) SWIG_fail;
26718 swig_obj[0] = args;
26719 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26720 if (!SWIG_IsOK(res1)) {
26721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26722 }
26723 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26724 {
26725 PyThreadState* __tstate = wxPyBeginAllowThreads();
26726 result = (int)(arg1)->ShowModal();
26727 wxPyEndAllowThreads(__tstate);
26728 if (PyErr_Occurred()) SWIG_fail;
26729 }
26730 resultobj = SWIG_From_int(static_cast< int >(result));
26731 return resultobj;
26732 fail:
26733 return NULL;
26734 }
26735
26736
26737 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26738 PyObject *resultobj = 0;
26739 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26740 wxPrintDialogData *result = 0 ;
26741 void *argp1 = 0 ;
26742 int res1 = 0 ;
26743 PyObject *swig_obj[1] ;
26744
26745 if (!args) SWIG_fail;
26746 swig_obj[0] = args;
26747 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26748 if (!SWIG_IsOK(res1)) {
26749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26750 }
26751 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26752 {
26753 PyThreadState* __tstate = wxPyBeginAllowThreads();
26754 {
26755 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
26756 result = (wxPrintDialogData *) &_result_ref;
26757 }
26758 wxPyEndAllowThreads(__tstate);
26759 if (PyErr_Occurred()) SWIG_fail;
26760 }
26761 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26762 return resultobj;
26763 fail:
26764 return NULL;
26765 }
26766
26767
26768 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26769 PyObject *resultobj = 0;
26770 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26771 wxPrintData *result = 0 ;
26772 void *argp1 = 0 ;
26773 int res1 = 0 ;
26774 PyObject *swig_obj[1] ;
26775
26776 if (!args) SWIG_fail;
26777 swig_obj[0] = args;
26778 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26779 if (!SWIG_IsOK(res1)) {
26780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26781 }
26782 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26783 {
26784 PyThreadState* __tstate = wxPyBeginAllowThreads();
26785 {
26786 wxPrintData &_result_ref = (arg1)->GetPrintData();
26787 result = (wxPrintData *) &_result_ref;
26788 }
26789 wxPyEndAllowThreads(__tstate);
26790 if (PyErr_Occurred()) SWIG_fail;
26791 }
26792 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
26793 return resultobj;
26794 fail:
26795 return NULL;
26796 }
26797
26798
26799 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26800 PyObject *resultobj = 0;
26801 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26802 wxDC *result = 0 ;
26803 void *argp1 = 0 ;
26804 int res1 = 0 ;
26805 PyObject *swig_obj[1] ;
26806
26807 if (!args) SWIG_fail;
26808 swig_obj[0] = args;
26809 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26810 if (!SWIG_IsOK(res1)) {
26811 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26812 }
26813 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26814 {
26815 PyThreadState* __tstate = wxPyBeginAllowThreads();
26816 result = (wxDC *)(arg1)->GetPrintDC();
26817 wxPyEndAllowThreads(__tstate);
26818 if (PyErr_Occurred()) SWIG_fail;
26819 }
26820 {
26821 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
26822 }
26823 return resultobj;
26824 fail:
26825 return NULL;
26826 }
26827
26828
26829 SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26830 PyObject *obj;
26831 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26832 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
26833 return SWIG_Py_Void();
26834 }
26835
26836 SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26837 return SWIG_Python_InitShadowInstance(args);
26838 }
26839
26840 SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26841 PyObject *resultobj = 0;
26842 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
26843 wxPrinter *result = 0 ;
26844 void *argp1 = 0 ;
26845 int res1 = 0 ;
26846 PyObject * obj0 = 0 ;
26847 char * kwnames[] = {
26848 (char *) "data", NULL
26849 };
26850
26851 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
26852 if (obj0) {
26853 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26854 if (!SWIG_IsOK(res1)) {
26855 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26856 }
26857 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26858 }
26859 {
26860 if (!wxPyCheckForApp()) SWIG_fail;
26861 PyThreadState* __tstate = wxPyBeginAllowThreads();
26862 result = (wxPrinter *)new wxPrinter(arg1);
26863 wxPyEndAllowThreads(__tstate);
26864 if (PyErr_Occurred()) SWIG_fail;
26865 }
26866 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
26867 return resultobj;
26868 fail:
26869 return NULL;
26870 }
26871
26872
26873 SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26874 PyObject *resultobj = 0;
26875 wxPrinter *arg1 = (wxPrinter *) 0 ;
26876 void *argp1 = 0 ;
26877 int res1 = 0 ;
26878 PyObject *swig_obj[1] ;
26879
26880 if (!args) SWIG_fail;
26881 swig_obj[0] = args;
26882 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
26883 if (!SWIG_IsOK(res1)) {
26884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
26885 }
26886 arg1 = reinterpret_cast< wxPrinter * >(argp1);
26887 {
26888 PyThreadState* __tstate = wxPyBeginAllowThreads();
26889 delete arg1;
26890
26891 wxPyEndAllowThreads(__tstate);
26892 if (PyErr_Occurred()) SWIG_fail;
26893 }
26894 resultobj = SWIG_Py_Void();
26895 return resultobj;
26896 fail:
26897 return NULL;
26898 }
26899
26900
26901 SWIGINTERN PyObject *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26902 PyObject *resultobj = 0;
26903 wxPrinter *arg1 = (wxPrinter *) 0 ;
26904 wxWindow *arg2 = (wxWindow *) 0 ;
26905 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
26906 wxWindow *result = 0 ;
26907 void *argp1 = 0 ;
26908 int res1 = 0 ;
26909 void *argp2 = 0 ;
26910 int res2 = 0 ;
26911 void *argp3 = 0 ;
26912 int res3 = 0 ;
26913 PyObject * obj0 = 0 ;
26914 PyObject * obj1 = 0 ;
26915 PyObject * obj2 = 0 ;
26916 char * kwnames[] = {
26917 (char *) "self",(char *) "parent",(char *) "printout", NULL
26918 };
26919
26920 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
26921 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
26922 if (!SWIG_IsOK(res1)) {
26923 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
26924 }
26925 arg1 = reinterpret_cast< wxPrinter * >(argp1);
26926 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
26927 if (!SWIG_IsOK(res2)) {
26928 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
26929 }
26930 arg2 = reinterpret_cast< wxWindow * >(argp2);
26931 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
26932 if (!SWIG_IsOK(res3)) {
26933 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
26934 }
26935 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
26936 {
26937 PyThreadState* __tstate = wxPyBeginAllowThreads();
26938 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
26939 wxPyEndAllowThreads(__tstate);
26940 if (PyErr_Occurred()) SWIG_fail;
26941 }
26942 {
26943 resultobj = wxPyMake_wxObject(result, 0);
26944 }
26945 return resultobj;
26946 fail:
26947 return NULL;
26948 }
26949
26950
26951 SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26952 PyObject *resultobj = 0;
26953 wxPrinter *arg1 = (wxPrinter *) 0 ;
26954 wxWindow *arg2 = (wxWindow *) 0 ;
26955 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
26956 wxString *arg4 = 0 ;
26957 void *argp1 = 0 ;
26958 int res1 = 0 ;
26959 void *argp2 = 0 ;
26960 int res2 = 0 ;
26961 void *argp3 = 0 ;
26962 int res3 = 0 ;
26963 bool temp4 = false ;
26964 PyObject * obj0 = 0 ;
26965 PyObject * obj1 = 0 ;
26966 PyObject * obj2 = 0 ;
26967 PyObject * obj3 = 0 ;
26968 char * kwnames[] = {
26969 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
26970 };
26971
26972 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
26973 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
26974 if (!SWIG_IsOK(res1)) {
26975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
26976 }
26977 arg1 = reinterpret_cast< wxPrinter * >(argp1);
26978 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
26979 if (!SWIG_IsOK(res2)) {
26980 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
26981 }
26982 arg2 = reinterpret_cast< wxWindow * >(argp2);
26983 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
26984 if (!SWIG_IsOK(res3)) {
26985 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
26986 }
26987 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
26988 {
26989 arg4 = wxString_in_helper(obj3);
26990 if (arg4 == NULL) SWIG_fail;
26991 temp4 = true;
26992 }
26993 {
26994 PyThreadState* __tstate = wxPyBeginAllowThreads();
26995 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
26996 wxPyEndAllowThreads(__tstate);
26997 if (PyErr_Occurred()) SWIG_fail;
26998 }
26999 resultobj = SWIG_Py_Void();
27000 {
27001 if (temp4)
27002 delete arg4;
27003 }
27004 return resultobj;
27005 fail:
27006 {
27007 if (temp4)
27008 delete arg4;
27009 }
27010 return NULL;
27011 }
27012
27013
27014 SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27015 PyObject *resultobj = 0;
27016 wxPrinter *arg1 = (wxPrinter *) 0 ;
27017 wxWindow *arg2 = (wxWindow *) 0 ;
27018 bool result;
27019 void *argp1 = 0 ;
27020 int res1 = 0 ;
27021 void *argp2 = 0 ;
27022 int res2 = 0 ;
27023 PyObject * obj0 = 0 ;
27024 PyObject * obj1 = 0 ;
27025 char * kwnames[] = {
27026 (char *) "self",(char *) "parent", NULL
27027 };
27028
27029 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
27030 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27031 if (!SWIG_IsOK(res1)) {
27032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27033 }
27034 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27035 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27036 if (!SWIG_IsOK(res2)) {
27037 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27038 }
27039 arg2 = reinterpret_cast< wxWindow * >(argp2);
27040 {
27041 PyThreadState* __tstate = wxPyBeginAllowThreads();
27042 result = (bool)(arg1)->Setup(arg2);
27043 wxPyEndAllowThreads(__tstate);
27044 if (PyErr_Occurred()) SWIG_fail;
27045 }
27046 {
27047 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27048 }
27049 return resultobj;
27050 fail:
27051 return NULL;
27052 }
27053
27054
27055 SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27056 PyObject *resultobj = 0;
27057 wxPrinter *arg1 = (wxPrinter *) 0 ;
27058 wxWindow *arg2 = (wxWindow *) 0 ;
27059 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27060 bool arg4 = (bool) true ;
27061 bool result;
27062 void *argp1 = 0 ;
27063 int res1 = 0 ;
27064 void *argp2 = 0 ;
27065 int res2 = 0 ;
27066 void *argp3 = 0 ;
27067 int res3 = 0 ;
27068 bool val4 ;
27069 int ecode4 = 0 ;
27070 PyObject * obj0 = 0 ;
27071 PyObject * obj1 = 0 ;
27072 PyObject * obj2 = 0 ;
27073 PyObject * obj3 = 0 ;
27074 char * kwnames[] = {
27075 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27076 };
27077
27078 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27079 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27080 if (!SWIG_IsOK(res1)) {
27081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27082 }
27083 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27084 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27085 if (!SWIG_IsOK(res2)) {
27086 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27087 }
27088 arg2 = reinterpret_cast< wxWindow * >(argp2);
27089 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27090 if (!SWIG_IsOK(res3)) {
27091 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27092 }
27093 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27094 if (obj3) {
27095 ecode4 = SWIG_AsVal_bool(obj3, &val4);
27096 if (!SWIG_IsOK(ecode4)) {
27097 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27098 }
27099 arg4 = static_cast< bool >(val4);
27100 }
27101 {
27102 PyThreadState* __tstate = wxPyBeginAllowThreads();
27103 result = (bool)(arg1)->Print(arg2,arg3,arg4);
27104 wxPyEndAllowThreads(__tstate);
27105 if (PyErr_Occurred()) SWIG_fail;
27106 }
27107 {
27108 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27109 }
27110 return resultobj;
27111 fail:
27112 return NULL;
27113 }
27114
27115
27116 SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27117 PyObject *resultobj = 0;
27118 wxPrinter *arg1 = (wxPrinter *) 0 ;
27119 wxWindow *arg2 = (wxWindow *) 0 ;
27120 wxDC *result = 0 ;
27121 void *argp1 = 0 ;
27122 int res1 = 0 ;
27123 void *argp2 = 0 ;
27124 int res2 = 0 ;
27125 PyObject * obj0 = 0 ;
27126 PyObject * obj1 = 0 ;
27127 char * kwnames[] = {
27128 (char *) "self",(char *) "parent", NULL
27129 };
27130
27131 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27132 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27133 if (!SWIG_IsOK(res1)) {
27134 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27135 }
27136 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27137 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27138 if (!SWIG_IsOK(res2)) {
27139 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27140 }
27141 arg2 = reinterpret_cast< wxWindow * >(argp2);
27142 {
27143 PyThreadState* __tstate = wxPyBeginAllowThreads();
27144 result = (wxDC *)(arg1)->PrintDialog(arg2);
27145 wxPyEndAllowThreads(__tstate);
27146 if (PyErr_Occurred()) SWIG_fail;
27147 }
27148 {
27149 resultobj = wxPyMake_wxObject(result, (bool)0);
27150 }
27151 return resultobj;
27152 fail:
27153 return NULL;
27154 }
27155
27156
27157 SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27158 PyObject *resultobj = 0;
27159 wxPrinter *arg1 = (wxPrinter *) 0 ;
27160 wxPrintDialogData *result = 0 ;
27161 void *argp1 = 0 ;
27162 int res1 = 0 ;
27163 PyObject *swig_obj[1] ;
27164
27165 if (!args) SWIG_fail;
27166 swig_obj[0] = args;
27167 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27168 if (!SWIG_IsOK(res1)) {
27169 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27170 }
27171 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27172 {
27173 PyThreadState* __tstate = wxPyBeginAllowThreads();
27174 {
27175 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
27176 result = (wxPrintDialogData *) &_result_ref;
27177 }
27178 wxPyEndAllowThreads(__tstate);
27179 if (PyErr_Occurred()) SWIG_fail;
27180 }
27181 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27182 return resultobj;
27183 fail:
27184 return NULL;
27185 }
27186
27187
27188 SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27189 PyObject *resultobj = 0;
27190 wxPrinter *arg1 = (wxPrinter *) 0 ;
27191 bool result;
27192 void *argp1 = 0 ;
27193 int res1 = 0 ;
27194 PyObject *swig_obj[1] ;
27195
27196 if (!args) SWIG_fail;
27197 swig_obj[0] = args;
27198 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27199 if (!SWIG_IsOK(res1)) {
27200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27201 }
27202 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27203 {
27204 PyThreadState* __tstate = wxPyBeginAllowThreads();
27205 result = (bool)(arg1)->GetAbort();
27206 wxPyEndAllowThreads(__tstate);
27207 if (PyErr_Occurred()) SWIG_fail;
27208 }
27209 {
27210 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27211 }
27212 return resultobj;
27213 fail:
27214 return NULL;
27215 }
27216
27217
27218 SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27219 PyObject *resultobj = 0;
27220 wxPrinterError result;
27221
27222 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
27223 {
27224 PyThreadState* __tstate = wxPyBeginAllowThreads();
27225 result = (wxPrinterError)wxPrinter::GetLastError();
27226 wxPyEndAllowThreads(__tstate);
27227 if (PyErr_Occurred()) SWIG_fail;
27228 }
27229 resultobj = SWIG_From_int(static_cast< int >(result));
27230 return resultobj;
27231 fail:
27232 return NULL;
27233 }
27234
27235
27236 SWIGINTERN PyObject *Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27237 PyObject *obj;
27238 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27239 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter, SWIG_NewClientData(obj));
27240 return SWIG_Py_Void();
27241 }
27242
27243 SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27244 return SWIG_Python_InitShadowInstance(args);
27245 }
27246
27247 SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27248 PyObject *resultobj = 0;
27249 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
27250 wxString *arg1 = (wxString *) &arg1_defvalue ;
27251 wxPyPrintout *result = 0 ;
27252 bool temp1 = false ;
27253 PyObject * obj0 = 0 ;
27254 char * kwnames[] = {
27255 (char *) "title", NULL
27256 };
27257
27258 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
27259 if (obj0) {
27260 {
27261 arg1 = wxString_in_helper(obj0);
27262 if (arg1 == NULL) SWIG_fail;
27263 temp1 = true;
27264 }
27265 }
27266 {
27267 if (!wxPyCheckForApp()) SWIG_fail;
27268 PyThreadState* __tstate = wxPyBeginAllowThreads();
27269 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
27270 wxPyEndAllowThreads(__tstate);
27271 if (PyErr_Occurred()) SWIG_fail;
27272 }
27273 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
27274 {
27275 if (temp1)
27276 delete arg1;
27277 }
27278 return resultobj;
27279 fail:
27280 {
27281 if (temp1)
27282 delete arg1;
27283 }
27284 return NULL;
27285 }
27286
27287
27288 SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27289 PyObject *resultobj = 0;
27290 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27291 void *argp1 = 0 ;
27292 int res1 = 0 ;
27293 PyObject *swig_obj[1] ;
27294
27295 if (!args) SWIG_fail;
27296 swig_obj[0] = args;
27297 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
27298 if (!SWIG_IsOK(res1)) {
27299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27300 }
27301 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27302 {
27303 PyThreadState* __tstate = wxPyBeginAllowThreads();
27304 delete arg1;
27305
27306 wxPyEndAllowThreads(__tstate);
27307 if (PyErr_Occurred()) SWIG_fail;
27308 }
27309 resultobj = SWIG_Py_Void();
27310 return resultobj;
27311 fail:
27312 return NULL;
27313 }
27314
27315
27316 SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27317 PyObject *resultobj = 0;
27318 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27319 PyObject *arg2 = (PyObject *) 0 ;
27320 PyObject *arg3 = (PyObject *) 0 ;
27321 void *argp1 = 0 ;
27322 int res1 = 0 ;
27323 PyObject * obj0 = 0 ;
27324 PyObject * obj1 = 0 ;
27325 PyObject * obj2 = 0 ;
27326 char * kwnames[] = {
27327 (char *) "self",(char *) "self",(char *) "_class", NULL
27328 };
27329
27330 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27331 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27332 if (!SWIG_IsOK(res1)) {
27333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27334 }
27335 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27336 arg2 = obj1;
27337 arg3 = obj2;
27338 {
27339 PyThreadState* __tstate = wxPyBeginAllowThreads();
27340 (arg1)->_setCallbackInfo(arg2,arg3);
27341 wxPyEndAllowThreads(__tstate);
27342 if (PyErr_Occurred()) SWIG_fail;
27343 }
27344 resultobj = SWIG_Py_Void();
27345 return resultobj;
27346 fail:
27347 return NULL;
27348 }
27349
27350
27351 SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27352 PyObject *resultobj = 0;
27353 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27354 wxString result;
27355 void *argp1 = 0 ;
27356 int res1 = 0 ;
27357 PyObject *swig_obj[1] ;
27358
27359 if (!args) SWIG_fail;
27360 swig_obj[0] = args;
27361 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27362 if (!SWIG_IsOK(res1)) {
27363 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27364 }
27365 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27366 {
27367 PyThreadState* __tstate = wxPyBeginAllowThreads();
27368 result = ((wxPyPrintout const *)arg1)->GetTitle();
27369 wxPyEndAllowThreads(__tstate);
27370 if (PyErr_Occurred()) SWIG_fail;
27371 }
27372 {
27373 #if wxUSE_UNICODE
27374 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27375 #else
27376 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27377 #endif
27378 }
27379 return resultobj;
27380 fail:
27381 return NULL;
27382 }
27383
27384
27385 SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27386 PyObject *resultobj = 0;
27387 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27388 wxDC *result = 0 ;
27389 void *argp1 = 0 ;
27390 int res1 = 0 ;
27391 PyObject *swig_obj[1] ;
27392
27393 if (!args) SWIG_fail;
27394 swig_obj[0] = args;
27395 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27396 if (!SWIG_IsOK(res1)) {
27397 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27398 }
27399 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27400 {
27401 PyThreadState* __tstate = wxPyBeginAllowThreads();
27402 result = (wxDC *)(arg1)->GetDC();
27403 wxPyEndAllowThreads(__tstate);
27404 if (PyErr_Occurred()) SWIG_fail;
27405 }
27406 {
27407 resultobj = wxPyMake_wxObject(result, (bool)0);
27408 }
27409 return resultobj;
27410 fail:
27411 return NULL;
27412 }
27413
27414
27415 SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27416 PyObject *resultobj = 0;
27417 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27418 wxDC *arg2 = (wxDC *) 0 ;
27419 void *argp1 = 0 ;
27420 int res1 = 0 ;
27421 void *argp2 = 0 ;
27422 int res2 = 0 ;
27423 PyObject * obj0 = 0 ;
27424 PyObject * obj1 = 0 ;
27425 char * kwnames[] = {
27426 (char *) "self",(char *) "dc", NULL
27427 };
27428
27429 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
27430 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27431 if (!SWIG_IsOK(res1)) {
27432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27433 }
27434 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27435 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
27436 if (!SWIG_IsOK(res2)) {
27437 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27438 }
27439 arg2 = reinterpret_cast< wxDC * >(argp2);
27440 {
27441 PyThreadState* __tstate = wxPyBeginAllowThreads();
27442 (arg1)->SetDC(arg2);
27443 wxPyEndAllowThreads(__tstate);
27444 if (PyErr_Occurred()) SWIG_fail;
27445 }
27446 resultobj = SWIG_Py_Void();
27447 return resultobj;
27448 fail:
27449 return NULL;
27450 }
27451
27452
27453 SWIGINTERN PyObject *_wrap_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27454 PyObject *resultobj = 0;
27455 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27456 int arg2 ;
27457 int arg3 ;
27458 void *argp1 = 0 ;
27459 int res1 = 0 ;
27460 int val2 ;
27461 int ecode2 = 0 ;
27462 int val3 ;
27463 int ecode3 = 0 ;
27464 PyObject * obj0 = 0 ;
27465 PyObject * obj1 = 0 ;
27466 PyObject * obj2 = 0 ;
27467 char * kwnames[] = {
27468 (char *) "self",(char *) "w",(char *) "h", NULL
27469 };
27470
27471 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27472 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27473 if (!SWIG_IsOK(res1)) {
27474 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27475 }
27476 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27477 ecode2 = SWIG_AsVal_int(obj1, &val2);
27478 if (!SWIG_IsOK(ecode2)) {
27479 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27480 }
27481 arg2 = static_cast< int >(val2);
27482 ecode3 = SWIG_AsVal_int(obj2, &val3);
27483 if (!SWIG_IsOK(ecode3)) {
27484 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27485 }
27486 arg3 = static_cast< int >(val3);
27487 {
27488 PyThreadState* __tstate = wxPyBeginAllowThreads();
27489 (arg1)->SetPageSizePixels(arg2,arg3);
27490 wxPyEndAllowThreads(__tstate);
27491 if (PyErr_Occurred()) SWIG_fail;
27492 }
27493 resultobj = SWIG_Py_Void();
27494 return resultobj;
27495 fail:
27496 return NULL;
27497 }
27498
27499
27500 SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27501 PyObject *resultobj = 0;
27502 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27503 int *arg2 = (int *) 0 ;
27504 int *arg3 = (int *) 0 ;
27505 void *argp1 = 0 ;
27506 int res1 = 0 ;
27507 int temp2 ;
27508 int res2 = SWIG_TMPOBJ ;
27509 int temp3 ;
27510 int res3 = SWIG_TMPOBJ ;
27511 PyObject *swig_obj[1] ;
27512
27513 arg2 = &temp2;
27514 arg3 = &temp3;
27515 if (!args) SWIG_fail;
27516 swig_obj[0] = args;
27517 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27518 if (!SWIG_IsOK(res1)) {
27519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27520 }
27521 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27522 {
27523 PyThreadState* __tstate = wxPyBeginAllowThreads();
27524 (arg1)->GetPageSizePixels(arg2,arg3);
27525 wxPyEndAllowThreads(__tstate);
27526 if (PyErr_Occurred()) SWIG_fail;
27527 }
27528 resultobj = SWIG_Py_Void();
27529 if (SWIG_IsTmpObj(res2)) {
27530 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27531 } else {
27532 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27533 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27534 }
27535 if (SWIG_IsTmpObj(res3)) {
27536 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27537 } else {
27538 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27539 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27540 }
27541 return resultobj;
27542 fail:
27543 return NULL;
27544 }
27545
27546
27547 SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27548 PyObject *resultobj = 0;
27549 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27550 int arg2 ;
27551 int arg3 ;
27552 void *argp1 = 0 ;
27553 int res1 = 0 ;
27554 int val2 ;
27555 int ecode2 = 0 ;
27556 int val3 ;
27557 int ecode3 = 0 ;
27558 PyObject * obj0 = 0 ;
27559 PyObject * obj1 = 0 ;
27560 PyObject * obj2 = 0 ;
27561 char * kwnames[] = {
27562 (char *) "self",(char *) "w",(char *) "h", NULL
27563 };
27564
27565 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27566 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27567 if (!SWIG_IsOK(res1)) {
27568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27569 }
27570 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27571 ecode2 = SWIG_AsVal_int(obj1, &val2);
27572 if (!SWIG_IsOK(ecode2)) {
27573 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
27574 }
27575 arg2 = static_cast< int >(val2);
27576 ecode3 = SWIG_AsVal_int(obj2, &val3);
27577 if (!SWIG_IsOK(ecode3)) {
27578 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
27579 }
27580 arg3 = static_cast< int >(val3);
27581 {
27582 PyThreadState* __tstate = wxPyBeginAllowThreads();
27583 (arg1)->SetPageSizeMM(arg2,arg3);
27584 wxPyEndAllowThreads(__tstate);
27585 if (PyErr_Occurred()) SWIG_fail;
27586 }
27587 resultobj = SWIG_Py_Void();
27588 return resultobj;
27589 fail:
27590 return NULL;
27591 }
27592
27593
27594 SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27595 PyObject *resultobj = 0;
27596 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27597 int *arg2 = (int *) 0 ;
27598 int *arg3 = (int *) 0 ;
27599 void *argp1 = 0 ;
27600 int res1 = 0 ;
27601 int temp2 ;
27602 int res2 = SWIG_TMPOBJ ;
27603 int temp3 ;
27604 int res3 = SWIG_TMPOBJ ;
27605 PyObject *swig_obj[1] ;
27606
27607 arg2 = &temp2;
27608 arg3 = &temp3;
27609 if (!args) SWIG_fail;
27610 swig_obj[0] = args;
27611 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27612 if (!SWIG_IsOK(res1)) {
27613 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27614 }
27615 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27616 {
27617 PyThreadState* __tstate = wxPyBeginAllowThreads();
27618 (arg1)->GetPageSizeMM(arg2,arg3);
27619 wxPyEndAllowThreads(__tstate);
27620 if (PyErr_Occurred()) SWIG_fail;
27621 }
27622 resultobj = SWIG_Py_Void();
27623 if (SWIG_IsTmpObj(res2)) {
27624 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27625 } else {
27626 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27627 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27628 }
27629 if (SWIG_IsTmpObj(res3)) {
27630 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27631 } else {
27632 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27633 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27634 }
27635 return resultobj;
27636 fail:
27637 return NULL;
27638 }
27639
27640
27641 SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27642 PyObject *resultobj = 0;
27643 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27644 int arg2 ;
27645 int arg3 ;
27646 void *argp1 = 0 ;
27647 int res1 = 0 ;
27648 int val2 ;
27649 int ecode2 = 0 ;
27650 int val3 ;
27651 int ecode3 = 0 ;
27652 PyObject * obj0 = 0 ;
27653 PyObject * obj1 = 0 ;
27654 PyObject * obj2 = 0 ;
27655 char * kwnames[] = {
27656 (char *) "self",(char *) "x",(char *) "y", NULL
27657 };
27658
27659 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27660 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27661 if (!SWIG_IsOK(res1)) {
27662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27663 }
27664 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27665 ecode2 = SWIG_AsVal_int(obj1, &val2);
27666 if (!SWIG_IsOK(ecode2)) {
27667 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
27668 }
27669 arg2 = static_cast< int >(val2);
27670 ecode3 = SWIG_AsVal_int(obj2, &val3);
27671 if (!SWIG_IsOK(ecode3)) {
27672 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
27673 }
27674 arg3 = static_cast< int >(val3);
27675 {
27676 PyThreadState* __tstate = wxPyBeginAllowThreads();
27677 (arg1)->SetPPIScreen(arg2,arg3);
27678 wxPyEndAllowThreads(__tstate);
27679 if (PyErr_Occurred()) SWIG_fail;
27680 }
27681 resultobj = SWIG_Py_Void();
27682 return resultobj;
27683 fail:
27684 return NULL;
27685 }
27686
27687
27688 SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27689 PyObject *resultobj = 0;
27690 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27691 int *arg2 = (int *) 0 ;
27692 int *arg3 = (int *) 0 ;
27693 void *argp1 = 0 ;
27694 int res1 = 0 ;
27695 int temp2 ;
27696 int res2 = SWIG_TMPOBJ ;
27697 int temp3 ;
27698 int res3 = SWIG_TMPOBJ ;
27699 PyObject *swig_obj[1] ;
27700
27701 arg2 = &temp2;
27702 arg3 = &temp3;
27703 if (!args) SWIG_fail;
27704 swig_obj[0] = args;
27705 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27706 if (!SWIG_IsOK(res1)) {
27707 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27708 }
27709 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27710 {
27711 PyThreadState* __tstate = wxPyBeginAllowThreads();
27712 (arg1)->GetPPIScreen(arg2,arg3);
27713 wxPyEndAllowThreads(__tstate);
27714 if (PyErr_Occurred()) SWIG_fail;
27715 }
27716 resultobj = SWIG_Py_Void();
27717 if (SWIG_IsTmpObj(res2)) {
27718 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27719 } else {
27720 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27721 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27722 }
27723 if (SWIG_IsTmpObj(res3)) {
27724 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27725 } else {
27726 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27727 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27728 }
27729 return resultobj;
27730 fail:
27731 return NULL;
27732 }
27733
27734
27735 SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27736 PyObject *resultobj = 0;
27737 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27738 int arg2 ;
27739 int arg3 ;
27740 void *argp1 = 0 ;
27741 int res1 = 0 ;
27742 int val2 ;
27743 int ecode2 = 0 ;
27744 int val3 ;
27745 int ecode3 = 0 ;
27746 PyObject * obj0 = 0 ;
27747 PyObject * obj1 = 0 ;
27748 PyObject * obj2 = 0 ;
27749 char * kwnames[] = {
27750 (char *) "self",(char *) "x",(char *) "y", NULL
27751 };
27752
27753 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27754 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27755 if (!SWIG_IsOK(res1)) {
27756 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27757 }
27758 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27759 ecode2 = SWIG_AsVal_int(obj1, &val2);
27760 if (!SWIG_IsOK(ecode2)) {
27761 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
27762 }
27763 arg2 = static_cast< int >(val2);
27764 ecode3 = SWIG_AsVal_int(obj2, &val3);
27765 if (!SWIG_IsOK(ecode3)) {
27766 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
27767 }
27768 arg3 = static_cast< int >(val3);
27769 {
27770 PyThreadState* __tstate = wxPyBeginAllowThreads();
27771 (arg1)->SetPPIPrinter(arg2,arg3);
27772 wxPyEndAllowThreads(__tstate);
27773 if (PyErr_Occurred()) SWIG_fail;
27774 }
27775 resultobj = SWIG_Py_Void();
27776 return resultobj;
27777 fail:
27778 return NULL;
27779 }
27780
27781
27782 SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27783 PyObject *resultobj = 0;
27784 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27785 int *arg2 = (int *) 0 ;
27786 int *arg3 = (int *) 0 ;
27787 void *argp1 = 0 ;
27788 int res1 = 0 ;
27789 int temp2 ;
27790 int res2 = SWIG_TMPOBJ ;
27791 int temp3 ;
27792 int res3 = SWIG_TMPOBJ ;
27793 PyObject *swig_obj[1] ;
27794
27795 arg2 = &temp2;
27796 arg3 = &temp3;
27797 if (!args) SWIG_fail;
27798 swig_obj[0] = args;
27799 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27800 if (!SWIG_IsOK(res1)) {
27801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27802 }
27803 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27804 {
27805 PyThreadState* __tstate = wxPyBeginAllowThreads();
27806 (arg1)->GetPPIPrinter(arg2,arg3);
27807 wxPyEndAllowThreads(__tstate);
27808 if (PyErr_Occurred()) SWIG_fail;
27809 }
27810 resultobj = SWIG_Py_Void();
27811 if (SWIG_IsTmpObj(res2)) {
27812 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27813 } else {
27814 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27815 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27816 }
27817 if (SWIG_IsTmpObj(res3)) {
27818 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27819 } else {
27820 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27821 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27822 }
27823 return resultobj;
27824 fail:
27825 return NULL;
27826 }
27827
27828
27829 SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27830 PyObject *resultobj = 0;
27831 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27832 bool result;
27833 void *argp1 = 0 ;
27834 int res1 = 0 ;
27835 PyObject *swig_obj[1] ;
27836
27837 if (!args) SWIG_fail;
27838 swig_obj[0] = args;
27839 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27840 if (!SWIG_IsOK(res1)) {
27841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27842 }
27843 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27844 {
27845 PyThreadState* __tstate = wxPyBeginAllowThreads();
27846 result = (bool)(arg1)->IsPreview();
27847 wxPyEndAllowThreads(__tstate);
27848 if (PyErr_Occurred()) SWIG_fail;
27849 }
27850 {
27851 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27852 }
27853 return resultobj;
27854 fail:
27855 return NULL;
27856 }
27857
27858
27859 SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27860 PyObject *resultobj = 0;
27861 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27862 bool arg2 ;
27863 void *argp1 = 0 ;
27864 int res1 = 0 ;
27865 bool val2 ;
27866 int ecode2 = 0 ;
27867 PyObject * obj0 = 0 ;
27868 PyObject * obj1 = 0 ;
27869 char * kwnames[] = {
27870 (char *) "self",(char *) "p", NULL
27871 };
27872
27873 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
27874 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27875 if (!SWIG_IsOK(res1)) {
27876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27877 }
27878 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27879 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27880 if (!SWIG_IsOK(ecode2)) {
27881 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
27882 }
27883 arg2 = static_cast< bool >(val2);
27884 {
27885 PyThreadState* __tstate = wxPyBeginAllowThreads();
27886 (arg1)->SetIsPreview(arg2);
27887 wxPyEndAllowThreads(__tstate);
27888 if (PyErr_Occurred()) SWIG_fail;
27889 }
27890 resultobj = SWIG_Py_Void();
27891 return resultobj;
27892 fail:
27893 return NULL;
27894 }
27895
27896
27897 SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27898 PyObject *resultobj = 0;
27899 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27900 int arg2 ;
27901 int arg3 ;
27902 bool result;
27903 void *argp1 = 0 ;
27904 int res1 = 0 ;
27905 int val2 ;
27906 int ecode2 = 0 ;
27907 int val3 ;
27908 int ecode3 = 0 ;
27909 PyObject * obj0 = 0 ;
27910 PyObject * obj1 = 0 ;
27911 PyObject * obj2 = 0 ;
27912 char * kwnames[] = {
27913 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
27914 };
27915
27916 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27917 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27918 if (!SWIG_IsOK(res1)) {
27919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27920 }
27921 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27922 ecode2 = SWIG_AsVal_int(obj1, &val2);
27923 if (!SWIG_IsOK(ecode2)) {
27924 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
27925 }
27926 arg2 = static_cast< int >(val2);
27927 ecode3 = SWIG_AsVal_int(obj2, &val3);
27928 if (!SWIG_IsOK(ecode3)) {
27929 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
27930 }
27931 arg3 = static_cast< int >(val3);
27932 {
27933 PyThreadState* __tstate = wxPyBeginAllowThreads();
27934 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
27935 wxPyEndAllowThreads(__tstate);
27936 if (PyErr_Occurred()) SWIG_fail;
27937 }
27938 {
27939 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27940 }
27941 return resultobj;
27942 fail:
27943 return NULL;
27944 }
27945
27946
27947 SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27948 PyObject *resultobj = 0;
27949 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27950 void *argp1 = 0 ;
27951 int res1 = 0 ;
27952 PyObject *swig_obj[1] ;
27953
27954 if (!args) SWIG_fail;
27955 swig_obj[0] = args;
27956 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27957 if (!SWIG_IsOK(res1)) {
27958 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27959 }
27960 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27961 {
27962 PyThreadState* __tstate = wxPyBeginAllowThreads();
27963 (arg1)->OnEndDocument();
27964 wxPyEndAllowThreads(__tstate);
27965 if (PyErr_Occurred()) SWIG_fail;
27966 }
27967 resultobj = SWIG_Py_Void();
27968 return resultobj;
27969 fail:
27970 return NULL;
27971 }
27972
27973
27974 SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27975 PyObject *resultobj = 0;
27976 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27977 void *argp1 = 0 ;
27978 int res1 = 0 ;
27979 PyObject *swig_obj[1] ;
27980
27981 if (!args) SWIG_fail;
27982 swig_obj[0] = args;
27983 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27984 if (!SWIG_IsOK(res1)) {
27985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27986 }
27987 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27988 {
27989 PyThreadState* __tstate = wxPyBeginAllowThreads();
27990 (arg1)->OnBeginPrinting();
27991 wxPyEndAllowThreads(__tstate);
27992 if (PyErr_Occurred()) SWIG_fail;
27993 }
27994 resultobj = SWIG_Py_Void();
27995 return resultobj;
27996 fail:
27997 return NULL;
27998 }
27999
28000
28001 SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28002 PyObject *resultobj = 0;
28003 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28004 void *argp1 = 0 ;
28005 int res1 = 0 ;
28006 PyObject *swig_obj[1] ;
28007
28008 if (!args) SWIG_fail;
28009 swig_obj[0] = args;
28010 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28011 if (!SWIG_IsOK(res1)) {
28012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28013 }
28014 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28015 {
28016 PyThreadState* __tstate = wxPyBeginAllowThreads();
28017 (arg1)->OnEndPrinting();
28018 wxPyEndAllowThreads(__tstate);
28019 if (PyErr_Occurred()) SWIG_fail;
28020 }
28021 resultobj = SWIG_Py_Void();
28022 return resultobj;
28023 fail:
28024 return NULL;
28025 }
28026
28027
28028 SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28029 PyObject *resultobj = 0;
28030 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28031 void *argp1 = 0 ;
28032 int res1 = 0 ;
28033 PyObject *swig_obj[1] ;
28034
28035 if (!args) SWIG_fail;
28036 swig_obj[0] = args;
28037 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28038 if (!SWIG_IsOK(res1)) {
28039 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28040 }
28041 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28042 {
28043 PyThreadState* __tstate = wxPyBeginAllowThreads();
28044 (arg1)->OnPreparePrinting();
28045 wxPyEndAllowThreads(__tstate);
28046 if (PyErr_Occurred()) SWIG_fail;
28047 }
28048 resultobj = SWIG_Py_Void();
28049 return resultobj;
28050 fail:
28051 return NULL;
28052 }
28053
28054
28055 SWIGINTERN PyObject *_wrap_Printout_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28056 PyObject *resultobj = 0;
28057 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28058 int arg2 ;
28059 bool result;
28060 void *argp1 = 0 ;
28061 int res1 = 0 ;
28062 int val2 ;
28063 int ecode2 = 0 ;
28064 PyObject * obj0 = 0 ;
28065 PyObject * obj1 = 0 ;
28066 char * kwnames[] = {
28067 (char *) "self",(char *) "page", NULL
28068 };
28069
28070 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
28071 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28072 if (!SWIG_IsOK(res1)) {
28073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28074 }
28075 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28076 ecode2 = SWIG_AsVal_int(obj1, &val2);
28077 if (!SWIG_IsOK(ecode2)) {
28078 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28079 }
28080 arg2 = static_cast< int >(val2);
28081 {
28082 PyThreadState* __tstate = wxPyBeginAllowThreads();
28083 result = (bool)(arg1)->HasPage(arg2);
28084 wxPyEndAllowThreads(__tstate);
28085 if (PyErr_Occurred()) SWIG_fail;
28086 }
28087 {
28088 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28089 }
28090 return resultobj;
28091 fail:
28092 return NULL;
28093 }
28094
28095
28096 SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28097 PyObject *resultobj = 0;
28098 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28099 int *arg2 = (int *) 0 ;
28100 int *arg3 = (int *) 0 ;
28101 int *arg4 = (int *) 0 ;
28102 int *arg5 = (int *) 0 ;
28103 void *argp1 = 0 ;
28104 int res1 = 0 ;
28105 int temp2 ;
28106 int res2 = SWIG_TMPOBJ ;
28107 int temp3 ;
28108 int res3 = SWIG_TMPOBJ ;
28109 int temp4 ;
28110 int res4 = SWIG_TMPOBJ ;
28111 int temp5 ;
28112 int res5 = SWIG_TMPOBJ ;
28113 PyObject *swig_obj[1] ;
28114
28115 arg2 = &temp2;
28116 arg3 = &temp3;
28117 arg4 = &temp4;
28118 arg5 = &temp5;
28119 if (!args) SWIG_fail;
28120 swig_obj[0] = args;
28121 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28122 if (!SWIG_IsOK(res1)) {
28123 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28124 }
28125 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28126 {
28127 PyThreadState* __tstate = wxPyBeginAllowThreads();
28128 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
28129 wxPyEndAllowThreads(__tstate);
28130 if (PyErr_Occurred()) SWIG_fail;
28131 }
28132 resultobj = SWIG_Py_Void();
28133 if (SWIG_IsTmpObj(res2)) {
28134 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28135 } else {
28136 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28137 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28138 }
28139 if (SWIG_IsTmpObj(res3)) {
28140 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28141 } else {
28142 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28143 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28144 }
28145 if (SWIG_IsTmpObj(res4)) {
28146 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
28147 } else {
28148 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28149 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
28150 }
28151 if (SWIG_IsTmpObj(res5)) {
28152 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
28153 } else {
28154 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28155 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
28156 }
28157 return resultobj;
28158 fail:
28159 return NULL;
28160 }
28161
28162
28163 SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28164 PyObject *obj;
28165 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28166 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
28167 return SWIG_Py_Void();
28168 }
28169
28170 SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28171 return SWIG_Python_InitShadowInstance(args);
28172 }
28173
28174 SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28175 PyObject *resultobj = 0;
28176 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28177 wxWindow *arg2 = (wxWindow *) 0 ;
28178 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28179 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28180 wxSize const &arg4_defvalue = wxDefaultSize ;
28181 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28182 long arg5 = (long) 0 ;
28183 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
28184 wxString *arg6 = (wxString *) &arg6_defvalue ;
28185 wxPreviewCanvas *result = 0 ;
28186 void *argp1 = 0 ;
28187 int res1 = 0 ;
28188 void *argp2 = 0 ;
28189 int res2 = 0 ;
28190 wxPoint temp3 ;
28191 wxSize temp4 ;
28192 long val5 ;
28193 int ecode5 = 0 ;
28194 bool temp6 = false ;
28195 PyObject * obj0 = 0 ;
28196 PyObject * obj1 = 0 ;
28197 PyObject * obj2 = 0 ;
28198 PyObject * obj3 = 0 ;
28199 PyObject * obj4 = 0 ;
28200 PyObject * obj5 = 0 ;
28201 char * kwnames[] = {
28202 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28203 };
28204
28205 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
28206 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28207 if (!SWIG_IsOK(res1)) {
28208 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28209 }
28210 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28211 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
28212 if (!SWIG_IsOK(res2)) {
28213 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28214 }
28215 arg2 = reinterpret_cast< wxWindow * >(argp2);
28216 if (obj2) {
28217 {
28218 arg3 = &temp3;
28219 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28220 }
28221 }
28222 if (obj3) {
28223 {
28224 arg4 = &temp4;
28225 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28226 }
28227 }
28228 if (obj4) {
28229 ecode5 = SWIG_AsVal_long(obj4, &val5);
28230 if (!SWIG_IsOK(ecode5)) {
28231 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28232 }
28233 arg5 = static_cast< long >(val5);
28234 }
28235 if (obj5) {
28236 {
28237 arg6 = wxString_in_helper(obj5);
28238 if (arg6 == NULL) SWIG_fail;
28239 temp6 = true;
28240 }
28241 }
28242 {
28243 if (!wxPyCheckForApp()) SWIG_fail;
28244 PyThreadState* __tstate = wxPyBeginAllowThreads();
28245 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
28246 wxPyEndAllowThreads(__tstate);
28247 if (PyErr_Occurred()) SWIG_fail;
28248 }
28249 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
28250 {
28251 if (temp6)
28252 delete arg6;
28253 }
28254 return resultobj;
28255 fail:
28256 {
28257 if (temp6)
28258 delete arg6;
28259 }
28260 return NULL;
28261 }
28262
28263
28264 SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28265 PyObject *obj;
28266 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28267 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
28268 return SWIG_Py_Void();
28269 }
28270
28271 SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28272 return SWIG_Python_InitShadowInstance(args);
28273 }
28274
28275 SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28276 PyObject *resultobj = 0;
28277 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28278 wxFrame *arg2 = (wxFrame *) 0 ;
28279 wxString *arg3 = 0 ;
28280 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28281 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28282 wxSize const &arg5_defvalue = wxDefaultSize ;
28283 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28284 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
28285 wxString const &arg7_defvalue = wxPyFrameNameStr ;
28286 wxString *arg7 = (wxString *) &arg7_defvalue ;
28287 wxPreviewFrame *result = 0 ;
28288 int res1 = 0 ;
28289 void *argp2 = 0 ;
28290 int res2 = 0 ;
28291 bool temp3 = false ;
28292 wxPoint temp4 ;
28293 wxSize temp5 ;
28294 long val6 ;
28295 int ecode6 = 0 ;
28296 bool temp7 = false ;
28297 PyObject * obj0 = 0 ;
28298 PyObject * obj1 = 0 ;
28299 PyObject * obj2 = 0 ;
28300 PyObject * obj3 = 0 ;
28301 PyObject * obj4 = 0 ;
28302 PyObject * obj5 = 0 ;
28303 PyObject * obj6 = 0 ;
28304 char * kwnames[] = {
28305 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28306 };
28307
28308 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28309 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
28310 if (!SWIG_IsOK(res1)) {
28311 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28312 }
28313 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
28314 if (!SWIG_IsOK(res2)) {
28315 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28316 }
28317 arg2 = reinterpret_cast< wxFrame * >(argp2);
28318 {
28319 arg3 = wxString_in_helper(obj2);
28320 if (arg3 == NULL) SWIG_fail;
28321 temp3 = true;
28322 }
28323 if (obj3) {
28324 {
28325 arg4 = &temp4;
28326 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28327 }
28328 }
28329 if (obj4) {
28330 {
28331 arg5 = &temp5;
28332 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28333 }
28334 }
28335 if (obj5) {
28336 ecode6 = SWIG_AsVal_long(obj5, &val6);
28337 if (!SWIG_IsOK(ecode6)) {
28338 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28339 }
28340 arg6 = static_cast< long >(val6);
28341 }
28342 if (obj6) {
28343 {
28344 arg7 = wxString_in_helper(obj6);
28345 if (arg7 == NULL) SWIG_fail;
28346 temp7 = true;
28347 }
28348 }
28349 {
28350 if (!wxPyCheckForApp()) SWIG_fail;
28351 PyThreadState* __tstate = wxPyBeginAllowThreads();
28352 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28353 wxPyEndAllowThreads(__tstate);
28354 if (PyErr_Occurred()) SWIG_fail;
28355 }
28356 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
28357 {
28358 if (temp3)
28359 delete arg3;
28360 }
28361 {
28362 if (temp7)
28363 delete arg7;
28364 }
28365 return resultobj;
28366 fail:
28367 {
28368 if (temp3)
28369 delete arg3;
28370 }
28371 {
28372 if (temp7)
28373 delete arg7;
28374 }
28375 return NULL;
28376 }
28377
28378
28379 SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28380 PyObject *resultobj = 0;
28381 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28382 void *argp1 = 0 ;
28383 int res1 = 0 ;
28384 PyObject *swig_obj[1] ;
28385
28386 if (!args) SWIG_fail;
28387 swig_obj[0] = args;
28388 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28389 if (!SWIG_IsOK(res1)) {
28390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28391 }
28392 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28393 {
28394 PyThreadState* __tstate = wxPyBeginAllowThreads();
28395 (arg1)->Initialize();
28396 wxPyEndAllowThreads(__tstate);
28397 if (PyErr_Occurred()) SWIG_fail;
28398 }
28399 resultobj = SWIG_Py_Void();
28400 return resultobj;
28401 fail:
28402 return NULL;
28403 }
28404
28405
28406 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28407 PyObject *resultobj = 0;
28408 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28409 void *argp1 = 0 ;
28410 int res1 = 0 ;
28411 PyObject *swig_obj[1] ;
28412
28413 if (!args) SWIG_fail;
28414 swig_obj[0] = args;
28415 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28416 if (!SWIG_IsOK(res1)) {
28417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28418 }
28419 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28420 {
28421 PyThreadState* __tstate = wxPyBeginAllowThreads();
28422 (arg1)->CreateControlBar();
28423 wxPyEndAllowThreads(__tstate);
28424 if (PyErr_Occurred()) SWIG_fail;
28425 }
28426 resultobj = SWIG_Py_Void();
28427 return resultobj;
28428 fail:
28429 return NULL;
28430 }
28431
28432
28433 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28434 PyObject *resultobj = 0;
28435 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28436 void *argp1 = 0 ;
28437 int res1 = 0 ;
28438 PyObject *swig_obj[1] ;
28439
28440 if (!args) SWIG_fail;
28441 swig_obj[0] = args;
28442 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28443 if (!SWIG_IsOK(res1)) {
28444 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28445 }
28446 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28447 {
28448 PyThreadState* __tstate = wxPyBeginAllowThreads();
28449 (arg1)->CreateCanvas();
28450 wxPyEndAllowThreads(__tstate);
28451 if (PyErr_Occurred()) SWIG_fail;
28452 }
28453 resultobj = SWIG_Py_Void();
28454 return resultobj;
28455 fail:
28456 return NULL;
28457 }
28458
28459
28460 SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28461 PyObject *resultobj = 0;
28462 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28463 wxPreviewControlBar *result = 0 ;
28464 void *argp1 = 0 ;
28465 int res1 = 0 ;
28466 PyObject *swig_obj[1] ;
28467
28468 if (!args) SWIG_fail;
28469 swig_obj[0] = args;
28470 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28471 if (!SWIG_IsOK(res1)) {
28472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28473 }
28474 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28475 {
28476 PyThreadState* __tstate = wxPyBeginAllowThreads();
28477 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
28478 wxPyEndAllowThreads(__tstate);
28479 if (PyErr_Occurred()) SWIG_fail;
28480 }
28481 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28482 return resultobj;
28483 fail:
28484 return NULL;
28485 }
28486
28487
28488 SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28489 PyObject *obj;
28490 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28491 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
28492 return SWIG_Py_Void();
28493 }
28494
28495 SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28496 return SWIG_Python_InitShadowInstance(args);
28497 }
28498
28499 SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28500 PyObject *resultobj = 0;
28501 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28502 long arg2 ;
28503 wxWindow *arg3 = (wxWindow *) 0 ;
28504 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28505 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28506 wxSize const &arg5_defvalue = wxDefaultSize ;
28507 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28508 long arg6 = (long) wxTAB_TRAVERSAL ;
28509 wxString const &arg7_defvalue = wxPyPanelNameStr ;
28510 wxString *arg7 = (wxString *) &arg7_defvalue ;
28511 wxPreviewControlBar *result = 0 ;
28512 void *argp1 = 0 ;
28513 int res1 = 0 ;
28514 long val2 ;
28515 int ecode2 = 0 ;
28516 void *argp3 = 0 ;
28517 int res3 = 0 ;
28518 wxPoint temp4 ;
28519 wxSize temp5 ;
28520 long val6 ;
28521 int ecode6 = 0 ;
28522 bool temp7 = false ;
28523 PyObject * obj0 = 0 ;
28524 PyObject * obj1 = 0 ;
28525 PyObject * obj2 = 0 ;
28526 PyObject * obj3 = 0 ;
28527 PyObject * obj4 = 0 ;
28528 PyObject * obj5 = 0 ;
28529 PyObject * obj6 = 0 ;
28530 char * kwnames[] = {
28531 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28532 };
28533
28534 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28535 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28536 if (!SWIG_IsOK(res1)) {
28537 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28538 }
28539 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28540 ecode2 = SWIG_AsVal_long(obj1, &val2);
28541 if (!SWIG_IsOK(ecode2)) {
28542 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
28543 }
28544 arg2 = static_cast< long >(val2);
28545 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
28546 if (!SWIG_IsOK(res3)) {
28547 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
28548 }
28549 arg3 = reinterpret_cast< wxWindow * >(argp3);
28550 if (obj3) {
28551 {
28552 arg4 = &temp4;
28553 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28554 }
28555 }
28556 if (obj4) {
28557 {
28558 arg5 = &temp5;
28559 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28560 }
28561 }
28562 if (obj5) {
28563 ecode6 = SWIG_AsVal_long(obj5, &val6);
28564 if (!SWIG_IsOK(ecode6)) {
28565 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
28566 }
28567 arg6 = static_cast< long >(val6);
28568 }
28569 if (obj6) {
28570 {
28571 arg7 = wxString_in_helper(obj6);
28572 if (arg7 == NULL) SWIG_fail;
28573 temp7 = true;
28574 }
28575 }
28576 {
28577 if (!wxPyCheckForApp()) SWIG_fail;
28578 PyThreadState* __tstate = wxPyBeginAllowThreads();
28579 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28580 wxPyEndAllowThreads(__tstate);
28581 if (PyErr_Occurred()) SWIG_fail;
28582 }
28583 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
28584 {
28585 if (temp7)
28586 delete arg7;
28587 }
28588 return resultobj;
28589 fail:
28590 {
28591 if (temp7)
28592 delete arg7;
28593 }
28594 return NULL;
28595 }
28596
28597
28598 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28599 PyObject *resultobj = 0;
28600 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28601 int result;
28602 void *argp1 = 0 ;
28603 int res1 = 0 ;
28604 PyObject *swig_obj[1] ;
28605
28606 if (!args) SWIG_fail;
28607 swig_obj[0] = args;
28608 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28609 if (!SWIG_IsOK(res1)) {
28610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28611 }
28612 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28613 {
28614 PyThreadState* __tstate = wxPyBeginAllowThreads();
28615 result = (int)(arg1)->GetZoomControl();
28616 wxPyEndAllowThreads(__tstate);
28617 if (PyErr_Occurred()) SWIG_fail;
28618 }
28619 resultobj = SWIG_From_int(static_cast< int >(result));
28620 return resultobj;
28621 fail:
28622 return NULL;
28623 }
28624
28625
28626 SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28627 PyObject *resultobj = 0;
28628 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28629 int arg2 ;
28630 void *argp1 = 0 ;
28631 int res1 = 0 ;
28632 int val2 ;
28633 int ecode2 = 0 ;
28634 PyObject * obj0 = 0 ;
28635 PyObject * obj1 = 0 ;
28636 char * kwnames[] = {
28637 (char *) "self",(char *) "zoom", NULL
28638 };
28639
28640 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
28641 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28642 if (!SWIG_IsOK(res1)) {
28643 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28644 }
28645 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28646 ecode2 = SWIG_AsVal_int(obj1, &val2);
28647 if (!SWIG_IsOK(ecode2)) {
28648 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
28649 }
28650 arg2 = static_cast< int >(val2);
28651 {
28652 PyThreadState* __tstate = wxPyBeginAllowThreads();
28653 (arg1)->SetZoomControl(arg2);
28654 wxPyEndAllowThreads(__tstate);
28655 if (PyErr_Occurred()) SWIG_fail;
28656 }
28657 resultobj = SWIG_Py_Void();
28658 return resultobj;
28659 fail:
28660 return NULL;
28661 }
28662
28663
28664 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28665 PyObject *resultobj = 0;
28666 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28667 wxPrintPreview *result = 0 ;
28668 void *argp1 = 0 ;
28669 int res1 = 0 ;
28670 PyObject *swig_obj[1] ;
28671
28672 if (!args) SWIG_fail;
28673 swig_obj[0] = args;
28674 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28675 if (!SWIG_IsOK(res1)) {
28676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28677 }
28678 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28679 {
28680 PyThreadState* __tstate = wxPyBeginAllowThreads();
28681 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
28682 wxPyEndAllowThreads(__tstate);
28683 if (PyErr_Occurred()) SWIG_fail;
28684 }
28685 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28686 return resultobj;
28687 fail:
28688 return NULL;
28689 }
28690
28691
28692 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28693 PyObject *resultobj = 0;
28694 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28695 void *argp1 = 0 ;
28696 int res1 = 0 ;
28697 PyObject *swig_obj[1] ;
28698
28699 if (!args) SWIG_fail;
28700 swig_obj[0] = args;
28701 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28702 if (!SWIG_IsOK(res1)) {
28703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28704 }
28705 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28706 {
28707 PyThreadState* __tstate = wxPyBeginAllowThreads();
28708 (arg1)->OnNext();
28709 wxPyEndAllowThreads(__tstate);
28710 if (PyErr_Occurred()) SWIG_fail;
28711 }
28712 resultobj = SWIG_Py_Void();
28713 return resultobj;
28714 fail:
28715 return NULL;
28716 }
28717
28718
28719 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28720 PyObject *resultobj = 0;
28721 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28722 void *argp1 = 0 ;
28723 int res1 = 0 ;
28724 PyObject *swig_obj[1] ;
28725
28726 if (!args) SWIG_fail;
28727 swig_obj[0] = args;
28728 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28729 if (!SWIG_IsOK(res1)) {
28730 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28731 }
28732 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28733 {
28734 PyThreadState* __tstate = wxPyBeginAllowThreads();
28735 (arg1)->OnPrevious();
28736 wxPyEndAllowThreads(__tstate);
28737 if (PyErr_Occurred()) SWIG_fail;
28738 }
28739 resultobj = SWIG_Py_Void();
28740 return resultobj;
28741 fail:
28742 return NULL;
28743 }
28744
28745
28746 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28747 PyObject *resultobj = 0;
28748 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28749 void *argp1 = 0 ;
28750 int res1 = 0 ;
28751 PyObject *swig_obj[1] ;
28752
28753 if (!args) SWIG_fail;
28754 swig_obj[0] = args;
28755 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28756 if (!SWIG_IsOK(res1)) {
28757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28758 }
28759 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28760 {
28761 PyThreadState* __tstate = wxPyBeginAllowThreads();
28762 (arg1)->OnFirst();
28763 wxPyEndAllowThreads(__tstate);
28764 if (PyErr_Occurred()) SWIG_fail;
28765 }
28766 resultobj = SWIG_Py_Void();
28767 return resultobj;
28768 fail:
28769 return NULL;
28770 }
28771
28772
28773 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28774 PyObject *resultobj = 0;
28775 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28776 void *argp1 = 0 ;
28777 int res1 = 0 ;
28778 PyObject *swig_obj[1] ;
28779
28780 if (!args) SWIG_fail;
28781 swig_obj[0] = args;
28782 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28783 if (!SWIG_IsOK(res1)) {
28784 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28785 }
28786 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28787 {
28788 PyThreadState* __tstate = wxPyBeginAllowThreads();
28789 (arg1)->OnLast();
28790 wxPyEndAllowThreads(__tstate);
28791 if (PyErr_Occurred()) SWIG_fail;
28792 }
28793 resultobj = SWIG_Py_Void();
28794 return resultobj;
28795 fail:
28796 return NULL;
28797 }
28798
28799
28800 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28801 PyObject *resultobj = 0;
28802 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28803 void *argp1 = 0 ;
28804 int res1 = 0 ;
28805 PyObject *swig_obj[1] ;
28806
28807 if (!args) SWIG_fail;
28808 swig_obj[0] = args;
28809 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28810 if (!SWIG_IsOK(res1)) {
28811 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28812 }
28813 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28814 {
28815 PyThreadState* __tstate = wxPyBeginAllowThreads();
28816 (arg1)->OnGoto();
28817 wxPyEndAllowThreads(__tstate);
28818 if (PyErr_Occurred()) SWIG_fail;
28819 }
28820 resultobj = SWIG_Py_Void();
28821 return resultobj;
28822 fail:
28823 return NULL;
28824 }
28825
28826
28827 SWIGINTERN PyObject *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28828 PyObject *obj;
28829 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28830 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
28831 return SWIG_Py_Void();
28832 }
28833
28834 SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28835 return SWIG_Python_InitShadowInstance(args);
28836 }
28837
28838 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
28839 PyObject *resultobj = 0;
28840 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28841 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
28842 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
28843 wxPrintPreview *result = 0 ;
28844 int res1 = 0 ;
28845 int res2 = 0 ;
28846 void *argp3 = 0 ;
28847 int res3 = 0 ;
28848
28849 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
28850 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28851 if (!SWIG_IsOK(res1)) {
28852 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28853 }
28854 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28855 if (!SWIG_IsOK(res2)) {
28856 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
28857 }
28858 if (swig_obj[2]) {
28859 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28860 if (!SWIG_IsOK(res3)) {
28861 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
28862 }
28863 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
28864 }
28865 {
28866 if (!wxPyCheckForApp()) SWIG_fail;
28867 PyThreadState* __tstate = wxPyBeginAllowThreads();
28868 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
28869 wxPyEndAllowThreads(__tstate);
28870 if (PyErr_Occurred()) SWIG_fail;
28871 }
28872 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
28873 return resultobj;
28874 fail:
28875 return NULL;
28876 }
28877
28878
28879 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
28880 PyObject *resultobj = 0;
28881 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28882 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
28883 wxPrintData *arg3 = (wxPrintData *) 0 ;
28884 wxPrintPreview *result = 0 ;
28885 int res1 = 0 ;
28886 int res2 = 0 ;
28887 void *argp3 = 0 ;
28888 int res3 = 0 ;
28889
28890 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
28891 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28892 if (!SWIG_IsOK(res1)) {
28893 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28894 }
28895 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28896 if (!SWIG_IsOK(res2)) {
28897 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
28898 }
28899 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
28900 if (!SWIG_IsOK(res3)) {
28901 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
28902 }
28903 arg3 = reinterpret_cast< wxPrintData * >(argp3);
28904 {
28905 if (!wxPyCheckForApp()) SWIG_fail;
28906 PyThreadState* __tstate = wxPyBeginAllowThreads();
28907 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
28908 wxPyEndAllowThreads(__tstate);
28909 if (PyErr_Occurred()) SWIG_fail;
28910 }
28911 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
28912 return resultobj;
28913 fail:
28914 return NULL;
28915 }
28916
28917
28918 SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
28919 int argc;
28920 PyObject *argv[4];
28921
28922 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
28923 --argc;
28924 if ((argc >= 2) && (argc <= 3)) {
28925 int _v = 0;
28926 if (argc > 2) {
28927 {
28928 void *vptr = 0;
28929 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
28930 _v = SWIG_CheckState(res);
28931 }
28932 if (!_v) goto check_1;
28933 }
28934 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
28935 }
28936 check_1:
28937
28938 if (argc == 3) {
28939 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
28940 }
28941
28942 fail:
28943 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
28944 return NULL;
28945 }
28946
28947
28948 SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28949 PyObject *resultobj = 0;
28950 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28951 void *argp1 = 0 ;
28952 int res1 = 0 ;
28953 PyObject *swig_obj[1] ;
28954
28955 if (!args) SWIG_fail;
28956 swig_obj[0] = args;
28957 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
28958 if (!SWIG_IsOK(res1)) {
28959 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28960 }
28961 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28962 {
28963 PyThreadState* __tstate = wxPyBeginAllowThreads();
28964 delete arg1;
28965
28966 wxPyEndAllowThreads(__tstate);
28967 if (PyErr_Occurred()) SWIG_fail;
28968 }
28969 resultobj = SWIG_Py_Void();
28970 return resultobj;
28971 fail:
28972 return NULL;
28973 }
28974
28975
28976 SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28977 PyObject *resultobj = 0;
28978 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28979 int arg2 ;
28980 bool result;
28981 void *argp1 = 0 ;
28982 int res1 = 0 ;
28983 int val2 ;
28984 int ecode2 = 0 ;
28985 PyObject * obj0 = 0 ;
28986 PyObject * obj1 = 0 ;
28987 char * kwnames[] = {
28988 (char *) "self",(char *) "pageNum", NULL
28989 };
28990
28991 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
28992 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28993 if (!SWIG_IsOK(res1)) {
28994 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28995 }
28996 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28997 ecode2 = SWIG_AsVal_int(obj1, &val2);
28998 if (!SWIG_IsOK(ecode2)) {
28999 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29000 }
29001 arg2 = static_cast< int >(val2);
29002 {
29003 PyThreadState* __tstate = wxPyBeginAllowThreads();
29004 result = (bool)(arg1)->SetCurrentPage(arg2);
29005 wxPyEndAllowThreads(__tstate);
29006 if (PyErr_Occurred()) SWIG_fail;
29007 }
29008 {
29009 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29010 }
29011 return resultobj;
29012 fail:
29013 return NULL;
29014 }
29015
29016
29017 SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29018 PyObject *resultobj = 0;
29019 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29020 int result;
29021 void *argp1 = 0 ;
29022 int res1 = 0 ;
29023 PyObject *swig_obj[1] ;
29024
29025 if (!args) SWIG_fail;
29026 swig_obj[0] = args;
29027 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29028 if (!SWIG_IsOK(res1)) {
29029 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29030 }
29031 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29032 {
29033 PyThreadState* __tstate = wxPyBeginAllowThreads();
29034 result = (int)(arg1)->GetCurrentPage();
29035 wxPyEndAllowThreads(__tstate);
29036 if (PyErr_Occurred()) SWIG_fail;
29037 }
29038 resultobj = SWIG_From_int(static_cast< int >(result));
29039 return resultobj;
29040 fail:
29041 return NULL;
29042 }
29043
29044
29045 SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29046 PyObject *resultobj = 0;
29047 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29048 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29049 void *argp1 = 0 ;
29050 int res1 = 0 ;
29051 int res2 = 0 ;
29052 PyObject * obj0 = 0 ;
29053 PyObject * obj1 = 0 ;
29054 char * kwnames[] = {
29055 (char *) "self",(char *) "printout", NULL
29056 };
29057
29058 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
29059 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29060 if (!SWIG_IsOK(res1)) {
29061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29062 }
29063 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29064 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29065 if (!SWIG_IsOK(res2)) {
29066 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29067 }
29068 {
29069 PyThreadState* __tstate = wxPyBeginAllowThreads();
29070 (arg1)->SetPrintout(arg2);
29071 wxPyEndAllowThreads(__tstate);
29072 if (PyErr_Occurred()) SWIG_fail;
29073 }
29074 resultobj = SWIG_Py_Void();
29075 return resultobj;
29076 fail:
29077 return NULL;
29078 }
29079
29080
29081 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29082 PyObject *resultobj = 0;
29083 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29084 wxPyPrintout *result = 0 ;
29085 void *argp1 = 0 ;
29086 int res1 = 0 ;
29087 PyObject *swig_obj[1] ;
29088
29089 if (!args) SWIG_fail;
29090 swig_obj[0] = args;
29091 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29092 if (!SWIG_IsOK(res1)) {
29093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29094 }
29095 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29096 {
29097 PyThreadState* __tstate = wxPyBeginAllowThreads();
29098 result = (wxPyPrintout *)(arg1)->GetPrintout();
29099 wxPyEndAllowThreads(__tstate);
29100 if (PyErr_Occurred()) SWIG_fail;
29101 }
29102 {
29103 resultobj = wxPyMake_wxObject(result, 0);
29104 }
29105 return resultobj;
29106 fail:
29107 return NULL;
29108 }
29109
29110
29111 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29112 PyObject *resultobj = 0;
29113 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29114 wxPyPrintout *result = 0 ;
29115 void *argp1 = 0 ;
29116 int res1 = 0 ;
29117 PyObject *swig_obj[1] ;
29118
29119 if (!args) SWIG_fail;
29120 swig_obj[0] = args;
29121 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29122 if (!SWIG_IsOK(res1)) {
29123 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29124 }
29125 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29126 {
29127 PyThreadState* __tstate = wxPyBeginAllowThreads();
29128 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
29129 wxPyEndAllowThreads(__tstate);
29130 if (PyErr_Occurred()) SWIG_fail;
29131 }
29132 {
29133 resultobj = wxPyMake_wxObject(result, 0);
29134 }
29135 return resultobj;
29136 fail:
29137 return NULL;
29138 }
29139
29140
29141 SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29142 PyObject *resultobj = 0;
29143 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29144 wxFrame *arg2 = (wxFrame *) 0 ;
29145 void *argp1 = 0 ;
29146 int res1 = 0 ;
29147 void *argp2 = 0 ;
29148 int res2 = 0 ;
29149 PyObject * obj0 = 0 ;
29150 PyObject * obj1 = 0 ;
29151 char * kwnames[] = {
29152 (char *) "self",(char *) "frame", NULL
29153 };
29154
29155 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
29156 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29157 if (!SWIG_IsOK(res1)) {
29158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29159 }
29160 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29161 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29162 if (!SWIG_IsOK(res2)) {
29163 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29164 }
29165 arg2 = reinterpret_cast< wxFrame * >(argp2);
29166 {
29167 PyThreadState* __tstate = wxPyBeginAllowThreads();
29168 (arg1)->SetFrame(arg2);
29169 wxPyEndAllowThreads(__tstate);
29170 if (PyErr_Occurred()) SWIG_fail;
29171 }
29172 resultobj = SWIG_Py_Void();
29173 return resultobj;
29174 fail:
29175 return NULL;
29176 }
29177
29178
29179 SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29180 PyObject *resultobj = 0;
29181 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29182 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29183 void *argp1 = 0 ;
29184 int res1 = 0 ;
29185 void *argp2 = 0 ;
29186 int res2 = 0 ;
29187 PyObject * obj0 = 0 ;
29188 PyObject * obj1 = 0 ;
29189 char * kwnames[] = {
29190 (char *) "self",(char *) "canvas", NULL
29191 };
29192
29193 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
29194 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29195 if (!SWIG_IsOK(res1)) {
29196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29197 }
29198 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29199 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29200 if (!SWIG_IsOK(res2)) {
29201 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29202 }
29203 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29204 {
29205 PyThreadState* __tstate = wxPyBeginAllowThreads();
29206 (arg1)->SetCanvas(arg2);
29207 wxPyEndAllowThreads(__tstate);
29208 if (PyErr_Occurred()) SWIG_fail;
29209 }
29210 resultobj = SWIG_Py_Void();
29211 return resultobj;
29212 fail:
29213 return NULL;
29214 }
29215
29216
29217 SWIGINTERN PyObject *_wrap_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29218 PyObject *resultobj = 0;
29219 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29220 wxFrame *result = 0 ;
29221 void *argp1 = 0 ;
29222 int res1 = 0 ;
29223 PyObject *swig_obj[1] ;
29224
29225 if (!args) SWIG_fail;
29226 swig_obj[0] = args;
29227 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29228 if (!SWIG_IsOK(res1)) {
29229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29230 }
29231 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29232 {
29233 PyThreadState* __tstate = wxPyBeginAllowThreads();
29234 result = (wxFrame *)(arg1)->GetFrame();
29235 wxPyEndAllowThreads(__tstate);
29236 if (PyErr_Occurred()) SWIG_fail;
29237 }
29238 {
29239 resultobj = wxPyMake_wxObject(result, 0);
29240 }
29241 return resultobj;
29242 fail:
29243 return NULL;
29244 }
29245
29246
29247 SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29248 PyObject *resultobj = 0;
29249 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29250 wxPreviewCanvas *result = 0 ;
29251 void *argp1 = 0 ;
29252 int res1 = 0 ;
29253 PyObject *swig_obj[1] ;
29254
29255 if (!args) SWIG_fail;
29256 swig_obj[0] = args;
29257 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29258 if (!SWIG_IsOK(res1)) {
29259 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29260 }
29261 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29262 {
29263 PyThreadState* __tstate = wxPyBeginAllowThreads();
29264 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
29265 wxPyEndAllowThreads(__tstate);
29266 if (PyErr_Occurred()) SWIG_fail;
29267 }
29268 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29269 return resultobj;
29270 fail:
29271 return NULL;
29272 }
29273
29274
29275 SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29276 PyObject *resultobj = 0;
29277 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29278 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29279 wxDC *arg3 = 0 ;
29280 bool result;
29281 void *argp1 = 0 ;
29282 int res1 = 0 ;
29283 void *argp2 = 0 ;
29284 int res2 = 0 ;
29285 void *argp3 = 0 ;
29286 int res3 = 0 ;
29287 PyObject * obj0 = 0 ;
29288 PyObject * obj1 = 0 ;
29289 PyObject * obj2 = 0 ;
29290 char * kwnames[] = {
29291 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29292 };
29293
29294 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29295 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29296 if (!SWIG_IsOK(res1)) {
29297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29298 }
29299 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29300 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29301 if (!SWIG_IsOK(res2)) {
29302 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29303 }
29304 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29305 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29306 if (!SWIG_IsOK(res3)) {
29307 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29308 }
29309 if (!argp3) {
29310 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29311 }
29312 arg3 = reinterpret_cast< wxDC * >(argp3);
29313 {
29314 PyThreadState* __tstate = wxPyBeginAllowThreads();
29315 result = (bool)(arg1)->PaintPage(arg2,*arg3);
29316 wxPyEndAllowThreads(__tstate);
29317 if (PyErr_Occurred()) SWIG_fail;
29318 }
29319 {
29320 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29321 }
29322 return resultobj;
29323 fail:
29324 return NULL;
29325 }
29326
29327
29328 SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29329 PyObject *resultobj = 0;
29330 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29331 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29332 wxDC *arg3 = 0 ;
29333 bool result;
29334 void *argp1 = 0 ;
29335 int res1 = 0 ;
29336 void *argp2 = 0 ;
29337 int res2 = 0 ;
29338 void *argp3 = 0 ;
29339 int res3 = 0 ;
29340 PyObject * obj0 = 0 ;
29341 PyObject * obj1 = 0 ;
29342 PyObject * obj2 = 0 ;
29343 char * kwnames[] = {
29344 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29345 };
29346
29347 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29348 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29349 if (!SWIG_IsOK(res1)) {
29350 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29351 }
29352 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29353 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29354 if (!SWIG_IsOK(res2)) {
29355 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29356 }
29357 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29358 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29359 if (!SWIG_IsOK(res3)) {
29360 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29361 }
29362 if (!argp3) {
29363 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29364 }
29365 arg3 = reinterpret_cast< wxDC * >(argp3);
29366 {
29367 PyThreadState* __tstate = wxPyBeginAllowThreads();
29368 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
29369 wxPyEndAllowThreads(__tstate);
29370 if (PyErr_Occurred()) SWIG_fail;
29371 }
29372 {
29373 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29374 }
29375 return resultobj;
29376 fail:
29377 return NULL;
29378 }
29379
29380
29381 SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29382 PyObject *resultobj = 0;
29383 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29384 int arg2 ;
29385 bool result;
29386 void *argp1 = 0 ;
29387 int res1 = 0 ;
29388 int val2 ;
29389 int ecode2 = 0 ;
29390 PyObject * obj0 = 0 ;
29391 PyObject * obj1 = 0 ;
29392 char * kwnames[] = {
29393 (char *) "self",(char *) "pageNum", NULL
29394 };
29395
29396 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) SWIG_fail;
29397 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29398 if (!SWIG_IsOK(res1)) {
29399 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29400 }
29401 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29402 ecode2 = SWIG_AsVal_int(obj1, &val2);
29403 if (!SWIG_IsOK(ecode2)) {
29404 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29405 }
29406 arg2 = static_cast< int >(val2);
29407 {
29408 PyThreadState* __tstate = wxPyBeginAllowThreads();
29409 result = (bool)(arg1)->RenderPage(arg2);
29410 wxPyEndAllowThreads(__tstate);
29411 if (PyErr_Occurred()) SWIG_fail;
29412 }
29413 {
29414 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29415 }
29416 return resultobj;
29417 fail:
29418 return NULL;
29419 }
29420
29421
29422 SWIGINTERN PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29423 PyObject *resultobj = 0;
29424 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29425 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29426 void *argp1 = 0 ;
29427 int res1 = 0 ;
29428 void *argp2 = 0 ;
29429 int res2 = 0 ;
29430 PyObject * obj0 = 0 ;
29431 PyObject * obj1 = 0 ;
29432 char * kwnames[] = {
29433 (char *) "self",(char *) "canvas", NULL
29434 };
29435
29436 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
29437 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29438 if (!SWIG_IsOK(res1)) {
29439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29440 }
29441 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29442 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29443 if (!SWIG_IsOK(res2)) {
29444 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29445 }
29446 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29447 {
29448 PyThreadState* __tstate = wxPyBeginAllowThreads();
29449 (arg1)->AdjustScrollbars(arg2);
29450 wxPyEndAllowThreads(__tstate);
29451 if (PyErr_Occurred()) SWIG_fail;
29452 }
29453 resultobj = SWIG_Py_Void();
29454 return resultobj;
29455 fail:
29456 return NULL;
29457 }
29458
29459
29460 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29461 PyObject *resultobj = 0;
29462 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29463 wxPrintDialogData *result = 0 ;
29464 void *argp1 = 0 ;
29465 int res1 = 0 ;
29466 PyObject *swig_obj[1] ;
29467
29468 if (!args) SWIG_fail;
29469 swig_obj[0] = args;
29470 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29471 if (!SWIG_IsOK(res1)) {
29472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29473 }
29474 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29475 {
29476 PyThreadState* __tstate = wxPyBeginAllowThreads();
29477 {
29478 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
29479 result = (wxPrintDialogData *) &_result_ref;
29480 }
29481 wxPyEndAllowThreads(__tstate);
29482 if (PyErr_Occurred()) SWIG_fail;
29483 }
29484 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29485 return resultobj;
29486 fail:
29487 return NULL;
29488 }
29489
29490
29491 SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29492 PyObject *resultobj = 0;
29493 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29494 int arg2 ;
29495 void *argp1 = 0 ;
29496 int res1 = 0 ;
29497 int val2 ;
29498 int ecode2 = 0 ;
29499 PyObject * obj0 = 0 ;
29500 PyObject * obj1 = 0 ;
29501 char * kwnames[] = {
29502 (char *) "self",(char *) "percent", NULL
29503 };
29504
29505 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
29506 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29507 if (!SWIG_IsOK(res1)) {
29508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29509 }
29510 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29511 ecode2 = SWIG_AsVal_int(obj1, &val2);
29512 if (!SWIG_IsOK(ecode2)) {
29513 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
29514 }
29515 arg2 = static_cast< int >(val2);
29516 {
29517 PyThreadState* __tstate = wxPyBeginAllowThreads();
29518 (arg1)->SetZoom(arg2);
29519 wxPyEndAllowThreads(__tstate);
29520 if (PyErr_Occurred()) SWIG_fail;
29521 }
29522 resultobj = SWIG_Py_Void();
29523 return resultobj;
29524 fail:
29525 return NULL;
29526 }
29527
29528
29529 SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29530 PyObject *resultobj = 0;
29531 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29532 int result;
29533 void *argp1 = 0 ;
29534 int res1 = 0 ;
29535 PyObject *swig_obj[1] ;
29536
29537 if (!args) SWIG_fail;
29538 swig_obj[0] = args;
29539 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29540 if (!SWIG_IsOK(res1)) {
29541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29542 }
29543 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29544 {
29545 PyThreadState* __tstate = wxPyBeginAllowThreads();
29546 result = (int)(arg1)->GetZoom();
29547 wxPyEndAllowThreads(__tstate);
29548 if (PyErr_Occurred()) SWIG_fail;
29549 }
29550 resultobj = SWIG_From_int(static_cast< int >(result));
29551 return resultobj;
29552 fail:
29553 return NULL;
29554 }
29555
29556
29557 SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29558 PyObject *resultobj = 0;
29559 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29560 int result;
29561 void *argp1 = 0 ;
29562 int res1 = 0 ;
29563 PyObject *swig_obj[1] ;
29564
29565 if (!args) SWIG_fail;
29566 swig_obj[0] = args;
29567 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29568 if (!SWIG_IsOK(res1)) {
29569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29570 }
29571 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29572 {
29573 PyThreadState* __tstate = wxPyBeginAllowThreads();
29574 result = (int)(arg1)->GetMaxPage();
29575 wxPyEndAllowThreads(__tstate);
29576 if (PyErr_Occurred()) SWIG_fail;
29577 }
29578 resultobj = SWIG_From_int(static_cast< int >(result));
29579 return resultobj;
29580 fail:
29581 return NULL;
29582 }
29583
29584
29585 SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29586 PyObject *resultobj = 0;
29587 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29588 int result;
29589 void *argp1 = 0 ;
29590 int res1 = 0 ;
29591 PyObject *swig_obj[1] ;
29592
29593 if (!args) SWIG_fail;
29594 swig_obj[0] = args;
29595 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29596 if (!SWIG_IsOK(res1)) {
29597 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29598 }
29599 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29600 {
29601 PyThreadState* __tstate = wxPyBeginAllowThreads();
29602 result = (int)(arg1)->GetMinPage();
29603 wxPyEndAllowThreads(__tstate);
29604 if (PyErr_Occurred()) SWIG_fail;
29605 }
29606 resultobj = SWIG_From_int(static_cast< int >(result));
29607 return resultobj;
29608 fail:
29609 return NULL;
29610 }
29611
29612
29613 SWIGINTERN PyObject *_wrap_PrintPreview_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29614 PyObject *resultobj = 0;
29615 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29616 bool result;
29617 void *argp1 = 0 ;
29618 int res1 = 0 ;
29619 PyObject *swig_obj[1] ;
29620
29621 if (!args) SWIG_fail;
29622 swig_obj[0] = args;
29623 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29624 if (!SWIG_IsOK(res1)) {
29625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29626 }
29627 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29628 {
29629 PyThreadState* __tstate = wxPyBeginAllowThreads();
29630 result = (bool)(arg1)->Ok();
29631 wxPyEndAllowThreads(__tstate);
29632 if (PyErr_Occurred()) SWIG_fail;
29633 }
29634 {
29635 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29636 }
29637 return resultobj;
29638 fail:
29639 return NULL;
29640 }
29641
29642
29643 SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29644 PyObject *resultobj = 0;
29645 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29646 bool arg2 ;
29647 void *argp1 = 0 ;
29648 int res1 = 0 ;
29649 bool val2 ;
29650 int ecode2 = 0 ;
29651 PyObject * obj0 = 0 ;
29652 PyObject * obj1 = 0 ;
29653 char * kwnames[] = {
29654 (char *) "self",(char *) "ok", NULL
29655 };
29656
29657 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
29658 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29659 if (!SWIG_IsOK(res1)) {
29660 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29661 }
29662 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29663 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29664 if (!SWIG_IsOK(ecode2)) {
29665 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
29666 }
29667 arg2 = static_cast< bool >(val2);
29668 {
29669 PyThreadState* __tstate = wxPyBeginAllowThreads();
29670 (arg1)->SetOk(arg2);
29671 wxPyEndAllowThreads(__tstate);
29672 if (PyErr_Occurred()) SWIG_fail;
29673 }
29674 resultobj = SWIG_Py_Void();
29675 return resultobj;
29676 fail:
29677 return NULL;
29678 }
29679
29680
29681 SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29682 PyObject *resultobj = 0;
29683 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29684 bool arg2 ;
29685 bool result;
29686 void *argp1 = 0 ;
29687 int res1 = 0 ;
29688 bool val2 ;
29689 int ecode2 = 0 ;
29690 PyObject * obj0 = 0 ;
29691 PyObject * obj1 = 0 ;
29692 char * kwnames[] = {
29693 (char *) "self",(char *) "interactive", NULL
29694 };
29695
29696 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
29697 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29698 if (!SWIG_IsOK(res1)) {
29699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29700 }
29701 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29702 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29703 if (!SWIG_IsOK(ecode2)) {
29704 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
29705 }
29706 arg2 = static_cast< bool >(val2);
29707 {
29708 PyThreadState* __tstate = wxPyBeginAllowThreads();
29709 result = (bool)(arg1)->Print(arg2);
29710 wxPyEndAllowThreads(__tstate);
29711 if (PyErr_Occurred()) SWIG_fail;
29712 }
29713 {
29714 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29715 }
29716 return resultobj;
29717 fail:
29718 return NULL;
29719 }
29720
29721
29722 SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29723 PyObject *resultobj = 0;
29724 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29725 void *argp1 = 0 ;
29726 int res1 = 0 ;
29727 PyObject *swig_obj[1] ;
29728
29729 if (!args) SWIG_fail;
29730 swig_obj[0] = args;
29731 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29732 if (!SWIG_IsOK(res1)) {
29733 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29734 }
29735 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29736 {
29737 PyThreadState* __tstate = wxPyBeginAllowThreads();
29738 (arg1)->DetermineScaling();
29739 wxPyEndAllowThreads(__tstate);
29740 if (PyErr_Occurred()) SWIG_fail;
29741 }
29742 resultobj = SWIG_Py_Void();
29743 return resultobj;
29744 fail:
29745 return NULL;
29746 }
29747
29748
29749 SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29750 PyObject *obj;
29751 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29752 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
29753 return SWIG_Py_Void();
29754 }
29755
29756 SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29757 return SWIG_Python_InitShadowInstance(args);
29758 }
29759
29760 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29761 PyObject *resultobj = 0;
29762 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29763 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29764 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
29765 wxPyPrintPreview *result = 0 ;
29766 int res1 = 0 ;
29767 int res2 = 0 ;
29768 void *argp3 = 0 ;
29769 int res3 = 0 ;
29770
29771 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
29772 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29773 if (!SWIG_IsOK(res1)) {
29774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29775 }
29776 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29777 if (!SWIG_IsOK(res2)) {
29778 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29779 }
29780 if (swig_obj[2]) {
29781 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29782 if (!SWIG_IsOK(res3)) {
29783 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29784 }
29785 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
29786 }
29787 {
29788 if (!wxPyCheckForApp()) SWIG_fail;
29789 PyThreadState* __tstate = wxPyBeginAllowThreads();
29790 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
29791 wxPyEndAllowThreads(__tstate);
29792 if (PyErr_Occurred()) SWIG_fail;
29793 }
29794 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
29795 return resultobj;
29796 fail:
29797 return NULL;
29798 }
29799
29800
29801 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29802 PyObject *resultobj = 0;
29803 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29804 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29805 wxPrintData *arg3 = (wxPrintData *) 0 ;
29806 wxPyPrintPreview *result = 0 ;
29807 int res1 = 0 ;
29808 int res2 = 0 ;
29809 void *argp3 = 0 ;
29810 int res3 = 0 ;
29811
29812 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
29813 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29814 if (!SWIG_IsOK(res1)) {
29815 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29816 }
29817 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29818 if (!SWIG_IsOK(res2)) {
29819 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29820 }
29821 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
29822 if (!SWIG_IsOK(res3)) {
29823 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29824 }
29825 arg3 = reinterpret_cast< wxPrintData * >(argp3);
29826 {
29827 if (!wxPyCheckForApp()) SWIG_fail;
29828 PyThreadState* __tstate = wxPyBeginAllowThreads();
29829 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
29830 wxPyEndAllowThreads(__tstate);
29831 if (PyErr_Occurred()) SWIG_fail;
29832 }
29833 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
29834 return resultobj;
29835 fail:
29836 return NULL;
29837 }
29838
29839
29840 SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
29841 int argc;
29842 PyObject *argv[4];
29843
29844 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
29845 --argc;
29846 if ((argc >= 2) && (argc <= 3)) {
29847 int _v = 0;
29848 if (argc > 2) {
29849 {
29850 void *vptr = 0;
29851 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
29852 _v = SWIG_CheckState(res);
29853 }
29854 if (!_v) goto check_1;
29855 }
29856 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
29857 }
29858 check_1:
29859
29860 if (argc == 3) {
29861 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
29862 }
29863
29864 fail:
29865 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
29866 return NULL;
29867 }
29868
29869
29870 SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29871 PyObject *resultobj = 0;
29872 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
29873 PyObject *arg2 = (PyObject *) 0 ;
29874 PyObject *arg3 = (PyObject *) 0 ;
29875 void *argp1 = 0 ;
29876 int res1 = 0 ;
29877 PyObject * obj0 = 0 ;
29878 PyObject * obj1 = 0 ;
29879 PyObject * obj2 = 0 ;
29880 char * kwnames[] = {
29881 (char *) "self",(char *) "self",(char *) "_class", NULL
29882 };
29883
29884 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29885 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
29886 if (!SWIG_IsOK(res1)) {
29887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
29888 }
29889 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
29890 arg2 = obj1;
29891 arg3 = obj2;
29892 {
29893 PyThreadState* __tstate = wxPyBeginAllowThreads();
29894 (arg1)->_setCallbackInfo(arg2,arg3);
29895 wxPyEndAllowThreads(__tstate);
29896 if (PyErr_Occurred()) SWIG_fail;
29897 }
29898 resultobj = SWIG_Py_Void();
29899 return resultobj;
29900 fail:
29901 return NULL;
29902 }
29903
29904
29905 SWIGINTERN PyObject *PyPrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29906 PyObject *obj;
29907 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29908 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview, SWIG_NewClientData(obj));
29909 return SWIG_Py_Void();
29910 }
29911
29912 SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29913 return SWIG_Python_InitShadowInstance(args);
29914 }
29915
29916 SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29917 PyObject *resultobj = 0;
29918 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29919 wxFrame *arg2 = (wxFrame *) 0 ;
29920 wxString *arg3 = 0 ;
29921 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29922 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29923 wxSize const &arg5_defvalue = wxDefaultSize ;
29924 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29925 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
29926 wxString const &arg7_defvalue = wxPyFrameNameStr ;
29927 wxString *arg7 = (wxString *) &arg7_defvalue ;
29928 wxPyPreviewFrame *result = 0 ;
29929 void *argp1 = 0 ;
29930 int res1 = 0 ;
29931 void *argp2 = 0 ;
29932 int res2 = 0 ;
29933 bool temp3 = false ;
29934 wxPoint temp4 ;
29935 wxSize temp5 ;
29936 long val6 ;
29937 int ecode6 = 0 ;
29938 bool temp7 = false ;
29939 PyObject * obj0 = 0 ;
29940 PyObject * obj1 = 0 ;
29941 PyObject * obj2 = 0 ;
29942 PyObject * obj3 = 0 ;
29943 PyObject * obj4 = 0 ;
29944 PyObject * obj5 = 0 ;
29945 PyObject * obj6 = 0 ;
29946 char * kwnames[] = {
29947 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29948 };
29949
29950 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
29951 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29952 if (!SWIG_IsOK(res1)) {
29953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29954 }
29955 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29956 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29957 if (!SWIG_IsOK(res2)) {
29958 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29959 }
29960 arg2 = reinterpret_cast< wxFrame * >(argp2);
29961 {
29962 arg3 = wxString_in_helper(obj2);
29963 if (arg3 == NULL) SWIG_fail;
29964 temp3 = true;
29965 }
29966 if (obj3) {
29967 {
29968 arg4 = &temp4;
29969 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29970 }
29971 }
29972 if (obj4) {
29973 {
29974 arg5 = &temp5;
29975 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29976 }
29977 }
29978 if (obj5) {
29979 ecode6 = SWIG_AsVal_long(obj5, &val6);
29980 if (!SWIG_IsOK(ecode6)) {
29981 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
29982 }
29983 arg6 = static_cast< long >(val6);
29984 }
29985 if (obj6) {
29986 {
29987 arg7 = wxString_in_helper(obj6);
29988 if (arg7 == NULL) SWIG_fail;
29989 temp7 = true;
29990 }
29991 }
29992 {
29993 if (!wxPyCheckForApp()) SWIG_fail;
29994 PyThreadState* __tstate = wxPyBeginAllowThreads();
29995 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
29996 wxPyEndAllowThreads(__tstate);
29997 if (PyErr_Occurred()) SWIG_fail;
29998 }
29999 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
30000 {
30001 if (temp3)
30002 delete arg3;
30003 }
30004 {
30005 if (temp7)
30006 delete arg7;
30007 }
30008 return resultobj;
30009 fail:
30010 {
30011 if (temp3)
30012 delete arg3;
30013 }
30014 {
30015 if (temp7)
30016 delete arg7;
30017 }
30018 return NULL;
30019 }
30020
30021
30022 SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30023 PyObject *resultobj = 0;
30024 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30025 PyObject *arg2 = (PyObject *) 0 ;
30026 PyObject *arg3 = (PyObject *) 0 ;
30027 void *argp1 = 0 ;
30028 int res1 = 0 ;
30029 PyObject * obj0 = 0 ;
30030 PyObject * obj1 = 0 ;
30031 PyObject * obj2 = 0 ;
30032 char * kwnames[] = {
30033 (char *) "self",(char *) "self",(char *) "_class", NULL
30034 };
30035
30036 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30037 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30038 if (!SWIG_IsOK(res1)) {
30039 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30040 }
30041 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30042 arg2 = obj1;
30043 arg3 = obj2;
30044 {
30045 PyThreadState* __tstate = wxPyBeginAllowThreads();
30046 (arg1)->_setCallbackInfo(arg2,arg3);
30047 wxPyEndAllowThreads(__tstate);
30048 if (PyErr_Occurred()) SWIG_fail;
30049 }
30050 resultobj = SWIG_Py_Void();
30051 return resultobj;
30052 fail:
30053 return NULL;
30054 }
30055
30056
30057 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30058 PyObject *resultobj = 0;
30059 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30060 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30061 void *argp1 = 0 ;
30062 int res1 = 0 ;
30063 void *argp2 = 0 ;
30064 int res2 = 0 ;
30065 PyObject * obj0 = 0 ;
30066 PyObject * obj1 = 0 ;
30067 char * kwnames[] = {
30068 (char *) "self",(char *) "canvas", NULL
30069 };
30070
30071 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
30072 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30073 if (!SWIG_IsOK(res1)) {
30074 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30075 }
30076 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30077 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30078 if (!SWIG_IsOK(res2)) {
30079 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30080 }
30081 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30082 {
30083 PyThreadState* __tstate = wxPyBeginAllowThreads();
30084 (arg1)->SetPreviewCanvas(arg2);
30085 wxPyEndAllowThreads(__tstate);
30086 if (PyErr_Occurred()) SWIG_fail;
30087 }
30088 resultobj = SWIG_Py_Void();
30089 return resultobj;
30090 fail:
30091 return NULL;
30092 }
30093
30094
30095 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30096 PyObject *resultobj = 0;
30097 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30098 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
30099 void *argp1 = 0 ;
30100 int res1 = 0 ;
30101 void *argp2 = 0 ;
30102 int res2 = 0 ;
30103 PyObject * obj0 = 0 ;
30104 PyObject * obj1 = 0 ;
30105 char * kwnames[] = {
30106 (char *) "self",(char *) "bar", NULL
30107 };
30108
30109 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
30110 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30111 if (!SWIG_IsOK(res1)) {
30112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30113 }
30114 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30115 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30116 if (!SWIG_IsOK(res2)) {
30117 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30118 }
30119 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
30120 {
30121 PyThreadState* __tstate = wxPyBeginAllowThreads();
30122 (arg1)->SetControlBar(arg2);
30123 wxPyEndAllowThreads(__tstate);
30124 if (PyErr_Occurred()) SWIG_fail;
30125 }
30126 resultobj = SWIG_Py_Void();
30127 return resultobj;
30128 fail:
30129 return NULL;
30130 }
30131
30132
30133 SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30134 PyObject *resultobj = 0;
30135 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30136 void *argp1 = 0 ;
30137 int res1 = 0 ;
30138 PyObject *swig_obj[1] ;
30139
30140 if (!args) SWIG_fail;
30141 swig_obj[0] = args;
30142 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30143 if (!SWIG_IsOK(res1)) {
30144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30145 }
30146 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30147 {
30148 PyThreadState* __tstate = wxPyBeginAllowThreads();
30149 (arg1)->Initialize();
30150 wxPyEndAllowThreads(__tstate);
30151 if (PyErr_Occurred()) SWIG_fail;
30152 }
30153 resultobj = SWIG_Py_Void();
30154 return resultobj;
30155 fail:
30156 return NULL;
30157 }
30158
30159
30160 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30161 PyObject *resultobj = 0;
30162 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30163 void *argp1 = 0 ;
30164 int res1 = 0 ;
30165 PyObject *swig_obj[1] ;
30166
30167 if (!args) SWIG_fail;
30168 swig_obj[0] = args;
30169 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30170 if (!SWIG_IsOK(res1)) {
30171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30172 }
30173 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30174 {
30175 PyThreadState* __tstate = wxPyBeginAllowThreads();
30176 (arg1)->CreateCanvas();
30177 wxPyEndAllowThreads(__tstate);
30178 if (PyErr_Occurred()) SWIG_fail;
30179 }
30180 resultobj = SWIG_Py_Void();
30181 return resultobj;
30182 fail:
30183 return NULL;
30184 }
30185
30186
30187 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30188 PyObject *resultobj = 0;
30189 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30190 void *argp1 = 0 ;
30191 int res1 = 0 ;
30192 PyObject *swig_obj[1] ;
30193
30194 if (!args) SWIG_fail;
30195 swig_obj[0] = args;
30196 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30197 if (!SWIG_IsOK(res1)) {
30198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30199 }
30200 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30201 {
30202 PyThreadState* __tstate = wxPyBeginAllowThreads();
30203 (arg1)->CreateControlBar();
30204 wxPyEndAllowThreads(__tstate);
30205 if (PyErr_Occurred()) SWIG_fail;
30206 }
30207 resultobj = SWIG_Py_Void();
30208 return resultobj;
30209 fail:
30210 return NULL;
30211 }
30212
30213
30214 SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30215 PyObject *obj;
30216 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30217 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
30218 return SWIG_Py_Void();
30219 }
30220
30221 SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30222 return SWIG_Python_InitShadowInstance(args);
30223 }
30224
30225 SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30226 PyObject *resultobj = 0;
30227 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30228 long arg2 ;
30229 wxWindow *arg3 = (wxWindow *) 0 ;
30230 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30231 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30232 wxSize const &arg5_defvalue = wxDefaultSize ;
30233 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30234 long arg6 = (long) 0 ;
30235 wxString const &arg7_defvalue = wxPyPanelNameStr ;
30236 wxString *arg7 = (wxString *) &arg7_defvalue ;
30237 wxPyPreviewControlBar *result = 0 ;
30238 void *argp1 = 0 ;
30239 int res1 = 0 ;
30240 long val2 ;
30241 int ecode2 = 0 ;
30242 void *argp3 = 0 ;
30243 int res3 = 0 ;
30244 wxPoint temp4 ;
30245 wxSize temp5 ;
30246 long val6 ;
30247 int ecode6 = 0 ;
30248 bool temp7 = false ;
30249 PyObject * obj0 = 0 ;
30250 PyObject * obj1 = 0 ;
30251 PyObject * obj2 = 0 ;
30252 PyObject * obj3 = 0 ;
30253 PyObject * obj4 = 0 ;
30254 PyObject * obj5 = 0 ;
30255 PyObject * obj6 = 0 ;
30256 char * kwnames[] = {
30257 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30258 };
30259
30260 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30261 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30262 if (!SWIG_IsOK(res1)) {
30263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30264 }
30265 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30266 ecode2 = SWIG_AsVal_long(obj1, &val2);
30267 if (!SWIG_IsOK(ecode2)) {
30268 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30269 }
30270 arg2 = static_cast< long >(val2);
30271 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
30272 if (!SWIG_IsOK(res3)) {
30273 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30274 }
30275 arg3 = reinterpret_cast< wxWindow * >(argp3);
30276 if (obj3) {
30277 {
30278 arg4 = &temp4;
30279 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30280 }
30281 }
30282 if (obj4) {
30283 {
30284 arg5 = &temp5;
30285 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
30286 }
30287 }
30288 if (obj5) {
30289 ecode6 = SWIG_AsVal_long(obj5, &val6);
30290 if (!SWIG_IsOK(ecode6)) {
30291 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30292 }
30293 arg6 = static_cast< long >(val6);
30294 }
30295 if (obj6) {
30296 {
30297 arg7 = wxString_in_helper(obj6);
30298 if (arg7 == NULL) SWIG_fail;
30299 temp7 = true;
30300 }
30301 }
30302 {
30303 if (!wxPyCheckForApp()) SWIG_fail;
30304 PyThreadState* __tstate = wxPyBeginAllowThreads();
30305 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30306 wxPyEndAllowThreads(__tstate);
30307 if (PyErr_Occurred()) SWIG_fail;
30308 }
30309 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
30310 {
30311 if (temp7)
30312 delete arg7;
30313 }
30314 return resultobj;
30315 fail:
30316 {
30317 if (temp7)
30318 delete arg7;
30319 }
30320 return NULL;
30321 }
30322
30323
30324 SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30325 PyObject *resultobj = 0;
30326 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30327 PyObject *arg2 = (PyObject *) 0 ;
30328 PyObject *arg3 = (PyObject *) 0 ;
30329 void *argp1 = 0 ;
30330 int res1 = 0 ;
30331 PyObject * obj0 = 0 ;
30332 PyObject * obj1 = 0 ;
30333 PyObject * obj2 = 0 ;
30334 char * kwnames[] = {
30335 (char *) "self",(char *) "self",(char *) "_class", NULL
30336 };
30337
30338 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30339 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30340 if (!SWIG_IsOK(res1)) {
30341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30342 }
30343 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30344 arg2 = obj1;
30345 arg3 = obj2;
30346 {
30347 PyThreadState* __tstate = wxPyBeginAllowThreads();
30348 (arg1)->_setCallbackInfo(arg2,arg3);
30349 wxPyEndAllowThreads(__tstate);
30350 if (PyErr_Occurred()) SWIG_fail;
30351 }
30352 resultobj = SWIG_Py_Void();
30353 return resultobj;
30354 fail:
30355 return NULL;
30356 }
30357
30358
30359 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30360 PyObject *resultobj = 0;
30361 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30362 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
30363 void *argp1 = 0 ;
30364 int res1 = 0 ;
30365 void *argp2 = 0 ;
30366 int res2 = 0 ;
30367 PyObject * obj0 = 0 ;
30368 PyObject * obj1 = 0 ;
30369 char * kwnames[] = {
30370 (char *) "self",(char *) "preview", NULL
30371 };
30372
30373 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
30374 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30375 if (!SWIG_IsOK(res1)) {
30376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30377 }
30378 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30379 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30380 if (!SWIG_IsOK(res2)) {
30381 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30382 }
30383 arg2 = reinterpret_cast< wxPrintPreview * >(argp2);
30384 {
30385 PyThreadState* __tstate = wxPyBeginAllowThreads();
30386 (arg1)->SetPrintPreview(arg2);
30387 wxPyEndAllowThreads(__tstate);
30388 if (PyErr_Occurred()) SWIG_fail;
30389 }
30390 resultobj = SWIG_Py_Void();
30391 return resultobj;
30392 fail:
30393 return NULL;
30394 }
30395
30396
30397 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30398 PyObject *resultobj = 0;
30399 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30400 void *argp1 = 0 ;
30401 int res1 = 0 ;
30402 PyObject *swig_obj[1] ;
30403
30404 if (!args) SWIG_fail;
30405 swig_obj[0] = args;
30406 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30407 if (!SWIG_IsOK(res1)) {
30408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30409 }
30410 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30411 {
30412 PyThreadState* __tstate = wxPyBeginAllowThreads();
30413 (arg1)->CreateButtons();
30414 wxPyEndAllowThreads(__tstate);
30415 if (PyErr_Occurred()) SWIG_fail;
30416 }
30417 resultobj = SWIG_Py_Void();
30418 return resultobj;
30419 fail:
30420 return NULL;
30421 }
30422
30423
30424 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30425 PyObject *resultobj = 0;
30426 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30427 int arg2 ;
30428 void *argp1 = 0 ;
30429 int res1 = 0 ;
30430 int val2 ;
30431 int ecode2 = 0 ;
30432 PyObject * obj0 = 0 ;
30433 PyObject * obj1 = 0 ;
30434 char * kwnames[] = {
30435 (char *) "self",(char *) "zoom", NULL
30436 };
30437
30438 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
30439 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30440 if (!SWIG_IsOK(res1)) {
30441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30442 }
30443 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30444 ecode2 = SWIG_AsVal_int(obj1, &val2);
30445 if (!SWIG_IsOK(ecode2)) {
30446 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30447 }
30448 arg2 = static_cast< int >(val2);
30449 {
30450 PyThreadState* __tstate = wxPyBeginAllowThreads();
30451 (arg1)->SetZoomControl(arg2);
30452 wxPyEndAllowThreads(__tstate);
30453 if (PyErr_Occurred()) SWIG_fail;
30454 }
30455 resultobj = SWIG_Py_Void();
30456 return resultobj;
30457 fail:
30458 return NULL;
30459 }
30460
30461
30462 SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30463 PyObject *obj;
30464 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30465 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
30466 return SWIG_Py_Void();
30467 }
30468
30469 SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30470 return SWIG_Python_InitShadowInstance(args);
30471 }
30472
30473 static PyMethodDef SwigMethods[] = {
30474 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
30475 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
30476 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30477 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
30478 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30479 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
30480 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
30481 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30482 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
30483 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30484 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
30485 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
30486 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30487 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30488 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
30489 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
30490 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
30491 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
30492 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
30493 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
30494 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
30495 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
30496 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
30497 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
30498 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
30499 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30500 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
30501 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
30502 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction)_wrap_ScrolledWindow_GetTargetRect, METH_O, NULL},
30503 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
30504 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30505 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
30506 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
30507 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
30508 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
30509 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
30510 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
30511 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction)_wrap_TopLevelWindow_IsAlwaysMaximized, METH_O, NULL},
30512 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
30513 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
30514 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
30515 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
30516 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30517 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
30518 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
30519 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
30520 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
30521 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
30522 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
30523 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
30524 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
30525 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30526 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
30527 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
30528 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
30529 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30530 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
30531 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
30532 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
30533 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
30534 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30535 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
30536 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30537 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30538 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
30539 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30540 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30541 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
30542 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
30543 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
30544 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
30545 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
30546 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
30547 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
30548 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30549 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
30550 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
30551 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
30552 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
30553 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30554 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
30555 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
30556 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
30557 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
30558 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
30559 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
30560 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30561 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30562 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30563 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
30564 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
30565 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
30566 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30567 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
30568 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
30569 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30570 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
30571 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30572 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
30573 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
30574 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30575 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
30576 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
30577 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
30578 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
30579 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30580 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
30581 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
30582 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
30583 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
30584 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
30585 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30586 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
30587 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30588 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
30589 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
30590 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30591 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30592 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30593 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30594 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
30595 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
30596 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
30597 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
30598 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
30599 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
30600 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30601 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
30602 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
30603 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30604 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
30605 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30606 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
30607 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
30608 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
30609 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
30610 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
30611 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
30612 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
30613 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
30614 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30615 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
30616 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
30617 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
30618 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
30619 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
30620 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
30621 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
30622 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
30623 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
30624 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
30625 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
30626 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
30627 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
30628 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
30629 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
30630 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
30631 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30632 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
30633 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
30634 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30635 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
30636 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
30637 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
30638 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
30639 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
30640 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
30641 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
30642 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30643 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
30644 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30645 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30646 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30647 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
30648 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
30649 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
30650 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
30651 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
30652 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
30653 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
30654 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
30655 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
30656 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
30657 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
30658 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
30659 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
30660 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
30661 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
30662 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
30663 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
30664 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
30665 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
30666 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30667 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
30668 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
30669 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
30670 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
30671 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
30672 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
30673 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
30674 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
30675 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30676 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
30677 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
30678 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
30679 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
30680 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
30681 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
30682 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
30683 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
30684 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
30685 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
30686 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
30687 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
30688 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30689 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
30690 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
30691 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
30692 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
30693 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
30694 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
30695 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30696 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
30697 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30698 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
30699 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
30700 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
30701 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
30702 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
30703 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
30704 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
30705 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
30706 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
30707 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30708 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30709 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30710 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
30711 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
30712 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30713 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
30714 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
30715 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
30716 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30717 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
30718 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
30719 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
30720 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30721 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
30722 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
30723 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
30724 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
30725 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30726 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
30727 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30728 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30729 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
30730 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
30731 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
30732 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
30733 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
30734 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
30735 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction)_wrap_VScrolledWindow_RefreshAll, METH_O, NULL},
30736 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction)_wrap_VScrolledWindow_GetLineCount, METH_O, NULL},
30737 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction)_wrap_VScrolledWindow_GetVisibleBegin, METH_O, NULL},
30738 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction)_wrap_VScrolledWindow_GetVisibleEnd, METH_O, NULL},
30739 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30740 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetFirstVisibleLine, METH_O, NULL},
30741 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetLastVisibleLine, METH_O, NULL},
30742 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction) _wrap_VScrolledWindow_FindFirstFromBottom, METH_VARARGS | METH_KEYWORDS, NULL},
30743 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction) _wrap_VScrolledWindow_GetLinesHeight, METH_VARARGS | METH_KEYWORDS, NULL},
30744 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
30745 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
30746 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
30747 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
30748 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30749 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30750 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
30751 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
30752 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
30753 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
30754 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
30755 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
30756 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
30757 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
30758 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
30759 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
30760 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
30761 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
30762 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
30763 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
30764 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
30765 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
30766 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
30767 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
30768 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
30769 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
30770 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
30771 { (char *)"VListBox_OnDrawSeparator", (PyCFunction) _wrap_VListBox_OnDrawSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
30772 { (char *)"VListBox_OnDrawBackground", (PyCFunction) _wrap_VListBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
30773 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
30774 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
30775 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
30776 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
30777 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30778 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30779 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
30780 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
30781 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction) _wrap_HtmlListBox_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
30782 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
30783 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
30784 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
30785 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
30786 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30787 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
30788 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
30789 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
30790 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
30791 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
30792 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
30793 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
30794 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
30795 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30796 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
30797 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
30798 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
30799 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
30800 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
30801 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
30802 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
30803 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
30804 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
30805 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
30806 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
30807 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
30808 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30809 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
30810 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
30811 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
30812 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
30813 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30814 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
30815 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
30816 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
30817 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
30818 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
30819 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
30820 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30821 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
30822 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
30823 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
30824 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
30825 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
30826 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
30827 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
30828 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
30829 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
30830 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
30831 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
30832 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
30833 { (char *)"FileDialog_GetStyle", (PyCFunction)_wrap_FileDialog_GetStyle, METH_O, NULL},
30834 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
30835 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
30836 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
30837 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
30838 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
30839 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30840 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
30841 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
30842 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
30843 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
30844 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30845 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
30846 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
30847 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
30848 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
30849 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
30850 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30851 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
30852 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
30853 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
30854 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
30855 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30856 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
30857 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
30858 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
30859 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
30860 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
30861 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
30862 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
30863 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
30864 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
30865 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
30866 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
30867 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
30868 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
30869 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
30870 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
30871 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
30872 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
30873 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
30874 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
30875 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30876 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
30877 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
30878 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
30879 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
30880 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30881 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
30882 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
30883 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30884 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
30885 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
30886 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
30887 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
30888 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30889 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
30890 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
30891 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
30892 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
30893 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
30894 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
30895 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
30896 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
30897 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
30898 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
30899 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
30900 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
30901 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
30902 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
30903 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
30904 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
30905 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
30906 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
30907 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
30908 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30909 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
30910 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30911 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
30912 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
30913 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
30914 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
30915 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30916 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
30917 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30918 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
30919 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
30920 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
30921 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
30922 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
30923 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
30924 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction)_wrap_MDIParentFrame_GetToolBar, METH_O, NULL},
30925 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
30926 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
30927 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
30928 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30929 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
30930 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30931 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
30932 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
30933 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
30934 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30935 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
30936 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30937 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
30938 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
30939 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30940 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
30941 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30942 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
30943 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
30944 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30945 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
30946 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
30947 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
30948 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
30949 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
30950 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
30951 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
30952 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
30953 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
30954 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
30955 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
30956 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
30957 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
30958 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
30959 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30960 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
30961 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
30962 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30963 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
30964 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
30965 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
30966 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
30967 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
30968 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
30969 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
30970 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
30971 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
30972 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
30973 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
30974 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
30975 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30976 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
30977 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30978 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
30979 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
30980 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30981 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
30982 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
30983 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
30984 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
30985 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
30986 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
30987 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
30988 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
30989 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
30990 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
30991 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
30992 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
30993 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
30994 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
30995 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
30996 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
30997 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
30998 { (char *)"PrintData_Ok", (PyCFunction)_wrap_PrintData_Ok, METH_O, NULL},
30999 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
31000 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
31001 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
31002 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
31003 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
31004 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
31005 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
31006 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
31007 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31008 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31009 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31010 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
31011 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31012 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
31013 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31014 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31015 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
31016 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
31017 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
31018 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
31019 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31020 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
31021 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
31022 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
31023 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
31024 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
31025 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
31026 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31027 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31028 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31029 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
31030 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
31031 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
31032 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
31033 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
31034 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
31035 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
31036 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
31037 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
31038 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
31039 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
31040 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
31041 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
31042 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
31043 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
31044 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
31045 { (char *)"PageSetupDialogData_Ok", (PyCFunction)_wrap_PageSetupDialogData_Ok, METH_O, NULL},
31046 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31047 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31048 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31049 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31050 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31051 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31052 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31053 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31054 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31055 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
31056 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
31057 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
31058 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
31059 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31060 { (char *)"delete_PageSetupDialog", (PyCFunction)_wrap_delete_PageSetupDialog, METH_O, NULL},
31061 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
31062 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
31063 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
31064 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
31065 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
31066 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
31067 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
31068 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
31069 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
31070 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
31071 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
31072 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
31073 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
31074 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
31075 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
31076 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
31077 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
31078 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
31079 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
31080 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
31081 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31082 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
31083 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31084 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31085 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31086 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31087 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31088 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
31089 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31090 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
31091 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
31092 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
31093 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
31094 { (char *)"PrintDialogData_Ok", (PyCFunction)_wrap_PrintDialogData_Ok, METH_O, NULL},
31095 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
31096 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31097 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
31098 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
31099 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31100 { (char *)"delete_PrintDialog", (PyCFunction)_wrap_delete_PrintDialog, METH_O, NULL},
31101 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
31102 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
31103 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
31104 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
31105 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
31106 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
31107 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
31108 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
31109 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31110 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
31111 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
31112 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31113 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31114 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
31115 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
31116 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
31117 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
31118 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
31119 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
31120 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
31121 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31122 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
31123 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
31124 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
31125 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
31126 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
31127 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
31128 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
31129 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31130 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
31131 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
31132 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
31133 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
31134 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
31135 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
31136 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
31137 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
31138 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
31139 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
31140 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
31141 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
31142 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
31143 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
31144 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31145 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
31146 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
31147 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31148 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
31149 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
31150 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
31151 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
31152 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
31153 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
31154 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31155 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
31156 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
31157 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
31158 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
31159 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
31160 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
31161 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
31162 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
31163 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
31164 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
31165 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
31166 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
31167 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
31168 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
31169 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
31170 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
31171 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
31172 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31173 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31174 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
31175 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
31176 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
31177 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
31178 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
31179 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
31180 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
31181 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
31182 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
31183 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
31184 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
31185 { (char *)"PrintPreview_Ok", (PyCFunction)_wrap_PrintPreview_Ok, METH_O, NULL},
31186 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
31187 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31188 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
31189 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
31190 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
31191 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
31192 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31193 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
31194 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
31195 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31196 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31197 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31198 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31199 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
31200 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
31201 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
31202 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
31203 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
31204 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31205 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31206 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
31207 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
31208 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
31209 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
31210 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
31211 { NULL, NULL, 0, NULL }
31212 };
31213
31214
31215 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31216
31217 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
31218 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31219 }
31220 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
31221 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
31222 }
31223 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
31224 return (void *)((wxEvent *) ((wxMenuEvent *) x));
31225 }
31226 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
31227 return (void *)((wxEvent *) ((wxCloseEvent *) x));
31228 }
31229 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
31230 return (void *)((wxEvent *) ((wxMouseEvent *) x));
31231 }
31232 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
31233 return (void *)((wxEvent *) ((wxEraseEvent *) x));
31234 }
31235 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
31236 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
31237 }
31238 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
31239 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
31240 }
31241 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
31242 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
31243 }
31244 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
31245 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
31246 }
31247 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
31248 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
31249 }
31250 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
31251 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
31252 }
31253 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
31254 return (void *)((wxEvent *) ((wxPyEvent *) x));
31255 }
31256 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
31257 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
31258 }
31259 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
31260 return (void *)((wxEvent *) ((wxIdleEvent *) x));
31261 }
31262 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
31263 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
31264 }
31265 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
31266 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
31267 }
31268 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
31269 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
31270 }
31271 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
31272 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
31273 }
31274 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
31275 return (void *)((wxEvent *) ((wxActivateEvent *) x));
31276 }
31277 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
31278 return (void *)((wxEvent *) ((wxSizeEvent *) x));
31279 }
31280 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
31281 return (void *)((wxEvent *) ((wxMoveEvent *) x));
31282 }
31283 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
31284 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
31285 }
31286 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
31287 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
31288 }
31289 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
31290 return (void *)((wxEvent *) ((wxPaintEvent *) x));
31291 }
31292 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
31293 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
31294 }
31295 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
31296 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
31297 }
31298 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
31299 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
31300 }
31301 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
31302 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
31303 }
31304 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
31305 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31306 }
31307 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
31308 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
31309 }
31310 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
31311 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
31312 }
31313 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
31314 return (void *)((wxEvent *) ((wxFocusEvent *) x));
31315 }
31316 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
31317 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
31318 }
31319 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
31320 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
31321 }
31322 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
31323 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31324 }
31325 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
31326 return (void *)((wxEvent *) ((wxShowEvent *) x));
31327 }
31328 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
31329 return (void *)((wxEvent *) ((wxCommandEvent *) x));
31330 }
31331 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
31332 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
31333 }
31334 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
31335 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31336 }
31337 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
31338 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
31339 }
31340 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
31341 return (void *)((wxEvent *) ((wxKeyEvent *) x));
31342 }
31343 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
31344 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
31345 }
31346 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
31347 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
31348 }
31349 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
31350 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
31351 }
31352 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
31353 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31354 }
31355 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
31356 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31357 }
31358 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
31359 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
31360 }
31361 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
31362 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
31363 }
31364 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
31365 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
31366 }
31367 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
31368 return (void *)((wxEvtHandler *) ((wxValidator *) x));
31369 }
31370 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
31371 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
31372 }
31373 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
31374 return (void *)((wxEvtHandler *) ((wxMenu *) x));
31375 }
31376 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
31377 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31378 }
31379 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
31380 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
31381 }
31382 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
31383 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
31384 }
31385 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
31386 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
31387 }
31388 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
31389 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
31390 }
31391 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
31392 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
31393 }
31394 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
31395 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
31396 }
31397 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
31398 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
31399 }
31400 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
31401 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
31402 }
31403 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
31404 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
31405 }
31406 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
31407 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
31408 }
31409 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
31410 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
31411 }
31412 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
31413 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
31414 }
31415 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
31416 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
31417 }
31418 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
31419 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
31420 }
31421 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
31422 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
31423 }
31424 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
31425 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
31426 }
31427 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
31428 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
31429 }
31430 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
31431 return (void *)((wxEvtHandler *) ((wxWindow *) x));
31432 }
31433 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
31434 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
31435 }
31436 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
31437 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
31438 }
31439 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
31440 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
31441 }
31442 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
31443 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
31444 }
31445 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
31446 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
31447 }
31448 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
31449 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31450 }
31451 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
31452 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31453 }
31454 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
31455 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
31456 }
31457 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
31458 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
31459 }
31460 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
31461 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31462 }
31463 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
31464 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
31465 }
31466 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
31467 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
31468 }
31469 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
31470 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
31471 }
31472 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
31473 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
31474 }
31475 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
31476 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
31477 }
31478 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
31479 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
31480 }
31481 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
31482 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
31483 }
31484 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
31485 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
31486 }
31487 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
31488 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
31489 }
31490 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
31491 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
31492 }
31493 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
31494 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
31495 }
31496 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
31497 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
31498 }
31499 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
31500 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
31501 }
31502 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
31503 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
31504 }
31505 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
31506 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
31507 }
31508 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
31509 return (void *)((wxFrame *) ((wxProgressDialog *) x));
31510 }
31511 static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
31512 return (void *)((wxFrame *) ((wxTipWindow *) x));
31513 }
31514 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
31515 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
31516 }
31517 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
31518 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31519 }
31520 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
31521 return (void *)((wxFrame *) ((wxMiniFrame *) x));
31522 }
31523 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
31524 return (void *)((wxFrame *) ((wxSplashScreen *) x));
31525 }
31526 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
31527 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
31528 }
31529 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
31530 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
31531 }
31532 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
31533 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31534 }
31535 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
31536 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31537 }
31538 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
31539 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31540 }
31541 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
31542 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
31543 }
31544 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
31545 return (void *)((wxObject *) ((wxSizerItem *) x));
31546 }
31547 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
31548 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
31549 }
31550 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
31551 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
31552 }
31553 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
31554 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
31555 }
31556 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
31557 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
31558 }
31559 static void *_p_wxSizerTo_p_wxObject(void *x) {
31560 return (void *)((wxObject *) ((wxSizer *) x));
31561 }
31562 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
31563 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
31564 }
31565 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
31566 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
31567 }
31568 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
31569 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
31570 }
31571 static void *_p_wxEventTo_p_wxObject(void *x) {
31572 return (void *)((wxObject *) ((wxEvent *) x));
31573 }
31574 static void *_p_wxFontDataTo_p_wxObject(void *x) {
31575 return (void *)((wxObject *) ((wxFontData *) x));
31576 }
31577 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
31578 return (void *)((wxObject *) ((wxPrintData *) x));
31579 }
31580 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
31581 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
31582 }
31583 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
31584 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
31585 }
31586 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
31587 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
31588 }
31589 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
31590 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
31591 }
31592 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
31593 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
31594 }
31595 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
31596 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
31597 }
31598 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
31599 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
31600 }
31601 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
31602 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
31603 }
31604 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
31605 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
31606 }
31607 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
31608 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
31609 }
31610 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
31611 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
31612 }
31613 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
31614 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31615 }
31616 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
31617 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
31618 }
31619 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
31620 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
31621 }
31622 static void *_p_wxControlTo_p_wxObject(void *x) {
31623 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
31624 }
31625 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
31626 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
31627 }
31628 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
31629 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
31630 }
31631 static void *_p_wxFSFileTo_p_wxObject(void *x) {
31632 return (void *)((wxObject *) ((wxFSFile *) x));
31633 }
31634 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
31635 return (void *)((wxObject *) ((wxFindReplaceData *) x));
31636 }
31637 static void *_p_wxPySizerTo_p_wxObject(void *x) {
31638 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
31639 }
31640 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
31641 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
31642 }
31643 static void *_p_wxColourDataTo_p_wxObject(void *x) {
31644 return (void *)((wxObject *) ((wxColourData *) x));
31645 }
31646 static void *_p_wxPyEventTo_p_wxObject(void *x) {
31647 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
31648 }
31649 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
31650 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
31651 }
31652 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
31653 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
31654 }
31655 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
31656 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31657 }
31658 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
31659 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
31660 }
31661 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
31662 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
31663 }
31664 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
31665 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
31666 }
31667 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
31668 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
31669 }
31670 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
31671 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31672 }
31673 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
31674 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
31675 }
31676 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
31677 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
31678 }
31679 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
31680 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
31681 }
31682 static void *_p_wxShowEventTo_p_wxObject(void *x) {
31683 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
31684 }
31685 static void *_p_wxPrinterTo_p_wxObject(void *x) {
31686 return (void *)((wxObject *) ((wxPrinter *) x));
31687 }
31688 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
31689 return (void *)((wxObject *) ((wxMenuItem *) x));
31690 }
31691 static void *_p_wxDateEventTo_p_wxObject(void *x) {
31692 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
31693 }
31694 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
31695 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
31696 }
31697 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
31698 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
31699 }
31700 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
31701 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
31702 }
31703 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
31704 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
31705 }
31706 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
31707 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
31708 }
31709 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
31710 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
31711 }
31712 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
31713 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
31714 }
31715 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
31716 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
31717 }
31718 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
31719 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
31720 }
31721 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
31722 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
31723 }
31724 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
31725 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
31726 }
31727 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
31728 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
31729 }
31730 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
31731 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
31732 }
31733 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
31734 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
31735 }
31736 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
31737 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
31738 }
31739 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
31740 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
31741 }
31742 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
31743 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
31744 }
31745 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
31746 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
31747 }
31748 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
31749 return (void *)((wxObject *) ((wxImageHandler *) x));
31750 }
31751 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
31752 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
31753 }
31754 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
31755 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
31756 }
31757 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
31758 return (void *)((wxObject *) ((wxEvtHandler *) x));
31759 }
31760 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
31761 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
31762 }
31763 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
31764 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
31765 }
31766 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
31767 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
31768 }
31769 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
31770 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
31771 }
31772 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
31773 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
31774 }
31775 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
31776 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
31777 }
31778 static void *_p_wxImageTo_p_wxObject(void *x) {
31779 return (void *)((wxObject *) ((wxImage *) x));
31780 }
31781 static void *_p_wxFrameTo_p_wxObject(void *x) {
31782 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
31783 }
31784 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
31785 return (void *)((wxObject *) ((wxPyPrintout *) x));
31786 }
31787 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
31788 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
31789 }
31790 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
31791 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
31792 }
31793 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
31794 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
31795 }
31796 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
31797 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
31798 }
31799 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
31800 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31801 }
31802 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
31803 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
31804 }
31805 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
31806 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
31807 }
31808 static void *_p_wxWindowTo_p_wxObject(void *x) {
31809 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
31810 }
31811 static void *_p_wxMenuTo_p_wxObject(void *x) {
31812 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
31813 }
31814 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
31815 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
31816 }
31817 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
31818 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
31819 }
31820 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
31821 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
31822 }
31823 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
31824 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
31825 }
31826 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
31827 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
31828 }
31829 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
31830 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
31831 }
31832 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
31833 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
31834 }
31835 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
31836 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
31837 }
31838 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
31839 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
31840 }
31841 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
31842 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
31843 }
31844 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
31845 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
31846 }
31847 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
31848 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
31849 }
31850 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
31851 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
31852 }
31853 static void *_p_wxSashEventTo_p_wxObject(void *x) {
31854 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
31855 }
31856 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
31857 return (void *)((wxObject *) ((wxPrintPreview *) x));
31858 }
31859 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
31860 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
31861 }
31862 static void *_p_wxPanelTo_p_wxObject(void *x) {
31863 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
31864 }
31865 static void *_p_wxDialogTo_p_wxObject(void *x) {
31866 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
31867 }
31868 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
31869 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
31870 }
31871 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
31872 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
31873 }
31874 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
31875 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
31876 }
31877 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
31878 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
31879 }
31880 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
31881 return (void *)((wxObject *) ((wxPrintDialog *) x));
31882 }
31883 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
31884 return (void *)((wxObject *) ((wxFileSystem *) x));
31885 }
31886 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
31887 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
31888 }
31889 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
31890 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
31891 }
31892 static void *_p_wxPyAppTo_p_wxObject(void *x) {
31893 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
31894 }
31895 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
31896 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
31897 }
31898 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
31899 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
31900 }
31901 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
31902 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
31903 }
31904 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
31905 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
31906 }
31907 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
31908 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
31909 }
31910 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
31911 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
31912 }
31913 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
31914 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
31915 }
31916 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
31917 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
31918 }
31919 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
31920 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
31921 }
31922 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
31923 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
31924 }
31925 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
31926 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31927 }
31928 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
31929 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
31930 }
31931 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
31932 return (void *)((wxObject *) ((wxPrintDialogData *) x));
31933 }
31934 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
31935 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
31936 }
31937 static void *_p_wxValidatorTo_p_wxObject(void *x) {
31938 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
31939 }
31940 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
31941 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
31942 }
31943 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
31944 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
31945 }
31946 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
31947 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
31948 }
31949 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
31950 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
31951 }
31952 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
31953 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
31954 }
31955 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
31956 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
31957 }
31958 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
31959 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
31960 }
31961 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
31962 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
31963 }
31964 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
31965 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
31966 }
31967 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
31968 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
31969 }
31970 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
31971 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
31972 }
31973 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
31974 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
31975 }
31976 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
31977 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
31978 }
31979 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
31980 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
31981 }
31982 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
31983 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
31984 }
31985 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
31986 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31987 }
31988 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
31989 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
31990 }
31991 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
31992 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
31993 }
31994 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
31995 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
31996 }
31997 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
31998 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
31999 }
32000 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
32001 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
32002 }
32003 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
32004 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
32005 }
32006 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32007 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
32008 }
32009 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32010 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32011 }
32012 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
32013 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32014 }
32015 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
32016 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32017 }
32018 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
32019 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
32020 }
32021 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
32022 return (void *)((wxWindow *) ((wxMenuBar *) x));
32023 }
32024 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
32025 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32026 }
32027 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
32028 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32029 }
32030 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
32031 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32032 }
32033 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
32034 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32035 }
32036 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
32037 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32038 }
32039 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
32040 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32041 }
32042 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
32043 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32044 }
32045 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
32046 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32047 }
32048 static void *_p_wxPanelTo_p_wxWindow(void *x) {
32049 return (void *)((wxWindow *) ((wxPanel *) x));
32050 }
32051 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
32052 return (void *)((wxWindow *) ((wxStatusBar *) x));
32053 }
32054 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
32055 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
32056 }
32057 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
32058 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
32059 }
32060 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
32061 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32062 }
32063 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
32064 return (void *)((wxWindow *) ((wxPopupWindow *) x));
32065 }
32066 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
32067 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
32068 }
32069 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
32070 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
32071 }
32072 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
32073 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
32074 }
32075 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
32076 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
32077 }
32078 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
32079 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
32080 }
32081 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
32082 return (void *)((wxWindow *) ((wxSashWindow *) x));
32083 }
32084 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
32085 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
32086 }
32087 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
32088 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32089 }
32090 static void *_p_wxControlTo_p_wxWindow(void *x) {
32091 return (void *)((wxWindow *) ((wxControl *) x));
32092 }
32093 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
32094 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32095 }
32096 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
32097 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32098 }
32099 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
32100 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32101 }
32102 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
32103 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
32104 }
32105 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
32106 return (void *)((wxWindow *) ((wxPyWindow *) x));
32107 }
32108 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
32109 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32110 }
32111 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
32112 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32113 }
32114 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
32115 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32116 }
32117 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
32118 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
32119 }
32120 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
32121 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32122 }
32123 static void *_p_wxFrameTo_p_wxWindow(void *x) {
32124 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
32125 }
32126 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
32127 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32128 }
32129 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
32130 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32131 }
32132 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
32133 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32134 }
32135 static void *_p_wxDialogTo_p_wxWindow(void *x) {
32136 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
32137 }
32138 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
32139 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32140 }
32141 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
32142 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32143 }
32144 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
32145 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
32146 }
32147 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
32148 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
32149 }
32150 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
32151 return (void *)((wxDialog *) ((wxColourDialog *) x));
32152 }
32153 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
32154 return (void *)((wxDialog *) ((wxDirDialog *) x));
32155 }
32156 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
32157 return (void *)((wxDialog *) ((wxFontDialog *) x));
32158 }
32159 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
32160 return (void *)((wxDialog *) ((wxFileDialog *) x));
32161 }
32162 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
32163 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
32164 }
32165 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
32166 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
32167 }
32168 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
32169 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
32170 }
32171 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
32172 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32173 }
32174 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
32175 return (void *)((wxDialog *) ((wxMessageDialog *) x));
32176 }
32177 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
32178 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
32179 }
32180 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
32181 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
32182 }
32183 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
32184 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
32185 }
32186 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
32187 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32188 }
32189 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
32190 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32191 }
32192 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
32193 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32194 }
32195 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
32196 return (void *)((wxPanel *) ((wxPyPanel *) x));
32197 }
32198 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
32199 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
32200 }
32201 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
32202 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
32203 }
32204 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
32205 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32206 }
32207 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
32208 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
32209 }
32210 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
32211 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
32212 }
32213 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
32214 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
32215 }
32216 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
32217 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
32218 }
32219 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
32220 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
32221 }
32222 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
32223 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
32224 }
32225 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
32226 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
32227 }
32228 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
32229 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32230 }
32231 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
32232 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
32233 }
32234 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
32235 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
32236 }
32237 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
32238 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
32239 }
32240 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
32241 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
32242 }
32243 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
32244 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
32245 }
32246 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
32247 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32248 }
32249 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
32250 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
32251 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};
32252 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
32253 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32254 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32255 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32256 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32257 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32258 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32259 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32260 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32261 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32262 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
32263 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32264 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
32265 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32266 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32267 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32268 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32269 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32270 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32271 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32272 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32273 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32274 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32275 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32276 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32277 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32278 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32279 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32280 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32281 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32282 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32283 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32284 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32285 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32286 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32287 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32288 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32289 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32290 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32291 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32292 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32293 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32294 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32295 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32296 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32297 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32298 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32299 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32300 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32301 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32302 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32303 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
32304 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32305 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
32306 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
32307 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32308 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32309 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32310 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32311 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32312 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32313 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32314 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32315 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32316 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
32317 static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
32318 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32319 static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32320 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32321 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32322 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32323 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32324 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32325 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32326 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32327 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32328 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32329 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32330 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32331 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32332 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32333 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32334 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32335 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32336 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32337 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
32338 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32339 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32340 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32341 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
32342 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
32343 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32344 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32345 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32346 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32347 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32348 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32349 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32350 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32351 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32352 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32353 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32354 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32355 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32356 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32357 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32358 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
32359 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32360 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32361 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32362 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32363 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32364 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32365 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32366 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32367 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32368 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32369 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32370 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32371 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32372 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32373 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32374 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32375 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32376 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32377 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32378 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32379 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32380 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32381 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32382 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32383 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32384 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32385 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32386 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32387 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32388 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32389 static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32390 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32391 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32392 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32393 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32394 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32395 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32396 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32397 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32398 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32399 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32400 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32401 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32402 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32403 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32404 static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32405 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32406 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32407 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32408 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32409 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32410 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32411 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32412
32413 static swig_type_info *swig_type_initial[] = {
32414 &_swigt__p_bool,
32415 &_swigt__p_char,
32416 &_swigt__p_form_ops_t,
32417 &_swigt__p_int,
32418 &_swigt__p_unsigned_char,
32419 &_swigt__p_unsigned_int,
32420 &_swigt__p_unsigned_long,
32421 &_swigt__p_wxANIHandler,
32422 &_swigt__p_wxAcceleratorTable,
32423 &_swigt__p_wxActivateEvent,
32424 &_swigt__p_wxArrayInt,
32425 &_swigt__p_wxBMPHandler,
32426 &_swigt__p_wxBitmap,
32427 &_swigt__p_wxBoxSizer,
32428 &_swigt__p_wxCURHandler,
32429 &_swigt__p_wxCalculateLayoutEvent,
32430 &_swigt__p_wxChildFocusEvent,
32431 &_swigt__p_wxClipboardTextEvent,
32432 &_swigt__p_wxCloseEvent,
32433 &_swigt__p_wxColour,
32434 &_swigt__p_wxColourData,
32435 &_swigt__p_wxColourDialog,
32436 &_swigt__p_wxCommandEvent,
32437 &_swigt__p_wxContextMenuEvent,
32438 &_swigt__p_wxControl,
32439 &_swigt__p_wxControlWithItems,
32440 &_swigt__p_wxDC,
32441 &_swigt__p_wxDateEvent,
32442 &_swigt__p_wxDialog,
32443 &_swigt__p_wxDirDialog,
32444 &_swigt__p_wxDisplayChangedEvent,
32445 &_swigt__p_wxDropFilesEvent,
32446 &_swigt__p_wxDuplexMode,
32447 &_swigt__p_wxEraseEvent,
32448 &_swigt__p_wxEvent,
32449 &_swigt__p_wxEvtHandler,
32450 &_swigt__p_wxFSFile,
32451 &_swigt__p_wxFileDialog,
32452 &_swigt__p_wxFileSystem,
32453 &_swigt__p_wxFindDialogEvent,
32454 &_swigt__p_wxFindReplaceData,
32455 &_swigt__p_wxFindReplaceDialog,
32456 &_swigt__p_wxFlexGridSizer,
32457 &_swigt__p_wxFocusEvent,
32458 &_swigt__p_wxFont,
32459 &_swigt__p_wxFontData,
32460 &_swigt__p_wxFontDialog,
32461 &_swigt__p_wxFrame,
32462 &_swigt__p_wxGBSizerItem,
32463 &_swigt__p_wxGIFHandler,
32464 &_swigt__p_wxGridBagSizer,
32465 &_swigt__p_wxGridSizer,
32466 &_swigt__p_wxHtmlLinkInfo,
32467 &_swigt__p_wxICOHandler,
32468 &_swigt__p_wxIcon,
32469 &_swigt__p_wxIconBundle,
32470 &_swigt__p_wxIconizeEvent,
32471 &_swigt__p_wxIdleEvent,
32472 &_swigt__p_wxImage,
32473 &_swigt__p_wxImageHandler,
32474 &_swigt__p_wxIndividualLayoutConstraint,
32475 &_swigt__p_wxInitDialogEvent,
32476 &_swigt__p_wxJPEGHandler,
32477 &_swigt__p_wxKeyEvent,
32478 &_swigt__p_wxLayoutAlgorithm,
32479 &_swigt__p_wxLayoutConstraints,
32480 &_swigt__p_wxMDIChildFrame,
32481 &_swigt__p_wxMDIClientWindow,
32482 &_swigt__p_wxMDIParentFrame,
32483 &_swigt__p_wxMaximizeEvent,
32484 &_swigt__p_wxMenu,
32485 &_swigt__p_wxMenuBar,
32486 &_swigt__p_wxMenuEvent,
32487 &_swigt__p_wxMenuItem,
32488 &_swigt__p_wxMessageDialog,
32489 &_swigt__p_wxMiniFrame,
32490 &_swigt__p_wxMouseCaptureChangedEvent,
32491 &_swigt__p_wxMouseEvent,
32492 &_swigt__p_wxMoveEvent,
32493 &_swigt__p_wxMultiChoiceDialog,
32494 &_swigt__p_wxNavigationKeyEvent,
32495 &_swigt__p_wxNcPaintEvent,
32496 &_swigt__p_wxNotifyEvent,
32497 &_swigt__p_wxObject,
32498 &_swigt__p_wxPCXHandler,
32499 &_swigt__p_wxPNGHandler,
32500 &_swigt__p_wxPNMHandler,
32501 &_swigt__p_wxPageSetupDialog,
32502 &_swigt__p_wxPageSetupDialogData,
32503 &_swigt__p_wxPaintEvent,
32504 &_swigt__p_wxPaletteChangedEvent,
32505 &_swigt__p_wxPanel,
32506 &_swigt__p_wxPaperSize,
32507 &_swigt__p_wxPasswordEntryDialog,
32508 &_swigt__p_wxPoint,
32509 &_swigt__p_wxPopupWindow,
32510 &_swigt__p_wxPreviewCanvas,
32511 &_swigt__p_wxPreviewControlBar,
32512 &_swigt__p_wxPreviewFrame,
32513 &_swigt__p_wxPrintData,
32514 &_swigt__p_wxPrintDialog,
32515 &_swigt__p_wxPrintDialogData,
32516 &_swigt__p_wxPrintPreview,
32517 &_swigt__p_wxPrinter,
32518 &_swigt__p_wxProgressDialog,
32519 &_swigt__p_wxPyApp,
32520 &_swigt__p_wxPyCommandEvent,
32521 &_swigt__p_wxPyEvent,
32522 &_swigt__p_wxPyHtmlListBox,
32523 &_swigt__p_wxPyImageHandler,
32524 &_swigt__p_wxPyPanel,
32525 &_swigt__p_wxPyPopupTransientWindow,
32526 &_swigt__p_wxPyPreviewControlBar,
32527 &_swigt__p_wxPyPreviewFrame,
32528 &_swigt__p_wxPyPrintPreview,
32529 &_swigt__p_wxPyPrintout,
32530 &_swigt__p_wxPyScrolledWindow,
32531 &_swigt__p_wxPySizer,
32532 &_swigt__p_wxPyTaskBarIcon,
32533 &_swigt__p_wxPyVListBox,
32534 &_swigt__p_wxPyVScrolledWindow,
32535 &_swigt__p_wxPyValidator,
32536 &_swigt__p_wxPyWindow,
32537 &_swigt__p_wxQueryLayoutInfoEvent,
32538 &_swigt__p_wxQueryNewPaletteEvent,
32539 &_swigt__p_wxRect,
32540 &_swigt__p_wxRegion,
32541 &_swigt__p_wxSashEvent,
32542 &_swigt__p_wxSashLayoutWindow,
32543 &_swigt__p_wxSashWindow,
32544 &_swigt__p_wxScrollEvent,
32545 &_swigt__p_wxScrollWinEvent,
32546 &_swigt__p_wxScrolledWindow,
32547 &_swigt__p_wxSetCursorEvent,
32548 &_swigt__p_wxShowEvent,
32549 &_swigt__p_wxSingleChoiceDialog,
32550 &_swigt__p_wxSize,
32551 &_swigt__p_wxSizeEvent,
32552 &_swigt__p_wxSizer,
32553 &_swigt__p_wxSizerItem,
32554 &_swigt__p_wxSplashScreen,
32555 &_swigt__p_wxSplashScreenWindow,
32556 &_swigt__p_wxSplitterEvent,
32557 &_swigt__p_wxSplitterWindow,
32558 &_swigt__p_wxStaticBoxSizer,
32559 &_swigt__p_wxStatusBar,
32560 &_swigt__p_wxStdDialogButtonSizer,
32561 &_swigt__p_wxString,
32562 &_swigt__p_wxSysColourChangedEvent,
32563 &_swigt__p_wxTIFFHandler,
32564 &_swigt__p_wxTaskBarIcon,
32565 &_swigt__p_wxTaskBarIconEvent,
32566 &_swigt__p_wxTextEntryDialog,
32567 &_swigt__p_wxTipWindow,
32568 &_swigt__p_wxToolBar,
32569 &_swigt__p_wxTopLevelWindow,
32570 &_swigt__p_wxUpdateUIEvent,
32571 &_swigt__p_wxValidator,
32572 &_swigt__p_wxVisualAttributes,
32573 &_swigt__p_wxWindow,
32574 &_swigt__p_wxWindowCreateEvent,
32575 &_swigt__p_wxWindowDestroyEvent,
32576 &_swigt__p_wxXPMHandler,
32577 };
32578
32579 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
32580 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
32581 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
32582 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
32583 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
32584 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
32585 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
32586 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
32587 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
32588 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
32589 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
32590 static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
32591 static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
32592 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
32593 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
32594 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
32595 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
32596 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
32597 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
32598 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
32599 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
32600 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
32601 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}};
32602 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
32603 static swig_cast_info _swigc__p_wxDialog[] = { {&_swigt__p_wxDialog, 0, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxDialog, 0, 0},{0, 0, 0, 0}};
32604 static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
32605 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
32606 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
32607 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
32608 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
32609 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
32610 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
32611 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
32612 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
32613 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
32614 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
32615 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32616 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32617 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
32618 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32619 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
32620 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
32621 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
32622 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32623 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32624 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32625 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32626 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
32627 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
32628 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
32629 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
32630 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
32631 static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
32632 static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
32633 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
32634 static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
32635 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
32636 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
32637 static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_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_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}};
32638 static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
32639 static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
32640 static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
32641 static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
32642 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
32643 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
32644 static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
32645 static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
32646 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_wxTipWindow, _p_wxTipWindowTo_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}};
32647 static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
32648 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
32649 static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
32650 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
32651 static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
32652 static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
32653 static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
32654 static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
32655 static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
32656 static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
32657 static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
32658 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
32659 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}};
32660 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
32661 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
32662 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
32663 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
32664 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
32665 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
32666 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
32667 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
32668 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
32669 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
32670 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
32671 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
32672 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
32673 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
32674 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
32675 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
32676 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
32677 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
32678 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
32679 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
32680 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
32681 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
32682 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
32683 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
32684 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
32685 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
32686 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
32687 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
32688 static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_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_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
32689 static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
32690 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
32691 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}};
32692 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
32693 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
32694 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
32695 static swig_cast_info _swigc__p_wxPopupWindow[] = { {&_swigt__p_wxPopupWindow, 0, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxPopupWindow, 0, 0},{0, 0, 0, 0}};
32696 static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
32697 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}};
32698 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}};
32699 static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
32700 static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
32701 static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
32702 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}};
32703 static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
32704 static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
32705 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
32706 static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
32707 static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = { {&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
32708 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
32709 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
32710 static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
32711 static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
32712 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
32713 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
32714 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}};
32715 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}};
32716 static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
32717 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
32718 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
32719 static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
32720 static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
32721 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
32722 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}};
32723 static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
32724 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}};
32725 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
32726 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
32727 static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
32728 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
32729 static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
32730 static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
32731 static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
32732 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
32733 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
32734 static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
32735 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
32736 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}};
32737 static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
32738 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
32739 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_wxTipWindow, _p_wxTipWindowTo_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_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0},{0, 0, 0, 0}};
32740 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
32741 static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_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_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}};
32742
32743 static swig_cast_info *swig_cast_initial[] = {
32744 _swigc__p_bool,
32745 _swigc__p_char,
32746 _swigc__p_form_ops_t,
32747 _swigc__p_int,
32748 _swigc__p_unsigned_char,
32749 _swigc__p_unsigned_int,
32750 _swigc__p_unsigned_long,
32751 _swigc__p_wxANIHandler,
32752 _swigc__p_wxAcceleratorTable,
32753 _swigc__p_wxActivateEvent,
32754 _swigc__p_wxArrayInt,
32755 _swigc__p_wxBMPHandler,
32756 _swigc__p_wxBitmap,
32757 _swigc__p_wxBoxSizer,
32758 _swigc__p_wxCURHandler,
32759 _swigc__p_wxCalculateLayoutEvent,
32760 _swigc__p_wxChildFocusEvent,
32761 _swigc__p_wxClipboardTextEvent,
32762 _swigc__p_wxCloseEvent,
32763 _swigc__p_wxColour,
32764 _swigc__p_wxColourData,
32765 _swigc__p_wxColourDialog,
32766 _swigc__p_wxCommandEvent,
32767 _swigc__p_wxContextMenuEvent,
32768 _swigc__p_wxControl,
32769 _swigc__p_wxControlWithItems,
32770 _swigc__p_wxDC,
32771 _swigc__p_wxDateEvent,
32772 _swigc__p_wxDialog,
32773 _swigc__p_wxDirDialog,
32774 _swigc__p_wxDisplayChangedEvent,
32775 _swigc__p_wxDropFilesEvent,
32776 _swigc__p_wxDuplexMode,
32777 _swigc__p_wxEraseEvent,
32778 _swigc__p_wxEvent,
32779 _swigc__p_wxEvtHandler,
32780 _swigc__p_wxFSFile,
32781 _swigc__p_wxFileDialog,
32782 _swigc__p_wxFileSystem,
32783 _swigc__p_wxFindDialogEvent,
32784 _swigc__p_wxFindReplaceData,
32785 _swigc__p_wxFindReplaceDialog,
32786 _swigc__p_wxFlexGridSizer,
32787 _swigc__p_wxFocusEvent,
32788 _swigc__p_wxFont,
32789 _swigc__p_wxFontData,
32790 _swigc__p_wxFontDialog,
32791 _swigc__p_wxFrame,
32792 _swigc__p_wxGBSizerItem,
32793 _swigc__p_wxGIFHandler,
32794 _swigc__p_wxGridBagSizer,
32795 _swigc__p_wxGridSizer,
32796 _swigc__p_wxHtmlLinkInfo,
32797 _swigc__p_wxICOHandler,
32798 _swigc__p_wxIcon,
32799 _swigc__p_wxIconBundle,
32800 _swigc__p_wxIconizeEvent,
32801 _swigc__p_wxIdleEvent,
32802 _swigc__p_wxImage,
32803 _swigc__p_wxImageHandler,
32804 _swigc__p_wxIndividualLayoutConstraint,
32805 _swigc__p_wxInitDialogEvent,
32806 _swigc__p_wxJPEGHandler,
32807 _swigc__p_wxKeyEvent,
32808 _swigc__p_wxLayoutAlgorithm,
32809 _swigc__p_wxLayoutConstraints,
32810 _swigc__p_wxMDIChildFrame,
32811 _swigc__p_wxMDIClientWindow,
32812 _swigc__p_wxMDIParentFrame,
32813 _swigc__p_wxMaximizeEvent,
32814 _swigc__p_wxMenu,
32815 _swigc__p_wxMenuBar,
32816 _swigc__p_wxMenuEvent,
32817 _swigc__p_wxMenuItem,
32818 _swigc__p_wxMessageDialog,
32819 _swigc__p_wxMiniFrame,
32820 _swigc__p_wxMouseCaptureChangedEvent,
32821 _swigc__p_wxMouseEvent,
32822 _swigc__p_wxMoveEvent,
32823 _swigc__p_wxMultiChoiceDialog,
32824 _swigc__p_wxNavigationKeyEvent,
32825 _swigc__p_wxNcPaintEvent,
32826 _swigc__p_wxNotifyEvent,
32827 _swigc__p_wxObject,
32828 _swigc__p_wxPCXHandler,
32829 _swigc__p_wxPNGHandler,
32830 _swigc__p_wxPNMHandler,
32831 _swigc__p_wxPageSetupDialog,
32832 _swigc__p_wxPageSetupDialogData,
32833 _swigc__p_wxPaintEvent,
32834 _swigc__p_wxPaletteChangedEvent,
32835 _swigc__p_wxPanel,
32836 _swigc__p_wxPaperSize,
32837 _swigc__p_wxPasswordEntryDialog,
32838 _swigc__p_wxPoint,
32839 _swigc__p_wxPopupWindow,
32840 _swigc__p_wxPreviewCanvas,
32841 _swigc__p_wxPreviewControlBar,
32842 _swigc__p_wxPreviewFrame,
32843 _swigc__p_wxPrintData,
32844 _swigc__p_wxPrintDialog,
32845 _swigc__p_wxPrintDialogData,
32846 _swigc__p_wxPrintPreview,
32847 _swigc__p_wxPrinter,
32848 _swigc__p_wxProgressDialog,
32849 _swigc__p_wxPyApp,
32850 _swigc__p_wxPyCommandEvent,
32851 _swigc__p_wxPyEvent,
32852 _swigc__p_wxPyHtmlListBox,
32853 _swigc__p_wxPyImageHandler,
32854 _swigc__p_wxPyPanel,
32855 _swigc__p_wxPyPopupTransientWindow,
32856 _swigc__p_wxPyPreviewControlBar,
32857 _swigc__p_wxPyPreviewFrame,
32858 _swigc__p_wxPyPrintPreview,
32859 _swigc__p_wxPyPrintout,
32860 _swigc__p_wxPyScrolledWindow,
32861 _swigc__p_wxPySizer,
32862 _swigc__p_wxPyTaskBarIcon,
32863 _swigc__p_wxPyVListBox,
32864 _swigc__p_wxPyVScrolledWindow,
32865 _swigc__p_wxPyValidator,
32866 _swigc__p_wxPyWindow,
32867 _swigc__p_wxQueryLayoutInfoEvent,
32868 _swigc__p_wxQueryNewPaletteEvent,
32869 _swigc__p_wxRect,
32870 _swigc__p_wxRegion,
32871 _swigc__p_wxSashEvent,
32872 _swigc__p_wxSashLayoutWindow,
32873 _swigc__p_wxSashWindow,
32874 _swigc__p_wxScrollEvent,
32875 _swigc__p_wxScrollWinEvent,
32876 _swigc__p_wxScrolledWindow,
32877 _swigc__p_wxSetCursorEvent,
32878 _swigc__p_wxShowEvent,
32879 _swigc__p_wxSingleChoiceDialog,
32880 _swigc__p_wxSize,
32881 _swigc__p_wxSizeEvent,
32882 _swigc__p_wxSizer,
32883 _swigc__p_wxSizerItem,
32884 _swigc__p_wxSplashScreen,
32885 _swigc__p_wxSplashScreenWindow,
32886 _swigc__p_wxSplitterEvent,
32887 _swigc__p_wxSplitterWindow,
32888 _swigc__p_wxStaticBoxSizer,
32889 _swigc__p_wxStatusBar,
32890 _swigc__p_wxStdDialogButtonSizer,
32891 _swigc__p_wxString,
32892 _swigc__p_wxSysColourChangedEvent,
32893 _swigc__p_wxTIFFHandler,
32894 _swigc__p_wxTaskBarIcon,
32895 _swigc__p_wxTaskBarIconEvent,
32896 _swigc__p_wxTextEntryDialog,
32897 _swigc__p_wxTipWindow,
32898 _swigc__p_wxToolBar,
32899 _swigc__p_wxTopLevelWindow,
32900 _swigc__p_wxUpdateUIEvent,
32901 _swigc__p_wxValidator,
32902 _swigc__p_wxVisualAttributes,
32903 _swigc__p_wxWindow,
32904 _swigc__p_wxWindowCreateEvent,
32905 _swigc__p_wxWindowDestroyEvent,
32906 _swigc__p_wxXPMHandler,
32907 };
32908
32909
32910 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32911
32912 static swig_const_info swig_const_table[] = {
32913 {0, 0, 0, 0.0, 0, 0}};
32914
32915 #ifdef __cplusplus
32916 }
32917 #endif
32918 /* -----------------------------------------------------------------------------
32919 * Type initialization:
32920 * This problem is tough by the requirement that no dynamic
32921 * memory is used. Also, since swig_type_info structures store pointers to
32922 * swig_cast_info structures and swig_cast_info structures store pointers back
32923 * to swig_type_info structures, we need some lookup code at initialization.
32924 * The idea is that swig generates all the structures that are needed.
32925 * The runtime then collects these partially filled structures.
32926 * The SWIG_InitializeModule function takes these initial arrays out of
32927 * swig_module, and does all the lookup, filling in the swig_module.types
32928 * array with the correct data and linking the correct swig_cast_info
32929 * structures together.
32930 *
32931 * The generated swig_type_info structures are assigned staticly to an initial
32932 * array. We just loop though that array, and handle each type individually.
32933 * First we lookup if this type has been already loaded, and if so, use the
32934 * loaded structure instead of the generated one. Then we have to fill in the
32935 * cast linked list. The cast data is initially stored in something like a
32936 * two-dimensional array. Each row corresponds to a type (there are the same
32937 * number of rows as there are in the swig_type_initial array). Each entry in
32938 * a column is one of the swig_cast_info structures for that type.
32939 * The cast_initial array is actually an array of arrays, because each row has
32940 * a variable number of columns. So to actually build the cast linked list,
32941 * we find the array of casts associated with the type, and loop through it
32942 * adding the casts to the list. The one last trick we need to do is making
32943 * sure the type pointer in the swig_cast_info struct is correct.
32944 *
32945 * First off, we lookup the cast->type name to see if it is already loaded.
32946 * There are three cases to handle:
32947 * 1) If the cast->type has already been loaded AND the type we are adding
32948 * casting info to has not been loaded (it is in this module), THEN we
32949 * replace the cast->type pointer with the type pointer that has already
32950 * been loaded.
32951 * 2) If BOTH types (the one we are adding casting info to, and the
32952 * cast->type) are loaded, THEN the cast info has already been loaded by
32953 * the previous module so we just ignore it.
32954 * 3) Finally, if cast->type has not already been loaded, then we add that
32955 * swig_cast_info to the linked list (because the cast->type) pointer will
32956 * be correct.
32957 * ----------------------------------------------------------------------------- */
32958
32959 #ifdef __cplusplus
32960 extern "C" {
32961 #if 0
32962 } /* c-mode */
32963 #endif
32964 #endif
32965
32966 #if 0
32967 #define SWIGRUNTIME_DEBUG
32968 #endif
32969
32970 SWIGRUNTIME void
32971 SWIG_InitializeModule(void *clientdata) {
32972 size_t i;
32973 swig_module_info *module_head;
32974 static int init_run = 0;
32975
32976 clientdata = clientdata;
32977
32978 if (init_run) return;
32979 init_run = 1;
32980
32981 /* Initialize the swig_module */
32982 swig_module.type_initial = swig_type_initial;
32983 swig_module.cast_initial = swig_cast_initial;
32984
32985 /* Try and load any already created modules */
32986 module_head = SWIG_GetModule(clientdata);
32987 if (module_head) {
32988 swig_module.next = module_head->next;
32989 module_head->next = &swig_module;
32990 } else {
32991 /* This is the first module loaded */
32992 swig_module.next = &swig_module;
32993 SWIG_SetModule(clientdata, &swig_module);
32994 }
32995
32996 /* Now work on filling in swig_module.types */
32997 #ifdef SWIGRUNTIME_DEBUG
32998 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
32999 #endif
33000 for (i = 0; i < swig_module.size; ++i) {
33001 swig_type_info *type = 0;
33002 swig_type_info *ret;
33003 swig_cast_info *cast;
33004
33005 #ifdef SWIGRUNTIME_DEBUG
33006 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33007 #endif
33008
33009 /* if there is another module already loaded */
33010 if (swig_module.next != &swig_module) {
33011 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
33012 }
33013 if (type) {
33014 /* Overwrite clientdata field */
33015 #ifdef SWIGRUNTIME_DEBUG
33016 printf("SWIG_InitializeModule: found type %s\n", type->name);
33017 #endif
33018 if (swig_module.type_initial[i]->clientdata) {
33019 type->clientdata = swig_module.type_initial[i]->clientdata;
33020 #ifdef SWIGRUNTIME_DEBUG
33021 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
33022 #endif
33023 }
33024 } else {
33025 type = swig_module.type_initial[i];
33026 }
33027
33028 /* Insert casting types */
33029 cast = swig_module.cast_initial[i];
33030 while (cast->type) {
33031 /* Don't need to add information already in the list */
33032 ret = 0;
33033 #ifdef SWIGRUNTIME_DEBUG
33034 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
33035 #endif
33036 if (swig_module.next != &swig_module) {
33037 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
33038 #ifdef SWIGRUNTIME_DEBUG
33039 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
33040 #endif
33041 }
33042 if (ret) {
33043 if (type == swig_module.type_initial[i]) {
33044 #ifdef SWIGRUNTIME_DEBUG
33045 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
33046 #endif
33047 cast->type = ret;
33048 ret = 0;
33049 } else {
33050 /* Check for casting already in the list */
33051 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
33052 #ifdef SWIGRUNTIME_DEBUG
33053 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
33054 #endif
33055 if (!ocast) ret = 0;
33056 }
33057 }
33058
33059 if (!ret) {
33060 #ifdef SWIGRUNTIME_DEBUG
33061 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
33062 #endif
33063 if (type->cast) {
33064 type->cast->prev = cast;
33065 cast->next = type->cast;
33066 }
33067 type->cast = cast;
33068 }
33069 cast++;
33070 }
33071 /* Set entry in modules->types array equal to the type */
33072 swig_module.types[i] = type;
33073 }
33074 swig_module.types[i] = 0;
33075
33076 #ifdef SWIGRUNTIME_DEBUG
33077 printf("**** SWIG_InitializeModule: Cast List ******\n");
33078 for (i = 0; i < swig_module.size; ++i) {
33079 int j = 0;
33080 swig_cast_info *cast = swig_module.cast_initial[i];
33081 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33082 while (cast->type) {
33083 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
33084 cast++;
33085 ++j;
33086 }
33087 printf("---- Total casts: %d\n",j);
33088 }
33089 printf("**** SWIG_InitializeModule: Cast List ******\n");
33090 #endif
33091 }
33092
33093 /* This function will propagate the clientdata field of type to
33094 * any new swig_type_info structures that have been added into the list
33095 * of equivalent types. It is like calling
33096 * SWIG_TypeClientData(type, clientdata) a second time.
33097 */
33098 SWIGRUNTIME void
33099 SWIG_PropagateClientData(void) {
33100 size_t i;
33101 swig_cast_info *equiv;
33102 static int init_run = 0;
33103
33104 if (init_run) return;
33105 init_run = 1;
33106
33107 for (i = 0; i < swig_module.size; i++) {
33108 if (swig_module.types[i]->clientdata) {
33109 equiv = swig_module.types[i]->cast;
33110 while (equiv) {
33111 if (!equiv->converter) {
33112 if (equiv->type && !equiv->type->clientdata)
33113 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
33114 }
33115 equiv = equiv->next;
33116 }
33117 }
33118 }
33119 }
33120
33121 #ifdef __cplusplus
33122 #if 0
33123 {
33124 /* c-mode */
33125 #endif
33126 }
33127 #endif
33128
33129
33130
33131 #ifdef __cplusplus
33132 extern "C" {
33133 #endif
33134
33135 /* Python-specific SWIG API */
33136 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33137 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33138 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33139
33140 /* -----------------------------------------------------------------------------
33141 * global variable support code.
33142 * ----------------------------------------------------------------------------- */
33143
33144 typedef struct swig_globalvar {
33145 char *name; /* Name of global variable */
33146 PyObject *(*get_attr)(void); /* Return the current value */
33147 int (*set_attr)(PyObject *); /* Set the value */
33148 struct swig_globalvar *next;
33149 } swig_globalvar;
33150
33151 typedef struct swig_varlinkobject {
33152 PyObject_HEAD
33153 swig_globalvar *vars;
33154 } swig_varlinkobject;
33155
33156 SWIGINTERN PyObject *
33157 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
33158 return PyString_FromString("<Swig global variables>");
33159 }
33160
33161 SWIGINTERN PyObject *
33162 swig_varlink_str(swig_varlinkobject *v) {
33163 PyObject *str = PyString_FromString("(");
33164 swig_globalvar *var;
33165 for (var = v->vars; var; var=var->next) {
33166 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
33167 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
33168 }
33169 PyString_ConcatAndDel(&str,PyString_FromString(")"));
33170 return str;
33171 }
33172
33173 SWIGINTERN int
33174 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
33175 PyObject *str = swig_varlink_str(v);
33176 fprintf(fp,"Swig global variables ");
33177 fprintf(fp,"%s\n", PyString_AsString(str));
33178 Py_DECREF(str);
33179 return 0;
33180 }
33181
33182 SWIGINTERN void
33183 swig_varlink_dealloc(swig_varlinkobject *v) {
33184 swig_globalvar *var = v->vars;
33185 while (var) {
33186 swig_globalvar *n = var->next;
33187 free(var->name);
33188 free(var);
33189 var = n;
33190 }
33191 }
33192
33193 SWIGINTERN PyObject *
33194 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
33195 PyObject *res = NULL;
33196 swig_globalvar *var = v->vars;
33197 while (var) {
33198 if (strcmp(var->name,n) == 0) {
33199 res = (*var->get_attr)();
33200 break;
33201 }
33202 var = var->next;
33203 }
33204 if (res == NULL && !PyErr_Occurred()) {
33205 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33206 }
33207 return res;
33208 }
33209
33210 SWIGINTERN int
33211 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
33212 int res = 1;
33213 swig_globalvar *var = v->vars;
33214 while (var) {
33215 if (strcmp(var->name,n) == 0) {
33216 res = (*var->set_attr)(p);
33217 break;
33218 }
33219 var = var->next;
33220 }
33221 if (res == 1 && !PyErr_Occurred()) {
33222 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33223 }
33224 return res;
33225 }
33226
33227 SWIGINTERN PyTypeObject*
33228 swig_varlink_type(void) {
33229 static char varlink__doc__[] = "Swig var link object";
33230 static PyTypeObject varlink_type;
33231 static int type_init = 0;
33232 if (!type_init) {
33233 const PyTypeObject tmp
33234 = {
33235 PyObject_HEAD_INIT(NULL)
33236 0, /* Number of items in variable part (ob_size) */
33237 (char *)"swigvarlink", /* Type name (tp_name) */
33238 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
33239 0, /* Itemsize (tp_itemsize) */
33240 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
33241 (printfunc) swig_varlink_print, /* Print (tp_print) */
33242 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
33243 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
33244 0, /* tp_compare */
33245 (reprfunc) swig_varlink_repr, /* tp_repr */
33246 0, /* tp_as_number */
33247 0, /* tp_as_sequence */
33248 0, /* tp_as_mapping */
33249 0, /* tp_hash */
33250 0, /* tp_call */
33251 (reprfunc)swig_varlink_str, /* tp_str */
33252 0, /* tp_getattro */
33253 0, /* tp_setattro */
33254 0, /* tp_as_buffer */
33255 0, /* tp_flags */
33256 varlink__doc__, /* tp_doc */
33257 0, /* tp_traverse */
33258 0, /* tp_clear */
33259 0, /* tp_richcompare */
33260 0, /* tp_weaklistoffset */
33261 #if PY_VERSION_HEX >= 0x02020000
33262 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33263 #endif
33264 #if PY_VERSION_HEX >= 0x02030000
33265 0, /* tp_del */
33266 #endif
33267 #ifdef COUNT_ALLOCS
33268 0,0,0,0 /* tp_alloc -> tp_next */
33269 #endif
33270 };
33271 varlink_type = tmp;
33272 varlink_type.ob_type = &PyType_Type;
33273 type_init = 1;
33274 }
33275 return &varlink_type;
33276 }
33277
33278 /* Create a variable linking object for use later */
33279 SWIGINTERN PyObject *
33280 SWIG_Python_newvarlink(void) {
33281 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
33282 if (result) {
33283 result->vars = 0;
33284 }
33285 return ((PyObject*) result);
33286 }
33287
33288 SWIGINTERN void
33289 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
33290 swig_varlinkobject *v = (swig_varlinkobject *) p;
33291 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
33292 if (gv) {
33293 size_t size = strlen(name)+1;
33294 gv->name = (char *)malloc(size);
33295 if (gv->name) {
33296 strncpy(gv->name,name,size);
33297 gv->get_attr = get_attr;
33298 gv->set_attr = set_attr;
33299 gv->next = v->vars;
33300 }
33301 }
33302 v->vars = gv;
33303 }
33304
33305 SWIGINTERN PyObject *
33306 SWIG_globals() {
33307 static PyObject *_SWIG_globals = 0;
33308 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
33309 return _SWIG_globals;
33310 }
33311
33312 /* -----------------------------------------------------------------------------
33313 * constants/methods manipulation
33314 * ----------------------------------------------------------------------------- */
33315
33316 /* Install Constants */
33317 SWIGINTERN void
33318 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
33319 PyObject *obj = 0;
33320 size_t i;
33321 for (i = 0; constants[i].type; ++i) {
33322 switch(constants[i].type) {
33323 case SWIG_PY_POINTER:
33324 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
33325 break;
33326 case SWIG_PY_BINARY:
33327 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
33328 break;
33329 default:
33330 obj = 0;
33331 break;
33332 }
33333 if (obj) {
33334 PyDict_SetItemString(d, constants[i].name, obj);
33335 Py_DECREF(obj);
33336 }
33337 }
33338 }
33339
33340 /* -----------------------------------------------------------------------------*/
33341 /* Fix SwigMethods to carry the callback ptrs when needed */
33342 /* -----------------------------------------------------------------------------*/
33343
33344 SWIGINTERN void
33345 SWIG_Python_FixMethods(PyMethodDef *methods,
33346 swig_const_info *const_table,
33347 swig_type_info **types,
33348 swig_type_info **types_initial) {
33349 size_t i;
33350 for (i = 0; methods[i].ml_name; ++i) {
33351 char *c = methods[i].ml_doc;
33352 if (c && (c = strstr(c, "swig_ptr: "))) {
33353 int j;
33354 swig_const_info *ci = 0;
33355 char *name = c + 10;
33356 for (j = 0; const_table[j].type; ++j) {
33357 if (strncmp(const_table[j].name, name,
33358 strlen(const_table[j].name)) == 0) {
33359 ci = &(const_table[j]);
33360 break;
33361 }
33362 }
33363 if (ci) {
33364 size_t shift = (ci->ptype) - types;
33365 swig_type_info *ty = types_initial[shift];
33366 size_t ldoc = (c - methods[i].ml_doc);
33367 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
33368 char *ndoc = (char*)malloc(ldoc + lptr + 10);
33369 if (ndoc) {
33370 char *buff = ndoc;
33371 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
33372 if (ptr) {
33373 strncpy(buff, methods[i].ml_doc, ldoc);
33374 buff += ldoc;
33375 strncpy(buff, "swig_ptr: ", 10);
33376 buff += 10;
33377 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
33378 methods[i].ml_doc = ndoc;
33379 }
33380 }
33381 }
33382 }
33383 }
33384 }
33385
33386 #ifdef __cplusplus
33387 }
33388 #endif
33389
33390 /* -----------------------------------------------------------------------------*
33391 * Partial Init method
33392 * -----------------------------------------------------------------------------*/
33393
33394 #ifdef __cplusplus
33395 extern "C"
33396 #endif
33397 SWIGEXPORT void SWIG_init(void) {
33398 PyObject *m, *d;
33399
33400 /* Fix SwigMethods to carry the callback ptrs when needed */
33401 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
33402
33403 m = Py_InitModule((char *) SWIG_name, SwigMethods);
33404 d = PyModule_GetDict(m);
33405
33406 SWIG_InitializeModule(0);
33407 SWIG_InstallConstants(d,swig_const_table);
33408
33409
33410 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
33411 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
33412 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
33413 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
33414 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
33415 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
33416 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
33417 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
33418 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
33419 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
33420 SWIG_Python_SetConstant(d, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME)));
33421 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
33422 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
33423 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
33424 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
33425 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
33426 SWIG_Python_SetConstant(d, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX)));
33427 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
33428 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
33429 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
33430 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
33431 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
33432 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
33433 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
33434 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
33435 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
33436 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
33437 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
33438 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
33439 SWIG_Python_SetConstant(d, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL)));
33440 SWIG_Python_SetConstant(d, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS)));
33441 SWIG_Python_SetConstant(d, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS)));
33442 SWIG_Python_SetConstant(d, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D)));
33443 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
33444 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
33445 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
33446 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
33447 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
33448 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
33449 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
33450 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
33451 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
33452 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
33453 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
33454 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
33455 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
33456 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
33457 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
33458 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
33459 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
33460 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
33461 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
33462 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
33463 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
33464 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
33465 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
33466 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
33467 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
33468 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
33469 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
33470 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
33471 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
33472 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
33473 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
33474 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
33475 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
33476 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
33477 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
33478 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
33479 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
33480 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
33481 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
33482 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
33483 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
33484 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
33485 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
33486 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
33487 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
33488 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
33489 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
33490 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
33491 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
33492 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
33493 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
33494 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
33495 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
33496 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
33497 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
33498 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
33499 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
33500 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
33501 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
33502 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
33503 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
33504 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
33505 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
33506 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
33507 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
33508 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
33509 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
33510 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
33511 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
33512
33513 // Map renamed classes back to their common name for OOR
33514 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
33515 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
33516 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
33517
33518 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
33519 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
33520 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
33521 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
33522 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
33523 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
33524 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
33525 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
33526 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
33527 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
33528 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
33529 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
33530 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
33531 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
33532 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
33533 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
33534 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
33535 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
33536 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
33537 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
33538 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
33539 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
33540 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
33541 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
33542 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
33543 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
33544 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
33545 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
33546 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
33547 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
33548 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
33549 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
33550 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
33551 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
33552 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
33553 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
33554 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
33555 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
33556 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
33557 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
33558 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
33559 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
33560 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
33561 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
33562 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
33563 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
33564 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
33565 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
33566 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
33567 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
33568 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
33569 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
33570 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
33571 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
33572 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
33573 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
33574 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
33575 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
33576 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
33577 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
33578 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
33579 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
33580 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
33581 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
33582 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
33583 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
33584 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
33585 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
33586 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
33587 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
33588 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
33589 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
33590 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
33591 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
33592 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
33593 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
33594 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
33595 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
33596
33597 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
33598
33599 }
33600