]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/_windows_wrap.cpp
wxOS2 night build warning fixes.
[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_char swig_types[0]
2463 #define SWIGTYPE_p_form_ops_t swig_types[1]
2464 #define SWIGTYPE_p_int swig_types[2]
2465 #define SWIGTYPE_p_unsigned_char swig_types[3]
2466 #define SWIGTYPE_p_unsigned_int swig_types[4]
2467 #define SWIGTYPE_p_unsigned_long swig_types[5]
2468 #define SWIGTYPE_p_wxANIHandler swig_types[6]
2469 #define SWIGTYPE_p_wxAcceleratorTable swig_types[7]
2470 #define SWIGTYPE_p_wxActivateEvent swig_types[8]
2471 #define SWIGTYPE_p_wxArrayInt swig_types[9]
2472 #define SWIGTYPE_p_wxBMPHandler swig_types[10]
2473 #define SWIGTYPE_p_wxBitmap swig_types[11]
2474 #define SWIGTYPE_p_wxBoxSizer swig_types[12]
2475 #define SWIGTYPE_p_wxCURHandler swig_types[13]
2476 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[14]
2477 #define SWIGTYPE_p_wxChildFocusEvent swig_types[15]
2478 #define SWIGTYPE_p_wxCloseEvent swig_types[16]
2479 #define SWIGTYPE_p_wxColour swig_types[17]
2480 #define SWIGTYPE_p_wxColourData swig_types[18]
2481 #define SWIGTYPE_p_wxColourDialog swig_types[19]
2482 #define SWIGTYPE_p_wxCommandEvent swig_types[20]
2483 #define SWIGTYPE_p_wxContextMenuEvent swig_types[21]
2484 #define SWIGTYPE_p_wxControl swig_types[22]
2485 #define SWIGTYPE_p_wxControlWithItems swig_types[23]
2486 #define SWIGTYPE_p_wxDC swig_types[24]
2487 #define SWIGTYPE_p_wxDateEvent swig_types[25]
2488 #define SWIGTYPE_p_wxDialog swig_types[26]
2489 #define SWIGTYPE_p_wxDirDialog swig_types[27]
2490 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[28]
2491 #define SWIGTYPE_p_wxDropFilesEvent swig_types[29]
2492 #define SWIGTYPE_p_wxDuplexMode swig_types[30]
2493 #define SWIGTYPE_p_wxEraseEvent swig_types[31]
2494 #define SWIGTYPE_p_wxEvent swig_types[32]
2495 #define SWIGTYPE_p_wxEvtHandler swig_types[33]
2496 #define SWIGTYPE_p_wxFSFile swig_types[34]
2497 #define SWIGTYPE_p_wxFileDialog swig_types[35]
2498 #define SWIGTYPE_p_wxFileSystem swig_types[36]
2499 #define SWIGTYPE_p_wxFindDialogEvent swig_types[37]
2500 #define SWIGTYPE_p_wxFindReplaceData swig_types[38]
2501 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[39]
2502 #define SWIGTYPE_p_wxFlexGridSizer swig_types[40]
2503 #define SWIGTYPE_p_wxFocusEvent swig_types[41]
2504 #define SWIGTYPE_p_wxFont swig_types[42]
2505 #define SWIGTYPE_p_wxFontData swig_types[43]
2506 #define SWIGTYPE_p_wxFontDialog swig_types[44]
2507 #define SWIGTYPE_p_wxFrame swig_types[45]
2508 #define SWIGTYPE_p_wxGBSizerItem swig_types[46]
2509 #define SWIGTYPE_p_wxGIFHandler swig_types[47]
2510 #define SWIGTYPE_p_wxGridBagSizer swig_types[48]
2511 #define SWIGTYPE_p_wxGridSizer swig_types[49]
2512 #define SWIGTYPE_p_wxICOHandler swig_types[50]
2513 #define SWIGTYPE_p_wxIcon swig_types[51]
2514 #define SWIGTYPE_p_wxIconBundle swig_types[52]
2515 #define SWIGTYPE_p_wxIconizeEvent swig_types[53]
2516 #define SWIGTYPE_p_wxIdleEvent swig_types[54]
2517 #define SWIGTYPE_p_wxImage swig_types[55]
2518 #define SWIGTYPE_p_wxImageHandler swig_types[56]
2519 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[57]
2520 #define SWIGTYPE_p_wxInitDialogEvent swig_types[58]
2521 #define SWIGTYPE_p_wxJPEGHandler swig_types[59]
2522 #define SWIGTYPE_p_wxKeyEvent swig_types[60]
2523 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[61]
2524 #define SWIGTYPE_p_wxLayoutConstraints swig_types[62]
2525 #define SWIGTYPE_p_wxMDIChildFrame swig_types[63]
2526 #define SWIGTYPE_p_wxMDIClientWindow swig_types[64]
2527 #define SWIGTYPE_p_wxMDIParentFrame swig_types[65]
2528 #define SWIGTYPE_p_wxMaximizeEvent swig_types[66]
2529 #define SWIGTYPE_p_wxMenu swig_types[67]
2530 #define SWIGTYPE_p_wxMenuBar swig_types[68]
2531 #define SWIGTYPE_p_wxMenuEvent swig_types[69]
2532 #define SWIGTYPE_p_wxMenuItem swig_types[70]
2533 #define SWIGTYPE_p_wxMessageDialog swig_types[71]
2534 #define SWIGTYPE_p_wxMiniFrame swig_types[72]
2535 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[73]
2536 #define SWIGTYPE_p_wxMouseEvent swig_types[74]
2537 #define SWIGTYPE_p_wxMoveEvent swig_types[75]
2538 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[76]
2539 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[77]
2540 #define SWIGTYPE_p_wxNcPaintEvent swig_types[78]
2541 #define SWIGTYPE_p_wxNotifyEvent swig_types[79]
2542 #define SWIGTYPE_p_wxObject swig_types[80]
2543 #define SWIGTYPE_p_wxPCXHandler swig_types[81]
2544 #define SWIGTYPE_p_wxPNGHandler swig_types[82]
2545 #define SWIGTYPE_p_wxPNMHandler swig_types[83]
2546 #define SWIGTYPE_p_wxPageSetupDialog swig_types[84]
2547 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[85]
2548 #define SWIGTYPE_p_wxPaintEvent swig_types[86]
2549 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[87]
2550 #define SWIGTYPE_p_wxPanel swig_types[88]
2551 #define SWIGTYPE_p_wxPaperSize swig_types[89]
2552 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[90]
2553 #define SWIGTYPE_p_wxPoint swig_types[91]
2554 #define SWIGTYPE_p_wxPopupWindow swig_types[92]
2555 #define SWIGTYPE_p_wxPreviewCanvas swig_types[93]
2556 #define SWIGTYPE_p_wxPreviewControlBar swig_types[94]
2557 #define SWIGTYPE_p_wxPreviewFrame swig_types[95]
2558 #define SWIGTYPE_p_wxPrintData swig_types[96]
2559 #define SWIGTYPE_p_wxPrintDialog swig_types[97]
2560 #define SWIGTYPE_p_wxPrintDialogData swig_types[98]
2561 #define SWIGTYPE_p_wxPrintPreview swig_types[99]
2562 #define SWIGTYPE_p_wxPrinter swig_types[100]
2563 #define SWIGTYPE_p_wxProgressDialog swig_types[101]
2564 #define SWIGTYPE_p_wxPyApp swig_types[102]
2565 #define SWIGTYPE_p_wxPyCommandEvent swig_types[103]
2566 #define SWIGTYPE_p_wxPyEvent swig_types[104]
2567 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[105]
2568 #define SWIGTYPE_p_wxPyImageHandler swig_types[106]
2569 #define SWIGTYPE_p_wxPyPanel swig_types[107]
2570 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[108]
2571 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[109]
2572 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[110]
2573 #define SWIGTYPE_p_wxPyPrintPreview swig_types[111]
2574 #define SWIGTYPE_p_wxPyPrintout swig_types[112]
2575 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[113]
2576 #define SWIGTYPE_p_wxPySizer swig_types[114]
2577 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[115]
2578 #define SWIGTYPE_p_wxPyVListBox swig_types[116]
2579 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[117]
2580 #define SWIGTYPE_p_wxPyValidator swig_types[118]
2581 #define SWIGTYPE_p_wxPyWindow swig_types[119]
2582 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[120]
2583 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[121]
2584 #define SWIGTYPE_p_wxRect swig_types[122]
2585 #define SWIGTYPE_p_wxRegion swig_types[123]
2586 #define SWIGTYPE_p_wxSashEvent swig_types[124]
2587 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[125]
2588 #define SWIGTYPE_p_wxSashWindow swig_types[126]
2589 #define SWIGTYPE_p_wxScrollEvent swig_types[127]
2590 #define SWIGTYPE_p_wxScrollWinEvent swig_types[128]
2591 #define SWIGTYPE_p_wxScrolledWindow swig_types[129]
2592 #define SWIGTYPE_p_wxSetCursorEvent swig_types[130]
2593 #define SWIGTYPE_p_wxShowEvent swig_types[131]
2594 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[132]
2595 #define SWIGTYPE_p_wxSize swig_types[133]
2596 #define SWIGTYPE_p_wxSizeEvent swig_types[134]
2597 #define SWIGTYPE_p_wxSizer swig_types[135]
2598 #define SWIGTYPE_p_wxSizerItem swig_types[136]
2599 #define SWIGTYPE_p_wxSplashScreen swig_types[137]
2600 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[138]
2601 #define SWIGTYPE_p_wxSplitterEvent swig_types[139]
2602 #define SWIGTYPE_p_wxSplitterWindow swig_types[140]
2603 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[141]
2604 #define SWIGTYPE_p_wxStatusBar swig_types[142]
2605 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[143]
2606 #define SWIGTYPE_p_wxString swig_types[144]
2607 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[145]
2608 #define SWIGTYPE_p_wxTIFFHandler swig_types[146]
2609 #define SWIGTYPE_p_wxTaskBarIcon swig_types[147]
2610 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[148]
2611 #define SWIGTYPE_p_wxTextEntryDialog swig_types[149]
2612 #define SWIGTYPE_p_wxTipWindow swig_types[150]
2613 #define SWIGTYPE_p_wxToolBar swig_types[151]
2614 #define SWIGTYPE_p_wxTopLevelWindow swig_types[152]
2615 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[153]
2616 #define SWIGTYPE_p_wxValidator swig_types[154]
2617 #define SWIGTYPE_p_wxVisualAttributes swig_types[155]
2618 #define SWIGTYPE_p_wxWindow swig_types[156]
2619 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[157]
2620 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[158]
2621 #define SWIGTYPE_p_wxXPMHandler swig_types[159]
2622 static swig_type_info *swig_types[161];
2623 static swig_module_info swig_module = {swig_types, 160, 0, 0, 0, 0};
2624 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2625 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2626
2627 /* -------- TYPES TABLE (END) -------- */
2628
2629 #if (PY_VERSION_HEX <= 0x02000000)
2630 # if !defined(SWIG_PYTHON_CLASSIC)
2631 # error "This python version requires to use swig with the '-classic' option"
2632 # endif
2633 #endif
2634 #if (PY_VERSION_HEX <= 0x02020000)
2635 # error "This python version requires to use swig with the '-nomodern' option"
2636 #endif
2637 #if (PY_VERSION_HEX <= 0x02020000)
2638 # error "This python version requires to use swig with the '-nomodernargs' option"
2639 #endif
2640 #ifndef METH_O
2641 # error "This python version requires to use swig with the '-nofastunpack' option"
2642 #endif
2643
2644 /*-----------------------------------------------
2645 @(target):= _windows_.so
2646 ------------------------------------------------*/
2647 #define SWIG_init init_windows_
2648
2649 #define SWIG_name "_windows_"
2650
2651 #define SWIGVERSION 0x010329
2652
2653
2654 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2655 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2656
2657
2658 #include <stdexcept>
2659
2660
2661 namespace swig {
2662 class PyObject_ptr {
2663 protected:
2664 PyObject *_obj;
2665
2666 public:
2667 PyObject_ptr() :_obj(0)
2668 {
2669 }
2670
2671 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2672 {
2673 Py_XINCREF(_obj);
2674 }
2675
2676 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2677 {
2678 if (initial_ref) Py_XINCREF(_obj);
2679 }
2680
2681 PyObject_ptr & operator=(const PyObject_ptr& item)
2682 {
2683 Py_XINCREF(item._obj);
2684 Py_XDECREF(_obj);
2685 _obj = item._obj;
2686 return *this;
2687 }
2688
2689 ~PyObject_ptr()
2690 {
2691 Py_XDECREF(_obj);
2692 }
2693
2694 operator PyObject *() const
2695 {
2696 return _obj;
2697 }
2698
2699 PyObject *operator->() const
2700 {
2701 return _obj;
2702 }
2703 };
2704 }
2705
2706
2707 namespace swig {
2708 struct PyObject_var : PyObject_ptr {
2709 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2710
2711 PyObject_var & operator = (PyObject* obj)
2712 {
2713 Py_XDECREF(_obj);
2714 _obj = obj;
2715 return *this;
2716 }
2717 };
2718 }
2719
2720
2721 #include "wx/wxPython/wxPython.h"
2722 #include "wx/wxPython/pyclasses.h"
2723
2724
2725 static const wxString wxPyEmptyString(wxEmptyString);
2726 static const wxString wxPyPanelNameStr(wxPanelNameStr);
2727
2728
2729
2730 #include <limits.h>
2731 #ifndef LLONG_MIN
2732 # define LLONG_MIN LONG_LONG_MIN
2733 #endif
2734 #ifndef LLONG_MAX
2735 # define LLONG_MAX LONG_LONG_MAX
2736 #endif
2737 #ifndef ULLONG_MAX
2738 # define ULLONG_MAX ULONG_LONG_MAX
2739 #endif
2740
2741
2742 SWIGINTERN int
2743 SWIG_AsVal_long (PyObject* obj, long* val)
2744 {
2745 if (PyNumber_Check(obj)) {
2746 if (val) *val = PyInt_AsLong(obj);
2747 return SWIG_OK;
2748 }
2749 return SWIG_TypeError;
2750 }
2751
2752
2753 SWIGINTERN int
2754 SWIG_AsVal_int (PyObject * obj, int *val)
2755 {
2756 long v;
2757 int res = SWIG_AsVal_long (obj, &v);
2758 if (SWIG_IsOK(res)) {
2759 if ((v < INT_MIN || v > INT_MAX)) {
2760 return SWIG_OverflowError;
2761 } else {
2762 if (val) *val = static_cast< int >(v);
2763 }
2764 }
2765 return res;
2766 }
2767
2768
2769 SWIGINTERN int
2770 SWIG_AsVal_bool (PyObject *obj, bool *val)
2771 {
2772 if (obj == Py_True) {
2773 if (val) *val = true;
2774 return SWIG_OK;
2775 } else if (obj == Py_False) {
2776 if (val) *val = false;
2777 return SWIG_OK;
2778 } else {
2779 long v = 0;
2780 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2781 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2782 return res;
2783 }
2784 }
2785
2786
2787 #define SWIG_From_long PyInt_FromLong
2788
2789
2790 SWIGINTERNINLINE PyObject *
2791 SWIG_From_int (int value)
2792 {
2793 return SWIG_From_long (value);
2794 }
2795
2796
2797 SWIGINTERN int
2798 SWIG_AsVal_double (PyObject *obj, double* val)
2799 {
2800 if (PyNumber_Check(obj)) {
2801 if (val) *val = PyFloat_AsDouble(obj);
2802 return SWIG_OK;
2803 }
2804 return SWIG_TypeError;
2805 }
2806
2807
2808 #define SWIG_From_double PyFloat_FromDouble
2809
2810 static const wxString wxPyFrameNameStr(wxFrameNameStr);
2811 static const wxString wxPyDialogNameStr(wxDialogNameStr);
2812 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
2813 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
2814 SWIGINTERN void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){
2815 int style = self->GetExtraStyle();
2816 if ( on )
2817 style |= wxFRAME_EX_METAL;
2818 else
2819 style &= ~wxFRAME_EX_METAL;
2820 self->SetExtraStyle(style);
2821 }
2822
2823
2824 SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
2825 wxRect r;
2826 self->GetFieldRect(i, r);
2827 return r;
2828 }
2829 static const wxString wxPySplitterNameStr(wxT("splitter"));
2830 static const wxString wxPySashNameStr(wxT("sashWindow"));
2831 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
2832
2833 #include <wx/popupwin.h>
2834
2835
2836 class wxPopupWindow : public wxWindow {
2837 public:
2838 wxPopupWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
2839 wxPopupWindow() { wxPyRaiseNotImplemented(); }
2840 };
2841
2842 class wxPyPopupTransientWindow : public wxPopupWindow
2843 {
2844 public:
2845 wxPyPopupTransientWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
2846 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
2847 };
2848
2849
2850 #include <wx/tipwin.h>
2851
2852 SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
2853 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2854 }
2855
2856 #include <wx/tipwin.h>
2857
2858
2859 #include <wx/vscroll.h>
2860
2861
2862 class wxPyVScrolledWindow : public wxVScrolledWindow
2863 {
2864 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
2865 public:
2866 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2867
2868 wxPyVScrolledWindow(wxWindow *parent,
2869 wxWindowID id = wxID_ANY,
2870 const wxPoint& pos = wxDefaultPosition,
2871 const wxSize& size = wxDefaultSize,
2872 long style = 0,
2873 const wxString& name = wxPyPanelNameStr)
2874 : wxVScrolledWindow(parent, id, pos, size, style, name)
2875 {}
2876
2877 // Overridable virtuals
2878
2879 // this function must be overridden in the derived class and it should
2880 // return the height of the given line in pixels
2881 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
2882
2883
2884 // this function doesn't have to be overridden but it may be useful to do
2885 // it if calculating the lines heights is a relatively expensive operation
2886 // as it gives the user code a possibility to calculate several of them at
2887 // once
2888 //
2889 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2890 // shouldn't rely on the latter being called for all lines in the interval
2891 // specified here. It is also possible that OnGetLineHeight() will be
2892 // called for the lines outside of this interval, so this is really just a
2893 // hint, not a promise.
2894 //
2895 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2896 // usual
2897 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
2898
2899
2900 // when the number of lines changes, we try to estimate the total height
2901 // of all lines which is a rather expensive operation in terms of lines
2902 // access, so if the user code may estimate the average height
2903 // better/faster than we do, it should override this function to implement
2904 // its own logic
2905 //
2906 // this function should return the best guess for the total height it may
2907 // make
2908 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2909
2910
2911 // Also expose some other interesting protected methods
2912
2913
2914 // find the index of the line we need to show at the top of the window such
2915 // that the last (fully or partially) visible line is the given one
2916 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
2917 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
2918
2919 // get the total height of the lines between lineMin (inclusive) and
2920 // lineMax (exclusive)
2921 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
2922 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
2923
2924
2925 PYPRIVATE;
2926 };
2927
2928 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
2929
2930 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
2931 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
2932 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2933
2934
2935 SWIGINTERN int
2936 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2937 {
2938 long v = 0;
2939 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2940 return SWIG_TypeError;
2941 }
2942 else if (val)
2943 *val = (unsigned long)v;
2944 return SWIG_OK;
2945 }
2946
2947
2948 SWIGINTERNINLINE int
2949 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2950 {
2951 unsigned long v;
2952 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2953 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2954 return res;
2955 }
2956
2957
2958 SWIGINTERNINLINE PyObject*
2959 SWIG_From_unsigned_SS_long (unsigned long value)
2960 {
2961 return (value > LONG_MAX) ?
2962 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2963 }
2964
2965
2966 SWIGINTERNINLINE PyObject *
2967 SWIG_From_size_t (size_t value)
2968 {
2969 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2970 }
2971
2972
2973 #include <wx/vlbox.h>
2974
2975 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
2976
2977 class wxPyVListBox : public wxVListBox
2978 {
2979 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
2980 public:
2981 wxPyVListBox() : wxVListBox() {}
2982
2983 wxPyVListBox(wxWindow *parent,
2984 wxWindowID id = wxID_ANY,
2985 const wxPoint& pos = wxDefaultPosition,
2986 const wxSize& size = wxDefaultSize,
2987 long style = 0,
2988 const wxString& name = wxPyVListBoxNameStr)
2989 : wxVListBox(parent, id, pos, size, style, name)
2990 {}
2991
2992 // Overridable virtuals
2993
2994 // the derived class must implement this function to actually draw the item
2995 // with the given index on the provided DC
2996 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
2997 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
2998
2999
3000 // the derived class must implement this method to return the height of the
3001 // specified item
3002 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3003 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3004
3005
3006 // this method may be used to draw separators between the lines; note that
3007 // the rectangle may be modified, typically to deflate it a bit before
3008 // passing to OnDrawItem()
3009 //
3010 // the base class version doesn't do anything
3011 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3012 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
3013
3014
3015 // this method is used to draw the items background and, maybe, a border
3016 // around it
3017 //
3018 // the base class version implements a reasonable default behaviour which
3019 // consists in drawing the selected item with the standard background
3020 // colour and drawing a border around the item if it is either selected or
3021 // current
3022 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3023 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3024
3025
3026 PYPRIVATE;
3027 };
3028
3029 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3030
3031 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3032 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
3033 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
3034 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3035
3036
3037 SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
3038 unsigned long cookie = 0;
3039 int selected = self->GetFirstSelected(cookie);
3040 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3041 PyObject* tup = PyTuple_New(2);
3042 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3043 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3044 wxPyEndBlockThreads(blocked);
3045 return tup;
3046 }
3047 SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
3048 int selected = self->GetNextSelected(cookie);
3049 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3050 PyObject* tup = PyTuple_New(2);
3051 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3052 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3053 wxPyEndBlockThreads(blocked);
3054 return tup;
3055 }
3056
3057 #include <wx/htmllbox.h>
3058
3059
3060 class wxPyHtmlListBox : public wxHtmlListBox
3061 {
3062 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
3063 public:
3064 wxPyHtmlListBox() : wxHtmlListBox() {}
3065
3066 wxPyHtmlListBox(wxWindow *parent,
3067 wxWindowID id = wxID_ANY,
3068 const wxPoint& pos = wxDefaultPosition,
3069 const wxSize& size = wxDefaultSize,
3070 long style = 0,
3071 const wxString& name = wxPyVListBoxNameStr)
3072 : wxHtmlListBox(parent, id, pos, size, style, name)
3073 {}
3074
3075 // Overridable virtuals
3076
3077 // this method must be implemented in the derived class and should return
3078 // the body (i.e. without <html>) of the HTML for the given item
3079 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3080
3081 // this function may be overridden to decorate HTML returned by OnGetItem()
3082 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3083
3084 // TODO:
3085 // // this method allows to customize the selection appearance: it may be used
3086 // // to specify the colour of the text which normally has the given colour
3087 // // colFg when it is inside the selection
3088 // //
3089 // // by default, the original colour is not used at all and all text has the
3090 // // same (default for this system) colour inside selection
3091 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3092
3093 // // this is the same as GetSelectedTextColour() but allows to customize the
3094 // // background colour -- this is even more rarely used as you can change it
3095 // // globally using SetSelectionBackground()
3096 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3097
3098
3099 PYPRIVATE;
3100 };
3101
3102
3103 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3104
3105 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3106 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
3107
3108
3109
3110
3111
3112 #ifndef wxHAS_TASK_BAR_ICON
3113 // implement dummy classes for platforms that don't have it
3114
3115 class wxTaskBarIcon : public wxEvtHandler
3116 {
3117 public:
3118 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3119 };
3120
3121
3122 class wxTaskBarIconEvent : public wxEvent
3123 {
3124 public:
3125 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
3126 { wxPyRaiseNotImplemented(); }
3127 virtual wxEvent* Clone() const { return NULL; }
3128 bool IsOk() const { return false; }
3129 bool IsIconInstalled() const { return false; }
3130 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3131 bool RemoveIcon() { return false; }
3132 bool PopupMenu(wxMenu *menu) { return false; }
3133 };
3134
3135 enum {
3136 wxEVT_TASKBAR_MOVE = 0,
3137 wxEVT_TASKBAR_LEFT_DOWN = 0,
3138 wxEVT_TASKBAR_LEFT_UP = 0,
3139 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3140 wxEVT_TASKBAR_RIGHT_UP = 0,
3141 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3142 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3143 };
3144
3145
3146 #else
3147 // Otherwise make a class that can virtualize CreatePopupMenu
3148 class wxPyTaskBarIcon : public wxTaskBarIcon
3149 {
3150 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
3151 public:
3152 wxPyTaskBarIcon() : wxTaskBarIcon()
3153 {}
3154
3155 wxMenu* CreatePopupMenu() {
3156 wxMenu *rval = NULL;
3157 bool found;
3158 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3159 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3160 PyObject* ro;
3161 wxMenu* ptr;
3162 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3163 if (ro) {
3164 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3165 rval = ptr;
3166 Py_DECREF(ro);
3167 }
3168 }
3169 wxPyEndBlockThreads(blocked);
3170 if (! found)
3171 rval = wxTaskBarIcon::CreatePopupMenu();
3172 return rval;
3173 }
3174
3175 PYPRIVATE;
3176 };
3177
3178 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
3179
3180 #endif
3181
3182 SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
3183 self->RemoveIcon();
3184 delete self;
3185 }
3186 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3187 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3188 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3189 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3190 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3191 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
3192 SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
3193 wxArrayString arr;
3194 self->GetFilenames(arr);
3195 return wxArrayString2PyList_helper(arr);
3196 }
3197 SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
3198 wxArrayString arr;
3199 self->GetPaths(arr);
3200 return wxArrayString2PyList_helper(arr);
3201 }
3202 SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
3203 return wxArrayInt2PyList_helper(self->GetSelections());
3204 }
3205 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){
3206 return new wxSingleChoiceDialog(parent, message, caption,
3207 choices, choices_array, NULL, style, pos);
3208 }
3209 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
3210
3211 #include <wx/mdi.h>
3212
3213 // C++ version of Python aware wxWindow
3214 class wxPyWindow : public wxWindow
3215 {
3216 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3217 public:
3218 wxPyWindow() : wxWindow() {}
3219 wxPyWindow(wxWindow* parent, const wxWindowID id,
3220 const wxPoint& pos = wxDefaultPosition,
3221 const wxSize& size = wxDefaultSize,
3222 long style = 0,
3223 const wxString& name = wxPyPanelNameStr)
3224 : wxWindow(parent, id, pos, size, style, name) {}
3225
3226 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
3227
3228 bool DoEraseBackground(wxDC* dc) {
3229 #ifdef __WXMSW__
3230 return wxWindow::DoEraseBackground(dc->GetHDC());
3231 #else
3232 dc->SetBackground(wxBrush(GetBackgroundColour()));
3233 dc->Clear();
3234 return true;
3235 #endif
3236 }
3237
3238 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3239 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3240 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3241 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3242
3243 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3244 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3245 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3246
3247 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3248 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3249
3250 DEC_PYCALLBACK__(InitDialog);
3251 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3252 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3253 DEC_PYCALLBACK_BOOL_(Validate);
3254
3255 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3256 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3257 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3258
3259 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3260 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3261
3262 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3263 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3264
3265 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3266
3267 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3268
3269 PYPRIVATE;
3270 };
3271
3272 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3273
3274 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3275 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3276 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3277 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3278
3279 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3280 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3281 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3282
3283 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3284 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3285
3286 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3287 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3288 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3289 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3290
3291 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3292 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3293 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3294
3295 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3296 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3297
3298 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
3299 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
3300
3301 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
3302
3303 IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3304
3305 // C++ version of Python aware wxPanel
3306 class wxPyPanel : public wxPanel
3307 {
3308 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3309 public:
3310 wxPyPanel() : wxPanel() {}
3311 wxPyPanel(wxWindow* parent, const wxWindowID id,
3312 const wxPoint& pos = wxDefaultPosition,
3313 const wxSize& size = wxDefaultSize,
3314 long style = 0,
3315 const wxString& name = wxPyPanelNameStr)
3316 : wxPanel(parent, id, pos, size, style, name) {}
3317
3318 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
3319 bool DoEraseBackground(wxDC* dc) {
3320 #ifdef __WXMSW__
3321 return wxWindow::DoEraseBackground(dc->GetHDC());
3322 #else
3323 dc->SetBackground(wxBrush(GetBackgroundColour()));
3324 dc->Clear();
3325 return true;
3326 #endif
3327 }
3328
3329
3330 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3331 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3332 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3333 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3334
3335 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3336 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3337 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3338
3339 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3340 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3341
3342 DEC_PYCALLBACK__(InitDialog);
3343 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3344 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3345 DEC_PYCALLBACK_BOOL_(Validate);
3346
3347 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3348 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3349 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3350
3351 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3352 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3353
3354 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3355 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3356
3357 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3358
3359 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3360
3361 PYPRIVATE;
3362 };
3363
3364 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3365
3366 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3367 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3368 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3369 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3370
3371 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3372 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3373 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3374
3375 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3376 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3377
3378 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3379 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3380 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3381 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3382
3383 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3384 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3385 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3386
3387 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3388 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3389
3390 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
3391 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
3392
3393 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3394
3395 IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3396
3397 // C++ version of Python aware wxScrolledWindow
3398 class wxPyScrolledWindow : public wxScrolledWindow
3399 {
3400 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3401 public:
3402 wxPyScrolledWindow() : wxScrolledWindow() {}
3403 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3404 const wxPoint& pos = wxDefaultPosition,
3405 const wxSize& size = wxDefaultSize,
3406 long style = 0,
3407 const wxString& name = wxPyPanelNameStr)
3408 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3409
3410 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
3411 bool DoEraseBackground(wxDC* dc) {
3412 #ifdef __WXMSW__
3413 return wxWindow::DoEraseBackground(dc->GetHDC());
3414 #else
3415 dc->SetBackground(wxBrush(GetBackgroundColour()));
3416 dc->Clear();
3417 return true;
3418 #endif
3419 }
3420
3421 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3422 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3423 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3424 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3425
3426 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3427 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3428 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3429
3430 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3431 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3432
3433 DEC_PYCALLBACK__(InitDialog);
3434 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3435 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3436 DEC_PYCALLBACK_BOOL_(Validate);
3437
3438 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3439 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3440 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3441
3442 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3443 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3444
3445 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3446 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3447
3448 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3449
3450 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3451
3452 PYPRIVATE;
3453 };
3454
3455 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3456
3457 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3458 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3459 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3460 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3461
3462 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3463 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3464 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3465
3466 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3467 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3468
3469 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3470 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3471 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3472 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3473
3474 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3475 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3476 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3477
3478 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3479 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3480
3481 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
3482 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3483
3484 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
3485
3486 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3487
3488
3489 #include "wx/wxPython/printfw.h"
3490
3491
3492 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3493 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3494 SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
3495 PyObject* data;
3496 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3497 data = PyString_FromStringAndSize(self->GetPrivData(),
3498 self->GetPrivDataLen());
3499 wxPyEndBlockThreads(blocked);
3500 return data;
3501 }
3502 SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
3503 if (! PyString_Check(data)) {
3504 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3505 "Expected string object"));
3506 return /* NULL */ ;
3507 }
3508
3509 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3510 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3511 wxPyEndBlockThreads(blocked);
3512 }
3513
3514
3515 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
3516
3517 // Since this one would be tough and ugly to do with the Macros...
3518 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
3519 bool hadErr = false;
3520 bool found;
3521
3522 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3523 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3524 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3525 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3526 PyObject* val;
3527
3528 val = PyTuple_GetItem(result, 0);
3529 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
3530 else hadErr = true;
3531
3532 val = PyTuple_GetItem(result, 1);
3533 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
3534 else hadErr = true;
3535
3536 val = PyTuple_GetItem(result, 2);
3537 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
3538 else hadErr = true;
3539
3540 val = PyTuple_GetItem(result, 3);
3541 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
3542 else hadErr = true;
3543 }
3544 else
3545 hadErr = true;
3546
3547 if (hadErr) {
3548 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3549 PyErr_Print();
3550 }
3551 Py_DECREF(result);
3552 }
3553 wxPyEndBlockThreads(blocked);
3554 if (! found)
3555 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3556 }
3557
3558
3559
3560 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3561 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3562 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3563 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3564 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3565 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3566 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3567
3568
3569
3570
3571
3572 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3573 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3574
3575
3576 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3577 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3578 bool rval=false; \
3579 bool found; \
3580 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3581 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3582 PyObject* win = wxPyMake_wxObject(a,false); \
3583 PyObject* dc = wxPyMake_wxObject(&b,false); \
3584 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3585 Py_DECREF(win); \
3586 Py_DECREF(dc); \
3587 } \
3588 wxPyEndBlockThreads(blocked); \
3589 if (! found) \
3590 rval = PCLASS::CBNAME(a, b); \
3591 return rval; \
3592 }
3593
3594
3595
3596
3597 class wxPyPrintPreview : public wxPrintPreview
3598 {
3599 DECLARE_CLASS(wxPyPrintPreview)
3600 public:
3601 wxPyPrintPreview(wxPyPrintout* printout,
3602 wxPyPrintout* printoutForPrinting,
3603 wxPrintDialogData* data=NULL)
3604 : wxPrintPreview(printout, printoutForPrinting, data)
3605 {}
3606 wxPyPrintPreview(wxPyPrintout* printout,
3607 wxPyPrintout* printoutForPrinting,
3608 wxPrintData* data)
3609 : wxPrintPreview(printout, printoutForPrinting, data)
3610 {}
3611
3612 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3613 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3614 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3615 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3616 DEC_PYCALLBACK_VOID_INT(SetZoom);
3617 DEC_PYCALLBACK_BOOL_BOOL(Print);
3618 DEC_PYCALLBACK_VOID_(DetermineScaling);
3619
3620 PYPRIVATE;
3621 };
3622
3623 // Stupid renamed classes... Fix this in 2.5...
3624 #if defined(__WXMSW__)
3625 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3626 #elif defined(__WXMAC__)
3627 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3628 #else
3629 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3630 #endif
3631
3632 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3633 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3634 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3635 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3636 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3637 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3638 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3639
3640
3641 class wxPyPreviewFrame : public wxPreviewFrame
3642 {
3643 DECLARE_CLASS(wxPyPreviewFrame)
3644 public:
3645 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3646 const wxString& title,
3647 const wxPoint& pos = wxDefaultPosition,
3648 const wxSize& size = wxDefaultSize,
3649 long style = wxDEFAULT_FRAME_STYLE,
3650 const wxString& name = wxPyFrameNameStr)
3651 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3652 {}
3653
3654 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3655 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3656
3657 DEC_PYCALLBACK_VOID_(Initialize);
3658 DEC_PYCALLBACK_VOID_(CreateCanvas);
3659 DEC_PYCALLBACK_VOID_(CreateControlBar);
3660
3661 PYPRIVATE;
3662 };
3663
3664 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3665
3666 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3667 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3668 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3669
3670
3671 class wxPyPreviewControlBar : public wxPreviewControlBar
3672 {
3673 DECLARE_CLASS(wxPyPreviewControlBar)
3674 public:
3675 wxPyPreviewControlBar(wxPrintPreview *preview,
3676 long buttons,
3677 wxWindow *parent,
3678 const wxPoint& pos = wxDefaultPosition,
3679 const wxSize& size = wxDefaultSize,
3680 long style = 0,
3681 const wxString& name = wxPyPanelNameStr)
3682 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3683 {}
3684
3685 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3686
3687 DEC_PYCALLBACK_VOID_(CreateButtons);
3688 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3689
3690 PYPRIVATE;
3691 };
3692
3693 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3694 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3695 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3696
3697 #ifdef __cplusplus
3698 extern "C" {
3699 #endif
3700 SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3701 PyObject *resultobj = 0;
3702 wxWindow *arg1 = (wxWindow *) 0 ;
3703 int arg2 = (int) (int)-1 ;
3704 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3705 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3706 wxSize const &arg4_defvalue = wxDefaultSize ;
3707 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3708 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3709 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3710 wxString *arg6 = (wxString *) &arg6_defvalue ;
3711 wxPanel *result = 0 ;
3712 void *argp1 = 0 ;
3713 int res1 = 0 ;
3714 int val2 ;
3715 int ecode2 = 0 ;
3716 wxPoint temp3 ;
3717 wxSize temp4 ;
3718 long val5 ;
3719 int ecode5 = 0 ;
3720 bool temp6 = false ;
3721 PyObject * obj0 = 0 ;
3722 PyObject * obj1 = 0 ;
3723 PyObject * obj2 = 0 ;
3724 PyObject * obj3 = 0 ;
3725 PyObject * obj4 = 0 ;
3726 PyObject * obj5 = 0 ;
3727 char * kwnames[] = {
3728 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3729 };
3730
3731 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3732 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3733 if (!SWIG_IsOK(res1)) {
3734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3735 }
3736 arg1 = reinterpret_cast< wxWindow * >(argp1);
3737 if (obj1) {
3738 ecode2 = SWIG_AsVal_int(obj1, &val2);
3739 if (!SWIG_IsOK(ecode2)) {
3740 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3741 }
3742 arg2 = static_cast< int >(val2);
3743 }
3744 if (obj2) {
3745 {
3746 arg3 = &temp3;
3747 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3748 }
3749 }
3750 if (obj3) {
3751 {
3752 arg4 = &temp4;
3753 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3754 }
3755 }
3756 if (obj4) {
3757 ecode5 = SWIG_AsVal_long(obj4, &val5);
3758 if (!SWIG_IsOK(ecode5)) {
3759 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3760 }
3761 arg5 = static_cast< long >(val5);
3762 }
3763 if (obj5) {
3764 {
3765 arg6 = wxString_in_helper(obj5);
3766 if (arg6 == NULL) SWIG_fail;
3767 temp6 = true;
3768 }
3769 }
3770 {
3771 if (!wxPyCheckForApp()) SWIG_fail;
3772 PyThreadState* __tstate = wxPyBeginAllowThreads();
3773 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3774 wxPyEndAllowThreads(__tstate);
3775 if (PyErr_Occurred()) SWIG_fail;
3776 }
3777 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3778 {
3779 if (temp6)
3780 delete arg6;
3781 }
3782 return resultobj;
3783 fail:
3784 {
3785 if (temp6)
3786 delete arg6;
3787 }
3788 return NULL;
3789 }
3790
3791
3792 SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3793 PyObject *resultobj = 0;
3794 wxPanel *result = 0 ;
3795
3796 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3797 {
3798 if (!wxPyCheckForApp()) SWIG_fail;
3799 PyThreadState* __tstate = wxPyBeginAllowThreads();
3800 result = (wxPanel *)new wxPanel();
3801 wxPyEndAllowThreads(__tstate);
3802 if (PyErr_Occurred()) SWIG_fail;
3803 }
3804 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3805 return resultobj;
3806 fail:
3807 return NULL;
3808 }
3809
3810
3811 SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3812 PyObject *resultobj = 0;
3813 wxPanel *arg1 = (wxPanel *) 0 ;
3814 wxWindow *arg2 = (wxWindow *) 0 ;
3815 int arg3 = (int) (int)-1 ;
3816 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3817 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3818 wxSize const &arg5_defvalue = wxDefaultSize ;
3819 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3820 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3821 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3822 wxString *arg7 = (wxString *) &arg7_defvalue ;
3823 bool result;
3824 void *argp1 = 0 ;
3825 int res1 = 0 ;
3826 void *argp2 = 0 ;
3827 int res2 = 0 ;
3828 int val3 ;
3829 int ecode3 = 0 ;
3830 wxPoint temp4 ;
3831 wxSize temp5 ;
3832 long val6 ;
3833 int ecode6 = 0 ;
3834 bool temp7 = false ;
3835 PyObject * obj0 = 0 ;
3836 PyObject * obj1 = 0 ;
3837 PyObject * obj2 = 0 ;
3838 PyObject * obj3 = 0 ;
3839 PyObject * obj4 = 0 ;
3840 PyObject * obj5 = 0 ;
3841 PyObject * obj6 = 0 ;
3842 char * kwnames[] = {
3843 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3844 };
3845
3846 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3847 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3848 if (!SWIG_IsOK(res1)) {
3849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3850 }
3851 arg1 = reinterpret_cast< wxPanel * >(argp1);
3852 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3853 if (!SWIG_IsOK(res2)) {
3854 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3855 }
3856 arg2 = reinterpret_cast< wxWindow * >(argp2);
3857 if (obj2) {
3858 ecode3 = SWIG_AsVal_int(obj2, &val3);
3859 if (!SWIG_IsOK(ecode3)) {
3860 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3861 }
3862 arg3 = static_cast< int >(val3);
3863 }
3864 if (obj3) {
3865 {
3866 arg4 = &temp4;
3867 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3868 }
3869 }
3870 if (obj4) {
3871 {
3872 arg5 = &temp5;
3873 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3874 }
3875 }
3876 if (obj5) {
3877 ecode6 = SWIG_AsVal_long(obj5, &val6);
3878 if (!SWIG_IsOK(ecode6)) {
3879 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3880 }
3881 arg6 = static_cast< long >(val6);
3882 }
3883 if (obj6) {
3884 {
3885 arg7 = wxString_in_helper(obj6);
3886 if (arg7 == NULL) SWIG_fail;
3887 temp7 = true;
3888 }
3889 }
3890 {
3891 PyThreadState* __tstate = wxPyBeginAllowThreads();
3892 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3893 wxPyEndAllowThreads(__tstate);
3894 if (PyErr_Occurred()) SWIG_fail;
3895 }
3896 {
3897 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3898 }
3899 {
3900 if (temp7)
3901 delete arg7;
3902 }
3903 return resultobj;
3904 fail:
3905 {
3906 if (temp7)
3907 delete arg7;
3908 }
3909 return NULL;
3910 }
3911
3912
3913 SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3914 PyObject *resultobj = 0;
3915 wxPanel *arg1 = (wxPanel *) 0 ;
3916 void *argp1 = 0 ;
3917 int res1 = 0 ;
3918 PyObject *swig_obj[1] ;
3919
3920 if (!args) SWIG_fail;
3921 swig_obj[0] = args;
3922 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3923 if (!SWIG_IsOK(res1)) {
3924 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3925 }
3926 arg1 = reinterpret_cast< wxPanel * >(argp1);
3927 {
3928 PyThreadState* __tstate = wxPyBeginAllowThreads();
3929 (arg1)->SetFocusIgnoringChildren();
3930 wxPyEndAllowThreads(__tstate);
3931 if (PyErr_Occurred()) SWIG_fail;
3932 }
3933 resultobj = SWIG_Py_Void();
3934 return resultobj;
3935 fail:
3936 return NULL;
3937 }
3938
3939
3940 SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3941 PyObject *resultobj = 0;
3942 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3943 SwigValueWrapper<wxVisualAttributes > result;
3944 int val1 ;
3945 int ecode1 = 0 ;
3946 PyObject * obj0 = 0 ;
3947 char * kwnames[] = {
3948 (char *) "variant", NULL
3949 };
3950
3951 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
3952 if (obj0) {
3953 ecode1 = SWIG_AsVal_int(obj0, &val1);
3954 if (!SWIG_IsOK(ecode1)) {
3955 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3956 }
3957 arg1 = static_cast< wxWindowVariant >(val1);
3958 }
3959 {
3960 if (!wxPyCheckForApp()) SWIG_fail;
3961 PyThreadState* __tstate = wxPyBeginAllowThreads();
3962 result = wxPanel::GetClassDefaultAttributes(arg1);
3963 wxPyEndAllowThreads(__tstate);
3964 if (PyErr_Occurred()) SWIG_fail;
3965 }
3966 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
3967 return resultobj;
3968 fail:
3969 return NULL;
3970 }
3971
3972
3973 SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3974 PyObject *obj;
3975 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3976 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
3977 return SWIG_Py_Void();
3978 }
3979
3980 SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3981 return SWIG_Python_InitShadowInstance(args);
3982 }
3983
3984 SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3985 PyObject *resultobj = 0;
3986 wxWindow *arg1 = (wxWindow *) 0 ;
3987 int arg2 = (int) (int)-1 ;
3988 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3989 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3990 wxSize const &arg4_defvalue = wxDefaultSize ;
3991 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3992 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
3993 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3994 wxString *arg6 = (wxString *) &arg6_defvalue ;
3995 wxScrolledWindow *result = 0 ;
3996 void *argp1 = 0 ;
3997 int res1 = 0 ;
3998 int val2 ;
3999 int ecode2 = 0 ;
4000 wxPoint temp3 ;
4001 wxSize temp4 ;
4002 long val5 ;
4003 int ecode5 = 0 ;
4004 bool temp6 = false ;
4005 PyObject * obj0 = 0 ;
4006 PyObject * obj1 = 0 ;
4007 PyObject * obj2 = 0 ;
4008 PyObject * obj3 = 0 ;
4009 PyObject * obj4 = 0 ;
4010 PyObject * obj5 = 0 ;
4011 char * kwnames[] = {
4012 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4013 };
4014
4015 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4016 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4017 if (!SWIG_IsOK(res1)) {
4018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4019 }
4020 arg1 = reinterpret_cast< wxWindow * >(argp1);
4021 if (obj1) {
4022 ecode2 = SWIG_AsVal_int(obj1, &val2);
4023 if (!SWIG_IsOK(ecode2)) {
4024 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4025 }
4026 arg2 = static_cast< int >(val2);
4027 }
4028 if (obj2) {
4029 {
4030 arg3 = &temp3;
4031 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4032 }
4033 }
4034 if (obj3) {
4035 {
4036 arg4 = &temp4;
4037 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4038 }
4039 }
4040 if (obj4) {
4041 ecode5 = SWIG_AsVal_long(obj4, &val5);
4042 if (!SWIG_IsOK(ecode5)) {
4043 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4044 }
4045 arg5 = static_cast< long >(val5);
4046 }
4047 if (obj5) {
4048 {
4049 arg6 = wxString_in_helper(obj5);
4050 if (arg6 == NULL) SWIG_fail;
4051 temp6 = true;
4052 }
4053 }
4054 {
4055 if (!wxPyCheckForApp()) SWIG_fail;
4056 PyThreadState* __tstate = wxPyBeginAllowThreads();
4057 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4058 wxPyEndAllowThreads(__tstate);
4059 if (PyErr_Occurred()) SWIG_fail;
4060 }
4061 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4062 {
4063 if (temp6)
4064 delete arg6;
4065 }
4066 return resultobj;
4067 fail:
4068 {
4069 if (temp6)
4070 delete arg6;
4071 }
4072 return NULL;
4073 }
4074
4075
4076 SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4077 PyObject *resultobj = 0;
4078 wxScrolledWindow *result = 0 ;
4079
4080 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4081 {
4082 if (!wxPyCheckForApp()) SWIG_fail;
4083 PyThreadState* __tstate = wxPyBeginAllowThreads();
4084 result = (wxScrolledWindow *)new wxScrolledWindow();
4085 wxPyEndAllowThreads(__tstate);
4086 if (PyErr_Occurred()) SWIG_fail;
4087 }
4088 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4089 return resultobj;
4090 fail:
4091 return NULL;
4092 }
4093
4094
4095 SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4096 PyObject *resultobj = 0;
4097 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4098 wxWindow *arg2 = (wxWindow *) 0 ;
4099 int arg3 = (int) (int)-1 ;
4100 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4101 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4102 wxSize const &arg5_defvalue = wxDefaultSize ;
4103 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4104 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4105 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4106 wxString *arg7 = (wxString *) &arg7_defvalue ;
4107 bool result;
4108 void *argp1 = 0 ;
4109 int res1 = 0 ;
4110 void *argp2 = 0 ;
4111 int res2 = 0 ;
4112 int val3 ;
4113 int ecode3 = 0 ;
4114 wxPoint temp4 ;
4115 wxSize temp5 ;
4116 long val6 ;
4117 int ecode6 = 0 ;
4118 bool temp7 = false ;
4119 PyObject * obj0 = 0 ;
4120 PyObject * obj1 = 0 ;
4121 PyObject * obj2 = 0 ;
4122 PyObject * obj3 = 0 ;
4123 PyObject * obj4 = 0 ;
4124 PyObject * obj5 = 0 ;
4125 PyObject * obj6 = 0 ;
4126 char * kwnames[] = {
4127 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4128 };
4129
4130 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4131 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4132 if (!SWIG_IsOK(res1)) {
4133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4134 }
4135 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4136 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4137 if (!SWIG_IsOK(res2)) {
4138 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4139 }
4140 arg2 = reinterpret_cast< wxWindow * >(argp2);
4141 if (obj2) {
4142 ecode3 = SWIG_AsVal_int(obj2, &val3);
4143 if (!SWIG_IsOK(ecode3)) {
4144 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4145 }
4146 arg3 = static_cast< int >(val3);
4147 }
4148 if (obj3) {
4149 {
4150 arg4 = &temp4;
4151 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4152 }
4153 }
4154 if (obj4) {
4155 {
4156 arg5 = &temp5;
4157 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4158 }
4159 }
4160 if (obj5) {
4161 ecode6 = SWIG_AsVal_long(obj5, &val6);
4162 if (!SWIG_IsOK(ecode6)) {
4163 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4164 }
4165 arg6 = static_cast< long >(val6);
4166 }
4167 if (obj6) {
4168 {
4169 arg7 = wxString_in_helper(obj6);
4170 if (arg7 == NULL) SWIG_fail;
4171 temp7 = true;
4172 }
4173 }
4174 {
4175 PyThreadState* __tstate = wxPyBeginAllowThreads();
4176 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4177 wxPyEndAllowThreads(__tstate);
4178 if (PyErr_Occurred()) SWIG_fail;
4179 }
4180 {
4181 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4182 }
4183 {
4184 if (temp7)
4185 delete arg7;
4186 }
4187 return resultobj;
4188 fail:
4189 {
4190 if (temp7)
4191 delete arg7;
4192 }
4193 return NULL;
4194 }
4195
4196
4197 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4198 PyObject *resultobj = 0;
4199 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4200 int arg2 ;
4201 int arg3 ;
4202 int arg4 ;
4203 int arg5 ;
4204 int arg6 = (int) 0 ;
4205 int arg7 = (int) 0 ;
4206 bool arg8 = (bool) false ;
4207 void *argp1 = 0 ;
4208 int res1 = 0 ;
4209 int val2 ;
4210 int ecode2 = 0 ;
4211 int val3 ;
4212 int ecode3 = 0 ;
4213 int val4 ;
4214 int ecode4 = 0 ;
4215 int val5 ;
4216 int ecode5 = 0 ;
4217 int val6 ;
4218 int ecode6 = 0 ;
4219 int val7 ;
4220 int ecode7 = 0 ;
4221 bool val8 ;
4222 int ecode8 = 0 ;
4223 PyObject * obj0 = 0 ;
4224 PyObject * obj1 = 0 ;
4225 PyObject * obj2 = 0 ;
4226 PyObject * obj3 = 0 ;
4227 PyObject * obj4 = 0 ;
4228 PyObject * obj5 = 0 ;
4229 PyObject * obj6 = 0 ;
4230 PyObject * obj7 = 0 ;
4231 char * kwnames[] = {
4232 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4233 };
4234
4235 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4236 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4237 if (!SWIG_IsOK(res1)) {
4238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4239 }
4240 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4241 ecode2 = SWIG_AsVal_int(obj1, &val2);
4242 if (!SWIG_IsOK(ecode2)) {
4243 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4244 }
4245 arg2 = static_cast< int >(val2);
4246 ecode3 = SWIG_AsVal_int(obj2, &val3);
4247 if (!SWIG_IsOK(ecode3)) {
4248 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4249 }
4250 arg3 = static_cast< int >(val3);
4251 ecode4 = SWIG_AsVal_int(obj3, &val4);
4252 if (!SWIG_IsOK(ecode4)) {
4253 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4254 }
4255 arg4 = static_cast< int >(val4);
4256 ecode5 = SWIG_AsVal_int(obj4, &val5);
4257 if (!SWIG_IsOK(ecode5)) {
4258 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4259 }
4260 arg5 = static_cast< int >(val5);
4261 if (obj5) {
4262 ecode6 = SWIG_AsVal_int(obj5, &val6);
4263 if (!SWIG_IsOK(ecode6)) {
4264 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4265 }
4266 arg6 = static_cast< int >(val6);
4267 }
4268 if (obj6) {
4269 ecode7 = SWIG_AsVal_int(obj6, &val7);
4270 if (!SWIG_IsOK(ecode7)) {
4271 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4272 }
4273 arg7 = static_cast< int >(val7);
4274 }
4275 if (obj7) {
4276 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4277 if (!SWIG_IsOK(ecode8)) {
4278 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4279 }
4280 arg8 = static_cast< bool >(val8);
4281 }
4282 {
4283 PyThreadState* __tstate = wxPyBeginAllowThreads();
4284 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4285 wxPyEndAllowThreads(__tstate);
4286 if (PyErr_Occurred()) SWIG_fail;
4287 }
4288 resultobj = SWIG_Py_Void();
4289 return resultobj;
4290 fail:
4291 return NULL;
4292 }
4293
4294
4295 SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4296 PyObject *resultobj = 0;
4297 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4298 int arg2 ;
4299 int arg3 ;
4300 void *argp1 = 0 ;
4301 int res1 = 0 ;
4302 int val2 ;
4303 int ecode2 = 0 ;
4304 int val3 ;
4305 int ecode3 = 0 ;
4306 PyObject * obj0 = 0 ;
4307 PyObject * obj1 = 0 ;
4308 PyObject * obj2 = 0 ;
4309 char * kwnames[] = {
4310 (char *) "self",(char *) "x",(char *) "y", NULL
4311 };
4312
4313 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4314 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4315 if (!SWIG_IsOK(res1)) {
4316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4317 }
4318 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4319 ecode2 = SWIG_AsVal_int(obj1, &val2);
4320 if (!SWIG_IsOK(ecode2)) {
4321 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4322 }
4323 arg2 = static_cast< int >(val2);
4324 ecode3 = SWIG_AsVal_int(obj2, &val3);
4325 if (!SWIG_IsOK(ecode3)) {
4326 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4327 }
4328 arg3 = static_cast< int >(val3);
4329 {
4330 PyThreadState* __tstate = wxPyBeginAllowThreads();
4331 (arg1)->Scroll(arg2,arg3);
4332 wxPyEndAllowThreads(__tstate);
4333 if (PyErr_Occurred()) SWIG_fail;
4334 }
4335 resultobj = SWIG_Py_Void();
4336 return resultobj;
4337 fail:
4338 return NULL;
4339 }
4340
4341
4342 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4343 PyObject *resultobj = 0;
4344 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4345 int arg2 ;
4346 int result;
4347 void *argp1 = 0 ;
4348 int res1 = 0 ;
4349 int val2 ;
4350 int ecode2 = 0 ;
4351 PyObject * obj0 = 0 ;
4352 PyObject * obj1 = 0 ;
4353 char * kwnames[] = {
4354 (char *) "self",(char *) "orient", NULL
4355 };
4356
4357 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
4358 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4359 if (!SWIG_IsOK(res1)) {
4360 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4361 }
4362 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4363 ecode2 = SWIG_AsVal_int(obj1, &val2);
4364 if (!SWIG_IsOK(ecode2)) {
4365 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4366 }
4367 arg2 = static_cast< int >(val2);
4368 {
4369 PyThreadState* __tstate = wxPyBeginAllowThreads();
4370 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4371 wxPyEndAllowThreads(__tstate);
4372 if (PyErr_Occurred()) SWIG_fail;
4373 }
4374 resultobj = SWIG_From_int(static_cast< int >(result));
4375 return resultobj;
4376 fail:
4377 return NULL;
4378 }
4379
4380
4381 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4382 PyObject *resultobj = 0;
4383 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4384 int arg2 ;
4385 int arg3 ;
4386 void *argp1 = 0 ;
4387 int res1 = 0 ;
4388 int val2 ;
4389 int ecode2 = 0 ;
4390 int val3 ;
4391 int ecode3 = 0 ;
4392 PyObject * obj0 = 0 ;
4393 PyObject * obj1 = 0 ;
4394 PyObject * obj2 = 0 ;
4395 char * kwnames[] = {
4396 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4397 };
4398
4399 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4400 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4401 if (!SWIG_IsOK(res1)) {
4402 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4403 }
4404 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4405 ecode2 = SWIG_AsVal_int(obj1, &val2);
4406 if (!SWIG_IsOK(ecode2)) {
4407 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4408 }
4409 arg2 = static_cast< int >(val2);
4410 ecode3 = SWIG_AsVal_int(obj2, &val3);
4411 if (!SWIG_IsOK(ecode3)) {
4412 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4413 }
4414 arg3 = static_cast< int >(val3);
4415 {
4416 PyThreadState* __tstate = wxPyBeginAllowThreads();
4417 (arg1)->SetScrollPageSize(arg2,arg3);
4418 wxPyEndAllowThreads(__tstate);
4419 if (PyErr_Occurred()) SWIG_fail;
4420 }
4421 resultobj = SWIG_Py_Void();
4422 return resultobj;
4423 fail:
4424 return NULL;
4425 }
4426
4427
4428 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4429 PyObject *resultobj = 0;
4430 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4431 int arg2 ;
4432 int arg3 ;
4433 void *argp1 = 0 ;
4434 int res1 = 0 ;
4435 int val2 ;
4436 int ecode2 = 0 ;
4437 int val3 ;
4438 int ecode3 = 0 ;
4439 PyObject * obj0 = 0 ;
4440 PyObject * obj1 = 0 ;
4441 PyObject * obj2 = 0 ;
4442 char * kwnames[] = {
4443 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4444 };
4445
4446 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4447 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4448 if (!SWIG_IsOK(res1)) {
4449 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4450 }
4451 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4452 ecode2 = SWIG_AsVal_int(obj1, &val2);
4453 if (!SWIG_IsOK(ecode2)) {
4454 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4455 }
4456 arg2 = static_cast< int >(val2);
4457 ecode3 = SWIG_AsVal_int(obj2, &val3);
4458 if (!SWIG_IsOK(ecode3)) {
4459 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4460 }
4461 arg3 = static_cast< int >(val3);
4462 {
4463 PyThreadState* __tstate = wxPyBeginAllowThreads();
4464 (arg1)->SetScrollRate(arg2,arg3);
4465 wxPyEndAllowThreads(__tstate);
4466 if (PyErr_Occurred()) SWIG_fail;
4467 }
4468 resultobj = SWIG_Py_Void();
4469 return resultobj;
4470 fail:
4471 return NULL;
4472 }
4473
4474
4475 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4476 PyObject *resultobj = 0;
4477 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4478 int *arg2 = (int *) 0 ;
4479 int *arg3 = (int *) 0 ;
4480 void *argp1 = 0 ;
4481 int res1 = 0 ;
4482 int temp2 ;
4483 int res2 = SWIG_TMPOBJ ;
4484 int temp3 ;
4485 int res3 = SWIG_TMPOBJ ;
4486 PyObject *swig_obj[1] ;
4487
4488 arg2 = &temp2;
4489 arg3 = &temp3;
4490 if (!args) SWIG_fail;
4491 swig_obj[0] = args;
4492 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4493 if (!SWIG_IsOK(res1)) {
4494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4495 }
4496 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4497 {
4498 PyThreadState* __tstate = wxPyBeginAllowThreads();
4499 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4500 wxPyEndAllowThreads(__tstate);
4501 if (PyErr_Occurred()) SWIG_fail;
4502 }
4503 resultobj = SWIG_Py_Void();
4504 if (SWIG_IsTmpObj(res2)) {
4505 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4506 } else {
4507 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4508 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4509 }
4510 if (SWIG_IsTmpObj(res3)) {
4511 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4512 } else {
4513 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4514 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4515 }
4516 return resultobj;
4517 fail:
4518 return NULL;
4519 }
4520
4521
4522 SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4523 PyObject *resultobj = 0;
4524 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4525 bool arg2 ;
4526 bool arg3 ;
4527 void *argp1 = 0 ;
4528 int res1 = 0 ;
4529 bool val2 ;
4530 int ecode2 = 0 ;
4531 bool val3 ;
4532 int ecode3 = 0 ;
4533 PyObject * obj0 = 0 ;
4534 PyObject * obj1 = 0 ;
4535 PyObject * obj2 = 0 ;
4536 char * kwnames[] = {
4537 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4538 };
4539
4540 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4541 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4542 if (!SWIG_IsOK(res1)) {
4543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4544 }
4545 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4546 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4547 if (!SWIG_IsOK(ecode2)) {
4548 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4549 }
4550 arg2 = static_cast< bool >(val2);
4551 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4552 if (!SWIG_IsOK(ecode3)) {
4553 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4554 }
4555 arg3 = static_cast< bool >(val3);
4556 {
4557 PyThreadState* __tstate = wxPyBeginAllowThreads();
4558 (arg1)->EnableScrolling(arg2,arg3);
4559 wxPyEndAllowThreads(__tstate);
4560 if (PyErr_Occurred()) SWIG_fail;
4561 }
4562 resultobj = SWIG_Py_Void();
4563 return resultobj;
4564 fail:
4565 return NULL;
4566 }
4567
4568
4569 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4570 PyObject *resultobj = 0;
4571 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4572 int *arg2 = (int *) 0 ;
4573 int *arg3 = (int *) 0 ;
4574 void *argp1 = 0 ;
4575 int res1 = 0 ;
4576 int temp2 ;
4577 int res2 = SWIG_TMPOBJ ;
4578 int temp3 ;
4579 int res3 = SWIG_TMPOBJ ;
4580 PyObject *swig_obj[1] ;
4581
4582 arg2 = &temp2;
4583 arg3 = &temp3;
4584 if (!args) SWIG_fail;
4585 swig_obj[0] = args;
4586 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4587 if (!SWIG_IsOK(res1)) {
4588 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4589 }
4590 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4591 {
4592 PyThreadState* __tstate = wxPyBeginAllowThreads();
4593 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4594 wxPyEndAllowThreads(__tstate);
4595 if (PyErr_Occurred()) SWIG_fail;
4596 }
4597 resultobj = SWIG_Py_Void();
4598 if (SWIG_IsTmpObj(res2)) {
4599 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4600 } else {
4601 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4602 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4603 }
4604 if (SWIG_IsTmpObj(res3)) {
4605 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4606 } else {
4607 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4608 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4609 }
4610 return resultobj;
4611 fail:
4612 return NULL;
4613 }
4614
4615
4616 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4617 PyObject *resultobj = 0;
4618 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4619 double arg2 ;
4620 double arg3 ;
4621 void *argp1 = 0 ;
4622 int res1 = 0 ;
4623 double val2 ;
4624 int ecode2 = 0 ;
4625 double val3 ;
4626 int ecode3 = 0 ;
4627 PyObject * obj0 = 0 ;
4628 PyObject * obj1 = 0 ;
4629 PyObject * obj2 = 0 ;
4630 char * kwnames[] = {
4631 (char *) "self",(char *) "xs",(char *) "ys", NULL
4632 };
4633
4634 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4635 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4636 if (!SWIG_IsOK(res1)) {
4637 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4638 }
4639 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4640 ecode2 = SWIG_AsVal_double(obj1, &val2);
4641 if (!SWIG_IsOK(ecode2)) {
4642 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4643 }
4644 arg2 = static_cast< double >(val2);
4645 ecode3 = SWIG_AsVal_double(obj2, &val3);
4646 if (!SWIG_IsOK(ecode3)) {
4647 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4648 }
4649 arg3 = static_cast< double >(val3);
4650 {
4651 PyThreadState* __tstate = wxPyBeginAllowThreads();
4652 (arg1)->SetScale(arg2,arg3);
4653 wxPyEndAllowThreads(__tstate);
4654 if (PyErr_Occurred()) SWIG_fail;
4655 }
4656 resultobj = SWIG_Py_Void();
4657 return resultobj;
4658 fail:
4659 return NULL;
4660 }
4661
4662
4663 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4664 PyObject *resultobj = 0;
4665 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4666 double result;
4667 void *argp1 = 0 ;
4668 int res1 = 0 ;
4669 PyObject *swig_obj[1] ;
4670
4671 if (!args) SWIG_fail;
4672 swig_obj[0] = args;
4673 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4674 if (!SWIG_IsOK(res1)) {
4675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4676 }
4677 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4678 {
4679 PyThreadState* __tstate = wxPyBeginAllowThreads();
4680 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4681 wxPyEndAllowThreads(__tstate);
4682 if (PyErr_Occurred()) SWIG_fail;
4683 }
4684 resultobj = SWIG_From_double(static_cast< double >(result));
4685 return resultobj;
4686 fail:
4687 return NULL;
4688 }
4689
4690
4691 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4692 PyObject *resultobj = 0;
4693 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4694 double result;
4695 void *argp1 = 0 ;
4696 int res1 = 0 ;
4697 PyObject *swig_obj[1] ;
4698
4699 if (!args) SWIG_fail;
4700 swig_obj[0] = args;
4701 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4702 if (!SWIG_IsOK(res1)) {
4703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4704 }
4705 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4706 {
4707 PyThreadState* __tstate = wxPyBeginAllowThreads();
4708 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4709 wxPyEndAllowThreads(__tstate);
4710 if (PyErr_Occurred()) SWIG_fail;
4711 }
4712 resultobj = SWIG_From_double(static_cast< double >(result));
4713 return resultobj;
4714 fail:
4715 return NULL;
4716 }
4717
4718
4719 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4720 PyObject *resultobj = 0;
4721 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4722 wxPoint *arg2 = 0 ;
4723 wxPoint result;
4724 void *argp1 = 0 ;
4725 int res1 = 0 ;
4726 wxPoint temp2 ;
4727
4728 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4729 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4730 if (!SWIG_IsOK(res1)) {
4731 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4732 }
4733 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4734 {
4735 arg2 = &temp2;
4736 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4737 }
4738 {
4739 PyThreadState* __tstate = wxPyBeginAllowThreads();
4740 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4741 wxPyEndAllowThreads(__tstate);
4742 if (PyErr_Occurred()) SWIG_fail;
4743 }
4744 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4745 return resultobj;
4746 fail:
4747 return NULL;
4748 }
4749
4750
4751 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4752 PyObject *resultobj = 0;
4753 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4754 int arg2 ;
4755 int arg3 ;
4756 int *arg4 = (int *) 0 ;
4757 int *arg5 = (int *) 0 ;
4758 void *argp1 = 0 ;
4759 int res1 = 0 ;
4760 int val2 ;
4761 int ecode2 = 0 ;
4762 int val3 ;
4763 int ecode3 = 0 ;
4764 int temp4 ;
4765 int res4 = SWIG_TMPOBJ ;
4766 int temp5 ;
4767 int res5 = SWIG_TMPOBJ ;
4768
4769 arg4 = &temp4;
4770 arg5 = &temp5;
4771 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4772 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4773 if (!SWIG_IsOK(res1)) {
4774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4775 }
4776 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4777 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4778 if (!SWIG_IsOK(ecode2)) {
4779 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4780 }
4781 arg2 = static_cast< int >(val2);
4782 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4783 if (!SWIG_IsOK(ecode3)) {
4784 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4785 }
4786 arg3 = static_cast< int >(val3);
4787 {
4788 PyThreadState* __tstate = wxPyBeginAllowThreads();
4789 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4790 wxPyEndAllowThreads(__tstate);
4791 if (PyErr_Occurred()) SWIG_fail;
4792 }
4793 resultobj = SWIG_Py_Void();
4794 if (SWIG_IsTmpObj(res4)) {
4795 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4796 } else {
4797 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4798 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4799 }
4800 if (SWIG_IsTmpObj(res5)) {
4801 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4802 } else {
4803 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4804 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4805 }
4806 return resultobj;
4807 fail:
4808 return NULL;
4809 }
4810
4811
4812 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4813 int argc;
4814 PyObject *argv[4];
4815
4816 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4817 --argc;
4818 if (argc == 2) {
4819 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4820 }
4821 if (argc == 3) {
4822 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4823 }
4824
4825 fail:
4826 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4827 return NULL;
4828 }
4829
4830
4831 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4832 PyObject *resultobj = 0;
4833 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4834 wxPoint *arg2 = 0 ;
4835 wxPoint result;
4836 void *argp1 = 0 ;
4837 int res1 = 0 ;
4838 wxPoint temp2 ;
4839
4840 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4841 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4842 if (!SWIG_IsOK(res1)) {
4843 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4844 }
4845 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4846 {
4847 arg2 = &temp2;
4848 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4849 }
4850 {
4851 PyThreadState* __tstate = wxPyBeginAllowThreads();
4852 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4853 wxPyEndAllowThreads(__tstate);
4854 if (PyErr_Occurred()) SWIG_fail;
4855 }
4856 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4857 return resultobj;
4858 fail:
4859 return NULL;
4860 }
4861
4862
4863 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4864 PyObject *resultobj = 0;
4865 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4866 int arg2 ;
4867 int arg3 ;
4868 int *arg4 = (int *) 0 ;
4869 int *arg5 = (int *) 0 ;
4870 void *argp1 = 0 ;
4871 int res1 = 0 ;
4872 int val2 ;
4873 int ecode2 = 0 ;
4874 int val3 ;
4875 int ecode3 = 0 ;
4876 int temp4 ;
4877 int res4 = SWIG_TMPOBJ ;
4878 int temp5 ;
4879 int res5 = SWIG_TMPOBJ ;
4880
4881 arg4 = &temp4;
4882 arg5 = &temp5;
4883 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4884 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4885 if (!SWIG_IsOK(res1)) {
4886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4887 }
4888 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4889 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4890 if (!SWIG_IsOK(ecode2)) {
4891 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4892 }
4893 arg2 = static_cast< int >(val2);
4894 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4895 if (!SWIG_IsOK(ecode3)) {
4896 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4897 }
4898 arg3 = static_cast< int >(val3);
4899 {
4900 PyThreadState* __tstate = wxPyBeginAllowThreads();
4901 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
4902 wxPyEndAllowThreads(__tstate);
4903 if (PyErr_Occurred()) SWIG_fail;
4904 }
4905 resultobj = SWIG_Py_Void();
4906 if (SWIG_IsTmpObj(res4)) {
4907 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4908 } else {
4909 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4910 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4911 }
4912 if (SWIG_IsTmpObj(res5)) {
4913 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4914 } else {
4915 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4916 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4917 }
4918 return resultobj;
4919 fail:
4920 return NULL;
4921 }
4922
4923
4924 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
4925 int argc;
4926 PyObject *argv[4];
4927
4928 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
4929 --argc;
4930 if (argc == 2) {
4931 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
4932 }
4933 if (argc == 3) {
4934 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
4935 }
4936
4937 fail:
4938 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4939 return NULL;
4940 }
4941
4942
4943 SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4944 PyObject *resultobj = 0;
4945 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4946 void *argp1 = 0 ;
4947 int res1 = 0 ;
4948 PyObject *swig_obj[1] ;
4949
4950 if (!args) SWIG_fail;
4951 swig_obj[0] = args;
4952 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4953 if (!SWIG_IsOK(res1)) {
4954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4955 }
4956 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4957 {
4958 PyThreadState* __tstate = wxPyBeginAllowThreads();
4959 (arg1)->AdjustScrollbars();
4960 wxPyEndAllowThreads(__tstate);
4961 if (PyErr_Occurred()) SWIG_fail;
4962 }
4963 resultobj = SWIG_Py_Void();
4964 return resultobj;
4965 fail:
4966 return NULL;
4967 }
4968
4969
4970 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4971 PyObject *resultobj = 0;
4972 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4973 wxScrollWinEvent *arg2 = 0 ;
4974 int result;
4975 void *argp1 = 0 ;
4976 int res1 = 0 ;
4977 void *argp2 = 0 ;
4978 int res2 = 0 ;
4979 PyObject * obj0 = 0 ;
4980 PyObject * obj1 = 0 ;
4981 char * kwnames[] = {
4982 (char *) "self",(char *) "event", NULL
4983 };
4984
4985 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
4986 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4987 if (!SWIG_IsOK(res1)) {
4988 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4989 }
4990 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4991 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
4992 if (!SWIG_IsOK(res2)) {
4993 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
4994 }
4995 if (!argp2) {
4996 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
4997 }
4998 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
4999 {
5000 PyThreadState* __tstate = wxPyBeginAllowThreads();
5001 result = (int)(arg1)->CalcScrollInc(*arg2);
5002 wxPyEndAllowThreads(__tstate);
5003 if (PyErr_Occurred()) SWIG_fail;
5004 }
5005 resultobj = SWIG_From_int(static_cast< int >(result));
5006 return resultobj;
5007 fail:
5008 return NULL;
5009 }
5010
5011
5012 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5013 PyObject *resultobj = 0;
5014 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5015 wxWindow *arg2 = (wxWindow *) 0 ;
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 *) "target", NULL
5024 };
5025
5026 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",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_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5030 }
5031 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5032 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5033 if (!SWIG_IsOK(res2)) {
5034 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5035 }
5036 arg2 = reinterpret_cast< wxWindow * >(argp2);
5037 {
5038 PyThreadState* __tstate = wxPyBeginAllowThreads();
5039 (arg1)->SetTargetWindow(arg2);
5040 wxPyEndAllowThreads(__tstate);
5041 if (PyErr_Occurred()) SWIG_fail;
5042 }
5043 resultobj = SWIG_Py_Void();
5044 return resultobj;
5045 fail:
5046 return NULL;
5047 }
5048
5049
5050 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5051 PyObject *resultobj = 0;
5052 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5053 wxWindow *result = 0 ;
5054 void *argp1 = 0 ;
5055 int res1 = 0 ;
5056 PyObject *swig_obj[1] ;
5057
5058 if (!args) SWIG_fail;
5059 swig_obj[0] = args;
5060 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5061 if (!SWIG_IsOK(res1)) {
5062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5063 }
5064 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5065 {
5066 PyThreadState* __tstate = wxPyBeginAllowThreads();
5067 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5068 wxPyEndAllowThreads(__tstate);
5069 if (PyErr_Occurred()) SWIG_fail;
5070 }
5071 {
5072 resultobj = wxPyMake_wxObject(result, 0);
5073 }
5074 return resultobj;
5075 fail:
5076 return NULL;
5077 }
5078
5079
5080 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5081 PyObject *resultobj = 0;
5082 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5083 wxRect *arg2 = 0 ;
5084 void *argp1 = 0 ;
5085 int res1 = 0 ;
5086 wxRect temp2 ;
5087 PyObject * obj0 = 0 ;
5088 PyObject * obj1 = 0 ;
5089 char * kwnames[] = {
5090 (char *) "self",(char *) "rect", NULL
5091 };
5092
5093 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) SWIG_fail;
5094 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5095 if (!SWIG_IsOK(res1)) {
5096 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5097 }
5098 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5099 {
5100 arg2 = &temp2;
5101 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5102 }
5103 {
5104 PyThreadState* __tstate = wxPyBeginAllowThreads();
5105 (arg1)->SetTargetRect((wxRect const &)*arg2);
5106 wxPyEndAllowThreads(__tstate);
5107 if (PyErr_Occurred()) SWIG_fail;
5108 }
5109 resultobj = SWIG_Py_Void();
5110 return resultobj;
5111 fail:
5112 return NULL;
5113 }
5114
5115
5116 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5117 PyObject *resultobj = 0;
5118 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5119 wxRect result;
5120 void *argp1 = 0 ;
5121 int res1 = 0 ;
5122 PyObject *swig_obj[1] ;
5123
5124 if (!args) SWIG_fail;
5125 swig_obj[0] = args;
5126 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5127 if (!SWIG_IsOK(res1)) {
5128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5129 }
5130 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5131 {
5132 PyThreadState* __tstate = wxPyBeginAllowThreads();
5133 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
5134 wxPyEndAllowThreads(__tstate);
5135 if (PyErr_Occurred()) SWIG_fail;
5136 }
5137 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
5138 return resultobj;
5139 fail:
5140 return NULL;
5141 }
5142
5143
5144 SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5145 PyObject *resultobj = 0;
5146 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5147 wxDC *arg2 = 0 ;
5148 void *argp1 = 0 ;
5149 int res1 = 0 ;
5150 void *argp2 = 0 ;
5151 int res2 = 0 ;
5152 PyObject * obj0 = 0 ;
5153 PyObject * obj1 = 0 ;
5154 char * kwnames[] = {
5155 (char *) "self",(char *) "dc", NULL
5156 };
5157
5158 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) SWIG_fail;
5159 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5160 if (!SWIG_IsOK(res1)) {
5161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5162 }
5163 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5164 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5165 if (!SWIG_IsOK(res2)) {
5166 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5167 }
5168 if (!argp2) {
5169 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5170 }
5171 arg2 = reinterpret_cast< wxDC * >(argp2);
5172 {
5173 PyThreadState* __tstate = wxPyBeginAllowThreads();
5174 (arg1)->DoPrepareDC(*arg2);
5175 wxPyEndAllowThreads(__tstate);
5176 if (PyErr_Occurred()) SWIG_fail;
5177 }
5178 resultobj = SWIG_Py_Void();
5179 return resultobj;
5180 fail:
5181 return NULL;
5182 }
5183
5184
5185 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5186 PyObject *resultobj = 0;
5187 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5188 SwigValueWrapper<wxVisualAttributes > result;
5189 int val1 ;
5190 int ecode1 = 0 ;
5191 PyObject * obj0 = 0 ;
5192 char * kwnames[] = {
5193 (char *) "variant", NULL
5194 };
5195
5196 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5197 if (obj0) {
5198 ecode1 = SWIG_AsVal_int(obj0, &val1);
5199 if (!SWIG_IsOK(ecode1)) {
5200 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5201 }
5202 arg1 = static_cast< wxWindowVariant >(val1);
5203 }
5204 {
5205 if (!wxPyCheckForApp()) SWIG_fail;
5206 PyThreadState* __tstate = wxPyBeginAllowThreads();
5207 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5208 wxPyEndAllowThreads(__tstate);
5209 if (PyErr_Occurred()) SWIG_fail;
5210 }
5211 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5212 return resultobj;
5213 fail:
5214 return NULL;
5215 }
5216
5217
5218 SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5219 PyObject *obj;
5220 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5221 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5222 return SWIG_Py_Void();
5223 }
5224
5225 SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5226 return SWIG_Python_InitShadowInstance(args);
5227 }
5228
5229 SWIGINTERN int FrameNameStr_set(PyObject *) {
5230 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5231 return 1;
5232 }
5233
5234
5235 SWIGINTERN PyObject *FrameNameStr_get(void) {
5236 PyObject *pyobj = 0;
5237
5238 {
5239 #if wxUSE_UNICODE
5240 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5241 #else
5242 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5243 #endif
5244 }
5245 return pyobj;
5246 }
5247
5248
5249 SWIGINTERN int DialogNameStr_set(PyObject *) {
5250 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5251 return 1;
5252 }
5253
5254
5255 SWIGINTERN PyObject *DialogNameStr_get(void) {
5256 PyObject *pyobj = 0;
5257
5258 {
5259 #if wxUSE_UNICODE
5260 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5261 #else
5262 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5263 #endif
5264 }
5265 return pyobj;
5266 }
5267
5268
5269 SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5270 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5271 return 1;
5272 }
5273
5274
5275 SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5276 PyObject *pyobj = 0;
5277
5278 {
5279 #if wxUSE_UNICODE
5280 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5281 #else
5282 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5283 #endif
5284 }
5285 return pyobj;
5286 }
5287
5288
5289 SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5290 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5291 return 1;
5292 }
5293
5294
5295 SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5296 PyObject *pyobj = 0;
5297
5298 {
5299 #if wxUSE_UNICODE
5300 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5301 #else
5302 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5303 #endif
5304 }
5305 return pyobj;
5306 }
5307
5308
5309 SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5310 PyObject *resultobj = 0;
5311 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5312 bool arg2 = (bool) true ;
5313 void *argp1 = 0 ;
5314 int res1 = 0 ;
5315 bool val2 ;
5316 int ecode2 = 0 ;
5317 PyObject * obj0 = 0 ;
5318 PyObject * obj1 = 0 ;
5319 char * kwnames[] = {
5320 (char *) "self",(char *) "maximize", NULL
5321 };
5322
5323 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5324 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5325 if (!SWIG_IsOK(res1)) {
5326 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5327 }
5328 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5329 if (obj1) {
5330 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5331 if (!SWIG_IsOK(ecode2)) {
5332 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5333 }
5334 arg2 = static_cast< bool >(val2);
5335 }
5336 {
5337 PyThreadState* __tstate = wxPyBeginAllowThreads();
5338 (arg1)->Maximize(arg2);
5339 wxPyEndAllowThreads(__tstate);
5340 if (PyErr_Occurred()) SWIG_fail;
5341 }
5342 resultobj = SWIG_Py_Void();
5343 return resultobj;
5344 fail:
5345 return NULL;
5346 }
5347
5348
5349 SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5350 PyObject *resultobj = 0;
5351 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5352 void *argp1 = 0 ;
5353 int res1 = 0 ;
5354 PyObject *swig_obj[1] ;
5355
5356 if (!args) SWIG_fail;
5357 swig_obj[0] = args;
5358 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5359 if (!SWIG_IsOK(res1)) {
5360 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5361 }
5362 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5363 {
5364 PyThreadState* __tstate = wxPyBeginAllowThreads();
5365 (arg1)->Restore();
5366 wxPyEndAllowThreads(__tstate);
5367 if (PyErr_Occurred()) SWIG_fail;
5368 }
5369 resultobj = SWIG_Py_Void();
5370 return resultobj;
5371 fail:
5372 return NULL;
5373 }
5374
5375
5376 SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5377 PyObject *resultobj = 0;
5378 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5379 bool arg2 = (bool) true ;
5380 void *argp1 = 0 ;
5381 int res1 = 0 ;
5382 bool val2 ;
5383 int ecode2 = 0 ;
5384 PyObject * obj0 = 0 ;
5385 PyObject * obj1 = 0 ;
5386 char * kwnames[] = {
5387 (char *) "self",(char *) "iconize", NULL
5388 };
5389
5390 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5391 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5392 if (!SWIG_IsOK(res1)) {
5393 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5394 }
5395 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5396 if (obj1) {
5397 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5398 if (!SWIG_IsOK(ecode2)) {
5399 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5400 }
5401 arg2 = static_cast< bool >(val2);
5402 }
5403 {
5404 PyThreadState* __tstate = wxPyBeginAllowThreads();
5405 (arg1)->Iconize(arg2);
5406 wxPyEndAllowThreads(__tstate);
5407 if (PyErr_Occurred()) SWIG_fail;
5408 }
5409 resultobj = SWIG_Py_Void();
5410 return resultobj;
5411 fail:
5412 return NULL;
5413 }
5414
5415
5416 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5417 PyObject *resultobj = 0;
5418 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5419 bool result;
5420 void *argp1 = 0 ;
5421 int res1 = 0 ;
5422 PyObject *swig_obj[1] ;
5423
5424 if (!args) SWIG_fail;
5425 swig_obj[0] = args;
5426 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5427 if (!SWIG_IsOK(res1)) {
5428 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5429 }
5430 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5431 {
5432 PyThreadState* __tstate = wxPyBeginAllowThreads();
5433 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
5434 wxPyEndAllowThreads(__tstate);
5435 if (PyErr_Occurred()) SWIG_fail;
5436 }
5437 {
5438 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5439 }
5440 return resultobj;
5441 fail:
5442 return NULL;
5443 }
5444
5445
5446 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5447 PyObject *resultobj = 0;
5448 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5449 bool result;
5450 void *argp1 = 0 ;
5451 int res1 = 0 ;
5452 PyObject *swig_obj[1] ;
5453
5454 if (!args) SWIG_fail;
5455 swig_obj[0] = args;
5456 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5457 if (!SWIG_IsOK(res1)) {
5458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5459 }
5460 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5461 {
5462 PyThreadState* __tstate = wxPyBeginAllowThreads();
5463 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
5464 wxPyEndAllowThreads(__tstate);
5465 if (PyErr_Occurred()) SWIG_fail;
5466 }
5467 {
5468 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5469 }
5470 return resultobj;
5471 fail:
5472 return NULL;
5473 }
5474
5475
5476 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5477 PyObject *resultobj = 0;
5478 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5479 wxIcon result;
5480 void *argp1 = 0 ;
5481 int res1 = 0 ;
5482 PyObject *swig_obj[1] ;
5483
5484 if (!args) SWIG_fail;
5485 swig_obj[0] = args;
5486 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5487 if (!SWIG_IsOK(res1)) {
5488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5489 }
5490 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5491 {
5492 PyThreadState* __tstate = wxPyBeginAllowThreads();
5493 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
5494 wxPyEndAllowThreads(__tstate);
5495 if (PyErr_Occurred()) SWIG_fail;
5496 }
5497 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
5498 return resultobj;
5499 fail:
5500 return NULL;
5501 }
5502
5503
5504 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5505 PyObject *resultobj = 0;
5506 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5507 wxIcon *arg2 = 0 ;
5508 void *argp1 = 0 ;
5509 int res1 = 0 ;
5510 void *argp2 = 0 ;
5511 int res2 = 0 ;
5512 PyObject * obj0 = 0 ;
5513 PyObject * obj1 = 0 ;
5514 char * kwnames[] = {
5515 (char *) "self",(char *) "icon", NULL
5516 };
5517
5518 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
5519 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5520 if (!SWIG_IsOK(res1)) {
5521 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5522 }
5523 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5524 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
5525 if (!SWIG_IsOK(res2)) {
5526 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5527 }
5528 if (!argp2) {
5529 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5530 }
5531 arg2 = reinterpret_cast< wxIcon * >(argp2);
5532 {
5533 PyThreadState* __tstate = wxPyBeginAllowThreads();
5534 (arg1)->SetIcon((wxIcon const &)*arg2);
5535 wxPyEndAllowThreads(__tstate);
5536 if (PyErr_Occurred()) SWIG_fail;
5537 }
5538 resultobj = SWIG_Py_Void();
5539 return resultobj;
5540 fail:
5541 return NULL;
5542 }
5543
5544
5545 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5546 PyObject *resultobj = 0;
5547 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5548 wxIconBundle *arg2 = 0 ;
5549 void *argp1 = 0 ;
5550 int res1 = 0 ;
5551 void *argp2 = 0 ;
5552 int res2 = 0 ;
5553 PyObject * obj0 = 0 ;
5554 PyObject * obj1 = 0 ;
5555 char * kwnames[] = {
5556 (char *) "self",(char *) "icons", NULL
5557 };
5558
5559 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail;
5560 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5561 if (!SWIG_IsOK(res1)) {
5562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5563 }
5564 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5565 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0);
5566 if (!SWIG_IsOK(res2)) {
5567 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5568 }
5569 if (!argp2) {
5570 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5571 }
5572 arg2 = reinterpret_cast< wxIconBundle * >(argp2);
5573 {
5574 PyThreadState* __tstate = wxPyBeginAllowThreads();
5575 (arg1)->SetIcons((wxIconBundle const &)*arg2);
5576 wxPyEndAllowThreads(__tstate);
5577 if (PyErr_Occurred()) SWIG_fail;
5578 }
5579 resultobj = SWIG_Py_Void();
5580 return resultobj;
5581 fail:
5582 return NULL;
5583 }
5584
5585
5586 SWIGINTERN PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5587 PyObject *resultobj = 0;
5588 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5589 bool arg2 ;
5590 long arg3 = (long) wxFULLSCREEN_ALL ;
5591 bool result;
5592 void *argp1 = 0 ;
5593 int res1 = 0 ;
5594 bool val2 ;
5595 int ecode2 = 0 ;
5596 long val3 ;
5597 int ecode3 = 0 ;
5598 PyObject * obj0 = 0 ;
5599 PyObject * obj1 = 0 ;
5600 PyObject * obj2 = 0 ;
5601 char * kwnames[] = {
5602 (char *) "self",(char *) "show",(char *) "style", NULL
5603 };
5604
5605 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5606 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5607 if (!SWIG_IsOK(res1)) {
5608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5609 }
5610 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5611 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5612 if (!SWIG_IsOK(ecode2)) {
5613 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5614 }
5615 arg2 = static_cast< bool >(val2);
5616 if (obj2) {
5617 ecode3 = SWIG_AsVal_long(obj2, &val3);
5618 if (!SWIG_IsOK(ecode3)) {
5619 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5620 }
5621 arg3 = static_cast< long >(val3);
5622 }
5623 {
5624 PyThreadState* __tstate = wxPyBeginAllowThreads();
5625 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
5626 wxPyEndAllowThreads(__tstate);
5627 if (PyErr_Occurred()) SWIG_fail;
5628 }
5629 {
5630 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5631 }
5632 return resultobj;
5633 fail:
5634 return NULL;
5635 }
5636
5637
5638 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5639 PyObject *resultobj = 0;
5640 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5641 bool result;
5642 void *argp1 = 0 ;
5643 int res1 = 0 ;
5644 PyObject *swig_obj[1] ;
5645
5646 if (!args) SWIG_fail;
5647 swig_obj[0] = args;
5648 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5649 if (!SWIG_IsOK(res1)) {
5650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5651 }
5652 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5653 {
5654 PyThreadState* __tstate = wxPyBeginAllowThreads();
5655 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
5656 wxPyEndAllowThreads(__tstate);
5657 if (PyErr_Occurred()) SWIG_fail;
5658 }
5659 {
5660 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5661 }
5662 return resultobj;
5663 fail:
5664 return NULL;
5665 }
5666
5667
5668 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5669 PyObject *resultobj = 0;
5670 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5671 wxString *arg2 = 0 ;
5672 void *argp1 = 0 ;
5673 int res1 = 0 ;
5674 bool temp2 = false ;
5675 PyObject * obj0 = 0 ;
5676 PyObject * obj1 = 0 ;
5677 char * kwnames[] = {
5678 (char *) "self",(char *) "title", NULL
5679 };
5680
5681 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
5682 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5683 if (!SWIG_IsOK(res1)) {
5684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5685 }
5686 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5687 {
5688 arg2 = wxString_in_helper(obj1);
5689 if (arg2 == NULL) SWIG_fail;
5690 temp2 = true;
5691 }
5692 {
5693 PyThreadState* __tstate = wxPyBeginAllowThreads();
5694 (arg1)->SetTitle((wxString const &)*arg2);
5695 wxPyEndAllowThreads(__tstate);
5696 if (PyErr_Occurred()) SWIG_fail;
5697 }
5698 resultobj = SWIG_Py_Void();
5699 {
5700 if (temp2)
5701 delete arg2;
5702 }
5703 return resultobj;
5704 fail:
5705 {
5706 if (temp2)
5707 delete arg2;
5708 }
5709 return NULL;
5710 }
5711
5712
5713 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5714 PyObject *resultobj = 0;
5715 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5716 wxString result;
5717 void *argp1 = 0 ;
5718 int res1 = 0 ;
5719 PyObject *swig_obj[1] ;
5720
5721 if (!args) SWIG_fail;
5722 swig_obj[0] = args;
5723 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5724 if (!SWIG_IsOK(res1)) {
5725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5726 }
5727 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5728 {
5729 PyThreadState* __tstate = wxPyBeginAllowThreads();
5730 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
5731 wxPyEndAllowThreads(__tstate);
5732 if (PyErr_Occurred()) SWIG_fail;
5733 }
5734 {
5735 #if wxUSE_UNICODE
5736 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5737 #else
5738 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5739 #endif
5740 }
5741 return resultobj;
5742 fail:
5743 return NULL;
5744 }
5745
5746
5747 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5748 PyObject *resultobj = 0;
5749 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5750 wxRegion *arg2 = 0 ;
5751 bool result;
5752 void *argp1 = 0 ;
5753 int res1 = 0 ;
5754 void *argp2 = 0 ;
5755 int res2 = 0 ;
5756 PyObject * obj0 = 0 ;
5757 PyObject * obj1 = 0 ;
5758 char * kwnames[] = {
5759 (char *) "self",(char *) "region", NULL
5760 };
5761
5762 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) SWIG_fail;
5763 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5764 if (!SWIG_IsOK(res1)) {
5765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5766 }
5767 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5768 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRegion, 0 | 0);
5769 if (!SWIG_IsOK(res2)) {
5770 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5771 }
5772 if (!argp2) {
5773 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5774 }
5775 arg2 = reinterpret_cast< wxRegion * >(argp2);
5776 {
5777 PyThreadState* __tstate = wxPyBeginAllowThreads();
5778 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
5779 wxPyEndAllowThreads(__tstate);
5780 if (PyErr_Occurred()) SWIG_fail;
5781 }
5782 {
5783 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5784 }
5785 return resultobj;
5786 fail:
5787 return NULL;
5788 }
5789
5790
5791 SWIGINTERN PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5792 PyObject *resultobj = 0;
5793 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5794 int arg2 = (int) wxUSER_ATTENTION_INFO ;
5795 void *argp1 = 0 ;
5796 int res1 = 0 ;
5797 int val2 ;
5798 int ecode2 = 0 ;
5799 PyObject * obj0 = 0 ;
5800 PyObject * obj1 = 0 ;
5801 char * kwnames[] = {
5802 (char *) "self",(char *) "flags", NULL
5803 };
5804
5805 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) SWIG_fail;
5806 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5807 if (!SWIG_IsOK(res1)) {
5808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5809 }
5810 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5811 if (obj1) {
5812 ecode2 = SWIG_AsVal_int(obj1, &val2);
5813 if (!SWIG_IsOK(ecode2)) {
5814 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5815 }
5816 arg2 = static_cast< int >(val2);
5817 }
5818 {
5819 PyThreadState* __tstate = wxPyBeginAllowThreads();
5820 (arg1)->RequestUserAttention(arg2);
5821 wxPyEndAllowThreads(__tstate);
5822 if (PyErr_Occurred()) SWIG_fail;
5823 }
5824 resultobj = SWIG_Py_Void();
5825 return resultobj;
5826 fail:
5827 return NULL;
5828 }
5829
5830
5831 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5832 PyObject *resultobj = 0;
5833 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5834 bool result;
5835 void *argp1 = 0 ;
5836 int res1 = 0 ;
5837 PyObject *swig_obj[1] ;
5838
5839 if (!args) SWIG_fail;
5840 swig_obj[0] = args;
5841 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5842 if (!SWIG_IsOK(res1)) {
5843 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5844 }
5845 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5846 {
5847 PyThreadState* __tstate = wxPyBeginAllowThreads();
5848 result = (bool)(arg1)->IsActive();
5849 wxPyEndAllowThreads(__tstate);
5850 if (PyErr_Occurred()) SWIG_fail;
5851 }
5852 {
5853 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5854 }
5855 return resultobj;
5856 fail:
5857 return NULL;
5858 }
5859
5860
5861 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5862 PyObject *resultobj = 0;
5863 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5864 bool arg2 ;
5865 void *argp1 = 0 ;
5866 int res1 = 0 ;
5867 bool val2 ;
5868 int ecode2 = 0 ;
5869 PyObject * obj0 = 0 ;
5870 PyObject * obj1 = 0 ;
5871 char * kwnames[] = {
5872 (char *) "self",(char *) "on", NULL
5873 };
5874
5875 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) SWIG_fail;
5876 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5877 if (!SWIG_IsOK(res1)) {
5878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5879 }
5880 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5881 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5882 if (!SWIG_IsOK(ecode2)) {
5883 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5884 }
5885 arg2 = static_cast< bool >(val2);
5886 {
5887 PyThreadState* __tstate = wxPyBeginAllowThreads();
5888 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
5889 wxPyEndAllowThreads(__tstate);
5890 if (PyErr_Occurred()) SWIG_fail;
5891 }
5892 resultobj = SWIG_Py_Void();
5893 return resultobj;
5894 fail:
5895 return NULL;
5896 }
5897
5898
5899 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5900 PyObject *resultobj = 0;
5901 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5902 bool result;
5903 void *argp1 = 0 ;
5904 int res1 = 0 ;
5905 PyObject *swig_obj[1] ;
5906
5907 if (!args) SWIG_fail;
5908 swig_obj[0] = args;
5909 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5910 if (!SWIG_IsOK(res1)) {
5911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5912 }
5913 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5914 {
5915 PyThreadState* __tstate = wxPyBeginAllowThreads();
5916 result = (bool)((wxTopLevelWindow const *)arg1)->MacGetMetalAppearance();
5917 wxPyEndAllowThreads(__tstate);
5918 if (PyErr_Occurred()) SWIG_fail;
5919 }
5920 {
5921 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5922 }
5923 return resultobj;
5924 fail:
5925 return NULL;
5926 }
5927
5928
5929 SWIGINTERN PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5930 PyObject *resultobj = 0;
5931 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5932 int arg2 = (int) wxBOTH ;
5933 void *argp1 = 0 ;
5934 int res1 = 0 ;
5935 int val2 ;
5936 int ecode2 = 0 ;
5937 PyObject * obj0 = 0 ;
5938 PyObject * obj1 = 0 ;
5939 char * kwnames[] = {
5940 (char *) "self",(char *) "dir", NULL
5941 };
5942
5943 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) SWIG_fail;
5944 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5945 if (!SWIG_IsOK(res1)) {
5946 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5947 }
5948 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5949 if (obj1) {
5950 ecode2 = SWIG_AsVal_int(obj1, &val2);
5951 if (!SWIG_IsOK(ecode2)) {
5952 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
5953 }
5954 arg2 = static_cast< int >(val2);
5955 }
5956 {
5957 PyThreadState* __tstate = wxPyBeginAllowThreads();
5958 (arg1)->CenterOnScreen(arg2);
5959 wxPyEndAllowThreads(__tstate);
5960 if (PyErr_Occurred()) SWIG_fail;
5961 }
5962 resultobj = SWIG_Py_Void();
5963 return resultobj;
5964 fail:
5965 return NULL;
5966 }
5967
5968
5969 SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5970 PyObject *obj;
5971 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5972 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow, SWIG_NewClientData(obj));
5973 return SWIG_Py_Void();
5974 }
5975
5976 SWIGINTERN PyObject *_wrap_new_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5977 PyObject *resultobj = 0;
5978 wxWindow *arg1 = (wxWindow *) 0 ;
5979 int arg2 = (int) (int)-1 ;
5980 wxString const &arg3_defvalue = wxPyEmptyString ;
5981 wxString *arg3 = (wxString *) &arg3_defvalue ;
5982 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5983 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5984 wxSize const &arg5_defvalue = wxDefaultSize ;
5985 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5986 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
5987 wxString const &arg7_defvalue = wxPyFrameNameStr ;
5988 wxString *arg7 = (wxString *) &arg7_defvalue ;
5989 wxFrame *result = 0 ;
5990 void *argp1 = 0 ;
5991 int res1 = 0 ;
5992 int val2 ;
5993 int ecode2 = 0 ;
5994 bool temp3 = false ;
5995 wxPoint temp4 ;
5996 wxSize temp5 ;
5997 long val6 ;
5998 int ecode6 = 0 ;
5999 bool temp7 = false ;
6000 PyObject * obj0 = 0 ;
6001 PyObject * obj1 = 0 ;
6002 PyObject * obj2 = 0 ;
6003 PyObject * obj3 = 0 ;
6004 PyObject * obj4 = 0 ;
6005 PyObject * obj5 = 0 ;
6006 PyObject * obj6 = 0 ;
6007 char * kwnames[] = {
6008 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6009 };
6010
6011 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6012 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6013 if (!SWIG_IsOK(res1)) {
6014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6015 }
6016 arg1 = reinterpret_cast< wxWindow * >(argp1);
6017 if (obj1) {
6018 ecode2 = SWIG_AsVal_int(obj1, &val2);
6019 if (!SWIG_IsOK(ecode2)) {
6020 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6021 }
6022 arg2 = static_cast< int >(val2);
6023 }
6024 if (obj2) {
6025 {
6026 arg3 = wxString_in_helper(obj2);
6027 if (arg3 == NULL) SWIG_fail;
6028 temp3 = true;
6029 }
6030 }
6031 if (obj3) {
6032 {
6033 arg4 = &temp4;
6034 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6035 }
6036 }
6037 if (obj4) {
6038 {
6039 arg5 = &temp5;
6040 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6041 }
6042 }
6043 if (obj5) {
6044 ecode6 = SWIG_AsVal_long(obj5, &val6);
6045 if (!SWIG_IsOK(ecode6)) {
6046 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6047 }
6048 arg6 = static_cast< long >(val6);
6049 }
6050 if (obj6) {
6051 {
6052 arg7 = wxString_in_helper(obj6);
6053 if (arg7 == NULL) SWIG_fail;
6054 temp7 = true;
6055 }
6056 }
6057 {
6058 if (!wxPyCheckForApp()) SWIG_fail;
6059 PyThreadState* __tstate = wxPyBeginAllowThreads();
6060 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6061 wxPyEndAllowThreads(__tstate);
6062 if (PyErr_Occurred()) SWIG_fail;
6063 }
6064 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_NEW | 0 );
6065 {
6066 if (temp3)
6067 delete arg3;
6068 }
6069 {
6070 if (temp7)
6071 delete arg7;
6072 }
6073 return resultobj;
6074 fail:
6075 {
6076 if (temp3)
6077 delete arg3;
6078 }
6079 {
6080 if (temp7)
6081 delete arg7;
6082 }
6083 return NULL;
6084 }
6085
6086
6087 SWIGINTERN PyObject *_wrap_new_PreFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6088 PyObject *resultobj = 0;
6089 wxFrame *result = 0 ;
6090
6091 if (!SWIG_Python_UnpackTuple(args,"new_PreFrame",0,0,0)) SWIG_fail;
6092 {
6093 if (!wxPyCheckForApp()) SWIG_fail;
6094 PyThreadState* __tstate = wxPyBeginAllowThreads();
6095 result = (wxFrame *)new wxFrame();
6096 wxPyEndAllowThreads(__tstate);
6097 if (PyErr_Occurred()) SWIG_fail;
6098 }
6099 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_OWN | 0 );
6100 return resultobj;
6101 fail:
6102 return NULL;
6103 }
6104
6105
6106 SWIGINTERN PyObject *_wrap_Frame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6107 PyObject *resultobj = 0;
6108 wxFrame *arg1 = (wxFrame *) 0 ;
6109 wxWindow *arg2 = (wxWindow *) 0 ;
6110 int arg3 = (int) (int)-1 ;
6111 wxString const &arg4_defvalue = wxPyEmptyString ;
6112 wxString *arg4 = (wxString *) &arg4_defvalue ;
6113 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6114 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6115 wxSize const &arg6_defvalue = wxDefaultSize ;
6116 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6117 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6118 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6119 wxString *arg8 = (wxString *) &arg8_defvalue ;
6120 bool result;
6121 void *argp1 = 0 ;
6122 int res1 = 0 ;
6123 void *argp2 = 0 ;
6124 int res2 = 0 ;
6125 int val3 ;
6126 int ecode3 = 0 ;
6127 bool temp4 = false ;
6128 wxPoint temp5 ;
6129 wxSize temp6 ;
6130 long val7 ;
6131 int ecode7 = 0 ;
6132 bool temp8 = false ;
6133 PyObject * obj0 = 0 ;
6134 PyObject * obj1 = 0 ;
6135 PyObject * obj2 = 0 ;
6136 PyObject * obj3 = 0 ;
6137 PyObject * obj4 = 0 ;
6138 PyObject * obj5 = 0 ;
6139 PyObject * obj6 = 0 ;
6140 PyObject * obj7 = 0 ;
6141 char * kwnames[] = {
6142 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6143 };
6144
6145 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6146 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6147 if (!SWIG_IsOK(res1)) {
6148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6149 }
6150 arg1 = reinterpret_cast< wxFrame * >(argp1);
6151 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6152 if (!SWIG_IsOK(res2)) {
6153 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6154 }
6155 arg2 = reinterpret_cast< wxWindow * >(argp2);
6156 if (obj2) {
6157 ecode3 = SWIG_AsVal_int(obj2, &val3);
6158 if (!SWIG_IsOK(ecode3)) {
6159 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6160 }
6161 arg3 = static_cast< int >(val3);
6162 }
6163 if (obj3) {
6164 {
6165 arg4 = wxString_in_helper(obj3);
6166 if (arg4 == NULL) SWIG_fail;
6167 temp4 = true;
6168 }
6169 }
6170 if (obj4) {
6171 {
6172 arg5 = &temp5;
6173 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6174 }
6175 }
6176 if (obj5) {
6177 {
6178 arg6 = &temp6;
6179 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6180 }
6181 }
6182 if (obj6) {
6183 ecode7 = SWIG_AsVal_long(obj6, &val7);
6184 if (!SWIG_IsOK(ecode7)) {
6185 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6186 }
6187 arg7 = static_cast< long >(val7);
6188 }
6189 if (obj7) {
6190 {
6191 arg8 = wxString_in_helper(obj7);
6192 if (arg8 == NULL) SWIG_fail;
6193 temp8 = true;
6194 }
6195 }
6196 {
6197 PyThreadState* __tstate = wxPyBeginAllowThreads();
6198 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6199 wxPyEndAllowThreads(__tstate);
6200 if (PyErr_Occurred()) SWIG_fail;
6201 }
6202 {
6203 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6204 }
6205 {
6206 if (temp4)
6207 delete arg4;
6208 }
6209 {
6210 if (temp8)
6211 delete arg8;
6212 }
6213 return resultobj;
6214 fail:
6215 {
6216 if (temp4)
6217 delete arg4;
6218 }
6219 {
6220 if (temp8)
6221 delete arg8;
6222 }
6223 return NULL;
6224 }
6225
6226
6227 SWIGINTERN PyObject *_wrap_Frame_SendSizeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6228 PyObject *resultobj = 0;
6229 wxFrame *arg1 = (wxFrame *) 0 ;
6230 void *argp1 = 0 ;
6231 int res1 = 0 ;
6232 PyObject *swig_obj[1] ;
6233
6234 if (!args) SWIG_fail;
6235 swig_obj[0] = args;
6236 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6237 if (!SWIG_IsOK(res1)) {
6238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6239 }
6240 arg1 = reinterpret_cast< wxFrame * >(argp1);
6241 {
6242 PyThreadState* __tstate = wxPyBeginAllowThreads();
6243 (arg1)->SendSizeEvent();
6244 wxPyEndAllowThreads(__tstate);
6245 if (PyErr_Occurred()) SWIG_fail;
6246 }
6247 resultobj = SWIG_Py_Void();
6248 return resultobj;
6249 fail:
6250 return NULL;
6251 }
6252
6253
6254 SWIGINTERN PyObject *_wrap_Frame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6255 PyObject *resultobj = 0;
6256 wxFrame *arg1 = (wxFrame *) 0 ;
6257 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
6258 void *argp1 = 0 ;
6259 int res1 = 0 ;
6260 void *argp2 = 0 ;
6261 int res2 = 0 ;
6262 PyObject * obj0 = 0 ;
6263 PyObject * obj1 = 0 ;
6264 char * kwnames[] = {
6265 (char *) "self",(char *) "menubar", NULL
6266 };
6267
6268 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail;
6269 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6270 if (!SWIG_IsOK(res1)) {
6271 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6272 }
6273 arg1 = reinterpret_cast< wxFrame * >(argp1);
6274 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 );
6275 if (!SWIG_IsOK(res2)) {
6276 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6277 }
6278 arg2 = reinterpret_cast< wxMenuBar * >(argp2);
6279 {
6280 PyThreadState* __tstate = wxPyBeginAllowThreads();
6281 (arg1)->SetMenuBar(arg2);
6282 wxPyEndAllowThreads(__tstate);
6283 if (PyErr_Occurred()) SWIG_fail;
6284 }
6285 resultobj = SWIG_Py_Void();
6286 return resultobj;
6287 fail:
6288 return NULL;
6289 }
6290
6291
6292 SWIGINTERN PyObject *_wrap_Frame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6293 PyObject *resultobj = 0;
6294 wxFrame *arg1 = (wxFrame *) 0 ;
6295 wxMenuBar *result = 0 ;
6296 void *argp1 = 0 ;
6297 int res1 = 0 ;
6298 PyObject *swig_obj[1] ;
6299
6300 if (!args) SWIG_fail;
6301 swig_obj[0] = args;
6302 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6303 if (!SWIG_IsOK(res1)) {
6304 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6305 }
6306 arg1 = reinterpret_cast< wxFrame * >(argp1);
6307 {
6308 PyThreadState* __tstate = wxPyBeginAllowThreads();
6309 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
6310 wxPyEndAllowThreads(__tstate);
6311 if (PyErr_Occurred()) SWIG_fail;
6312 }
6313 {
6314 resultobj = wxPyMake_wxObject(result, 0);
6315 }
6316 return resultobj;
6317 fail:
6318 return NULL;
6319 }
6320
6321
6322 SWIGINTERN PyObject *_wrap_Frame_ProcessCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6323 PyObject *resultobj = 0;
6324 wxFrame *arg1 = (wxFrame *) 0 ;
6325 int arg2 ;
6326 bool result;
6327 void *argp1 = 0 ;
6328 int res1 = 0 ;
6329 int val2 ;
6330 int ecode2 = 0 ;
6331 PyObject * obj0 = 0 ;
6332 PyObject * obj1 = 0 ;
6333 char * kwnames[] = {
6334 (char *) "self",(char *) "winid", NULL
6335 };
6336
6337 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) SWIG_fail;
6338 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6339 if (!SWIG_IsOK(res1)) {
6340 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6341 }
6342 arg1 = reinterpret_cast< wxFrame * >(argp1);
6343 ecode2 = SWIG_AsVal_int(obj1, &val2);
6344 if (!SWIG_IsOK(ecode2)) {
6345 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6346 }
6347 arg2 = static_cast< int >(val2);
6348 {
6349 PyThreadState* __tstate = wxPyBeginAllowThreads();
6350 result = (bool)(arg1)->ProcessCommand(arg2);
6351 wxPyEndAllowThreads(__tstate);
6352 if (PyErr_Occurred()) SWIG_fail;
6353 }
6354 {
6355 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6356 }
6357 return resultobj;
6358 fail:
6359 return NULL;
6360 }
6361
6362
6363 SWIGINTERN PyObject *_wrap_Frame_CreateStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6364 PyObject *resultobj = 0;
6365 wxFrame *arg1 = (wxFrame *) 0 ;
6366 int arg2 = (int) 1 ;
6367 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6368 int arg4 = (int) 0 ;
6369 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6370 wxString *arg5 = (wxString *) &arg5_defvalue ;
6371 wxStatusBar *result = 0 ;
6372 void *argp1 = 0 ;
6373 int res1 = 0 ;
6374 int val2 ;
6375 int ecode2 = 0 ;
6376 long val3 ;
6377 int ecode3 = 0 ;
6378 int val4 ;
6379 int ecode4 = 0 ;
6380 bool temp5 = false ;
6381 PyObject * obj0 = 0 ;
6382 PyObject * obj1 = 0 ;
6383 PyObject * obj2 = 0 ;
6384 PyObject * obj3 = 0 ;
6385 PyObject * obj4 = 0 ;
6386 char * kwnames[] = {
6387 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6388 };
6389
6390 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
6391 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6392 if (!SWIG_IsOK(res1)) {
6393 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6394 }
6395 arg1 = reinterpret_cast< wxFrame * >(argp1);
6396 if (obj1) {
6397 ecode2 = SWIG_AsVal_int(obj1, &val2);
6398 if (!SWIG_IsOK(ecode2)) {
6399 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6400 }
6401 arg2 = static_cast< int >(val2);
6402 }
6403 if (obj2) {
6404 ecode3 = SWIG_AsVal_long(obj2, &val3);
6405 if (!SWIG_IsOK(ecode3)) {
6406 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6407 }
6408 arg3 = static_cast< long >(val3);
6409 }
6410 if (obj3) {
6411 ecode4 = SWIG_AsVal_int(obj3, &val4);
6412 if (!SWIG_IsOK(ecode4)) {
6413 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6414 }
6415 arg4 = static_cast< int >(val4);
6416 }
6417 if (obj4) {
6418 {
6419 arg5 = wxString_in_helper(obj4);
6420 if (arg5 == NULL) SWIG_fail;
6421 temp5 = true;
6422 }
6423 }
6424 {
6425 PyThreadState* __tstate = wxPyBeginAllowThreads();
6426 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
6427 wxPyEndAllowThreads(__tstate);
6428 if (PyErr_Occurred()) SWIG_fail;
6429 }
6430 {
6431 resultobj = wxPyMake_wxObject(result, (bool)0);
6432 }
6433 {
6434 if (temp5)
6435 delete arg5;
6436 }
6437 return resultobj;
6438 fail:
6439 {
6440 if (temp5)
6441 delete arg5;
6442 }
6443 return NULL;
6444 }
6445
6446
6447 SWIGINTERN PyObject *_wrap_Frame_GetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6448 PyObject *resultobj = 0;
6449 wxFrame *arg1 = (wxFrame *) 0 ;
6450 wxStatusBar *result = 0 ;
6451 void *argp1 = 0 ;
6452 int res1 = 0 ;
6453 PyObject *swig_obj[1] ;
6454
6455 if (!args) SWIG_fail;
6456 swig_obj[0] = args;
6457 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6458 if (!SWIG_IsOK(res1)) {
6459 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6460 }
6461 arg1 = reinterpret_cast< wxFrame * >(argp1);
6462 {
6463 PyThreadState* __tstate = wxPyBeginAllowThreads();
6464 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
6465 wxPyEndAllowThreads(__tstate);
6466 if (PyErr_Occurred()) SWIG_fail;
6467 }
6468 {
6469 resultobj = wxPyMake_wxObject(result, (bool)0);
6470 }
6471 return resultobj;
6472 fail:
6473 return NULL;
6474 }
6475
6476
6477 SWIGINTERN PyObject *_wrap_Frame_SetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6478 PyObject *resultobj = 0;
6479 wxFrame *arg1 = (wxFrame *) 0 ;
6480 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
6481 void *argp1 = 0 ;
6482 int res1 = 0 ;
6483 void *argp2 = 0 ;
6484 int res2 = 0 ;
6485 PyObject * obj0 = 0 ;
6486 PyObject * obj1 = 0 ;
6487 char * kwnames[] = {
6488 (char *) "self",(char *) "statBar", NULL
6489 };
6490
6491 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
6492 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6493 if (!SWIG_IsOK(res1)) {
6494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6495 }
6496 arg1 = reinterpret_cast< wxFrame * >(argp1);
6497 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxStatusBar, 0 | 0 );
6498 if (!SWIG_IsOK(res2)) {
6499 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6500 }
6501 arg2 = reinterpret_cast< wxStatusBar * >(argp2);
6502 {
6503 PyThreadState* __tstate = wxPyBeginAllowThreads();
6504 (arg1)->SetStatusBar(arg2);
6505 wxPyEndAllowThreads(__tstate);
6506 if (PyErr_Occurred()) SWIG_fail;
6507 }
6508 resultobj = SWIG_Py_Void();
6509 return resultobj;
6510 fail:
6511 return NULL;
6512 }
6513
6514
6515 SWIGINTERN PyObject *_wrap_Frame_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6516 PyObject *resultobj = 0;
6517 wxFrame *arg1 = (wxFrame *) 0 ;
6518 wxString *arg2 = 0 ;
6519 int arg3 = (int) 0 ;
6520 void *argp1 = 0 ;
6521 int res1 = 0 ;
6522 bool temp2 = false ;
6523 int val3 ;
6524 int ecode3 = 0 ;
6525 PyObject * obj0 = 0 ;
6526 PyObject * obj1 = 0 ;
6527 PyObject * obj2 = 0 ;
6528 char * kwnames[] = {
6529 (char *) "self",(char *) "text",(char *) "number", NULL
6530 };
6531
6532 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6533 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6534 if (!SWIG_IsOK(res1)) {
6535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6536 }
6537 arg1 = reinterpret_cast< wxFrame * >(argp1);
6538 {
6539 arg2 = wxString_in_helper(obj1);
6540 if (arg2 == NULL) SWIG_fail;
6541 temp2 = true;
6542 }
6543 if (obj2) {
6544 ecode3 = SWIG_AsVal_int(obj2, &val3);
6545 if (!SWIG_IsOK(ecode3)) {
6546 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6547 }
6548 arg3 = static_cast< int >(val3);
6549 }
6550 {
6551 PyThreadState* __tstate = wxPyBeginAllowThreads();
6552 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6553 wxPyEndAllowThreads(__tstate);
6554 if (PyErr_Occurred()) SWIG_fail;
6555 }
6556 resultobj = SWIG_Py_Void();
6557 {
6558 if (temp2)
6559 delete arg2;
6560 }
6561 return resultobj;
6562 fail:
6563 {
6564 if (temp2)
6565 delete arg2;
6566 }
6567 return NULL;
6568 }
6569
6570
6571 SWIGINTERN PyObject *_wrap_Frame_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6572 PyObject *resultobj = 0;
6573 wxFrame *arg1 = (wxFrame *) 0 ;
6574 int arg2 ;
6575 int *arg3 = (int *) 0 ;
6576 void *argp1 = 0 ;
6577 int res1 = 0 ;
6578 PyObject * obj0 = 0 ;
6579 PyObject * obj1 = 0 ;
6580 char * kwnames[] = {
6581 (char *) "self",(char *) "widths", NULL
6582 };
6583
6584 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
6585 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6586 if (!SWIG_IsOK(res1)) {
6587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6588 }
6589 arg1 = reinterpret_cast< wxFrame * >(argp1);
6590 {
6591 arg2 = PyList_Size(obj1);
6592 arg3 = int_LIST_helper(obj1);
6593 if (arg3 == NULL) SWIG_fail;
6594 }
6595 {
6596 PyThreadState* __tstate = wxPyBeginAllowThreads();
6597 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
6598 wxPyEndAllowThreads(__tstate);
6599 if (PyErr_Occurred()) SWIG_fail;
6600 }
6601 resultobj = SWIG_Py_Void();
6602 {
6603 if (arg3) delete [] arg3;
6604 }
6605 return resultobj;
6606 fail:
6607 {
6608 if (arg3) delete [] arg3;
6609 }
6610 return NULL;
6611 }
6612
6613
6614 SWIGINTERN PyObject *_wrap_Frame_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6615 PyObject *resultobj = 0;
6616 wxFrame *arg1 = (wxFrame *) 0 ;
6617 wxString *arg2 = 0 ;
6618 int arg3 = (int) 0 ;
6619 void *argp1 = 0 ;
6620 int res1 = 0 ;
6621 bool temp2 = false ;
6622 int val3 ;
6623 int ecode3 = 0 ;
6624 PyObject * obj0 = 0 ;
6625 PyObject * obj1 = 0 ;
6626 PyObject * obj2 = 0 ;
6627 char * kwnames[] = {
6628 (char *) "self",(char *) "text",(char *) "number", NULL
6629 };
6630
6631 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6632 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6633 if (!SWIG_IsOK(res1)) {
6634 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6635 }
6636 arg1 = reinterpret_cast< wxFrame * >(argp1);
6637 {
6638 arg2 = wxString_in_helper(obj1);
6639 if (arg2 == NULL) SWIG_fail;
6640 temp2 = true;
6641 }
6642 if (obj2) {
6643 ecode3 = SWIG_AsVal_int(obj2, &val3);
6644 if (!SWIG_IsOK(ecode3)) {
6645 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6646 }
6647 arg3 = static_cast< int >(val3);
6648 }
6649 {
6650 PyThreadState* __tstate = wxPyBeginAllowThreads();
6651 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
6652 wxPyEndAllowThreads(__tstate);
6653 if (PyErr_Occurred()) SWIG_fail;
6654 }
6655 resultobj = SWIG_Py_Void();
6656 {
6657 if (temp2)
6658 delete arg2;
6659 }
6660 return resultobj;
6661 fail:
6662 {
6663 if (temp2)
6664 delete arg2;
6665 }
6666 return NULL;
6667 }
6668
6669
6670 SWIGINTERN PyObject *_wrap_Frame_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6671 PyObject *resultobj = 0;
6672 wxFrame *arg1 = (wxFrame *) 0 ;
6673 int arg2 = (int) 0 ;
6674 void *argp1 = 0 ;
6675 int res1 = 0 ;
6676 int val2 ;
6677 int ecode2 = 0 ;
6678 PyObject * obj0 = 0 ;
6679 PyObject * obj1 = 0 ;
6680 char * kwnames[] = {
6681 (char *) "self",(char *) "number", NULL
6682 };
6683
6684 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
6685 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6686 if (!SWIG_IsOK(res1)) {
6687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6688 }
6689 arg1 = reinterpret_cast< wxFrame * >(argp1);
6690 if (obj1) {
6691 ecode2 = SWIG_AsVal_int(obj1, &val2);
6692 if (!SWIG_IsOK(ecode2)) {
6693 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6694 }
6695 arg2 = static_cast< int >(val2);
6696 }
6697 {
6698 PyThreadState* __tstate = wxPyBeginAllowThreads();
6699 (arg1)->PopStatusText(arg2);
6700 wxPyEndAllowThreads(__tstate);
6701 if (PyErr_Occurred()) SWIG_fail;
6702 }
6703 resultobj = SWIG_Py_Void();
6704 return resultobj;
6705 fail:
6706 return NULL;
6707 }
6708
6709
6710 SWIGINTERN PyObject *_wrap_Frame_SetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6711 PyObject *resultobj = 0;
6712 wxFrame *arg1 = (wxFrame *) 0 ;
6713 int arg2 ;
6714 void *argp1 = 0 ;
6715 int res1 = 0 ;
6716 int val2 ;
6717 int ecode2 = 0 ;
6718 PyObject * obj0 = 0 ;
6719 PyObject * obj1 = 0 ;
6720 char * kwnames[] = {
6721 (char *) "self",(char *) "n", NULL
6722 };
6723
6724 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) SWIG_fail;
6725 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6726 if (!SWIG_IsOK(res1)) {
6727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6728 }
6729 arg1 = reinterpret_cast< wxFrame * >(argp1);
6730 ecode2 = SWIG_AsVal_int(obj1, &val2);
6731 if (!SWIG_IsOK(ecode2)) {
6732 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6733 }
6734 arg2 = static_cast< int >(val2);
6735 {
6736 PyThreadState* __tstate = wxPyBeginAllowThreads();
6737 (arg1)->SetStatusBarPane(arg2);
6738 wxPyEndAllowThreads(__tstate);
6739 if (PyErr_Occurred()) SWIG_fail;
6740 }
6741 resultobj = SWIG_Py_Void();
6742 return resultobj;
6743 fail:
6744 return NULL;
6745 }
6746
6747
6748 SWIGINTERN PyObject *_wrap_Frame_GetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6749 PyObject *resultobj = 0;
6750 wxFrame *arg1 = (wxFrame *) 0 ;
6751 int result;
6752 void *argp1 = 0 ;
6753 int res1 = 0 ;
6754 PyObject *swig_obj[1] ;
6755
6756 if (!args) SWIG_fail;
6757 swig_obj[0] = args;
6758 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6759 if (!SWIG_IsOK(res1)) {
6760 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6761 }
6762 arg1 = reinterpret_cast< wxFrame * >(argp1);
6763 {
6764 PyThreadState* __tstate = wxPyBeginAllowThreads();
6765 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
6766 wxPyEndAllowThreads(__tstate);
6767 if (PyErr_Occurred()) SWIG_fail;
6768 }
6769 resultobj = SWIG_From_int(static_cast< int >(result));
6770 return resultobj;
6771 fail:
6772 return NULL;
6773 }
6774
6775
6776 SWIGINTERN PyObject *_wrap_Frame_CreateToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6777 PyObject *resultobj = 0;
6778 wxFrame *arg1 = (wxFrame *) 0 ;
6779 long arg2 = (long) -1 ;
6780 int arg3 = (int) -1 ;
6781 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
6782 wxString *arg4 = (wxString *) &arg4_defvalue ;
6783 wxToolBar *result = 0 ;
6784 void *argp1 = 0 ;
6785 int res1 = 0 ;
6786 long val2 ;
6787 int ecode2 = 0 ;
6788 int val3 ;
6789 int ecode3 = 0 ;
6790 bool temp4 = false ;
6791 PyObject * obj0 = 0 ;
6792 PyObject * obj1 = 0 ;
6793 PyObject * obj2 = 0 ;
6794 PyObject * obj3 = 0 ;
6795 char * kwnames[] = {
6796 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
6797 };
6798
6799 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
6800 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6801 if (!SWIG_IsOK(res1)) {
6802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6803 }
6804 arg1 = reinterpret_cast< wxFrame * >(argp1);
6805 if (obj1) {
6806 ecode2 = SWIG_AsVal_long(obj1, &val2);
6807 if (!SWIG_IsOK(ecode2)) {
6808 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
6809 }
6810 arg2 = static_cast< long >(val2);
6811 }
6812 if (obj2) {
6813 ecode3 = SWIG_AsVal_int(obj2, &val3);
6814 if (!SWIG_IsOK(ecode3)) {
6815 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
6816 }
6817 arg3 = static_cast< int >(val3);
6818 }
6819 if (obj3) {
6820 {
6821 arg4 = wxString_in_helper(obj3);
6822 if (arg4 == NULL) SWIG_fail;
6823 temp4 = true;
6824 }
6825 }
6826 {
6827 PyThreadState* __tstate = wxPyBeginAllowThreads();
6828 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
6829 wxPyEndAllowThreads(__tstate);
6830 if (PyErr_Occurred()) SWIG_fail;
6831 }
6832 {
6833 resultobj = wxPyMake_wxObject(result, (bool)0);
6834 }
6835 {
6836 if (temp4)
6837 delete arg4;
6838 }
6839 return resultobj;
6840 fail:
6841 {
6842 if (temp4)
6843 delete arg4;
6844 }
6845 return NULL;
6846 }
6847
6848
6849 SWIGINTERN PyObject *_wrap_Frame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6850 PyObject *resultobj = 0;
6851 wxFrame *arg1 = (wxFrame *) 0 ;
6852 wxToolBar *result = 0 ;
6853 void *argp1 = 0 ;
6854 int res1 = 0 ;
6855 PyObject *swig_obj[1] ;
6856
6857 if (!args) SWIG_fail;
6858 swig_obj[0] = args;
6859 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6860 if (!SWIG_IsOK(res1)) {
6861 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6862 }
6863 arg1 = reinterpret_cast< wxFrame * >(argp1);
6864 {
6865 PyThreadState* __tstate = wxPyBeginAllowThreads();
6866 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
6867 wxPyEndAllowThreads(__tstate);
6868 if (PyErr_Occurred()) SWIG_fail;
6869 }
6870 {
6871 resultobj = wxPyMake_wxObject(result, (bool)0);
6872 }
6873 return resultobj;
6874 fail:
6875 return NULL;
6876 }
6877
6878
6879 SWIGINTERN PyObject *_wrap_Frame_SetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6880 PyObject *resultobj = 0;
6881 wxFrame *arg1 = (wxFrame *) 0 ;
6882 wxToolBar *arg2 = (wxToolBar *) 0 ;
6883 void *argp1 = 0 ;
6884 int res1 = 0 ;
6885 void *argp2 = 0 ;
6886 int res2 = 0 ;
6887 PyObject * obj0 = 0 ;
6888 PyObject * obj1 = 0 ;
6889 char * kwnames[] = {
6890 (char *) "self",(char *) "toolbar", NULL
6891 };
6892
6893 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) SWIG_fail;
6894 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6895 if (!SWIG_IsOK(res1)) {
6896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6897 }
6898 arg1 = reinterpret_cast< wxFrame * >(argp1);
6899 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBar, 0 | 0 );
6900 if (!SWIG_IsOK(res2)) {
6901 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
6902 }
6903 arg2 = reinterpret_cast< wxToolBar * >(argp2);
6904 {
6905 PyThreadState* __tstate = wxPyBeginAllowThreads();
6906 (arg1)->SetToolBar(arg2);
6907 wxPyEndAllowThreads(__tstate);
6908 if (PyErr_Occurred()) SWIG_fail;
6909 }
6910 resultobj = SWIG_Py_Void();
6911 return resultobj;
6912 fail:
6913 return NULL;
6914 }
6915
6916
6917 SWIGINTERN PyObject *_wrap_Frame_DoGiveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6918 PyObject *resultobj = 0;
6919 wxFrame *arg1 = (wxFrame *) 0 ;
6920 wxString *arg2 = 0 ;
6921 bool arg3 ;
6922 void *argp1 = 0 ;
6923 int res1 = 0 ;
6924 bool temp2 = false ;
6925 bool val3 ;
6926 int ecode3 = 0 ;
6927 PyObject * obj0 = 0 ;
6928 PyObject * obj1 = 0 ;
6929 PyObject * obj2 = 0 ;
6930 char * kwnames[] = {
6931 (char *) "self",(char *) "text",(char *) "show", NULL
6932 };
6933
6934 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6935 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6936 if (!SWIG_IsOK(res1)) {
6937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
6938 }
6939 arg1 = reinterpret_cast< wxFrame * >(argp1);
6940 {
6941 arg2 = wxString_in_helper(obj1);
6942 if (arg2 == NULL) SWIG_fail;
6943 temp2 = true;
6944 }
6945 ecode3 = SWIG_AsVal_bool(obj2, &val3);
6946 if (!SWIG_IsOK(ecode3)) {
6947 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
6948 }
6949 arg3 = static_cast< bool >(val3);
6950 {
6951 PyThreadState* __tstate = wxPyBeginAllowThreads();
6952 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
6953 wxPyEndAllowThreads(__tstate);
6954 if (PyErr_Occurred()) SWIG_fail;
6955 }
6956 resultobj = SWIG_Py_Void();
6957 {
6958 if (temp2)
6959 delete arg2;
6960 }
6961 return resultobj;
6962 fail:
6963 {
6964 if (temp2)
6965 delete arg2;
6966 }
6967 return NULL;
6968 }
6969
6970
6971 SWIGINTERN PyObject *_wrap_Frame_DoMenuUpdates(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6972 PyObject *resultobj = 0;
6973 wxFrame *arg1 = (wxFrame *) 0 ;
6974 wxMenu *arg2 = (wxMenu *) NULL ;
6975 void *argp1 = 0 ;
6976 int res1 = 0 ;
6977 void *argp2 = 0 ;
6978 int res2 = 0 ;
6979 PyObject * obj0 = 0 ;
6980 PyObject * obj1 = 0 ;
6981 char * kwnames[] = {
6982 (char *) "self",(char *) "menu", NULL
6983 };
6984
6985 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) SWIG_fail;
6986 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6987 if (!SWIG_IsOK(res1)) {
6988 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
6989 }
6990 arg1 = reinterpret_cast< wxFrame * >(argp1);
6991 if (obj1) {
6992 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
6993 if (!SWIG_IsOK(res2)) {
6994 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
6995 }
6996 arg2 = reinterpret_cast< wxMenu * >(argp2);
6997 }
6998 {
6999 PyThreadState* __tstate = wxPyBeginAllowThreads();
7000 (arg1)->DoMenuUpdates(arg2);
7001 wxPyEndAllowThreads(__tstate);
7002 if (PyErr_Occurred()) SWIG_fail;
7003 }
7004 resultobj = SWIG_Py_Void();
7005 return resultobj;
7006 fail:
7007 return NULL;
7008 }
7009
7010
7011 SWIGINTERN PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7012 PyObject *resultobj = 0;
7013 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7014 SwigValueWrapper<wxVisualAttributes > result;
7015 int val1 ;
7016 int ecode1 = 0 ;
7017 PyObject * obj0 = 0 ;
7018 char * kwnames[] = {
7019 (char *) "variant", NULL
7020 };
7021
7022 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7023 if (obj0) {
7024 ecode1 = SWIG_AsVal_int(obj0, &val1);
7025 if (!SWIG_IsOK(ecode1)) {
7026 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7027 }
7028 arg1 = static_cast< wxWindowVariant >(val1);
7029 }
7030 {
7031 if (!wxPyCheckForApp()) SWIG_fail;
7032 PyThreadState* __tstate = wxPyBeginAllowThreads();
7033 result = wxFrame::GetClassDefaultAttributes(arg1);
7034 wxPyEndAllowThreads(__tstate);
7035 if (PyErr_Occurred()) SWIG_fail;
7036 }
7037 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7038 return resultobj;
7039 fail:
7040 return NULL;
7041 }
7042
7043
7044 SWIGINTERN PyObject *Frame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7045 PyObject *obj;
7046 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7047 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame, SWIG_NewClientData(obj));
7048 return SWIG_Py_Void();
7049 }
7050
7051 SWIGINTERN PyObject *Frame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7052 return SWIG_Python_InitShadowInstance(args);
7053 }
7054
7055 SWIGINTERN PyObject *_wrap_new_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7056 PyObject *resultobj = 0;
7057 wxWindow *arg1 = (wxWindow *) 0 ;
7058 int arg2 = (int) (int)-1 ;
7059 wxString const &arg3_defvalue = wxPyEmptyString ;
7060 wxString *arg3 = (wxString *) &arg3_defvalue ;
7061 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7062 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7063 wxSize const &arg5_defvalue = wxDefaultSize ;
7064 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7065 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
7066 wxString const &arg7_defvalue = wxPyDialogNameStr ;
7067 wxString *arg7 = (wxString *) &arg7_defvalue ;
7068 wxDialog *result = 0 ;
7069 void *argp1 = 0 ;
7070 int res1 = 0 ;
7071 int val2 ;
7072 int ecode2 = 0 ;
7073 bool temp3 = false ;
7074 wxPoint temp4 ;
7075 wxSize temp5 ;
7076 long val6 ;
7077 int ecode6 = 0 ;
7078 bool temp7 = false ;
7079 PyObject * obj0 = 0 ;
7080 PyObject * obj1 = 0 ;
7081 PyObject * obj2 = 0 ;
7082 PyObject * obj3 = 0 ;
7083 PyObject * obj4 = 0 ;
7084 PyObject * obj5 = 0 ;
7085 PyObject * obj6 = 0 ;
7086 char * kwnames[] = {
7087 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7088 };
7089
7090 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7091 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7092 if (!SWIG_IsOK(res1)) {
7093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7094 }
7095 arg1 = reinterpret_cast< wxWindow * >(argp1);
7096 if (obj1) {
7097 ecode2 = SWIG_AsVal_int(obj1, &val2);
7098 if (!SWIG_IsOK(ecode2)) {
7099 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7100 }
7101 arg2 = static_cast< int >(val2);
7102 }
7103 if (obj2) {
7104 {
7105 arg3 = wxString_in_helper(obj2);
7106 if (arg3 == NULL) SWIG_fail;
7107 temp3 = true;
7108 }
7109 }
7110 if (obj3) {
7111 {
7112 arg4 = &temp4;
7113 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7114 }
7115 }
7116 if (obj4) {
7117 {
7118 arg5 = &temp5;
7119 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7120 }
7121 }
7122 if (obj5) {
7123 ecode6 = SWIG_AsVal_long(obj5, &val6);
7124 if (!SWIG_IsOK(ecode6)) {
7125 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7126 }
7127 arg6 = static_cast< long >(val6);
7128 }
7129 if (obj6) {
7130 {
7131 arg7 = wxString_in_helper(obj6);
7132 if (arg7 == NULL) SWIG_fail;
7133 temp7 = true;
7134 }
7135 }
7136 {
7137 if (!wxPyCheckForApp()) SWIG_fail;
7138 PyThreadState* __tstate = wxPyBeginAllowThreads();
7139 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7140 wxPyEndAllowThreads(__tstate);
7141 if (PyErr_Occurred()) SWIG_fail;
7142 }
7143 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_NEW | 0 );
7144 {
7145 if (temp3)
7146 delete arg3;
7147 }
7148 {
7149 if (temp7)
7150 delete arg7;
7151 }
7152 return resultobj;
7153 fail:
7154 {
7155 if (temp3)
7156 delete arg3;
7157 }
7158 {
7159 if (temp7)
7160 delete arg7;
7161 }
7162 return NULL;
7163 }
7164
7165
7166 SWIGINTERN PyObject *_wrap_new_PreDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7167 PyObject *resultobj = 0;
7168 wxDialog *result = 0 ;
7169
7170 if (!SWIG_Python_UnpackTuple(args,"new_PreDialog",0,0,0)) SWIG_fail;
7171 {
7172 if (!wxPyCheckForApp()) SWIG_fail;
7173 PyThreadState* __tstate = wxPyBeginAllowThreads();
7174 result = (wxDialog *)new wxDialog();
7175 wxPyEndAllowThreads(__tstate);
7176 if (PyErr_Occurred()) SWIG_fail;
7177 }
7178 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_OWN | 0 );
7179 return resultobj;
7180 fail:
7181 return NULL;
7182 }
7183
7184
7185 SWIGINTERN PyObject *_wrap_Dialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7186 PyObject *resultobj = 0;
7187 wxDialog *arg1 = (wxDialog *) 0 ;
7188 wxWindow *arg2 = (wxWindow *) 0 ;
7189 int arg3 = (int) (int)-1 ;
7190 wxString const &arg4_defvalue = wxPyEmptyString ;
7191 wxString *arg4 = (wxString *) &arg4_defvalue ;
7192 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7193 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7194 wxSize const &arg6_defvalue = wxDefaultSize ;
7195 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7196 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
7197 wxString const &arg8_defvalue = wxPyDialogNameStr ;
7198 wxString *arg8 = (wxString *) &arg8_defvalue ;
7199 bool result;
7200 void *argp1 = 0 ;
7201 int res1 = 0 ;
7202 void *argp2 = 0 ;
7203 int res2 = 0 ;
7204 int val3 ;
7205 int ecode3 = 0 ;
7206 bool temp4 = false ;
7207 wxPoint temp5 ;
7208 wxSize temp6 ;
7209 long val7 ;
7210 int ecode7 = 0 ;
7211 bool temp8 = false ;
7212 PyObject * obj0 = 0 ;
7213 PyObject * obj1 = 0 ;
7214 PyObject * obj2 = 0 ;
7215 PyObject * obj3 = 0 ;
7216 PyObject * obj4 = 0 ;
7217 PyObject * obj5 = 0 ;
7218 PyObject * obj6 = 0 ;
7219 PyObject * obj7 = 0 ;
7220 char * kwnames[] = {
7221 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7222 };
7223
7224 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7225 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7226 if (!SWIG_IsOK(res1)) {
7227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7228 }
7229 arg1 = reinterpret_cast< wxDialog * >(argp1);
7230 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7231 if (!SWIG_IsOK(res2)) {
7232 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7233 }
7234 arg2 = reinterpret_cast< wxWindow * >(argp2);
7235 if (obj2) {
7236 ecode3 = SWIG_AsVal_int(obj2, &val3);
7237 if (!SWIG_IsOK(ecode3)) {
7238 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7239 }
7240 arg3 = static_cast< int >(val3);
7241 }
7242 if (obj3) {
7243 {
7244 arg4 = wxString_in_helper(obj3);
7245 if (arg4 == NULL) SWIG_fail;
7246 temp4 = true;
7247 }
7248 }
7249 if (obj4) {
7250 {
7251 arg5 = &temp5;
7252 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7253 }
7254 }
7255 if (obj5) {
7256 {
7257 arg6 = &temp6;
7258 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7259 }
7260 }
7261 if (obj6) {
7262 ecode7 = SWIG_AsVal_long(obj6, &val7);
7263 if (!SWIG_IsOK(ecode7)) {
7264 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7265 }
7266 arg7 = static_cast< long >(val7);
7267 }
7268 if (obj7) {
7269 {
7270 arg8 = wxString_in_helper(obj7);
7271 if (arg8 == NULL) SWIG_fail;
7272 temp8 = true;
7273 }
7274 }
7275 {
7276 PyThreadState* __tstate = wxPyBeginAllowThreads();
7277 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7278 wxPyEndAllowThreads(__tstate);
7279 if (PyErr_Occurred()) SWIG_fail;
7280 }
7281 {
7282 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7283 }
7284 {
7285 if (temp4)
7286 delete arg4;
7287 }
7288 {
7289 if (temp8)
7290 delete arg8;
7291 }
7292 return resultobj;
7293 fail:
7294 {
7295 if (temp4)
7296 delete arg4;
7297 }
7298 {
7299 if (temp8)
7300 delete arg8;
7301 }
7302 return NULL;
7303 }
7304
7305
7306 SWIGINTERN PyObject *_wrap_Dialog_SetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7307 PyObject *resultobj = 0;
7308 wxDialog *arg1 = (wxDialog *) 0 ;
7309 int arg2 ;
7310 void *argp1 = 0 ;
7311 int res1 = 0 ;
7312 int val2 ;
7313 int ecode2 = 0 ;
7314 PyObject * obj0 = 0 ;
7315 PyObject * obj1 = 0 ;
7316 char * kwnames[] = {
7317 (char *) "self",(char *) "returnCode", NULL
7318 };
7319
7320 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) SWIG_fail;
7321 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7322 if (!SWIG_IsOK(res1)) {
7323 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7324 }
7325 arg1 = reinterpret_cast< wxDialog * >(argp1);
7326 ecode2 = SWIG_AsVal_int(obj1, &val2);
7327 if (!SWIG_IsOK(ecode2)) {
7328 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7329 }
7330 arg2 = static_cast< int >(val2);
7331 {
7332 PyThreadState* __tstate = wxPyBeginAllowThreads();
7333 (arg1)->SetReturnCode(arg2);
7334 wxPyEndAllowThreads(__tstate);
7335 if (PyErr_Occurred()) SWIG_fail;
7336 }
7337 resultobj = SWIG_Py_Void();
7338 return resultobj;
7339 fail:
7340 return NULL;
7341 }
7342
7343
7344 SWIGINTERN PyObject *_wrap_Dialog_GetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7345 PyObject *resultobj = 0;
7346 wxDialog *arg1 = (wxDialog *) 0 ;
7347 int result;
7348 void *argp1 = 0 ;
7349 int res1 = 0 ;
7350 PyObject *swig_obj[1] ;
7351
7352 if (!args) SWIG_fail;
7353 swig_obj[0] = args;
7354 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7355 if (!SWIG_IsOK(res1)) {
7356 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7357 }
7358 arg1 = reinterpret_cast< wxDialog * >(argp1);
7359 {
7360 PyThreadState* __tstate = wxPyBeginAllowThreads();
7361 result = (int)((wxDialog const *)arg1)->GetReturnCode();
7362 wxPyEndAllowThreads(__tstate);
7363 if (PyErr_Occurred()) SWIG_fail;
7364 }
7365 resultobj = SWIG_From_int(static_cast< int >(result));
7366 return resultobj;
7367 fail:
7368 return NULL;
7369 }
7370
7371
7372 SWIGINTERN PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7373 PyObject *resultobj = 0;
7374 wxDialog *arg1 = (wxDialog *) 0 ;
7375 int arg2 ;
7376 void *argp1 = 0 ;
7377 int res1 = 0 ;
7378 int val2 ;
7379 int ecode2 = 0 ;
7380 PyObject * obj0 = 0 ;
7381 PyObject * obj1 = 0 ;
7382 char * kwnames[] = {
7383 (char *) "self",(char *) "affirmativeId", NULL
7384 };
7385
7386 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) SWIG_fail;
7387 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7388 if (!SWIG_IsOK(res1)) {
7389 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7390 }
7391 arg1 = reinterpret_cast< wxDialog * >(argp1);
7392 ecode2 = SWIG_AsVal_int(obj1, &val2);
7393 if (!SWIG_IsOK(ecode2)) {
7394 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7395 }
7396 arg2 = static_cast< int >(val2);
7397 {
7398 PyThreadState* __tstate = wxPyBeginAllowThreads();
7399 (arg1)->SetAffirmativeId(arg2);
7400 wxPyEndAllowThreads(__tstate);
7401 if (PyErr_Occurred()) SWIG_fail;
7402 }
7403 resultobj = SWIG_Py_Void();
7404 return resultobj;
7405 fail:
7406 return NULL;
7407 }
7408
7409
7410 SWIGINTERN PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7411 PyObject *resultobj = 0;
7412 wxDialog *arg1 = (wxDialog *) 0 ;
7413 int result;
7414 void *argp1 = 0 ;
7415 int res1 = 0 ;
7416 PyObject *swig_obj[1] ;
7417
7418 if (!args) SWIG_fail;
7419 swig_obj[0] = args;
7420 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7421 if (!SWIG_IsOK(res1)) {
7422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7423 }
7424 arg1 = reinterpret_cast< wxDialog * >(argp1);
7425 {
7426 PyThreadState* __tstate = wxPyBeginAllowThreads();
7427 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
7428 wxPyEndAllowThreads(__tstate);
7429 if (PyErr_Occurred()) SWIG_fail;
7430 }
7431 resultobj = SWIG_From_int(static_cast< int >(result));
7432 return resultobj;
7433 fail:
7434 return NULL;
7435 }
7436
7437
7438 SWIGINTERN PyObject *_wrap_Dialog_SetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7439 PyObject *resultobj = 0;
7440 wxDialog *arg1 = (wxDialog *) 0 ;
7441 int arg2 ;
7442 void *argp1 = 0 ;
7443 int res1 = 0 ;
7444 int val2 ;
7445 int ecode2 = 0 ;
7446 PyObject * obj0 = 0 ;
7447 PyObject * obj1 = 0 ;
7448 char * kwnames[] = {
7449 (char *) "self",(char *) "escapeId", NULL
7450 };
7451
7452 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) SWIG_fail;
7453 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7454 if (!SWIG_IsOK(res1)) {
7455 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7456 }
7457 arg1 = reinterpret_cast< wxDialog * >(argp1);
7458 ecode2 = SWIG_AsVal_int(obj1, &val2);
7459 if (!SWIG_IsOK(ecode2)) {
7460 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7461 }
7462 arg2 = static_cast< int >(val2);
7463 {
7464 PyThreadState* __tstate = wxPyBeginAllowThreads();
7465 (arg1)->SetEscapeId(arg2);
7466 wxPyEndAllowThreads(__tstate);
7467 if (PyErr_Occurred()) SWIG_fail;
7468 }
7469 resultobj = SWIG_Py_Void();
7470 return resultobj;
7471 fail:
7472 return NULL;
7473 }
7474
7475
7476 SWIGINTERN PyObject *_wrap_Dialog_GetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7477 PyObject *resultobj = 0;
7478 wxDialog *arg1 = (wxDialog *) 0 ;
7479 int result;
7480 void *argp1 = 0 ;
7481 int res1 = 0 ;
7482 PyObject *swig_obj[1] ;
7483
7484 if (!args) SWIG_fail;
7485 swig_obj[0] = args;
7486 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7487 if (!SWIG_IsOK(res1)) {
7488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7489 }
7490 arg1 = reinterpret_cast< wxDialog * >(argp1);
7491 {
7492 PyThreadState* __tstate = wxPyBeginAllowThreads();
7493 result = (int)((wxDialog const *)arg1)->GetEscapeId();
7494 wxPyEndAllowThreads(__tstate);
7495 if (PyErr_Occurred()) SWIG_fail;
7496 }
7497 resultobj = SWIG_From_int(static_cast< int >(result));
7498 return resultobj;
7499 fail:
7500 return NULL;
7501 }
7502
7503
7504 SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7505 PyObject *resultobj = 0;
7506 wxDialog *arg1 = (wxDialog *) 0 ;
7507 wxString *arg2 = 0 ;
7508 wxSizer *result = 0 ;
7509 void *argp1 = 0 ;
7510 int res1 = 0 ;
7511 bool temp2 = false ;
7512 PyObject * obj0 = 0 ;
7513 PyObject * obj1 = 0 ;
7514 char * kwnames[] = {
7515 (char *) "self",(char *) "message", NULL
7516 };
7517
7518 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7519 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7520 if (!SWIG_IsOK(res1)) {
7521 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7522 }
7523 arg1 = reinterpret_cast< wxDialog * >(argp1);
7524 {
7525 arg2 = wxString_in_helper(obj1);
7526 if (arg2 == NULL) SWIG_fail;
7527 temp2 = true;
7528 }
7529 {
7530 PyThreadState* __tstate = wxPyBeginAllowThreads();
7531 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
7532 wxPyEndAllowThreads(__tstate);
7533 if (PyErr_Occurred()) SWIG_fail;
7534 }
7535 {
7536 resultobj = wxPyMake_wxObject(result, (bool)0);
7537 }
7538 {
7539 if (temp2)
7540 delete arg2;
7541 }
7542 return resultobj;
7543 fail:
7544 {
7545 if (temp2)
7546 delete arg2;
7547 }
7548 return NULL;
7549 }
7550
7551
7552 SWIGINTERN PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7553 PyObject *resultobj = 0;
7554 wxDialog *arg1 = (wxDialog *) 0 ;
7555 long arg2 ;
7556 bool arg3 = (bool) false ;
7557 int arg4 = (int) 0 ;
7558 wxSizer *result = 0 ;
7559 void *argp1 = 0 ;
7560 int res1 = 0 ;
7561 long val2 ;
7562 int ecode2 = 0 ;
7563 bool val3 ;
7564 int ecode3 = 0 ;
7565 int val4 ;
7566 int ecode4 = 0 ;
7567 PyObject * obj0 = 0 ;
7568 PyObject * obj1 = 0 ;
7569 PyObject * obj2 = 0 ;
7570 PyObject * obj3 = 0 ;
7571 char * kwnames[] = {
7572 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7573 };
7574
7575 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7576 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7577 if (!SWIG_IsOK(res1)) {
7578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7579 }
7580 arg1 = reinterpret_cast< wxDialog * >(argp1);
7581 ecode2 = SWIG_AsVal_long(obj1, &val2);
7582 if (!SWIG_IsOK(ecode2)) {
7583 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7584 }
7585 arg2 = static_cast< long >(val2);
7586 if (obj2) {
7587 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7588 if (!SWIG_IsOK(ecode3)) {
7589 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7590 }
7591 arg3 = static_cast< bool >(val3);
7592 }
7593 if (obj3) {
7594 ecode4 = SWIG_AsVal_int(obj3, &val4);
7595 if (!SWIG_IsOK(ecode4)) {
7596 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7597 }
7598 arg4 = static_cast< int >(val4);
7599 }
7600 {
7601 PyThreadState* __tstate = wxPyBeginAllowThreads();
7602 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2,arg3,arg4);
7603 wxPyEndAllowThreads(__tstate);
7604 if (PyErr_Occurred()) SWIG_fail;
7605 }
7606 {
7607 resultobj = wxPyMake_wxObject(result, (bool)0);
7608 }
7609 return resultobj;
7610 fail:
7611 return NULL;
7612 }
7613
7614
7615 SWIGINTERN PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7616 PyObject *resultobj = 0;
7617 wxDialog *arg1 = (wxDialog *) 0 ;
7618 long arg2 ;
7619 wxStdDialogButtonSizer *result = 0 ;
7620 void *argp1 = 0 ;
7621 int res1 = 0 ;
7622 long val2 ;
7623 int ecode2 = 0 ;
7624 PyObject * obj0 = 0 ;
7625 PyObject * obj1 = 0 ;
7626 char * kwnames[] = {
7627 (char *) "self",(char *) "flags", NULL
7628 };
7629
7630 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7631 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7632 if (!SWIG_IsOK(res1)) {
7633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7634 }
7635 arg1 = reinterpret_cast< wxDialog * >(argp1);
7636 ecode2 = SWIG_AsVal_long(obj1, &val2);
7637 if (!SWIG_IsOK(ecode2)) {
7638 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7639 }
7640 arg2 = static_cast< long >(val2);
7641 {
7642 PyThreadState* __tstate = wxPyBeginAllowThreads();
7643 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
7644 wxPyEndAllowThreads(__tstate);
7645 if (PyErr_Occurred()) SWIG_fail;
7646 }
7647 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0 | 0 );
7648 return resultobj;
7649 fail:
7650 return NULL;
7651 }
7652
7653
7654 SWIGINTERN PyObject *_wrap_Dialog_IsModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7655 PyObject *resultobj = 0;
7656 wxDialog *arg1 = (wxDialog *) 0 ;
7657 bool result;
7658 void *argp1 = 0 ;
7659 int res1 = 0 ;
7660 PyObject *swig_obj[1] ;
7661
7662 if (!args) SWIG_fail;
7663 swig_obj[0] = args;
7664 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7665 if (!SWIG_IsOK(res1)) {
7666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7667 }
7668 arg1 = reinterpret_cast< wxDialog * >(argp1);
7669 {
7670 PyThreadState* __tstate = wxPyBeginAllowThreads();
7671 result = (bool)((wxDialog const *)arg1)->IsModal();
7672 wxPyEndAllowThreads(__tstate);
7673 if (PyErr_Occurred()) SWIG_fail;
7674 }
7675 {
7676 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7677 }
7678 return resultobj;
7679 fail:
7680 return NULL;
7681 }
7682
7683
7684 SWIGINTERN PyObject *_wrap_Dialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7685 PyObject *resultobj = 0;
7686 wxDialog *arg1 = (wxDialog *) 0 ;
7687 int result;
7688 void *argp1 = 0 ;
7689 int res1 = 0 ;
7690 PyObject *swig_obj[1] ;
7691
7692 if (!args) SWIG_fail;
7693 swig_obj[0] = args;
7694 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7695 if (!SWIG_IsOK(res1)) {
7696 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7697 }
7698 arg1 = reinterpret_cast< wxDialog * >(argp1);
7699 {
7700 PyThreadState* __tstate = wxPyBeginAllowThreads();
7701 result = (int)(arg1)->ShowModal();
7702 wxPyEndAllowThreads(__tstate);
7703 if (PyErr_Occurred()) SWIG_fail;
7704 }
7705 resultobj = SWIG_From_int(static_cast< int >(result));
7706 return resultobj;
7707 fail:
7708 return NULL;
7709 }
7710
7711
7712 SWIGINTERN PyObject *_wrap_Dialog_EndModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7713 PyObject *resultobj = 0;
7714 wxDialog *arg1 = (wxDialog *) 0 ;
7715 int arg2 ;
7716 void *argp1 = 0 ;
7717 int res1 = 0 ;
7718 int val2 ;
7719 int ecode2 = 0 ;
7720 PyObject * obj0 = 0 ;
7721 PyObject * obj1 = 0 ;
7722 char * kwnames[] = {
7723 (char *) "self",(char *) "retCode", NULL
7724 };
7725
7726 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) SWIG_fail;
7727 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7728 if (!SWIG_IsOK(res1)) {
7729 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7730 }
7731 arg1 = reinterpret_cast< wxDialog * >(argp1);
7732 ecode2 = SWIG_AsVal_int(obj1, &val2);
7733 if (!SWIG_IsOK(ecode2)) {
7734 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7735 }
7736 arg2 = static_cast< int >(val2);
7737 {
7738 PyThreadState* __tstate = wxPyBeginAllowThreads();
7739 (arg1)->EndModal(arg2);
7740 wxPyEndAllowThreads(__tstate);
7741 if (PyErr_Occurred()) SWIG_fail;
7742 }
7743 resultobj = SWIG_Py_Void();
7744 return resultobj;
7745 fail:
7746 return NULL;
7747 }
7748
7749
7750 SWIGINTERN PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7751 PyObject *resultobj = 0;
7752 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7753 SwigValueWrapper<wxVisualAttributes > result;
7754 int val1 ;
7755 int ecode1 = 0 ;
7756 PyObject * obj0 = 0 ;
7757 char * kwnames[] = {
7758 (char *) "variant", NULL
7759 };
7760
7761 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7762 if (obj0) {
7763 ecode1 = SWIG_AsVal_int(obj0, &val1);
7764 if (!SWIG_IsOK(ecode1)) {
7765 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7766 }
7767 arg1 = static_cast< wxWindowVariant >(val1);
7768 }
7769 {
7770 if (!wxPyCheckForApp()) SWIG_fail;
7771 PyThreadState* __tstate = wxPyBeginAllowThreads();
7772 result = wxDialog::GetClassDefaultAttributes(arg1);
7773 wxPyEndAllowThreads(__tstate);
7774 if (PyErr_Occurred()) SWIG_fail;
7775 }
7776 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7777 return resultobj;
7778 fail:
7779 return NULL;
7780 }
7781
7782
7783 SWIGINTERN PyObject *Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7784 PyObject *obj;
7785 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7786 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog, SWIG_NewClientData(obj));
7787 return SWIG_Py_Void();
7788 }
7789
7790 SWIGINTERN PyObject *Dialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7791 return SWIG_Python_InitShadowInstance(args);
7792 }
7793
7794 SWIGINTERN PyObject *_wrap_new_MiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7795 PyObject *resultobj = 0;
7796 wxWindow *arg1 = (wxWindow *) 0 ;
7797 int arg2 = (int) (int)-1 ;
7798 wxString const &arg3_defvalue = wxPyEmptyString ;
7799 wxString *arg3 = (wxString *) &arg3_defvalue ;
7800 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7801 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7802 wxSize const &arg5_defvalue = wxDefaultSize ;
7803 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7804 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
7805 wxString const &arg7_defvalue = wxPyFrameNameStr ;
7806 wxString *arg7 = (wxString *) &arg7_defvalue ;
7807 wxMiniFrame *result = 0 ;
7808 void *argp1 = 0 ;
7809 int res1 = 0 ;
7810 int val2 ;
7811 int ecode2 = 0 ;
7812 bool temp3 = false ;
7813 wxPoint temp4 ;
7814 wxSize temp5 ;
7815 long val6 ;
7816 int ecode6 = 0 ;
7817 bool temp7 = false ;
7818 PyObject * obj0 = 0 ;
7819 PyObject * obj1 = 0 ;
7820 PyObject * obj2 = 0 ;
7821 PyObject * obj3 = 0 ;
7822 PyObject * obj4 = 0 ;
7823 PyObject * obj5 = 0 ;
7824 PyObject * obj6 = 0 ;
7825 char * kwnames[] = {
7826 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7827 };
7828
7829 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7830 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7831 if (!SWIG_IsOK(res1)) {
7832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
7833 }
7834 arg1 = reinterpret_cast< wxWindow * >(argp1);
7835 if (obj1) {
7836 ecode2 = SWIG_AsVal_int(obj1, &val2);
7837 if (!SWIG_IsOK(ecode2)) {
7838 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
7839 }
7840 arg2 = static_cast< int >(val2);
7841 }
7842 if (obj2) {
7843 {
7844 arg3 = wxString_in_helper(obj2);
7845 if (arg3 == NULL) SWIG_fail;
7846 temp3 = true;
7847 }
7848 }
7849 if (obj3) {
7850 {
7851 arg4 = &temp4;
7852 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7853 }
7854 }
7855 if (obj4) {
7856 {
7857 arg5 = &temp5;
7858 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7859 }
7860 }
7861 if (obj5) {
7862 ecode6 = SWIG_AsVal_long(obj5, &val6);
7863 if (!SWIG_IsOK(ecode6)) {
7864 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
7865 }
7866 arg6 = static_cast< long >(val6);
7867 }
7868 if (obj6) {
7869 {
7870 arg7 = wxString_in_helper(obj6);
7871 if (arg7 == NULL) SWIG_fail;
7872 temp7 = true;
7873 }
7874 }
7875 {
7876 if (!wxPyCheckForApp()) SWIG_fail;
7877 PyThreadState* __tstate = wxPyBeginAllowThreads();
7878 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7879 wxPyEndAllowThreads(__tstate);
7880 if (PyErr_Occurred()) SWIG_fail;
7881 }
7882 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_NEW | 0 );
7883 {
7884 if (temp3)
7885 delete arg3;
7886 }
7887 {
7888 if (temp7)
7889 delete arg7;
7890 }
7891 return resultobj;
7892 fail:
7893 {
7894 if (temp3)
7895 delete arg3;
7896 }
7897 {
7898 if (temp7)
7899 delete arg7;
7900 }
7901 return NULL;
7902 }
7903
7904
7905 SWIGINTERN PyObject *_wrap_new_PreMiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7906 PyObject *resultobj = 0;
7907 wxMiniFrame *result = 0 ;
7908
7909 if (!SWIG_Python_UnpackTuple(args,"new_PreMiniFrame",0,0,0)) SWIG_fail;
7910 {
7911 if (!wxPyCheckForApp()) SWIG_fail;
7912 PyThreadState* __tstate = wxPyBeginAllowThreads();
7913 result = (wxMiniFrame *)new wxMiniFrame();
7914 wxPyEndAllowThreads(__tstate);
7915 if (PyErr_Occurred()) SWIG_fail;
7916 }
7917 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_OWN | 0 );
7918 return resultobj;
7919 fail:
7920 return NULL;
7921 }
7922
7923
7924 SWIGINTERN PyObject *_wrap_MiniFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7925 PyObject *resultobj = 0;
7926 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
7927 wxWindow *arg2 = (wxWindow *) 0 ;
7928 int arg3 = (int) (int)-1 ;
7929 wxString const &arg4_defvalue = wxPyEmptyString ;
7930 wxString *arg4 = (wxString *) &arg4_defvalue ;
7931 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7932 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7933 wxSize const &arg6_defvalue = wxDefaultSize ;
7934 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7935 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
7936 wxString const &arg8_defvalue = wxPyFrameNameStr ;
7937 wxString *arg8 = (wxString *) &arg8_defvalue ;
7938 bool result;
7939 void *argp1 = 0 ;
7940 int res1 = 0 ;
7941 void *argp2 = 0 ;
7942 int res2 = 0 ;
7943 int val3 ;
7944 int ecode3 = 0 ;
7945 bool temp4 = false ;
7946 wxPoint temp5 ;
7947 wxSize temp6 ;
7948 long val7 ;
7949 int ecode7 = 0 ;
7950 bool temp8 = false ;
7951 PyObject * obj0 = 0 ;
7952 PyObject * obj1 = 0 ;
7953 PyObject * obj2 = 0 ;
7954 PyObject * obj3 = 0 ;
7955 PyObject * obj4 = 0 ;
7956 PyObject * obj5 = 0 ;
7957 PyObject * obj6 = 0 ;
7958 PyObject * obj7 = 0 ;
7959 char * kwnames[] = {
7960 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7961 };
7962
7963 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7964 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMiniFrame, 0 | 0 );
7965 if (!SWIG_IsOK(res1)) {
7966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
7967 }
7968 arg1 = reinterpret_cast< wxMiniFrame * >(argp1);
7969 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7970 if (!SWIG_IsOK(res2)) {
7971 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7972 }
7973 arg2 = reinterpret_cast< wxWindow * >(argp2);
7974 if (obj2) {
7975 ecode3 = SWIG_AsVal_int(obj2, &val3);
7976 if (!SWIG_IsOK(ecode3)) {
7977 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
7978 }
7979 arg3 = static_cast< int >(val3);
7980 }
7981 if (obj3) {
7982 {
7983 arg4 = wxString_in_helper(obj3);
7984 if (arg4 == NULL) SWIG_fail;
7985 temp4 = true;
7986 }
7987 }
7988 if (obj4) {
7989 {
7990 arg5 = &temp5;
7991 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7992 }
7993 }
7994 if (obj5) {
7995 {
7996 arg6 = &temp6;
7997 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7998 }
7999 }
8000 if (obj6) {
8001 ecode7 = SWIG_AsVal_long(obj6, &val7);
8002 if (!SWIG_IsOK(ecode7)) {
8003 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8004 }
8005 arg7 = static_cast< long >(val7);
8006 }
8007 if (obj7) {
8008 {
8009 arg8 = wxString_in_helper(obj7);
8010 if (arg8 == NULL) SWIG_fail;
8011 temp8 = true;
8012 }
8013 }
8014 {
8015 PyThreadState* __tstate = wxPyBeginAllowThreads();
8016 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8017 wxPyEndAllowThreads(__tstate);
8018 if (PyErr_Occurred()) SWIG_fail;
8019 }
8020 {
8021 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8022 }
8023 {
8024 if (temp4)
8025 delete arg4;
8026 }
8027 {
8028 if (temp8)
8029 delete arg8;
8030 }
8031 return resultobj;
8032 fail:
8033 {
8034 if (temp4)
8035 delete arg4;
8036 }
8037 {
8038 if (temp8)
8039 delete arg8;
8040 }
8041 return NULL;
8042 }
8043
8044
8045 SWIGINTERN PyObject *MiniFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8046 PyObject *obj;
8047 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8048 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame, SWIG_NewClientData(obj));
8049 return SWIG_Py_Void();
8050 }
8051
8052 SWIGINTERN PyObject *MiniFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8053 return SWIG_Python_InitShadowInstance(args);
8054 }
8055
8056 SWIGINTERN PyObject *_wrap_new_SplashScreenWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8057 PyObject *resultobj = 0;
8058 wxBitmap *arg1 = 0 ;
8059 wxWindow *arg2 = (wxWindow *) 0 ;
8060 int arg3 ;
8061 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8062 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8063 wxSize const &arg5_defvalue = wxDefaultSize ;
8064 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8065 long arg6 = (long) wxNO_BORDER ;
8066 wxSplashScreenWindow *result = 0 ;
8067 void *argp1 = 0 ;
8068 int res1 = 0 ;
8069 void *argp2 = 0 ;
8070 int res2 = 0 ;
8071 int val3 ;
8072 int ecode3 = 0 ;
8073 wxPoint temp4 ;
8074 wxSize temp5 ;
8075 long val6 ;
8076 int ecode6 = 0 ;
8077 PyObject * obj0 = 0 ;
8078 PyObject * obj1 = 0 ;
8079 PyObject * obj2 = 0 ;
8080 PyObject * obj3 = 0 ;
8081 PyObject * obj4 = 0 ;
8082 PyObject * obj5 = 0 ;
8083 char * kwnames[] = {
8084 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8085 };
8086
8087 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8088 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8089 if (!SWIG_IsOK(res1)) {
8090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8091 }
8092 if (!argp1) {
8093 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8094 }
8095 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8096 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8097 if (!SWIG_IsOK(res2)) {
8098 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8099 }
8100 arg2 = reinterpret_cast< wxWindow * >(argp2);
8101 ecode3 = SWIG_AsVal_int(obj2, &val3);
8102 if (!SWIG_IsOK(ecode3)) {
8103 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8104 }
8105 arg3 = static_cast< int >(val3);
8106 if (obj3) {
8107 {
8108 arg4 = &temp4;
8109 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8110 }
8111 }
8112 if (obj4) {
8113 {
8114 arg5 = &temp5;
8115 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8116 }
8117 }
8118 if (obj5) {
8119 ecode6 = SWIG_AsVal_long(obj5, &val6);
8120 if (!SWIG_IsOK(ecode6)) {
8121 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8122 }
8123 arg6 = static_cast< long >(val6);
8124 }
8125 {
8126 if (!wxPyCheckForApp()) SWIG_fail;
8127 PyThreadState* __tstate = wxPyBeginAllowThreads();
8128 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
8129 wxPyEndAllowThreads(__tstate);
8130 if (PyErr_Occurred()) SWIG_fail;
8131 }
8132 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_NEW | 0 );
8133 return resultobj;
8134 fail:
8135 return NULL;
8136 }
8137
8138
8139 SWIGINTERN PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8140 PyObject *resultobj = 0;
8141 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8142 wxBitmap *arg2 = 0 ;
8143 void *argp1 = 0 ;
8144 int res1 = 0 ;
8145 void *argp2 = 0 ;
8146 int res2 = 0 ;
8147 PyObject * obj0 = 0 ;
8148 PyObject * obj1 = 0 ;
8149 char * kwnames[] = {
8150 (char *) "self",(char *) "bitmap", NULL
8151 };
8152
8153 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8154 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8155 if (!SWIG_IsOK(res1)) {
8156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8157 }
8158 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8159 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8160 if (!SWIG_IsOK(res2)) {
8161 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8162 }
8163 if (!argp2) {
8164 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8165 }
8166 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8167 {
8168 PyThreadState* __tstate = wxPyBeginAllowThreads();
8169 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8170 wxPyEndAllowThreads(__tstate);
8171 if (PyErr_Occurred()) SWIG_fail;
8172 }
8173 resultobj = SWIG_Py_Void();
8174 return resultobj;
8175 fail:
8176 return NULL;
8177 }
8178
8179
8180 SWIGINTERN PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8181 PyObject *resultobj = 0;
8182 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8183 wxBitmap *result = 0 ;
8184 void *argp1 = 0 ;
8185 int res1 = 0 ;
8186 PyObject *swig_obj[1] ;
8187
8188 if (!args) SWIG_fail;
8189 swig_obj[0] = args;
8190 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8191 if (!SWIG_IsOK(res1)) {
8192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8193 }
8194 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8195 {
8196 PyThreadState* __tstate = wxPyBeginAllowThreads();
8197 {
8198 wxBitmap &_result_ref = (arg1)->GetBitmap();
8199 result = (wxBitmap *) &_result_ref;
8200 }
8201 wxPyEndAllowThreads(__tstate);
8202 if (PyErr_Occurred()) SWIG_fail;
8203 }
8204 {
8205 wxBitmap* resultptr = new wxBitmap(*result);
8206 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8207 }
8208 return resultobj;
8209 fail:
8210 return NULL;
8211 }
8212
8213
8214 SWIGINTERN PyObject *SplashScreenWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8215 PyObject *obj;
8216 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8217 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow, SWIG_NewClientData(obj));
8218 return SWIG_Py_Void();
8219 }
8220
8221 SWIGINTERN PyObject *SplashScreenWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8222 return SWIG_Python_InitShadowInstance(args);
8223 }
8224
8225 SWIGINTERN PyObject *_wrap_new_SplashScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8226 PyObject *resultobj = 0;
8227 wxBitmap *arg1 = 0 ;
8228 long arg2 ;
8229 int arg3 ;
8230 wxWindow *arg4 = (wxWindow *) 0 ;
8231 int arg5 = (int) -1 ;
8232 wxPoint const &arg6_defvalue = wxDefaultPosition ;
8233 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
8234 wxSize const &arg7_defvalue = wxDefaultSize ;
8235 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
8236 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
8237 wxSplashScreen *result = 0 ;
8238 void *argp1 = 0 ;
8239 int res1 = 0 ;
8240 long val2 ;
8241 int ecode2 = 0 ;
8242 int val3 ;
8243 int ecode3 = 0 ;
8244 void *argp4 = 0 ;
8245 int res4 = 0 ;
8246 int val5 ;
8247 int ecode5 = 0 ;
8248 wxPoint temp6 ;
8249 wxSize temp7 ;
8250 long val8 ;
8251 int ecode8 = 0 ;
8252 PyObject * obj0 = 0 ;
8253 PyObject * obj1 = 0 ;
8254 PyObject * obj2 = 0 ;
8255 PyObject * obj3 = 0 ;
8256 PyObject * obj4 = 0 ;
8257 PyObject * obj5 = 0 ;
8258 PyObject * obj6 = 0 ;
8259 PyObject * obj7 = 0 ;
8260 char * kwnames[] = {
8261 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8262 };
8263
8264 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8265 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8266 if (!SWIG_IsOK(res1)) {
8267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8268 }
8269 if (!argp1) {
8270 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8271 }
8272 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8273 ecode2 = SWIG_AsVal_long(obj1, &val2);
8274 if (!SWIG_IsOK(ecode2)) {
8275 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8276 }
8277 arg2 = static_cast< long >(val2);
8278 ecode3 = SWIG_AsVal_int(obj2, &val3);
8279 if (!SWIG_IsOK(ecode3)) {
8280 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8281 }
8282 arg3 = static_cast< int >(val3);
8283 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
8284 if (!SWIG_IsOK(res4)) {
8285 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8286 }
8287 arg4 = reinterpret_cast< wxWindow * >(argp4);
8288 if (obj4) {
8289 ecode5 = SWIG_AsVal_int(obj4, &val5);
8290 if (!SWIG_IsOK(ecode5)) {
8291 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8292 }
8293 arg5 = static_cast< int >(val5);
8294 }
8295 if (obj5) {
8296 {
8297 arg6 = &temp6;
8298 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
8299 }
8300 }
8301 if (obj6) {
8302 {
8303 arg7 = &temp7;
8304 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
8305 }
8306 }
8307 if (obj7) {
8308 ecode8 = SWIG_AsVal_long(obj7, &val8);
8309 if (!SWIG_IsOK(ecode8)) {
8310 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8311 }
8312 arg8 = static_cast< long >(val8);
8313 }
8314 {
8315 if (!wxPyCheckForApp()) SWIG_fail;
8316 PyThreadState* __tstate = wxPyBeginAllowThreads();
8317 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
8318 wxPyEndAllowThreads(__tstate);
8319 if (PyErr_Occurred()) SWIG_fail;
8320 }
8321 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_NEW | 0 );
8322 return resultobj;
8323 fail:
8324 return NULL;
8325 }
8326
8327
8328 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8329 PyObject *resultobj = 0;
8330 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8331 long result;
8332 void *argp1 = 0 ;
8333 int res1 = 0 ;
8334 PyObject *swig_obj[1] ;
8335
8336 if (!args) SWIG_fail;
8337 swig_obj[0] = args;
8338 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8339 if (!SWIG_IsOK(res1)) {
8340 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8341 }
8342 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8343 {
8344 PyThreadState* __tstate = wxPyBeginAllowThreads();
8345 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
8346 wxPyEndAllowThreads(__tstate);
8347 if (PyErr_Occurred()) SWIG_fail;
8348 }
8349 resultobj = SWIG_From_long(static_cast< long >(result));
8350 return resultobj;
8351 fail:
8352 return NULL;
8353 }
8354
8355
8356 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8357 PyObject *resultobj = 0;
8358 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8359 wxSplashScreenWindow *result = 0 ;
8360 void *argp1 = 0 ;
8361 int res1 = 0 ;
8362 PyObject *swig_obj[1] ;
8363
8364 if (!args) SWIG_fail;
8365 swig_obj[0] = args;
8366 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8367 if (!SWIG_IsOK(res1)) {
8368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8369 }
8370 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8371 {
8372 PyThreadState* __tstate = wxPyBeginAllowThreads();
8373 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
8374 wxPyEndAllowThreads(__tstate);
8375 if (PyErr_Occurred()) SWIG_fail;
8376 }
8377 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8378 return resultobj;
8379 fail:
8380 return NULL;
8381 }
8382
8383
8384 SWIGINTERN PyObject *_wrap_SplashScreen_GetTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8385 PyObject *resultobj = 0;
8386 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8387 int result;
8388 void *argp1 = 0 ;
8389 int res1 = 0 ;
8390 PyObject *swig_obj[1] ;
8391
8392 if (!args) SWIG_fail;
8393 swig_obj[0] = args;
8394 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8395 if (!SWIG_IsOK(res1)) {
8396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8397 }
8398 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8399 {
8400 PyThreadState* __tstate = wxPyBeginAllowThreads();
8401 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
8402 wxPyEndAllowThreads(__tstate);
8403 if (PyErr_Occurred()) SWIG_fail;
8404 }
8405 resultobj = SWIG_From_int(static_cast< int >(result));
8406 return resultobj;
8407 fail:
8408 return NULL;
8409 }
8410
8411
8412 SWIGINTERN PyObject *SplashScreen_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8413 PyObject *obj;
8414 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8415 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen, SWIG_NewClientData(obj));
8416 return SWIG_Py_Void();
8417 }
8418
8419 SWIGINTERN PyObject *SplashScreen_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8420 return SWIG_Python_InitShadowInstance(args);
8421 }
8422
8423 SWIGINTERN PyObject *_wrap_new_StatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8424 PyObject *resultobj = 0;
8425 wxWindow *arg1 = (wxWindow *) 0 ;
8426 int arg2 = (int) -1 ;
8427 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
8428 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
8429 wxString *arg4 = (wxString *) &arg4_defvalue ;
8430 wxStatusBar *result = 0 ;
8431 void *argp1 = 0 ;
8432 int res1 = 0 ;
8433 int val2 ;
8434 int ecode2 = 0 ;
8435 long val3 ;
8436 int ecode3 = 0 ;
8437 bool temp4 = false ;
8438 PyObject * obj0 = 0 ;
8439 PyObject * obj1 = 0 ;
8440 PyObject * obj2 = 0 ;
8441 PyObject * obj3 = 0 ;
8442 char * kwnames[] = {
8443 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8444 };
8445
8446 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8447 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8448 if (!SWIG_IsOK(res1)) {
8449 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8450 }
8451 arg1 = reinterpret_cast< wxWindow * >(argp1);
8452 if (obj1) {
8453 ecode2 = SWIG_AsVal_int(obj1, &val2);
8454 if (!SWIG_IsOK(ecode2)) {
8455 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8456 }
8457 arg2 = static_cast< int >(val2);
8458 }
8459 if (obj2) {
8460 ecode3 = SWIG_AsVal_long(obj2, &val3);
8461 if (!SWIG_IsOK(ecode3)) {
8462 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8463 }
8464 arg3 = static_cast< long >(val3);
8465 }
8466 if (obj3) {
8467 {
8468 arg4 = wxString_in_helper(obj3);
8469 if (arg4 == NULL) SWIG_fail;
8470 temp4 = true;
8471 }
8472 }
8473 {
8474 if (!wxPyCheckForApp()) SWIG_fail;
8475 PyThreadState* __tstate = wxPyBeginAllowThreads();
8476 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
8477 wxPyEndAllowThreads(__tstate);
8478 if (PyErr_Occurred()) SWIG_fail;
8479 }
8480 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_NEW | 0 );
8481 {
8482 if (temp4)
8483 delete arg4;
8484 }
8485 return resultobj;
8486 fail:
8487 {
8488 if (temp4)
8489 delete arg4;
8490 }
8491 return NULL;
8492 }
8493
8494
8495 SWIGINTERN PyObject *_wrap_new_PreStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8496 PyObject *resultobj = 0;
8497 wxStatusBar *result = 0 ;
8498
8499 if (!SWIG_Python_UnpackTuple(args,"new_PreStatusBar",0,0,0)) SWIG_fail;
8500 {
8501 if (!wxPyCheckForApp()) SWIG_fail;
8502 PyThreadState* __tstate = wxPyBeginAllowThreads();
8503 result = (wxStatusBar *)new wxStatusBar();
8504 wxPyEndAllowThreads(__tstate);
8505 if (PyErr_Occurred()) SWIG_fail;
8506 }
8507 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_OWN | 0 );
8508 return resultobj;
8509 fail:
8510 return NULL;
8511 }
8512
8513
8514 SWIGINTERN PyObject *_wrap_StatusBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8515 PyObject *resultobj = 0;
8516 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8517 wxWindow *arg2 = (wxWindow *) 0 ;
8518 int arg3 = (int) -1 ;
8519 long arg4 = (long) wxST_SIZEGRIP ;
8520 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
8521 wxString *arg5 = (wxString *) &arg5_defvalue ;
8522 bool result;
8523 void *argp1 = 0 ;
8524 int res1 = 0 ;
8525 void *argp2 = 0 ;
8526 int res2 = 0 ;
8527 int val3 ;
8528 int ecode3 = 0 ;
8529 long val4 ;
8530 int ecode4 = 0 ;
8531 bool temp5 = false ;
8532 PyObject * obj0 = 0 ;
8533 PyObject * obj1 = 0 ;
8534 PyObject * obj2 = 0 ;
8535 PyObject * obj3 = 0 ;
8536 PyObject * obj4 = 0 ;
8537 char * kwnames[] = {
8538 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8539 };
8540
8541 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8542 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8543 if (!SWIG_IsOK(res1)) {
8544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8545 }
8546 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8547 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8548 if (!SWIG_IsOK(res2)) {
8549 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8550 }
8551 arg2 = reinterpret_cast< wxWindow * >(argp2);
8552 if (obj2) {
8553 ecode3 = SWIG_AsVal_int(obj2, &val3);
8554 if (!SWIG_IsOK(ecode3)) {
8555 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8556 }
8557 arg3 = static_cast< int >(val3);
8558 }
8559 if (obj3) {
8560 ecode4 = SWIG_AsVal_long(obj3, &val4);
8561 if (!SWIG_IsOK(ecode4)) {
8562 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8563 }
8564 arg4 = static_cast< long >(val4);
8565 }
8566 if (obj4) {
8567 {
8568 arg5 = wxString_in_helper(obj4);
8569 if (arg5 == NULL) SWIG_fail;
8570 temp5 = true;
8571 }
8572 }
8573 {
8574 PyThreadState* __tstate = wxPyBeginAllowThreads();
8575 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
8576 wxPyEndAllowThreads(__tstate);
8577 if (PyErr_Occurred()) SWIG_fail;
8578 }
8579 {
8580 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8581 }
8582 {
8583 if (temp5)
8584 delete arg5;
8585 }
8586 return resultobj;
8587 fail:
8588 {
8589 if (temp5)
8590 delete arg5;
8591 }
8592 return NULL;
8593 }
8594
8595
8596 SWIGINTERN PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8597 PyObject *resultobj = 0;
8598 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8599 int arg2 = (int) 1 ;
8600 void *argp1 = 0 ;
8601 int res1 = 0 ;
8602 int val2 ;
8603 int ecode2 = 0 ;
8604 PyObject * obj0 = 0 ;
8605 PyObject * obj1 = 0 ;
8606 char * kwnames[] = {
8607 (char *) "self",(char *) "number", NULL
8608 };
8609
8610 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) SWIG_fail;
8611 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8612 if (!SWIG_IsOK(res1)) {
8613 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8614 }
8615 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8616 if (obj1) {
8617 ecode2 = SWIG_AsVal_int(obj1, &val2);
8618 if (!SWIG_IsOK(ecode2)) {
8619 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8620 }
8621 arg2 = static_cast< int >(val2);
8622 }
8623 {
8624 PyThreadState* __tstate = wxPyBeginAllowThreads();
8625 (arg1)->SetFieldsCount(arg2);
8626 wxPyEndAllowThreads(__tstate);
8627 if (PyErr_Occurred()) SWIG_fail;
8628 }
8629 resultobj = SWIG_Py_Void();
8630 return resultobj;
8631 fail:
8632 return NULL;
8633 }
8634
8635
8636 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8637 PyObject *resultobj = 0;
8638 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8639 int result;
8640 void *argp1 = 0 ;
8641 int res1 = 0 ;
8642 PyObject *swig_obj[1] ;
8643
8644 if (!args) SWIG_fail;
8645 swig_obj[0] = args;
8646 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8647 if (!SWIG_IsOK(res1)) {
8648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8649 }
8650 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8651 {
8652 PyThreadState* __tstate = wxPyBeginAllowThreads();
8653 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
8654 wxPyEndAllowThreads(__tstate);
8655 if (PyErr_Occurred()) SWIG_fail;
8656 }
8657 resultobj = SWIG_From_int(static_cast< int >(result));
8658 return resultobj;
8659 fail:
8660 return NULL;
8661 }
8662
8663
8664 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8665 PyObject *resultobj = 0;
8666 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8667 wxString *arg2 = 0 ;
8668 int arg3 = (int) 0 ;
8669 void *argp1 = 0 ;
8670 int res1 = 0 ;
8671 bool temp2 = false ;
8672 int val3 ;
8673 int ecode3 = 0 ;
8674 PyObject * obj0 = 0 ;
8675 PyObject * obj1 = 0 ;
8676 PyObject * obj2 = 0 ;
8677 char * kwnames[] = {
8678 (char *) "self",(char *) "text",(char *) "number", NULL
8679 };
8680
8681 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) 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_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8685 }
8686 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8687 {
8688 arg2 = wxString_in_helper(obj1);
8689 if (arg2 == NULL) SWIG_fail;
8690 temp2 = true;
8691 }
8692 if (obj2) {
8693 ecode3 = SWIG_AsVal_int(obj2, &val3);
8694 if (!SWIG_IsOK(ecode3)) {
8695 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8696 }
8697 arg3 = static_cast< int >(val3);
8698 }
8699 {
8700 PyThreadState* __tstate = wxPyBeginAllowThreads();
8701 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
8702 wxPyEndAllowThreads(__tstate);
8703 if (PyErr_Occurred()) SWIG_fail;
8704 }
8705 resultobj = SWIG_Py_Void();
8706 {
8707 if (temp2)
8708 delete arg2;
8709 }
8710 return resultobj;
8711 fail:
8712 {
8713 if (temp2)
8714 delete arg2;
8715 }
8716 return NULL;
8717 }
8718
8719
8720 SWIGINTERN PyObject *_wrap_StatusBar_GetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8721 PyObject *resultobj = 0;
8722 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8723 int arg2 = (int) 0 ;
8724 wxString result;
8725 void *argp1 = 0 ;
8726 int res1 = 0 ;
8727 int val2 ;
8728 int ecode2 = 0 ;
8729 PyObject * obj0 = 0 ;
8730 PyObject * obj1 = 0 ;
8731 char * kwnames[] = {
8732 (char *) "self",(char *) "number", NULL
8733 };
8734
8735 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
8736 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8737 if (!SWIG_IsOK(res1)) {
8738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8739 }
8740 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8741 if (obj1) {
8742 ecode2 = SWIG_AsVal_int(obj1, &val2);
8743 if (!SWIG_IsOK(ecode2)) {
8744 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8745 }
8746 arg2 = static_cast< int >(val2);
8747 }
8748 {
8749 PyThreadState* __tstate = wxPyBeginAllowThreads();
8750 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
8751 wxPyEndAllowThreads(__tstate);
8752 if (PyErr_Occurred()) SWIG_fail;
8753 }
8754 {
8755 #if wxUSE_UNICODE
8756 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8757 #else
8758 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8759 #endif
8760 }
8761 return resultobj;
8762 fail:
8763 return NULL;
8764 }
8765
8766
8767 SWIGINTERN PyObject *_wrap_StatusBar_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8768 PyObject *resultobj = 0;
8769 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8770 wxString *arg2 = 0 ;
8771 int arg3 = (int) 0 ;
8772 void *argp1 = 0 ;
8773 int res1 = 0 ;
8774 bool temp2 = false ;
8775 int val3 ;
8776 int ecode3 = 0 ;
8777 PyObject * obj0 = 0 ;
8778 PyObject * obj1 = 0 ;
8779 PyObject * obj2 = 0 ;
8780 char * kwnames[] = {
8781 (char *) "self",(char *) "text",(char *) "number", NULL
8782 };
8783
8784 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8785 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8786 if (!SWIG_IsOK(res1)) {
8787 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8788 }
8789 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8790 {
8791 arg2 = wxString_in_helper(obj1);
8792 if (arg2 == NULL) SWIG_fail;
8793 temp2 = true;
8794 }
8795 if (obj2) {
8796 ecode3 = SWIG_AsVal_int(obj2, &val3);
8797 if (!SWIG_IsOK(ecode3)) {
8798 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
8799 }
8800 arg3 = static_cast< int >(val3);
8801 }
8802 {
8803 PyThreadState* __tstate = wxPyBeginAllowThreads();
8804 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
8805 wxPyEndAllowThreads(__tstate);
8806 if (PyErr_Occurred()) SWIG_fail;
8807 }
8808 resultobj = SWIG_Py_Void();
8809 {
8810 if (temp2)
8811 delete arg2;
8812 }
8813 return resultobj;
8814 fail:
8815 {
8816 if (temp2)
8817 delete arg2;
8818 }
8819 return NULL;
8820 }
8821
8822
8823 SWIGINTERN PyObject *_wrap_StatusBar_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8824 PyObject *resultobj = 0;
8825 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8826 int arg2 = (int) 0 ;
8827 void *argp1 = 0 ;
8828 int res1 = 0 ;
8829 int val2 ;
8830 int ecode2 = 0 ;
8831 PyObject * obj0 = 0 ;
8832 PyObject * obj1 = 0 ;
8833 char * kwnames[] = {
8834 (char *) "self",(char *) "number", NULL
8835 };
8836
8837 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
8838 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8839 if (!SWIG_IsOK(res1)) {
8840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8841 }
8842 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8843 if (obj1) {
8844 ecode2 = SWIG_AsVal_int(obj1, &val2);
8845 if (!SWIG_IsOK(ecode2)) {
8846 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
8847 }
8848 arg2 = static_cast< int >(val2);
8849 }
8850 {
8851 PyThreadState* __tstate = wxPyBeginAllowThreads();
8852 (arg1)->PopStatusText(arg2);
8853 wxPyEndAllowThreads(__tstate);
8854 if (PyErr_Occurred()) SWIG_fail;
8855 }
8856 resultobj = SWIG_Py_Void();
8857 return resultobj;
8858 fail:
8859 return NULL;
8860 }
8861
8862
8863 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8864 PyObject *resultobj = 0;
8865 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8866 int arg2 ;
8867 int *arg3 = (int *) 0 ;
8868 void *argp1 = 0 ;
8869 int res1 = 0 ;
8870 PyObject * obj0 = 0 ;
8871 PyObject * obj1 = 0 ;
8872 char * kwnames[] = {
8873 (char *) "self",(char *) "widths", NULL
8874 };
8875
8876 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
8877 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8878 if (!SWIG_IsOK(res1)) {
8879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8880 }
8881 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8882 {
8883 arg2 = PyList_Size(obj1);
8884 arg3 = int_LIST_helper(obj1);
8885 if (arg3 == NULL) SWIG_fail;
8886 }
8887 {
8888 PyThreadState* __tstate = wxPyBeginAllowThreads();
8889 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
8890 wxPyEndAllowThreads(__tstate);
8891 if (PyErr_Occurred()) SWIG_fail;
8892 }
8893 resultobj = SWIG_Py_Void();
8894 {
8895 if (arg3) delete [] arg3;
8896 }
8897 return resultobj;
8898 fail:
8899 {
8900 if (arg3) delete [] arg3;
8901 }
8902 return NULL;
8903 }
8904
8905
8906 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8907 PyObject *resultobj = 0;
8908 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8909 int arg2 ;
8910 int *arg3 = (int *) 0 ;
8911 void *argp1 = 0 ;
8912 int res1 = 0 ;
8913 PyObject * obj0 = 0 ;
8914 PyObject * obj1 = 0 ;
8915 char * kwnames[] = {
8916 (char *) "self",(char *) "styles", NULL
8917 };
8918
8919 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) SWIG_fail;
8920 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8921 if (!SWIG_IsOK(res1)) {
8922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8923 }
8924 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8925 {
8926 arg2 = PyList_Size(obj1);
8927 arg3 = int_LIST_helper(obj1);
8928 if (arg3 == NULL) SWIG_fail;
8929 }
8930 {
8931 PyThreadState* __tstate = wxPyBeginAllowThreads();
8932 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
8933 wxPyEndAllowThreads(__tstate);
8934 if (PyErr_Occurred()) SWIG_fail;
8935 }
8936 resultobj = SWIG_Py_Void();
8937 {
8938 if (arg3) delete [] arg3;
8939 }
8940 return resultobj;
8941 fail:
8942 {
8943 if (arg3) delete [] arg3;
8944 }
8945 return NULL;
8946 }
8947
8948
8949 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8950 PyObject *resultobj = 0;
8951 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8952 int arg2 ;
8953 wxRect result;
8954 void *argp1 = 0 ;
8955 int res1 = 0 ;
8956 int val2 ;
8957 int ecode2 = 0 ;
8958 PyObject * obj0 = 0 ;
8959 PyObject * obj1 = 0 ;
8960 char * kwnames[] = {
8961 (char *) "self",(char *) "i", NULL
8962 };
8963
8964 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) SWIG_fail;
8965 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8966 if (!SWIG_IsOK(res1)) {
8967 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8968 }
8969 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8970 ecode2 = SWIG_AsVal_int(obj1, &val2);
8971 if (!SWIG_IsOK(ecode2)) {
8972 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
8973 }
8974 arg2 = static_cast< int >(val2);
8975 {
8976 PyThreadState* __tstate = wxPyBeginAllowThreads();
8977 result = wxStatusBar_GetFieldRect(arg1,arg2);
8978 wxPyEndAllowThreads(__tstate);
8979 if (PyErr_Occurred()) SWIG_fail;
8980 }
8981 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
8982 return resultobj;
8983 fail:
8984 return NULL;
8985 }
8986
8987
8988 SWIGINTERN PyObject *_wrap_StatusBar_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8989 PyObject *resultobj = 0;
8990 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8991 int arg2 ;
8992 void *argp1 = 0 ;
8993 int res1 = 0 ;
8994 int val2 ;
8995 int ecode2 = 0 ;
8996 PyObject * obj0 = 0 ;
8997 PyObject * obj1 = 0 ;
8998 char * kwnames[] = {
8999 (char *) "self",(char *) "height", NULL
9000 };
9001
9002 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) SWIG_fail;
9003 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9004 if (!SWIG_IsOK(res1)) {
9005 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9006 }
9007 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9008 ecode2 = SWIG_AsVal_int(obj1, &val2);
9009 if (!SWIG_IsOK(ecode2)) {
9010 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9011 }
9012 arg2 = static_cast< int >(val2);
9013 {
9014 PyThreadState* __tstate = wxPyBeginAllowThreads();
9015 (arg1)->SetMinHeight(arg2);
9016 wxPyEndAllowThreads(__tstate);
9017 if (PyErr_Occurred()) SWIG_fail;
9018 }
9019 resultobj = SWIG_Py_Void();
9020 return resultobj;
9021 fail:
9022 return NULL;
9023 }
9024
9025
9026 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9027 PyObject *resultobj = 0;
9028 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9029 int result;
9030 void *argp1 = 0 ;
9031 int res1 = 0 ;
9032 PyObject *swig_obj[1] ;
9033
9034 if (!args) SWIG_fail;
9035 swig_obj[0] = args;
9036 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9037 if (!SWIG_IsOK(res1)) {
9038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9039 }
9040 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9041 {
9042 PyThreadState* __tstate = wxPyBeginAllowThreads();
9043 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
9044 wxPyEndAllowThreads(__tstate);
9045 if (PyErr_Occurred()) SWIG_fail;
9046 }
9047 resultobj = SWIG_From_int(static_cast< int >(result));
9048 return resultobj;
9049 fail:
9050 return NULL;
9051 }
9052
9053
9054 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9055 PyObject *resultobj = 0;
9056 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9057 int result;
9058 void *argp1 = 0 ;
9059 int res1 = 0 ;
9060 PyObject *swig_obj[1] ;
9061
9062 if (!args) SWIG_fail;
9063 swig_obj[0] = args;
9064 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9065 if (!SWIG_IsOK(res1)) {
9066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9067 }
9068 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9069 {
9070 PyThreadState* __tstate = wxPyBeginAllowThreads();
9071 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
9072 wxPyEndAllowThreads(__tstate);
9073 if (PyErr_Occurred()) SWIG_fail;
9074 }
9075 resultobj = SWIG_From_int(static_cast< int >(result));
9076 return resultobj;
9077 fail:
9078 return NULL;
9079 }
9080
9081
9082 SWIGINTERN PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9083 PyObject *resultobj = 0;
9084 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9085 SwigValueWrapper<wxVisualAttributes > result;
9086 int val1 ;
9087 int ecode1 = 0 ;
9088 PyObject * obj0 = 0 ;
9089 char * kwnames[] = {
9090 (char *) "variant", NULL
9091 };
9092
9093 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9094 if (obj0) {
9095 ecode1 = SWIG_AsVal_int(obj0, &val1);
9096 if (!SWIG_IsOK(ecode1)) {
9097 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9098 }
9099 arg1 = static_cast< wxWindowVariant >(val1);
9100 }
9101 {
9102 if (!wxPyCheckForApp()) SWIG_fail;
9103 PyThreadState* __tstate = wxPyBeginAllowThreads();
9104 result = wxStatusBar::GetClassDefaultAttributes(arg1);
9105 wxPyEndAllowThreads(__tstate);
9106 if (PyErr_Occurred()) SWIG_fail;
9107 }
9108 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9109 return resultobj;
9110 fail:
9111 return NULL;
9112 }
9113
9114
9115 SWIGINTERN PyObject *StatusBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9116 PyObject *obj;
9117 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9118 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar, SWIG_NewClientData(obj));
9119 return SWIG_Py_Void();
9120 }
9121
9122 SWIGINTERN PyObject *StatusBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9123 return SWIG_Python_InitShadowInstance(args);
9124 }
9125
9126 SWIGINTERN int SplitterNameStr_set(PyObject *) {
9127 SWIG_Error(SWIG_AttributeError,"Variable SplitterNameStr is read-only.");
9128 return 1;
9129 }
9130
9131
9132 SWIGINTERN PyObject *SplitterNameStr_get(void) {
9133 PyObject *pyobj = 0;
9134
9135 {
9136 #if wxUSE_UNICODE
9137 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9138 #else
9139 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9140 #endif
9141 }
9142 return pyobj;
9143 }
9144
9145
9146 SWIGINTERN PyObject *_wrap_new_SplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9147 PyObject *resultobj = 0;
9148 wxWindow *arg1 = (wxWindow *) 0 ;
9149 int arg2 = (int) -1 ;
9150 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9151 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9152 wxSize const &arg4_defvalue = wxDefaultSize ;
9153 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9154 long arg5 = (long) wxSP_3D ;
9155 wxString const &arg6_defvalue = wxPySplitterNameStr ;
9156 wxString *arg6 = (wxString *) &arg6_defvalue ;
9157 wxSplitterWindow *result = 0 ;
9158 void *argp1 = 0 ;
9159 int res1 = 0 ;
9160 int val2 ;
9161 int ecode2 = 0 ;
9162 wxPoint temp3 ;
9163 wxSize temp4 ;
9164 long val5 ;
9165 int ecode5 = 0 ;
9166 bool temp6 = false ;
9167 PyObject * obj0 = 0 ;
9168 PyObject * obj1 = 0 ;
9169 PyObject * obj2 = 0 ;
9170 PyObject * obj3 = 0 ;
9171 PyObject * obj4 = 0 ;
9172 PyObject * obj5 = 0 ;
9173 char * kwnames[] = {
9174 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9175 };
9176
9177 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9178 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9179 if (!SWIG_IsOK(res1)) {
9180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9181 }
9182 arg1 = reinterpret_cast< wxWindow * >(argp1);
9183 if (obj1) {
9184 ecode2 = SWIG_AsVal_int(obj1, &val2);
9185 if (!SWIG_IsOK(ecode2)) {
9186 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9187 }
9188 arg2 = static_cast< int >(val2);
9189 }
9190 if (obj2) {
9191 {
9192 arg3 = &temp3;
9193 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9194 }
9195 }
9196 if (obj3) {
9197 {
9198 arg4 = &temp4;
9199 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9200 }
9201 }
9202 if (obj4) {
9203 ecode5 = SWIG_AsVal_long(obj4, &val5);
9204 if (!SWIG_IsOK(ecode5)) {
9205 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9206 }
9207 arg5 = static_cast< long >(val5);
9208 }
9209 if (obj5) {
9210 {
9211 arg6 = wxString_in_helper(obj5);
9212 if (arg6 == NULL) SWIG_fail;
9213 temp6 = true;
9214 }
9215 }
9216 {
9217 if (!wxPyCheckForApp()) SWIG_fail;
9218 PyThreadState* __tstate = wxPyBeginAllowThreads();
9219 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9220 wxPyEndAllowThreads(__tstate);
9221 if (PyErr_Occurred()) SWIG_fail;
9222 }
9223 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_NEW | 0 );
9224 {
9225 if (temp6)
9226 delete arg6;
9227 }
9228 return resultobj;
9229 fail:
9230 {
9231 if (temp6)
9232 delete arg6;
9233 }
9234 return NULL;
9235 }
9236
9237
9238 SWIGINTERN PyObject *_wrap_new_PreSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9239 PyObject *resultobj = 0;
9240 wxSplitterWindow *result = 0 ;
9241
9242 if (!SWIG_Python_UnpackTuple(args,"new_PreSplitterWindow",0,0,0)) SWIG_fail;
9243 {
9244 if (!wxPyCheckForApp()) SWIG_fail;
9245 PyThreadState* __tstate = wxPyBeginAllowThreads();
9246 result = (wxSplitterWindow *)new wxSplitterWindow();
9247 wxPyEndAllowThreads(__tstate);
9248 if (PyErr_Occurred()) SWIG_fail;
9249 }
9250 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_OWN | 0 );
9251 return resultobj;
9252 fail:
9253 return NULL;
9254 }
9255
9256
9257 SWIGINTERN PyObject *_wrap_SplitterWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9258 PyObject *resultobj = 0;
9259 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9260 wxWindow *arg2 = (wxWindow *) 0 ;
9261 int arg3 = (int) -1 ;
9262 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9263 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9264 wxSize const &arg5_defvalue = wxDefaultSize ;
9265 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9266 long arg6 = (long) wxSP_3D ;
9267 wxString const &arg7_defvalue = wxPySplitterNameStr ;
9268 wxString *arg7 = (wxString *) &arg7_defvalue ;
9269 bool result;
9270 void *argp1 = 0 ;
9271 int res1 = 0 ;
9272 void *argp2 = 0 ;
9273 int res2 = 0 ;
9274 int val3 ;
9275 int ecode3 = 0 ;
9276 wxPoint temp4 ;
9277 wxSize temp5 ;
9278 long val6 ;
9279 int ecode6 = 0 ;
9280 bool temp7 = false ;
9281 PyObject * obj0 = 0 ;
9282 PyObject * obj1 = 0 ;
9283 PyObject * obj2 = 0 ;
9284 PyObject * obj3 = 0 ;
9285 PyObject * obj4 = 0 ;
9286 PyObject * obj5 = 0 ;
9287 PyObject * obj6 = 0 ;
9288 char * kwnames[] = {
9289 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9290 };
9291
9292 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9293 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9294 if (!SWIG_IsOK(res1)) {
9295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9296 }
9297 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9298 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9299 if (!SWIG_IsOK(res2)) {
9300 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9301 }
9302 arg2 = reinterpret_cast< wxWindow * >(argp2);
9303 if (obj2) {
9304 ecode3 = SWIG_AsVal_int(obj2, &val3);
9305 if (!SWIG_IsOK(ecode3)) {
9306 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9307 }
9308 arg3 = static_cast< int >(val3);
9309 }
9310 if (obj3) {
9311 {
9312 arg4 = &temp4;
9313 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9314 }
9315 }
9316 if (obj4) {
9317 {
9318 arg5 = &temp5;
9319 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9320 }
9321 }
9322 if (obj5) {
9323 ecode6 = SWIG_AsVal_long(obj5, &val6);
9324 if (!SWIG_IsOK(ecode6)) {
9325 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9326 }
9327 arg6 = static_cast< long >(val6);
9328 }
9329 if (obj6) {
9330 {
9331 arg7 = wxString_in_helper(obj6);
9332 if (arg7 == NULL) SWIG_fail;
9333 temp7 = true;
9334 }
9335 }
9336 {
9337 PyThreadState* __tstate = wxPyBeginAllowThreads();
9338 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9339 wxPyEndAllowThreads(__tstate);
9340 if (PyErr_Occurred()) SWIG_fail;
9341 }
9342 {
9343 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9344 }
9345 {
9346 if (temp7)
9347 delete arg7;
9348 }
9349 return resultobj;
9350 fail:
9351 {
9352 if (temp7)
9353 delete arg7;
9354 }
9355 return NULL;
9356 }
9357
9358
9359 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9360 PyObject *resultobj = 0;
9361 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9362 wxWindow *result = 0 ;
9363 void *argp1 = 0 ;
9364 int res1 = 0 ;
9365 PyObject *swig_obj[1] ;
9366
9367 if (!args) SWIG_fail;
9368 swig_obj[0] = args;
9369 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9370 if (!SWIG_IsOK(res1)) {
9371 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9372 }
9373 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9374 {
9375 PyThreadState* __tstate = wxPyBeginAllowThreads();
9376 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
9377 wxPyEndAllowThreads(__tstate);
9378 if (PyErr_Occurred()) SWIG_fail;
9379 }
9380 {
9381 resultobj = wxPyMake_wxObject(result, 0);
9382 }
9383 return resultobj;
9384 fail:
9385 return NULL;
9386 }
9387
9388
9389 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9390 PyObject *resultobj = 0;
9391 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9392 wxWindow *result = 0 ;
9393 void *argp1 = 0 ;
9394 int res1 = 0 ;
9395 PyObject *swig_obj[1] ;
9396
9397 if (!args) SWIG_fail;
9398 swig_obj[0] = args;
9399 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9400 if (!SWIG_IsOK(res1)) {
9401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9402 }
9403 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9404 {
9405 PyThreadState* __tstate = wxPyBeginAllowThreads();
9406 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
9407 wxPyEndAllowThreads(__tstate);
9408 if (PyErr_Occurred()) SWIG_fail;
9409 }
9410 {
9411 resultobj = wxPyMake_wxObject(result, 0);
9412 }
9413 return resultobj;
9414 fail:
9415 return NULL;
9416 }
9417
9418
9419 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9420 PyObject *resultobj = 0;
9421 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9422 int arg2 ;
9423 void *argp1 = 0 ;
9424 int res1 = 0 ;
9425 int val2 ;
9426 int ecode2 = 0 ;
9427 PyObject * obj0 = 0 ;
9428 PyObject * obj1 = 0 ;
9429 char * kwnames[] = {
9430 (char *) "self",(char *) "mode", NULL
9431 };
9432
9433 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) SWIG_fail;
9434 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9435 if (!SWIG_IsOK(res1)) {
9436 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9437 }
9438 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9439 ecode2 = SWIG_AsVal_int(obj1, &val2);
9440 if (!SWIG_IsOK(ecode2)) {
9441 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9442 }
9443 arg2 = static_cast< int >(val2);
9444 {
9445 PyThreadState* __tstate = wxPyBeginAllowThreads();
9446 (arg1)->SetSplitMode(arg2);
9447 wxPyEndAllowThreads(__tstate);
9448 if (PyErr_Occurred()) SWIG_fail;
9449 }
9450 resultobj = SWIG_Py_Void();
9451 return resultobj;
9452 fail:
9453 return NULL;
9454 }
9455
9456
9457 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9458 PyObject *resultobj = 0;
9459 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9460 wxSplitMode result;
9461 void *argp1 = 0 ;
9462 int res1 = 0 ;
9463 PyObject *swig_obj[1] ;
9464
9465 if (!args) SWIG_fail;
9466 swig_obj[0] = args;
9467 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9468 if (!SWIG_IsOK(res1)) {
9469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9470 }
9471 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9472 {
9473 PyThreadState* __tstate = wxPyBeginAllowThreads();
9474 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
9475 wxPyEndAllowThreads(__tstate);
9476 if (PyErr_Occurred()) SWIG_fail;
9477 }
9478 resultobj = SWIG_From_int(static_cast< int >(result));
9479 return resultobj;
9480 fail:
9481 return NULL;
9482 }
9483
9484
9485 SWIGINTERN PyObject *_wrap_SplitterWindow_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9486 PyObject *resultobj = 0;
9487 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9488 wxWindow *arg2 = (wxWindow *) 0 ;
9489 void *argp1 = 0 ;
9490 int res1 = 0 ;
9491 void *argp2 = 0 ;
9492 int res2 = 0 ;
9493 PyObject * obj0 = 0 ;
9494 PyObject * obj1 = 0 ;
9495 char * kwnames[] = {
9496 (char *) "self",(char *) "window", NULL
9497 };
9498
9499 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) SWIG_fail;
9500 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9501 if (!SWIG_IsOK(res1)) {
9502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9503 }
9504 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9505 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9506 if (!SWIG_IsOK(res2)) {
9507 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9508 }
9509 arg2 = reinterpret_cast< wxWindow * >(argp2);
9510 {
9511 PyThreadState* __tstate = wxPyBeginAllowThreads();
9512 (arg1)->Initialize(arg2);
9513 wxPyEndAllowThreads(__tstate);
9514 if (PyErr_Occurred()) SWIG_fail;
9515 }
9516 resultobj = SWIG_Py_Void();
9517 return resultobj;
9518 fail:
9519 return NULL;
9520 }
9521
9522
9523 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9524 PyObject *resultobj = 0;
9525 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9526 wxWindow *arg2 = (wxWindow *) 0 ;
9527 wxWindow *arg3 = (wxWindow *) 0 ;
9528 int arg4 = (int) 0 ;
9529 bool result;
9530 void *argp1 = 0 ;
9531 int res1 = 0 ;
9532 void *argp2 = 0 ;
9533 int res2 = 0 ;
9534 void *argp3 = 0 ;
9535 int res3 = 0 ;
9536 int val4 ;
9537 int ecode4 = 0 ;
9538 PyObject * obj0 = 0 ;
9539 PyObject * obj1 = 0 ;
9540 PyObject * obj2 = 0 ;
9541 PyObject * obj3 = 0 ;
9542 char * kwnames[] = {
9543 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9544 };
9545
9546 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9547 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9548 if (!SWIG_IsOK(res1)) {
9549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9550 }
9551 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9552 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9553 if (!SWIG_IsOK(res2)) {
9554 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9555 }
9556 arg2 = reinterpret_cast< wxWindow * >(argp2);
9557 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9558 if (!SWIG_IsOK(res3)) {
9559 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9560 }
9561 arg3 = reinterpret_cast< wxWindow * >(argp3);
9562 if (obj3) {
9563 ecode4 = SWIG_AsVal_int(obj3, &val4);
9564 if (!SWIG_IsOK(ecode4)) {
9565 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9566 }
9567 arg4 = static_cast< int >(val4);
9568 }
9569 {
9570 PyThreadState* __tstate = wxPyBeginAllowThreads();
9571 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
9572 wxPyEndAllowThreads(__tstate);
9573 if (PyErr_Occurred()) SWIG_fail;
9574 }
9575 {
9576 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9577 }
9578 return resultobj;
9579 fail:
9580 return NULL;
9581 }
9582
9583
9584 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9585 PyObject *resultobj = 0;
9586 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9587 wxWindow *arg2 = (wxWindow *) 0 ;
9588 wxWindow *arg3 = (wxWindow *) 0 ;
9589 int arg4 = (int) 0 ;
9590 bool result;
9591 void *argp1 = 0 ;
9592 int res1 = 0 ;
9593 void *argp2 = 0 ;
9594 int res2 = 0 ;
9595 void *argp3 = 0 ;
9596 int res3 = 0 ;
9597 int val4 ;
9598 int ecode4 = 0 ;
9599 PyObject * obj0 = 0 ;
9600 PyObject * obj1 = 0 ;
9601 PyObject * obj2 = 0 ;
9602 PyObject * obj3 = 0 ;
9603 char * kwnames[] = {
9604 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9605 };
9606
9607 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9608 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9609 if (!SWIG_IsOK(res1)) {
9610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9611 }
9612 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9613 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9614 if (!SWIG_IsOK(res2)) {
9615 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9616 }
9617 arg2 = reinterpret_cast< wxWindow * >(argp2);
9618 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9619 if (!SWIG_IsOK(res3)) {
9620 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9621 }
9622 arg3 = reinterpret_cast< wxWindow * >(argp3);
9623 if (obj3) {
9624 ecode4 = SWIG_AsVal_int(obj3, &val4);
9625 if (!SWIG_IsOK(ecode4)) {
9626 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9627 }
9628 arg4 = static_cast< int >(val4);
9629 }
9630 {
9631 PyThreadState* __tstate = wxPyBeginAllowThreads();
9632 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
9633 wxPyEndAllowThreads(__tstate);
9634 if (PyErr_Occurred()) SWIG_fail;
9635 }
9636 {
9637 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9638 }
9639 return resultobj;
9640 fail:
9641 return NULL;
9642 }
9643
9644
9645 SWIGINTERN PyObject *_wrap_SplitterWindow_Unsplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9646 PyObject *resultobj = 0;
9647 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9648 wxWindow *arg2 = (wxWindow *) NULL ;
9649 bool result;
9650 void *argp1 = 0 ;
9651 int res1 = 0 ;
9652 void *argp2 = 0 ;
9653 int res2 = 0 ;
9654 PyObject * obj0 = 0 ;
9655 PyObject * obj1 = 0 ;
9656 char * kwnames[] = {
9657 (char *) "self",(char *) "toRemove", NULL
9658 };
9659
9660 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) SWIG_fail;
9661 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9662 if (!SWIG_IsOK(res1)) {
9663 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9664 }
9665 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9666 if (obj1) {
9667 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9668 if (!SWIG_IsOK(res2)) {
9669 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9670 }
9671 arg2 = reinterpret_cast< wxWindow * >(argp2);
9672 }
9673 {
9674 PyThreadState* __tstate = wxPyBeginAllowThreads();
9675 result = (bool)(arg1)->Unsplit(arg2);
9676 wxPyEndAllowThreads(__tstate);
9677 if (PyErr_Occurred()) SWIG_fail;
9678 }
9679 {
9680 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9681 }
9682 return resultobj;
9683 fail:
9684 return NULL;
9685 }
9686
9687
9688 SWIGINTERN PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9689 PyObject *resultobj = 0;
9690 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9691 wxWindow *arg2 = (wxWindow *) 0 ;
9692 wxWindow *arg3 = (wxWindow *) 0 ;
9693 bool result;
9694 void *argp1 = 0 ;
9695 int res1 = 0 ;
9696 void *argp2 = 0 ;
9697 int res2 = 0 ;
9698 void *argp3 = 0 ;
9699 int res3 = 0 ;
9700 PyObject * obj0 = 0 ;
9701 PyObject * obj1 = 0 ;
9702 PyObject * obj2 = 0 ;
9703 char * kwnames[] = {
9704 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9705 };
9706
9707 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9708 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9709 if (!SWIG_IsOK(res1)) {
9710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9711 }
9712 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9713 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9714 if (!SWIG_IsOK(res2)) {
9715 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9716 }
9717 arg2 = reinterpret_cast< wxWindow * >(argp2);
9718 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9719 if (!SWIG_IsOK(res3)) {
9720 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9721 }
9722 arg3 = reinterpret_cast< wxWindow * >(argp3);
9723 {
9724 PyThreadState* __tstate = wxPyBeginAllowThreads();
9725 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
9726 wxPyEndAllowThreads(__tstate);
9727 if (PyErr_Occurred()) SWIG_fail;
9728 }
9729 {
9730 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9731 }
9732 return resultobj;
9733 fail:
9734 return NULL;
9735 }
9736
9737
9738 SWIGINTERN PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9739 PyObject *resultobj = 0;
9740 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9741 void *argp1 = 0 ;
9742 int res1 = 0 ;
9743 PyObject *swig_obj[1] ;
9744
9745 if (!args) SWIG_fail;
9746 swig_obj[0] = args;
9747 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9748 if (!SWIG_IsOK(res1)) {
9749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9750 }
9751 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9752 {
9753 PyThreadState* __tstate = wxPyBeginAllowThreads();
9754 (arg1)->UpdateSize();
9755 wxPyEndAllowThreads(__tstate);
9756 if (PyErr_Occurred()) SWIG_fail;
9757 }
9758 resultobj = SWIG_Py_Void();
9759 return resultobj;
9760 fail:
9761 return NULL;
9762 }
9763
9764
9765 SWIGINTERN PyObject *_wrap_SplitterWindow_IsSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9766 PyObject *resultobj = 0;
9767 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9768 bool result;
9769 void *argp1 = 0 ;
9770 int res1 = 0 ;
9771 PyObject *swig_obj[1] ;
9772
9773 if (!args) SWIG_fail;
9774 swig_obj[0] = args;
9775 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9776 if (!SWIG_IsOK(res1)) {
9777 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9778 }
9779 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9780 {
9781 PyThreadState* __tstate = wxPyBeginAllowThreads();
9782 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
9783 wxPyEndAllowThreads(__tstate);
9784 if (PyErr_Occurred()) SWIG_fail;
9785 }
9786 {
9787 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9788 }
9789 return resultobj;
9790 fail:
9791 return NULL;
9792 }
9793
9794
9795 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9796 PyObject *resultobj = 0;
9797 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9798 int arg2 ;
9799 void *argp1 = 0 ;
9800 int res1 = 0 ;
9801 int val2 ;
9802 int ecode2 = 0 ;
9803 PyObject * obj0 = 0 ;
9804 PyObject * obj1 = 0 ;
9805 char * kwnames[] = {
9806 (char *) "self",(char *) "width", NULL
9807 };
9808
9809 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) SWIG_fail;
9810 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9811 if (!SWIG_IsOK(res1)) {
9812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9813 }
9814 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9815 ecode2 = SWIG_AsVal_int(obj1, &val2);
9816 if (!SWIG_IsOK(ecode2)) {
9817 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
9818 }
9819 arg2 = static_cast< int >(val2);
9820 {
9821 PyThreadState* __tstate = wxPyBeginAllowThreads();
9822 (arg1)->SetSashSize(arg2);
9823 wxPyEndAllowThreads(__tstate);
9824 if (PyErr_Occurred()) SWIG_fail;
9825 }
9826 resultobj = SWIG_Py_Void();
9827 return resultobj;
9828 fail:
9829 return NULL;
9830 }
9831
9832
9833 SWIGINTERN PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9834 PyObject *resultobj = 0;
9835 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9836 int arg2 ;
9837 void *argp1 = 0 ;
9838 int res1 = 0 ;
9839 int val2 ;
9840 int ecode2 = 0 ;
9841 PyObject * obj0 = 0 ;
9842 PyObject * obj1 = 0 ;
9843 char * kwnames[] = {
9844 (char *) "self",(char *) "width", NULL
9845 };
9846
9847 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
9848 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9849 if (!SWIG_IsOK(res1)) {
9850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9851 }
9852 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9853 ecode2 = SWIG_AsVal_int(obj1, &val2);
9854 if (!SWIG_IsOK(ecode2)) {
9855 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
9856 }
9857 arg2 = static_cast< int >(val2);
9858 {
9859 PyThreadState* __tstate = wxPyBeginAllowThreads();
9860 (arg1)->SetBorderSize(arg2);
9861 wxPyEndAllowThreads(__tstate);
9862 if (PyErr_Occurred()) SWIG_fail;
9863 }
9864 resultobj = SWIG_Py_Void();
9865 return resultobj;
9866 fail:
9867 return NULL;
9868 }
9869
9870
9871 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9872 PyObject *resultobj = 0;
9873 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9874 int result;
9875 void *argp1 = 0 ;
9876 int res1 = 0 ;
9877 PyObject *swig_obj[1] ;
9878
9879 if (!args) SWIG_fail;
9880 swig_obj[0] = args;
9881 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9882 if (!SWIG_IsOK(res1)) {
9883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9884 }
9885 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9886 {
9887 PyThreadState* __tstate = wxPyBeginAllowThreads();
9888 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
9889 wxPyEndAllowThreads(__tstate);
9890 if (PyErr_Occurred()) SWIG_fail;
9891 }
9892 resultobj = SWIG_From_int(static_cast< int >(result));
9893 return resultobj;
9894 fail:
9895 return NULL;
9896 }
9897
9898
9899 SWIGINTERN PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9900 PyObject *resultobj = 0;
9901 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9902 int result;
9903 void *argp1 = 0 ;
9904 int res1 = 0 ;
9905 PyObject *swig_obj[1] ;
9906
9907 if (!args) SWIG_fail;
9908 swig_obj[0] = args;
9909 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9910 if (!SWIG_IsOK(res1)) {
9911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9912 }
9913 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9914 {
9915 PyThreadState* __tstate = wxPyBeginAllowThreads();
9916 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
9917 wxPyEndAllowThreads(__tstate);
9918 if (PyErr_Occurred()) SWIG_fail;
9919 }
9920 resultobj = SWIG_From_int(static_cast< int >(result));
9921 return resultobj;
9922 fail:
9923 return NULL;
9924 }
9925
9926
9927 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9928 PyObject *resultobj = 0;
9929 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9930 int arg2 ;
9931 bool arg3 = (bool) true ;
9932 void *argp1 = 0 ;
9933 int res1 = 0 ;
9934 int val2 ;
9935 int ecode2 = 0 ;
9936 bool val3 ;
9937 int ecode3 = 0 ;
9938 PyObject * obj0 = 0 ;
9939 PyObject * obj1 = 0 ;
9940 PyObject * obj2 = 0 ;
9941 char * kwnames[] = {
9942 (char *) "self",(char *) "position",(char *) "redraw", NULL
9943 };
9944
9945 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9946 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9947 if (!SWIG_IsOK(res1)) {
9948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9949 }
9950 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9951 ecode2 = SWIG_AsVal_int(obj1, &val2);
9952 if (!SWIG_IsOK(ecode2)) {
9953 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
9954 }
9955 arg2 = static_cast< int >(val2);
9956 if (obj2) {
9957 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9958 if (!SWIG_IsOK(ecode3)) {
9959 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
9960 }
9961 arg3 = static_cast< bool >(val3);
9962 }
9963 {
9964 PyThreadState* __tstate = wxPyBeginAllowThreads();
9965 (arg1)->SetSashPosition(arg2,arg3);
9966 wxPyEndAllowThreads(__tstate);
9967 if (PyErr_Occurred()) SWIG_fail;
9968 }
9969 resultobj = SWIG_Py_Void();
9970 return resultobj;
9971 fail:
9972 return NULL;
9973 }
9974
9975
9976 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9977 PyObject *resultobj = 0;
9978 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9979 int result;
9980 void *argp1 = 0 ;
9981 int res1 = 0 ;
9982 PyObject *swig_obj[1] ;
9983
9984 if (!args) SWIG_fail;
9985 swig_obj[0] = args;
9986 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9987 if (!SWIG_IsOK(res1)) {
9988 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9989 }
9990 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9991 {
9992 PyThreadState* __tstate = wxPyBeginAllowThreads();
9993 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
9994 wxPyEndAllowThreads(__tstate);
9995 if (PyErr_Occurred()) SWIG_fail;
9996 }
9997 resultobj = SWIG_From_int(static_cast< int >(result));
9998 return resultobj;
9999 fail:
10000 return NULL;
10001 }
10002
10003
10004 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10005 PyObject *resultobj = 0;
10006 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10007 double arg2 ;
10008 void *argp1 = 0 ;
10009 int res1 = 0 ;
10010 double val2 ;
10011 int ecode2 = 0 ;
10012 PyObject * obj0 = 0 ;
10013 PyObject * obj1 = 0 ;
10014 char * kwnames[] = {
10015 (char *) "self",(char *) "gravity", NULL
10016 };
10017
10018 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) SWIG_fail;
10019 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10020 if (!SWIG_IsOK(res1)) {
10021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10022 }
10023 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10024 ecode2 = SWIG_AsVal_double(obj1, &val2);
10025 if (!SWIG_IsOK(ecode2)) {
10026 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10027 }
10028 arg2 = static_cast< double >(val2);
10029 {
10030 PyThreadState* __tstate = wxPyBeginAllowThreads();
10031 (arg1)->SetSashGravity(arg2);
10032 wxPyEndAllowThreads(__tstate);
10033 if (PyErr_Occurred()) SWIG_fail;
10034 }
10035 resultobj = SWIG_Py_Void();
10036 return resultobj;
10037 fail:
10038 return NULL;
10039 }
10040
10041
10042 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10043 PyObject *resultobj = 0;
10044 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10045 double result;
10046 void *argp1 = 0 ;
10047 int res1 = 0 ;
10048 PyObject *swig_obj[1] ;
10049
10050 if (!args) SWIG_fail;
10051 swig_obj[0] = args;
10052 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10053 if (!SWIG_IsOK(res1)) {
10054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10055 }
10056 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10057 {
10058 PyThreadState* __tstate = wxPyBeginAllowThreads();
10059 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
10060 wxPyEndAllowThreads(__tstate);
10061 if (PyErr_Occurred()) SWIG_fail;
10062 }
10063 resultobj = SWIG_From_double(static_cast< double >(result));
10064 return resultobj;
10065 fail:
10066 return NULL;
10067 }
10068
10069
10070 SWIGINTERN PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10071 PyObject *resultobj = 0;
10072 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10073 int arg2 ;
10074 void *argp1 = 0 ;
10075 int res1 = 0 ;
10076 int val2 ;
10077 int ecode2 = 0 ;
10078 PyObject * obj0 = 0 ;
10079 PyObject * obj1 = 0 ;
10080 char * kwnames[] = {
10081 (char *) "self",(char *) "min", NULL
10082 };
10083
10084 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) SWIG_fail;
10085 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10086 if (!SWIG_IsOK(res1)) {
10087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10088 }
10089 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10090 ecode2 = SWIG_AsVal_int(obj1, &val2);
10091 if (!SWIG_IsOK(ecode2)) {
10092 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10093 }
10094 arg2 = static_cast< int >(val2);
10095 {
10096 PyThreadState* __tstate = wxPyBeginAllowThreads();
10097 (arg1)->SetMinimumPaneSize(arg2);
10098 wxPyEndAllowThreads(__tstate);
10099 if (PyErr_Occurred()) SWIG_fail;
10100 }
10101 resultobj = SWIG_Py_Void();
10102 return resultobj;
10103 fail:
10104 return NULL;
10105 }
10106
10107
10108 SWIGINTERN PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10109 PyObject *resultobj = 0;
10110 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10111 int result;
10112 void *argp1 = 0 ;
10113 int res1 = 0 ;
10114 PyObject *swig_obj[1] ;
10115
10116 if (!args) SWIG_fail;
10117 swig_obj[0] = args;
10118 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10119 if (!SWIG_IsOK(res1)) {
10120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10121 }
10122 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10123 {
10124 PyThreadState* __tstate = wxPyBeginAllowThreads();
10125 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
10126 wxPyEndAllowThreads(__tstate);
10127 if (PyErr_Occurred()) SWIG_fail;
10128 }
10129 resultobj = SWIG_From_int(static_cast< int >(result));
10130 return resultobj;
10131 fail:
10132 return NULL;
10133 }
10134
10135
10136 SWIGINTERN PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10137 PyObject *resultobj = 0;
10138 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10139 int arg2 ;
10140 int arg3 ;
10141 int arg4 = (int) 5 ;
10142 bool result;
10143 void *argp1 = 0 ;
10144 int res1 = 0 ;
10145 int val2 ;
10146 int ecode2 = 0 ;
10147 int val3 ;
10148 int ecode3 = 0 ;
10149 int val4 ;
10150 int ecode4 = 0 ;
10151 PyObject * obj0 = 0 ;
10152 PyObject * obj1 = 0 ;
10153 PyObject * obj2 = 0 ;
10154 PyObject * obj3 = 0 ;
10155 char * kwnames[] = {
10156 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10157 };
10158
10159 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10160 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10161 if (!SWIG_IsOK(res1)) {
10162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10163 }
10164 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10165 ecode2 = SWIG_AsVal_int(obj1, &val2);
10166 if (!SWIG_IsOK(ecode2)) {
10167 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10168 }
10169 arg2 = static_cast< int >(val2);
10170 ecode3 = SWIG_AsVal_int(obj2, &val3);
10171 if (!SWIG_IsOK(ecode3)) {
10172 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10173 }
10174 arg3 = static_cast< int >(val3);
10175 if (obj3) {
10176 ecode4 = SWIG_AsVal_int(obj3, &val4);
10177 if (!SWIG_IsOK(ecode4)) {
10178 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10179 }
10180 arg4 = static_cast< int >(val4);
10181 }
10182 {
10183 PyThreadState* __tstate = wxPyBeginAllowThreads();
10184 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
10185 wxPyEndAllowThreads(__tstate);
10186 if (PyErr_Occurred()) SWIG_fail;
10187 }
10188 {
10189 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10190 }
10191 return resultobj;
10192 fail:
10193 return NULL;
10194 }
10195
10196
10197 SWIGINTERN PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10198 PyObject *resultobj = 0;
10199 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10200 void *argp1 = 0 ;
10201 int res1 = 0 ;
10202 PyObject *swig_obj[1] ;
10203
10204 if (!args) SWIG_fail;
10205 swig_obj[0] = args;
10206 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10207 if (!SWIG_IsOK(res1)) {
10208 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10209 }
10210 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10211 {
10212 PyThreadState* __tstate = wxPyBeginAllowThreads();
10213 (arg1)->SizeWindows();
10214 wxPyEndAllowThreads(__tstate);
10215 if (PyErr_Occurred()) SWIG_fail;
10216 }
10217 resultobj = SWIG_Py_Void();
10218 return resultobj;
10219 fail:
10220 return NULL;
10221 }
10222
10223
10224 SWIGINTERN PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10225 PyObject *resultobj = 0;
10226 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10227 bool arg2 ;
10228 void *argp1 = 0 ;
10229 int res1 = 0 ;
10230 bool val2 ;
10231 int ecode2 = 0 ;
10232 PyObject * obj0 = 0 ;
10233 PyObject * obj1 = 0 ;
10234 char * kwnames[] = {
10235 (char *) "self",(char *) "needUpdating", NULL
10236 };
10237
10238 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) SWIG_fail;
10239 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10240 if (!SWIG_IsOK(res1)) {
10241 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10242 }
10243 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10244 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10245 if (!SWIG_IsOK(ecode2)) {
10246 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10247 }
10248 arg2 = static_cast< bool >(val2);
10249 {
10250 PyThreadState* __tstate = wxPyBeginAllowThreads();
10251 (arg1)->SetNeedUpdating(arg2);
10252 wxPyEndAllowThreads(__tstate);
10253 if (PyErr_Occurred()) SWIG_fail;
10254 }
10255 resultobj = SWIG_Py_Void();
10256 return resultobj;
10257 fail:
10258 return NULL;
10259 }
10260
10261
10262 SWIGINTERN PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10263 PyObject *resultobj = 0;
10264 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10265 bool result;
10266 void *argp1 = 0 ;
10267 int res1 = 0 ;
10268 PyObject *swig_obj[1] ;
10269
10270 if (!args) SWIG_fail;
10271 swig_obj[0] = args;
10272 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10273 if (!SWIG_IsOK(res1)) {
10274 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10275 }
10276 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10277 {
10278 PyThreadState* __tstate = wxPyBeginAllowThreads();
10279 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
10280 wxPyEndAllowThreads(__tstate);
10281 if (PyErr_Occurred()) SWIG_fail;
10282 }
10283 {
10284 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10285 }
10286 return resultobj;
10287 fail:
10288 return NULL;
10289 }
10290
10291
10292 SWIGINTERN PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10293 PyObject *resultobj = 0;
10294 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10295 SwigValueWrapper<wxVisualAttributes > result;
10296 int val1 ;
10297 int ecode1 = 0 ;
10298 PyObject * obj0 = 0 ;
10299 char * kwnames[] = {
10300 (char *) "variant", NULL
10301 };
10302
10303 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10304 if (obj0) {
10305 ecode1 = SWIG_AsVal_int(obj0, &val1);
10306 if (!SWIG_IsOK(ecode1)) {
10307 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10308 }
10309 arg1 = static_cast< wxWindowVariant >(val1);
10310 }
10311 {
10312 if (!wxPyCheckForApp()) SWIG_fail;
10313 PyThreadState* __tstate = wxPyBeginAllowThreads();
10314 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
10315 wxPyEndAllowThreads(__tstate);
10316 if (PyErr_Occurred()) SWIG_fail;
10317 }
10318 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10319 return resultobj;
10320 fail:
10321 return NULL;
10322 }
10323
10324
10325 SWIGINTERN PyObject *SplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10326 PyObject *obj;
10327 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10328 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow, SWIG_NewClientData(obj));
10329 return SWIG_Py_Void();
10330 }
10331
10332 SWIGINTERN PyObject *SplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10333 return SWIG_Python_InitShadowInstance(args);
10334 }
10335
10336 SWIGINTERN PyObject *_wrap_new_SplitterEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10337 PyObject *resultobj = 0;
10338 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10339 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
10340 wxSplitterEvent *result = 0 ;
10341 int val1 ;
10342 int ecode1 = 0 ;
10343 void *argp2 = 0 ;
10344 int res2 = 0 ;
10345 PyObject * obj0 = 0 ;
10346 PyObject * obj1 = 0 ;
10347 char * kwnames[] = {
10348 (char *) "type",(char *) "splitter", NULL
10349 };
10350
10351 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10352 if (obj0) {
10353 ecode1 = SWIG_AsVal_int(obj0, &val1);
10354 if (!SWIG_IsOK(ecode1)) {
10355 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10356 }
10357 arg1 = static_cast< wxEventType >(val1);
10358 }
10359 if (obj1) {
10360 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10361 if (!SWIG_IsOK(res2)) {
10362 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10363 }
10364 arg2 = reinterpret_cast< wxSplitterWindow * >(argp2);
10365 }
10366 {
10367 PyThreadState* __tstate = wxPyBeginAllowThreads();
10368 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
10369 wxPyEndAllowThreads(__tstate);
10370 if (PyErr_Occurred()) SWIG_fail;
10371 }
10372 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_NEW | 0 );
10373 return resultobj;
10374 fail:
10375 return NULL;
10376 }
10377
10378
10379 SWIGINTERN PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10380 PyObject *resultobj = 0;
10381 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10382 int arg2 ;
10383 void *argp1 = 0 ;
10384 int res1 = 0 ;
10385 int val2 ;
10386 int ecode2 = 0 ;
10387 PyObject * obj0 = 0 ;
10388 PyObject * obj1 = 0 ;
10389 char * kwnames[] = {
10390 (char *) "self",(char *) "pos", NULL
10391 };
10392
10393 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10394 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10395 if (!SWIG_IsOK(res1)) {
10396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10397 }
10398 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10399 ecode2 = SWIG_AsVal_int(obj1, &val2);
10400 if (!SWIG_IsOK(ecode2)) {
10401 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10402 }
10403 arg2 = static_cast< int >(val2);
10404 {
10405 PyThreadState* __tstate = wxPyBeginAllowThreads();
10406 (arg1)->SetSashPosition(arg2);
10407 wxPyEndAllowThreads(__tstate);
10408 if (PyErr_Occurred()) SWIG_fail;
10409 }
10410 resultobj = SWIG_Py_Void();
10411 return resultobj;
10412 fail:
10413 return NULL;
10414 }
10415
10416
10417 SWIGINTERN PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10418 PyObject *resultobj = 0;
10419 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10420 int result;
10421 void *argp1 = 0 ;
10422 int res1 = 0 ;
10423 PyObject *swig_obj[1] ;
10424
10425 if (!args) SWIG_fail;
10426 swig_obj[0] = args;
10427 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10428 if (!SWIG_IsOK(res1)) {
10429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10430 }
10431 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10432 {
10433 PyThreadState* __tstate = wxPyBeginAllowThreads();
10434 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
10435 wxPyEndAllowThreads(__tstate);
10436 if (PyErr_Occurred()) SWIG_fail;
10437 }
10438 resultobj = SWIG_From_int(static_cast< int >(result));
10439 return resultobj;
10440 fail:
10441 return NULL;
10442 }
10443
10444
10445 SWIGINTERN PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10446 PyObject *resultobj = 0;
10447 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10448 wxWindow *result = 0 ;
10449 void *argp1 = 0 ;
10450 int res1 = 0 ;
10451 PyObject *swig_obj[1] ;
10452
10453 if (!args) SWIG_fail;
10454 swig_obj[0] = args;
10455 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10456 if (!SWIG_IsOK(res1)) {
10457 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10458 }
10459 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10460 {
10461 PyThreadState* __tstate = wxPyBeginAllowThreads();
10462 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
10463 wxPyEndAllowThreads(__tstate);
10464 if (PyErr_Occurred()) SWIG_fail;
10465 }
10466 {
10467 resultobj = wxPyMake_wxObject(result, 0);
10468 }
10469 return resultobj;
10470 fail:
10471 return NULL;
10472 }
10473
10474
10475 SWIGINTERN PyObject *_wrap_SplitterEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10476 PyObject *resultobj = 0;
10477 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10478 int result;
10479 void *argp1 = 0 ;
10480 int res1 = 0 ;
10481 PyObject *swig_obj[1] ;
10482
10483 if (!args) SWIG_fail;
10484 swig_obj[0] = args;
10485 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10486 if (!SWIG_IsOK(res1)) {
10487 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10488 }
10489 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10490 {
10491 PyThreadState* __tstate = wxPyBeginAllowThreads();
10492 result = (int)((wxSplitterEvent const *)arg1)->GetX();
10493 wxPyEndAllowThreads(__tstate);
10494 if (PyErr_Occurred()) SWIG_fail;
10495 }
10496 resultobj = SWIG_From_int(static_cast< int >(result));
10497 return resultobj;
10498 fail:
10499 return NULL;
10500 }
10501
10502
10503 SWIGINTERN PyObject *_wrap_SplitterEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10504 PyObject *resultobj = 0;
10505 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10506 int result;
10507 void *argp1 = 0 ;
10508 int res1 = 0 ;
10509 PyObject *swig_obj[1] ;
10510
10511 if (!args) SWIG_fail;
10512 swig_obj[0] = args;
10513 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10514 if (!SWIG_IsOK(res1)) {
10515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10516 }
10517 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10518 {
10519 PyThreadState* __tstate = wxPyBeginAllowThreads();
10520 result = (int)((wxSplitterEvent const *)arg1)->GetY();
10521 wxPyEndAllowThreads(__tstate);
10522 if (PyErr_Occurred()) SWIG_fail;
10523 }
10524 resultobj = SWIG_From_int(static_cast< int >(result));
10525 return resultobj;
10526 fail:
10527 return NULL;
10528 }
10529
10530
10531 SWIGINTERN PyObject *SplitterEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10532 PyObject *obj;
10533 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10534 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent, SWIG_NewClientData(obj));
10535 return SWIG_Py_Void();
10536 }
10537
10538 SWIGINTERN PyObject *SplitterEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10539 return SWIG_Python_InitShadowInstance(args);
10540 }
10541
10542 SWIGINTERN int SashNameStr_set(PyObject *) {
10543 SWIG_Error(SWIG_AttributeError,"Variable SashNameStr is read-only.");
10544 return 1;
10545 }
10546
10547
10548 SWIGINTERN PyObject *SashNameStr_get(void) {
10549 PyObject *pyobj = 0;
10550
10551 {
10552 #if wxUSE_UNICODE
10553 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10554 #else
10555 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10556 #endif
10557 }
10558 return pyobj;
10559 }
10560
10561
10562 SWIGINTERN int SashLayoutNameStr_set(PyObject *) {
10563 SWIG_Error(SWIG_AttributeError,"Variable SashLayoutNameStr is read-only.");
10564 return 1;
10565 }
10566
10567
10568 SWIGINTERN PyObject *SashLayoutNameStr_get(void) {
10569 PyObject *pyobj = 0;
10570
10571 {
10572 #if wxUSE_UNICODE
10573 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10574 #else
10575 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10576 #endif
10577 }
10578 return pyobj;
10579 }
10580
10581
10582 SWIGINTERN PyObject *_wrap_new_SashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10583 PyObject *resultobj = 0;
10584 wxWindow *arg1 = (wxWindow *) 0 ;
10585 int arg2 = (int) -1 ;
10586 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10587 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10588 wxSize const &arg4_defvalue = wxDefaultSize ;
10589 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10590 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10591 wxString const &arg6_defvalue = wxPySashNameStr ;
10592 wxString *arg6 = (wxString *) &arg6_defvalue ;
10593 wxSashWindow *result = 0 ;
10594 void *argp1 = 0 ;
10595 int res1 = 0 ;
10596 int val2 ;
10597 int ecode2 = 0 ;
10598 wxPoint temp3 ;
10599 wxSize temp4 ;
10600 long val5 ;
10601 int ecode5 = 0 ;
10602 bool temp6 = false ;
10603 PyObject * obj0 = 0 ;
10604 PyObject * obj1 = 0 ;
10605 PyObject * obj2 = 0 ;
10606 PyObject * obj3 = 0 ;
10607 PyObject * obj4 = 0 ;
10608 PyObject * obj5 = 0 ;
10609 char * kwnames[] = {
10610 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10611 };
10612
10613 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10614 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10615 if (!SWIG_IsOK(res1)) {
10616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10617 }
10618 arg1 = reinterpret_cast< wxWindow * >(argp1);
10619 if (obj1) {
10620 ecode2 = SWIG_AsVal_int(obj1, &val2);
10621 if (!SWIG_IsOK(ecode2)) {
10622 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10623 }
10624 arg2 = static_cast< int >(val2);
10625 }
10626 if (obj2) {
10627 {
10628 arg3 = &temp3;
10629 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10630 }
10631 }
10632 if (obj3) {
10633 {
10634 arg4 = &temp4;
10635 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10636 }
10637 }
10638 if (obj4) {
10639 ecode5 = SWIG_AsVal_long(obj4, &val5);
10640 if (!SWIG_IsOK(ecode5)) {
10641 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10642 }
10643 arg5 = static_cast< long >(val5);
10644 }
10645 if (obj5) {
10646 {
10647 arg6 = wxString_in_helper(obj5);
10648 if (arg6 == NULL) SWIG_fail;
10649 temp6 = true;
10650 }
10651 }
10652 {
10653 if (!wxPyCheckForApp()) SWIG_fail;
10654 PyThreadState* __tstate = wxPyBeginAllowThreads();
10655 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10656 wxPyEndAllowThreads(__tstate);
10657 if (PyErr_Occurred()) SWIG_fail;
10658 }
10659 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_NEW | 0 );
10660 {
10661 if (temp6)
10662 delete arg6;
10663 }
10664 return resultobj;
10665 fail:
10666 {
10667 if (temp6)
10668 delete arg6;
10669 }
10670 return NULL;
10671 }
10672
10673
10674 SWIGINTERN PyObject *_wrap_new_PreSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10675 PyObject *resultobj = 0;
10676 wxSashWindow *result = 0 ;
10677
10678 if (!SWIG_Python_UnpackTuple(args,"new_PreSashWindow",0,0,0)) SWIG_fail;
10679 {
10680 if (!wxPyCheckForApp()) SWIG_fail;
10681 PyThreadState* __tstate = wxPyBeginAllowThreads();
10682 result = (wxSashWindow *)new wxSashWindow();
10683 wxPyEndAllowThreads(__tstate);
10684 if (PyErr_Occurred()) SWIG_fail;
10685 }
10686 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_OWN | 0 );
10687 return resultobj;
10688 fail:
10689 return NULL;
10690 }
10691
10692
10693 SWIGINTERN PyObject *_wrap_SashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10694 PyObject *resultobj = 0;
10695 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10696 wxWindow *arg2 = (wxWindow *) 0 ;
10697 int arg3 = (int) -1 ;
10698 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10699 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10700 wxSize const &arg5_defvalue = wxDefaultSize ;
10701 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10702 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10703 wxString const &arg7_defvalue = wxPySashNameStr ;
10704 wxString *arg7 = (wxString *) &arg7_defvalue ;
10705 bool result;
10706 void *argp1 = 0 ;
10707 int res1 = 0 ;
10708 void *argp2 = 0 ;
10709 int res2 = 0 ;
10710 int val3 ;
10711 int ecode3 = 0 ;
10712 wxPoint temp4 ;
10713 wxSize temp5 ;
10714 long val6 ;
10715 int ecode6 = 0 ;
10716 bool temp7 = false ;
10717 PyObject * obj0 = 0 ;
10718 PyObject * obj1 = 0 ;
10719 PyObject * obj2 = 0 ;
10720 PyObject * obj3 = 0 ;
10721 PyObject * obj4 = 0 ;
10722 PyObject * obj5 = 0 ;
10723 PyObject * obj6 = 0 ;
10724 char * kwnames[] = {
10725 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10726 };
10727
10728 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
10729 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10730 if (!SWIG_IsOK(res1)) {
10731 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10732 }
10733 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10734 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10735 if (!SWIG_IsOK(res2)) {
10736 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10737 }
10738 arg2 = reinterpret_cast< wxWindow * >(argp2);
10739 if (obj2) {
10740 ecode3 = SWIG_AsVal_int(obj2, &val3);
10741 if (!SWIG_IsOK(ecode3)) {
10742 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10743 }
10744 arg3 = static_cast< int >(val3);
10745 }
10746 if (obj3) {
10747 {
10748 arg4 = &temp4;
10749 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10750 }
10751 }
10752 if (obj4) {
10753 {
10754 arg5 = &temp5;
10755 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10756 }
10757 }
10758 if (obj5) {
10759 ecode6 = SWIG_AsVal_long(obj5, &val6);
10760 if (!SWIG_IsOK(ecode6)) {
10761 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10762 }
10763 arg6 = static_cast< long >(val6);
10764 }
10765 if (obj6) {
10766 {
10767 arg7 = wxString_in_helper(obj6);
10768 if (arg7 == NULL) SWIG_fail;
10769 temp7 = true;
10770 }
10771 }
10772 {
10773 PyThreadState* __tstate = wxPyBeginAllowThreads();
10774 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10775 wxPyEndAllowThreads(__tstate);
10776 if (PyErr_Occurred()) SWIG_fail;
10777 }
10778 {
10779 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10780 }
10781 {
10782 if (temp7)
10783 delete arg7;
10784 }
10785 return resultobj;
10786 fail:
10787 {
10788 if (temp7)
10789 delete arg7;
10790 }
10791 return NULL;
10792 }
10793
10794
10795 SWIGINTERN PyObject *_wrap_SashWindow_SetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10796 PyObject *resultobj = 0;
10797 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10798 wxSashEdgePosition arg2 ;
10799 bool arg3 ;
10800 void *argp1 = 0 ;
10801 int res1 = 0 ;
10802 int val2 ;
10803 int ecode2 = 0 ;
10804 bool val3 ;
10805 int ecode3 = 0 ;
10806 PyObject * obj0 = 0 ;
10807 PyObject * obj1 = 0 ;
10808 PyObject * obj2 = 0 ;
10809 char * kwnames[] = {
10810 (char *) "self",(char *) "edge",(char *) "sash", NULL
10811 };
10812
10813 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10814 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10815 if (!SWIG_IsOK(res1)) {
10816 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10817 }
10818 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10819 ecode2 = SWIG_AsVal_int(obj1, &val2);
10820 if (!SWIG_IsOK(ecode2)) {
10821 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10822 }
10823 arg2 = static_cast< wxSashEdgePosition >(val2);
10824 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10825 if (!SWIG_IsOK(ecode3)) {
10826 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
10827 }
10828 arg3 = static_cast< bool >(val3);
10829 {
10830 PyThreadState* __tstate = wxPyBeginAllowThreads();
10831 (arg1)->SetSashVisible(arg2,arg3);
10832 wxPyEndAllowThreads(__tstate);
10833 if (PyErr_Occurred()) SWIG_fail;
10834 }
10835 resultobj = SWIG_Py_Void();
10836 return resultobj;
10837 fail:
10838 return NULL;
10839 }
10840
10841
10842 SWIGINTERN PyObject *_wrap_SashWindow_GetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10843 PyObject *resultobj = 0;
10844 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10845 wxSashEdgePosition arg2 ;
10846 bool result;
10847 void *argp1 = 0 ;
10848 int res1 = 0 ;
10849 int val2 ;
10850 int ecode2 = 0 ;
10851 PyObject * obj0 = 0 ;
10852 PyObject * obj1 = 0 ;
10853 char * kwnames[] = {
10854 (char *) "self",(char *) "edge", NULL
10855 };
10856
10857 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) SWIG_fail;
10858 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10859 if (!SWIG_IsOK(res1)) {
10860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10861 }
10862 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10863 ecode2 = SWIG_AsVal_int(obj1, &val2);
10864 if (!SWIG_IsOK(ecode2)) {
10865 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10866 }
10867 arg2 = static_cast< wxSashEdgePosition >(val2);
10868 {
10869 PyThreadState* __tstate = wxPyBeginAllowThreads();
10870 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
10871 wxPyEndAllowThreads(__tstate);
10872 if (PyErr_Occurred()) SWIG_fail;
10873 }
10874 {
10875 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10876 }
10877 return resultobj;
10878 fail:
10879 return NULL;
10880 }
10881
10882
10883 SWIGINTERN PyObject *_wrap_SashWindow_SetSashBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10884 PyObject *resultobj = 0;
10885 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10886 wxSashEdgePosition arg2 ;
10887 bool arg3 ;
10888 void *argp1 = 0 ;
10889 int res1 = 0 ;
10890 int val2 ;
10891 int ecode2 = 0 ;
10892 bool val3 ;
10893 int ecode3 = 0 ;
10894 PyObject * obj0 = 0 ;
10895 PyObject * obj1 = 0 ;
10896 PyObject * obj2 = 0 ;
10897 char * kwnames[] = {
10898 (char *) "self",(char *) "edge",(char *) "border", NULL
10899 };
10900
10901 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10902 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10903 if (!SWIG_IsOK(res1)) {
10904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10905 }
10906 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10907 ecode2 = SWIG_AsVal_int(obj1, &val2);
10908 if (!SWIG_IsOK(ecode2)) {
10909 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10910 }
10911 arg2 = static_cast< wxSashEdgePosition >(val2);
10912 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10913 if (!SWIG_IsOK(ecode3)) {
10914 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
10915 }
10916 arg3 = static_cast< bool >(val3);
10917 {
10918 PyThreadState* __tstate = wxPyBeginAllowThreads();
10919 (arg1)->SetSashBorder(arg2,arg3);
10920 wxPyEndAllowThreads(__tstate);
10921 if (PyErr_Occurred()) SWIG_fail;
10922 }
10923 resultobj = SWIG_Py_Void();
10924 return resultobj;
10925 fail:
10926 return NULL;
10927 }
10928
10929
10930 SWIGINTERN PyObject *_wrap_SashWindow_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10931 PyObject *resultobj = 0;
10932 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10933 wxSashEdgePosition arg2 ;
10934 bool result;
10935 void *argp1 = 0 ;
10936 int res1 = 0 ;
10937 int val2 ;
10938 int ecode2 = 0 ;
10939 PyObject * obj0 = 0 ;
10940 PyObject * obj1 = 0 ;
10941 char * kwnames[] = {
10942 (char *) "self",(char *) "edge", NULL
10943 };
10944
10945 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) SWIG_fail;
10946 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10947 if (!SWIG_IsOK(res1)) {
10948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10949 }
10950 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10951 ecode2 = SWIG_AsVal_int(obj1, &val2);
10952 if (!SWIG_IsOK(ecode2)) {
10953 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10954 }
10955 arg2 = static_cast< wxSashEdgePosition >(val2);
10956 {
10957 PyThreadState* __tstate = wxPyBeginAllowThreads();
10958 result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2);
10959 wxPyEndAllowThreads(__tstate);
10960 if (PyErr_Occurred()) SWIG_fail;
10961 }
10962 {
10963 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10964 }
10965 return resultobj;
10966 fail:
10967 return NULL;
10968 }
10969
10970
10971 SWIGINTERN PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10972 PyObject *resultobj = 0;
10973 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10974 wxSashEdgePosition arg2 ;
10975 int result;
10976 void *argp1 = 0 ;
10977 int res1 = 0 ;
10978 int val2 ;
10979 int ecode2 = 0 ;
10980 PyObject * obj0 = 0 ;
10981 PyObject * obj1 = 0 ;
10982 char * kwnames[] = {
10983 (char *) "self",(char *) "edge", NULL
10984 };
10985
10986 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) SWIG_fail;
10987 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10988 if (!SWIG_IsOK(res1)) {
10989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10990 }
10991 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10992 ecode2 = SWIG_AsVal_int(obj1, &val2);
10993 if (!SWIG_IsOK(ecode2)) {
10994 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10995 }
10996 arg2 = static_cast< wxSashEdgePosition >(val2);
10997 {
10998 PyThreadState* __tstate = wxPyBeginAllowThreads();
10999 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
11000 wxPyEndAllowThreads(__tstate);
11001 if (PyErr_Occurred()) SWIG_fail;
11002 }
11003 resultobj = SWIG_From_int(static_cast< int >(result));
11004 return resultobj;
11005 fail:
11006 return NULL;
11007 }
11008
11009
11010 SWIGINTERN PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11011 PyObject *resultobj = 0;
11012 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11013 int arg2 ;
11014 void *argp1 = 0 ;
11015 int res1 = 0 ;
11016 int val2 ;
11017 int ecode2 = 0 ;
11018 PyObject * obj0 = 0 ;
11019 PyObject * obj1 = 0 ;
11020 char * kwnames[] = {
11021 (char *) "self",(char *) "width", NULL
11022 };
11023
11024 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11025 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11026 if (!SWIG_IsOK(res1)) {
11027 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11028 }
11029 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11030 ecode2 = SWIG_AsVal_int(obj1, &val2);
11031 if (!SWIG_IsOK(ecode2)) {
11032 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11033 }
11034 arg2 = static_cast< int >(val2);
11035 {
11036 PyThreadState* __tstate = wxPyBeginAllowThreads();
11037 (arg1)->SetDefaultBorderSize(arg2);
11038 wxPyEndAllowThreads(__tstate);
11039 if (PyErr_Occurred()) SWIG_fail;
11040 }
11041 resultobj = SWIG_Py_Void();
11042 return resultobj;
11043 fail:
11044 return NULL;
11045 }
11046
11047
11048 SWIGINTERN PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11049 PyObject *resultobj = 0;
11050 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11051 int result;
11052 void *argp1 = 0 ;
11053 int res1 = 0 ;
11054 PyObject *swig_obj[1] ;
11055
11056 if (!args) SWIG_fail;
11057 swig_obj[0] = args;
11058 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11059 if (!SWIG_IsOK(res1)) {
11060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11061 }
11062 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11063 {
11064 PyThreadState* __tstate = wxPyBeginAllowThreads();
11065 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
11066 wxPyEndAllowThreads(__tstate);
11067 if (PyErr_Occurred()) SWIG_fail;
11068 }
11069 resultobj = SWIG_From_int(static_cast< int >(result));
11070 return resultobj;
11071 fail:
11072 return NULL;
11073 }
11074
11075
11076 SWIGINTERN PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11077 PyObject *resultobj = 0;
11078 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11079 int arg2 ;
11080 void *argp1 = 0 ;
11081 int res1 = 0 ;
11082 int val2 ;
11083 int ecode2 = 0 ;
11084 PyObject * obj0 = 0 ;
11085 PyObject * obj1 = 0 ;
11086 char * kwnames[] = {
11087 (char *) "self",(char *) "width", NULL
11088 };
11089
11090 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11091 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11092 if (!SWIG_IsOK(res1)) {
11093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11094 }
11095 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11096 ecode2 = SWIG_AsVal_int(obj1, &val2);
11097 if (!SWIG_IsOK(ecode2)) {
11098 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11099 }
11100 arg2 = static_cast< int >(val2);
11101 {
11102 PyThreadState* __tstate = wxPyBeginAllowThreads();
11103 (arg1)->SetExtraBorderSize(arg2);
11104 wxPyEndAllowThreads(__tstate);
11105 if (PyErr_Occurred()) SWIG_fail;
11106 }
11107 resultobj = SWIG_Py_Void();
11108 return resultobj;
11109 fail:
11110 return NULL;
11111 }
11112
11113
11114 SWIGINTERN PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11115 PyObject *resultobj = 0;
11116 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11117 int result;
11118 void *argp1 = 0 ;
11119 int res1 = 0 ;
11120 PyObject *swig_obj[1] ;
11121
11122 if (!args) SWIG_fail;
11123 swig_obj[0] = args;
11124 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11125 if (!SWIG_IsOK(res1)) {
11126 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11127 }
11128 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11129 {
11130 PyThreadState* __tstate = wxPyBeginAllowThreads();
11131 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
11132 wxPyEndAllowThreads(__tstate);
11133 if (PyErr_Occurred()) SWIG_fail;
11134 }
11135 resultobj = SWIG_From_int(static_cast< int >(result));
11136 return resultobj;
11137 fail:
11138 return NULL;
11139 }
11140
11141
11142 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11143 PyObject *resultobj = 0;
11144 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11145 int arg2 ;
11146 void *argp1 = 0 ;
11147 int res1 = 0 ;
11148 int val2 ;
11149 int ecode2 = 0 ;
11150 PyObject * obj0 = 0 ;
11151 PyObject * obj1 = 0 ;
11152 char * kwnames[] = {
11153 (char *) "self",(char *) "min", NULL
11154 };
11155
11156 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11157 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11158 if (!SWIG_IsOK(res1)) {
11159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11160 }
11161 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11162 ecode2 = SWIG_AsVal_int(obj1, &val2);
11163 if (!SWIG_IsOK(ecode2)) {
11164 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11165 }
11166 arg2 = static_cast< int >(val2);
11167 {
11168 PyThreadState* __tstate = wxPyBeginAllowThreads();
11169 (arg1)->SetMinimumSizeX(arg2);
11170 wxPyEndAllowThreads(__tstate);
11171 if (PyErr_Occurred()) SWIG_fail;
11172 }
11173 resultobj = SWIG_Py_Void();
11174 return resultobj;
11175 fail:
11176 return NULL;
11177 }
11178
11179
11180 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11181 PyObject *resultobj = 0;
11182 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11183 int arg2 ;
11184 void *argp1 = 0 ;
11185 int res1 = 0 ;
11186 int val2 ;
11187 int ecode2 = 0 ;
11188 PyObject * obj0 = 0 ;
11189 PyObject * obj1 = 0 ;
11190 char * kwnames[] = {
11191 (char *) "self",(char *) "min", NULL
11192 };
11193
11194 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11195 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11196 if (!SWIG_IsOK(res1)) {
11197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11198 }
11199 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11200 ecode2 = SWIG_AsVal_int(obj1, &val2);
11201 if (!SWIG_IsOK(ecode2)) {
11202 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11203 }
11204 arg2 = static_cast< int >(val2);
11205 {
11206 PyThreadState* __tstate = wxPyBeginAllowThreads();
11207 (arg1)->SetMinimumSizeY(arg2);
11208 wxPyEndAllowThreads(__tstate);
11209 if (PyErr_Occurred()) SWIG_fail;
11210 }
11211 resultobj = SWIG_Py_Void();
11212 return resultobj;
11213 fail:
11214 return NULL;
11215 }
11216
11217
11218 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11219 PyObject *resultobj = 0;
11220 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11221 int result;
11222 void *argp1 = 0 ;
11223 int res1 = 0 ;
11224 PyObject *swig_obj[1] ;
11225
11226 if (!args) SWIG_fail;
11227 swig_obj[0] = args;
11228 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11229 if (!SWIG_IsOK(res1)) {
11230 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11231 }
11232 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11233 {
11234 PyThreadState* __tstate = wxPyBeginAllowThreads();
11235 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
11236 wxPyEndAllowThreads(__tstate);
11237 if (PyErr_Occurred()) SWIG_fail;
11238 }
11239 resultobj = SWIG_From_int(static_cast< int >(result));
11240 return resultobj;
11241 fail:
11242 return NULL;
11243 }
11244
11245
11246 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11247 PyObject *resultobj = 0;
11248 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11249 int result;
11250 void *argp1 = 0 ;
11251 int res1 = 0 ;
11252 PyObject *swig_obj[1] ;
11253
11254 if (!args) SWIG_fail;
11255 swig_obj[0] = args;
11256 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11257 if (!SWIG_IsOK(res1)) {
11258 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11259 }
11260 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11261 {
11262 PyThreadState* __tstate = wxPyBeginAllowThreads();
11263 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
11264 wxPyEndAllowThreads(__tstate);
11265 if (PyErr_Occurred()) SWIG_fail;
11266 }
11267 resultobj = SWIG_From_int(static_cast< int >(result));
11268 return resultobj;
11269 fail:
11270 return NULL;
11271 }
11272
11273
11274 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11275 PyObject *resultobj = 0;
11276 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11277 int arg2 ;
11278 void *argp1 = 0 ;
11279 int res1 = 0 ;
11280 int val2 ;
11281 int ecode2 = 0 ;
11282 PyObject * obj0 = 0 ;
11283 PyObject * obj1 = 0 ;
11284 char * kwnames[] = {
11285 (char *) "self",(char *) "max", NULL
11286 };
11287
11288 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11289 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11290 if (!SWIG_IsOK(res1)) {
11291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11292 }
11293 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11294 ecode2 = SWIG_AsVal_int(obj1, &val2);
11295 if (!SWIG_IsOK(ecode2)) {
11296 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11297 }
11298 arg2 = static_cast< int >(val2);
11299 {
11300 PyThreadState* __tstate = wxPyBeginAllowThreads();
11301 (arg1)->SetMaximumSizeX(arg2);
11302 wxPyEndAllowThreads(__tstate);
11303 if (PyErr_Occurred()) SWIG_fail;
11304 }
11305 resultobj = SWIG_Py_Void();
11306 return resultobj;
11307 fail:
11308 return NULL;
11309 }
11310
11311
11312 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11313 PyObject *resultobj = 0;
11314 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11315 int arg2 ;
11316 void *argp1 = 0 ;
11317 int res1 = 0 ;
11318 int val2 ;
11319 int ecode2 = 0 ;
11320 PyObject * obj0 = 0 ;
11321 PyObject * obj1 = 0 ;
11322 char * kwnames[] = {
11323 (char *) "self",(char *) "max", NULL
11324 };
11325
11326 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11327 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11328 if (!SWIG_IsOK(res1)) {
11329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11330 }
11331 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11332 ecode2 = SWIG_AsVal_int(obj1, &val2);
11333 if (!SWIG_IsOK(ecode2)) {
11334 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11335 }
11336 arg2 = static_cast< int >(val2);
11337 {
11338 PyThreadState* __tstate = wxPyBeginAllowThreads();
11339 (arg1)->SetMaximumSizeY(arg2);
11340 wxPyEndAllowThreads(__tstate);
11341 if (PyErr_Occurred()) SWIG_fail;
11342 }
11343 resultobj = SWIG_Py_Void();
11344 return resultobj;
11345 fail:
11346 return NULL;
11347 }
11348
11349
11350 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11351 PyObject *resultobj = 0;
11352 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11353 int result;
11354 void *argp1 = 0 ;
11355 int res1 = 0 ;
11356 PyObject *swig_obj[1] ;
11357
11358 if (!args) SWIG_fail;
11359 swig_obj[0] = args;
11360 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11361 if (!SWIG_IsOK(res1)) {
11362 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11363 }
11364 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11365 {
11366 PyThreadState* __tstate = wxPyBeginAllowThreads();
11367 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
11368 wxPyEndAllowThreads(__tstate);
11369 if (PyErr_Occurred()) SWIG_fail;
11370 }
11371 resultobj = SWIG_From_int(static_cast< int >(result));
11372 return resultobj;
11373 fail:
11374 return NULL;
11375 }
11376
11377
11378 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11379 PyObject *resultobj = 0;
11380 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11381 int result;
11382 void *argp1 = 0 ;
11383 int res1 = 0 ;
11384 PyObject *swig_obj[1] ;
11385
11386 if (!args) SWIG_fail;
11387 swig_obj[0] = args;
11388 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11389 if (!SWIG_IsOK(res1)) {
11390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11391 }
11392 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11393 {
11394 PyThreadState* __tstate = wxPyBeginAllowThreads();
11395 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
11396 wxPyEndAllowThreads(__tstate);
11397 if (PyErr_Occurred()) SWIG_fail;
11398 }
11399 resultobj = SWIG_From_int(static_cast< int >(result));
11400 return resultobj;
11401 fail:
11402 return NULL;
11403 }
11404
11405
11406 SWIGINTERN PyObject *_wrap_SashWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11407 PyObject *resultobj = 0;
11408 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11409 int arg2 ;
11410 int arg3 ;
11411 int arg4 = (int) 2 ;
11412 wxSashEdgePosition result;
11413 void *argp1 = 0 ;
11414 int res1 = 0 ;
11415 int val2 ;
11416 int ecode2 = 0 ;
11417 int val3 ;
11418 int ecode3 = 0 ;
11419 int val4 ;
11420 int ecode4 = 0 ;
11421 PyObject * obj0 = 0 ;
11422 PyObject * obj1 = 0 ;
11423 PyObject * obj2 = 0 ;
11424 PyObject * obj3 = 0 ;
11425 char * kwnames[] = {
11426 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11427 };
11428
11429 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11430 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11431 if (!SWIG_IsOK(res1)) {
11432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11433 }
11434 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11435 ecode2 = SWIG_AsVal_int(obj1, &val2);
11436 if (!SWIG_IsOK(ecode2)) {
11437 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11438 }
11439 arg2 = static_cast< int >(val2);
11440 ecode3 = SWIG_AsVal_int(obj2, &val3);
11441 if (!SWIG_IsOK(ecode3)) {
11442 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11443 }
11444 arg3 = static_cast< int >(val3);
11445 if (obj3) {
11446 ecode4 = SWIG_AsVal_int(obj3, &val4);
11447 if (!SWIG_IsOK(ecode4)) {
11448 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11449 }
11450 arg4 = static_cast< int >(val4);
11451 }
11452 {
11453 PyThreadState* __tstate = wxPyBeginAllowThreads();
11454 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
11455 wxPyEndAllowThreads(__tstate);
11456 if (PyErr_Occurred()) SWIG_fail;
11457 }
11458 resultobj = SWIG_From_int(static_cast< int >(result));
11459 return resultobj;
11460 fail:
11461 return NULL;
11462 }
11463
11464
11465 SWIGINTERN PyObject *_wrap_SashWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11466 PyObject *resultobj = 0;
11467 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11468 void *argp1 = 0 ;
11469 int res1 = 0 ;
11470 PyObject *swig_obj[1] ;
11471
11472 if (!args) SWIG_fail;
11473 swig_obj[0] = args;
11474 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11475 if (!SWIG_IsOK(res1)) {
11476 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11477 }
11478 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11479 {
11480 PyThreadState* __tstate = wxPyBeginAllowThreads();
11481 (arg1)->SizeWindows();
11482 wxPyEndAllowThreads(__tstate);
11483 if (PyErr_Occurred()) SWIG_fail;
11484 }
11485 resultobj = SWIG_Py_Void();
11486 return resultobj;
11487 fail:
11488 return NULL;
11489 }
11490
11491
11492 SWIGINTERN PyObject *SashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11493 PyObject *obj;
11494 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11495 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow, SWIG_NewClientData(obj));
11496 return SWIG_Py_Void();
11497 }
11498
11499 SWIGINTERN PyObject *SashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11500 return SWIG_Python_InitShadowInstance(args);
11501 }
11502
11503 SWIGINTERN PyObject *_wrap_new_SashEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11504 PyObject *resultobj = 0;
11505 int arg1 = (int) 0 ;
11506 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
11507 wxSashEvent *result = 0 ;
11508 int val1 ;
11509 int ecode1 = 0 ;
11510 int val2 ;
11511 int ecode2 = 0 ;
11512 PyObject * obj0 = 0 ;
11513 PyObject * obj1 = 0 ;
11514 char * kwnames[] = {
11515 (char *) "id",(char *) "edge", NULL
11516 };
11517
11518 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11519 if (obj0) {
11520 ecode1 = SWIG_AsVal_int(obj0, &val1);
11521 if (!SWIG_IsOK(ecode1)) {
11522 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11523 }
11524 arg1 = static_cast< int >(val1);
11525 }
11526 if (obj1) {
11527 ecode2 = SWIG_AsVal_int(obj1, &val2);
11528 if (!SWIG_IsOK(ecode2)) {
11529 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11530 }
11531 arg2 = static_cast< wxSashEdgePosition >(val2);
11532 }
11533 {
11534 PyThreadState* __tstate = wxPyBeginAllowThreads();
11535 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
11536 wxPyEndAllowThreads(__tstate);
11537 if (PyErr_Occurred()) SWIG_fail;
11538 }
11539 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashEvent, SWIG_POINTER_NEW | 0 );
11540 return resultobj;
11541 fail:
11542 return NULL;
11543 }
11544
11545
11546 SWIGINTERN PyObject *_wrap_SashEvent_SetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11547 PyObject *resultobj = 0;
11548 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11549 wxSashEdgePosition arg2 ;
11550 void *argp1 = 0 ;
11551 int res1 = 0 ;
11552 int val2 ;
11553 int ecode2 = 0 ;
11554 PyObject * obj0 = 0 ;
11555 PyObject * obj1 = 0 ;
11556 char * kwnames[] = {
11557 (char *) "self",(char *) "edge", NULL
11558 };
11559
11560 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) SWIG_fail;
11561 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11562 if (!SWIG_IsOK(res1)) {
11563 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11564 }
11565 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11566 ecode2 = SWIG_AsVal_int(obj1, &val2);
11567 if (!SWIG_IsOK(ecode2)) {
11568 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11569 }
11570 arg2 = static_cast< wxSashEdgePosition >(val2);
11571 {
11572 PyThreadState* __tstate = wxPyBeginAllowThreads();
11573 (arg1)->SetEdge(arg2);
11574 wxPyEndAllowThreads(__tstate);
11575 if (PyErr_Occurred()) SWIG_fail;
11576 }
11577 resultobj = SWIG_Py_Void();
11578 return resultobj;
11579 fail:
11580 return NULL;
11581 }
11582
11583
11584 SWIGINTERN PyObject *_wrap_SashEvent_GetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11585 PyObject *resultobj = 0;
11586 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11587 wxSashEdgePosition result;
11588 void *argp1 = 0 ;
11589 int res1 = 0 ;
11590 PyObject *swig_obj[1] ;
11591
11592 if (!args) SWIG_fail;
11593 swig_obj[0] = args;
11594 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11595 if (!SWIG_IsOK(res1)) {
11596 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11597 }
11598 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11599 {
11600 PyThreadState* __tstate = wxPyBeginAllowThreads();
11601 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
11602 wxPyEndAllowThreads(__tstate);
11603 if (PyErr_Occurred()) SWIG_fail;
11604 }
11605 resultobj = SWIG_From_int(static_cast< int >(result));
11606 return resultobj;
11607 fail:
11608 return NULL;
11609 }
11610
11611
11612 SWIGINTERN PyObject *_wrap_SashEvent_SetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11613 PyObject *resultobj = 0;
11614 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11615 wxRect *arg2 = 0 ;
11616 void *argp1 = 0 ;
11617 int res1 = 0 ;
11618 wxRect temp2 ;
11619 PyObject * obj0 = 0 ;
11620 PyObject * obj1 = 0 ;
11621 char * kwnames[] = {
11622 (char *) "self",(char *) "rect", NULL
11623 };
11624
11625 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) SWIG_fail;
11626 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11627 if (!SWIG_IsOK(res1)) {
11628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11629 }
11630 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11631 {
11632 arg2 = &temp2;
11633 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11634 }
11635 {
11636 PyThreadState* __tstate = wxPyBeginAllowThreads();
11637 (arg1)->SetDragRect((wxRect const &)*arg2);
11638 wxPyEndAllowThreads(__tstate);
11639 if (PyErr_Occurred()) SWIG_fail;
11640 }
11641 resultobj = SWIG_Py_Void();
11642 return resultobj;
11643 fail:
11644 return NULL;
11645 }
11646
11647
11648 SWIGINTERN PyObject *_wrap_SashEvent_GetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11649 PyObject *resultobj = 0;
11650 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11651 wxRect result;
11652 void *argp1 = 0 ;
11653 int res1 = 0 ;
11654 PyObject *swig_obj[1] ;
11655
11656 if (!args) SWIG_fail;
11657 swig_obj[0] = args;
11658 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11659 if (!SWIG_IsOK(res1)) {
11660 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11661 }
11662 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11663 {
11664 PyThreadState* __tstate = wxPyBeginAllowThreads();
11665 result = ((wxSashEvent const *)arg1)->GetDragRect();
11666 wxPyEndAllowThreads(__tstate);
11667 if (PyErr_Occurred()) SWIG_fail;
11668 }
11669 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
11670 return resultobj;
11671 fail:
11672 return NULL;
11673 }
11674
11675
11676 SWIGINTERN PyObject *_wrap_SashEvent_SetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11677 PyObject *resultobj = 0;
11678 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11679 wxSashDragStatus arg2 ;
11680 void *argp1 = 0 ;
11681 int res1 = 0 ;
11682 int val2 ;
11683 int ecode2 = 0 ;
11684 PyObject * obj0 = 0 ;
11685 PyObject * obj1 = 0 ;
11686 char * kwnames[] = {
11687 (char *) "self",(char *) "status", NULL
11688 };
11689
11690 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) SWIG_fail;
11691 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11692 if (!SWIG_IsOK(res1)) {
11693 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11694 }
11695 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11696 ecode2 = SWIG_AsVal_int(obj1, &val2);
11697 if (!SWIG_IsOK(ecode2)) {
11698 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11699 }
11700 arg2 = static_cast< wxSashDragStatus >(val2);
11701 {
11702 PyThreadState* __tstate = wxPyBeginAllowThreads();
11703 (arg1)->SetDragStatus(arg2);
11704 wxPyEndAllowThreads(__tstate);
11705 if (PyErr_Occurred()) SWIG_fail;
11706 }
11707 resultobj = SWIG_Py_Void();
11708 return resultobj;
11709 fail:
11710 return NULL;
11711 }
11712
11713
11714 SWIGINTERN PyObject *_wrap_SashEvent_GetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11715 PyObject *resultobj = 0;
11716 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11717 wxSashDragStatus result;
11718 void *argp1 = 0 ;
11719 int res1 = 0 ;
11720 PyObject *swig_obj[1] ;
11721
11722 if (!args) SWIG_fail;
11723 swig_obj[0] = args;
11724 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11725 if (!SWIG_IsOK(res1)) {
11726 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11727 }
11728 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11729 {
11730 PyThreadState* __tstate = wxPyBeginAllowThreads();
11731 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
11732 wxPyEndAllowThreads(__tstate);
11733 if (PyErr_Occurred()) SWIG_fail;
11734 }
11735 resultobj = SWIG_From_int(static_cast< int >(result));
11736 return resultobj;
11737 fail:
11738 return NULL;
11739 }
11740
11741
11742 SWIGINTERN PyObject *SashEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11743 PyObject *obj;
11744 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11745 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent, SWIG_NewClientData(obj));
11746 return SWIG_Py_Void();
11747 }
11748
11749 SWIGINTERN PyObject *SashEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11750 return SWIG_Python_InitShadowInstance(args);
11751 }
11752
11753 SWIGINTERN PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11754 PyObject *resultobj = 0;
11755 int arg1 = (int) 0 ;
11756 wxQueryLayoutInfoEvent *result = 0 ;
11757 int val1 ;
11758 int ecode1 = 0 ;
11759 PyObject * obj0 = 0 ;
11760 char * kwnames[] = {
11761 (char *) "id", NULL
11762 };
11763
11764 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) SWIG_fail;
11765 if (obj0) {
11766 ecode1 = SWIG_AsVal_int(obj0, &val1);
11767 if (!SWIG_IsOK(ecode1)) {
11768 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11769 }
11770 arg1 = static_cast< int >(val1);
11771 }
11772 {
11773 PyThreadState* __tstate = wxPyBeginAllowThreads();
11774 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
11775 wxPyEndAllowThreads(__tstate);
11776 if (PyErr_Occurred()) SWIG_fail;
11777 }
11778 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_NEW | 0 );
11779 return resultobj;
11780 fail:
11781 return NULL;
11782 }
11783
11784
11785 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11786 PyObject *resultobj = 0;
11787 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11788 int arg2 ;
11789 void *argp1 = 0 ;
11790 int res1 = 0 ;
11791 int val2 ;
11792 int ecode2 = 0 ;
11793 PyObject * obj0 = 0 ;
11794 PyObject * obj1 = 0 ;
11795 char * kwnames[] = {
11796 (char *) "self",(char *) "length", NULL
11797 };
11798
11799 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) SWIG_fail;
11800 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11801 if (!SWIG_IsOK(res1)) {
11802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11803 }
11804 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11805 ecode2 = SWIG_AsVal_int(obj1, &val2);
11806 if (!SWIG_IsOK(ecode2)) {
11807 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
11808 }
11809 arg2 = static_cast< int >(val2);
11810 {
11811 PyThreadState* __tstate = wxPyBeginAllowThreads();
11812 (arg1)->SetRequestedLength(arg2);
11813 wxPyEndAllowThreads(__tstate);
11814 if (PyErr_Occurred()) SWIG_fail;
11815 }
11816 resultobj = SWIG_Py_Void();
11817 return resultobj;
11818 fail:
11819 return NULL;
11820 }
11821
11822
11823 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11824 PyObject *resultobj = 0;
11825 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11826 int result;
11827 void *argp1 = 0 ;
11828 int res1 = 0 ;
11829 PyObject *swig_obj[1] ;
11830
11831 if (!args) SWIG_fail;
11832 swig_obj[0] = args;
11833 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11834 if (!SWIG_IsOK(res1)) {
11835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11836 }
11837 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11838 {
11839 PyThreadState* __tstate = wxPyBeginAllowThreads();
11840 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
11841 wxPyEndAllowThreads(__tstate);
11842 if (PyErr_Occurred()) SWIG_fail;
11843 }
11844 resultobj = SWIG_From_int(static_cast< int >(result));
11845 return resultobj;
11846 fail:
11847 return NULL;
11848 }
11849
11850
11851 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11852 PyObject *resultobj = 0;
11853 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11854 int arg2 ;
11855 void *argp1 = 0 ;
11856 int res1 = 0 ;
11857 int val2 ;
11858 int ecode2 = 0 ;
11859 PyObject * obj0 = 0 ;
11860 PyObject * obj1 = 0 ;
11861 char * kwnames[] = {
11862 (char *) "self",(char *) "flags", NULL
11863 };
11864
11865 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
11866 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11867 if (!SWIG_IsOK(res1)) {
11868 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11869 }
11870 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11871 ecode2 = SWIG_AsVal_int(obj1, &val2);
11872 if (!SWIG_IsOK(ecode2)) {
11873 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
11874 }
11875 arg2 = static_cast< int >(val2);
11876 {
11877 PyThreadState* __tstate = wxPyBeginAllowThreads();
11878 (arg1)->SetFlags(arg2);
11879 wxPyEndAllowThreads(__tstate);
11880 if (PyErr_Occurred()) SWIG_fail;
11881 }
11882 resultobj = SWIG_Py_Void();
11883 return resultobj;
11884 fail:
11885 return NULL;
11886 }
11887
11888
11889 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11890 PyObject *resultobj = 0;
11891 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11892 int result;
11893 void *argp1 = 0 ;
11894 int res1 = 0 ;
11895 PyObject *swig_obj[1] ;
11896
11897 if (!args) SWIG_fail;
11898 swig_obj[0] = args;
11899 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11900 if (!SWIG_IsOK(res1)) {
11901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11902 }
11903 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11904 {
11905 PyThreadState* __tstate = wxPyBeginAllowThreads();
11906 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
11907 wxPyEndAllowThreads(__tstate);
11908 if (PyErr_Occurred()) SWIG_fail;
11909 }
11910 resultobj = SWIG_From_int(static_cast< int >(result));
11911 return resultobj;
11912 fail:
11913 return NULL;
11914 }
11915
11916
11917 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11918 PyObject *resultobj = 0;
11919 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11920 wxSize *arg2 = 0 ;
11921 void *argp1 = 0 ;
11922 int res1 = 0 ;
11923 wxSize temp2 ;
11924 PyObject * obj0 = 0 ;
11925 PyObject * obj1 = 0 ;
11926 char * kwnames[] = {
11927 (char *) "self",(char *) "size", NULL
11928 };
11929
11930 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
11931 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11932 if (!SWIG_IsOK(res1)) {
11933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11934 }
11935 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11936 {
11937 arg2 = &temp2;
11938 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11939 }
11940 {
11941 PyThreadState* __tstate = wxPyBeginAllowThreads();
11942 (arg1)->SetSize((wxSize const &)*arg2);
11943 wxPyEndAllowThreads(__tstate);
11944 if (PyErr_Occurred()) SWIG_fail;
11945 }
11946 resultobj = SWIG_Py_Void();
11947 return resultobj;
11948 fail:
11949 return NULL;
11950 }
11951
11952
11953 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11954 PyObject *resultobj = 0;
11955 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11956 wxSize result;
11957 void *argp1 = 0 ;
11958 int res1 = 0 ;
11959 PyObject *swig_obj[1] ;
11960
11961 if (!args) SWIG_fail;
11962 swig_obj[0] = args;
11963 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11964 if (!SWIG_IsOK(res1)) {
11965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11966 }
11967 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11968 {
11969 PyThreadState* __tstate = wxPyBeginAllowThreads();
11970 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
11971 wxPyEndAllowThreads(__tstate);
11972 if (PyErr_Occurred()) SWIG_fail;
11973 }
11974 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
11975 return resultobj;
11976 fail:
11977 return NULL;
11978 }
11979
11980
11981 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11982 PyObject *resultobj = 0;
11983 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11984 wxLayoutOrientation arg2 ;
11985 void *argp1 = 0 ;
11986 int res1 = 0 ;
11987 int val2 ;
11988 int ecode2 = 0 ;
11989 PyObject * obj0 = 0 ;
11990 PyObject * obj1 = 0 ;
11991 char * kwnames[] = {
11992 (char *) "self",(char *) "orient", NULL
11993 };
11994
11995 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
11996 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11997 if (!SWIG_IsOK(res1)) {
11998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11999 }
12000 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12001 ecode2 = SWIG_AsVal_int(obj1, &val2);
12002 if (!SWIG_IsOK(ecode2)) {
12003 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12004 }
12005 arg2 = static_cast< wxLayoutOrientation >(val2);
12006 {
12007 PyThreadState* __tstate = wxPyBeginAllowThreads();
12008 (arg1)->SetOrientation(arg2);
12009 wxPyEndAllowThreads(__tstate);
12010 if (PyErr_Occurred()) SWIG_fail;
12011 }
12012 resultobj = SWIG_Py_Void();
12013 return resultobj;
12014 fail:
12015 return NULL;
12016 }
12017
12018
12019 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12020 PyObject *resultobj = 0;
12021 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12022 wxLayoutOrientation result;
12023 void *argp1 = 0 ;
12024 int res1 = 0 ;
12025 PyObject *swig_obj[1] ;
12026
12027 if (!args) SWIG_fail;
12028 swig_obj[0] = args;
12029 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12030 if (!SWIG_IsOK(res1)) {
12031 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12032 }
12033 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12034 {
12035 PyThreadState* __tstate = wxPyBeginAllowThreads();
12036 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
12037 wxPyEndAllowThreads(__tstate);
12038 if (PyErr_Occurred()) SWIG_fail;
12039 }
12040 resultobj = SWIG_From_int(static_cast< int >(result));
12041 return resultobj;
12042 fail:
12043 return NULL;
12044 }
12045
12046
12047 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12048 PyObject *resultobj = 0;
12049 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12050 wxLayoutAlignment arg2 ;
12051 void *argp1 = 0 ;
12052 int res1 = 0 ;
12053 int val2 ;
12054 int ecode2 = 0 ;
12055 PyObject * obj0 = 0 ;
12056 PyObject * obj1 = 0 ;
12057 char * kwnames[] = {
12058 (char *) "self",(char *) "align", NULL
12059 };
12060
12061 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12062 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12063 if (!SWIG_IsOK(res1)) {
12064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12065 }
12066 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12067 ecode2 = SWIG_AsVal_int(obj1, &val2);
12068 if (!SWIG_IsOK(ecode2)) {
12069 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12070 }
12071 arg2 = static_cast< wxLayoutAlignment >(val2);
12072 {
12073 PyThreadState* __tstate = wxPyBeginAllowThreads();
12074 (arg1)->SetAlignment(arg2);
12075 wxPyEndAllowThreads(__tstate);
12076 if (PyErr_Occurred()) SWIG_fail;
12077 }
12078 resultobj = SWIG_Py_Void();
12079 return resultobj;
12080 fail:
12081 return NULL;
12082 }
12083
12084
12085 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12086 PyObject *resultobj = 0;
12087 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12088 wxLayoutAlignment result;
12089 void *argp1 = 0 ;
12090 int res1 = 0 ;
12091 PyObject *swig_obj[1] ;
12092
12093 if (!args) SWIG_fail;
12094 swig_obj[0] = args;
12095 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12096 if (!SWIG_IsOK(res1)) {
12097 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12098 }
12099 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12100 {
12101 PyThreadState* __tstate = wxPyBeginAllowThreads();
12102 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
12103 wxPyEndAllowThreads(__tstate);
12104 if (PyErr_Occurred()) SWIG_fail;
12105 }
12106 resultobj = SWIG_From_int(static_cast< int >(result));
12107 return resultobj;
12108 fail:
12109 return NULL;
12110 }
12111
12112
12113 SWIGINTERN PyObject *QueryLayoutInfoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12114 PyObject *obj;
12115 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12116 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_NewClientData(obj));
12117 return SWIG_Py_Void();
12118 }
12119
12120 SWIGINTERN PyObject *QueryLayoutInfoEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12121 return SWIG_Python_InitShadowInstance(args);
12122 }
12123
12124 SWIGINTERN PyObject *_wrap_new_CalculateLayoutEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12125 PyObject *resultobj = 0;
12126 int arg1 = (int) 0 ;
12127 wxCalculateLayoutEvent *result = 0 ;
12128 int val1 ;
12129 int ecode1 = 0 ;
12130 PyObject * obj0 = 0 ;
12131 char * kwnames[] = {
12132 (char *) "id", NULL
12133 };
12134
12135 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) SWIG_fail;
12136 if (obj0) {
12137 ecode1 = SWIG_AsVal_int(obj0, &val1);
12138 if (!SWIG_IsOK(ecode1)) {
12139 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12140 }
12141 arg1 = static_cast< int >(val1);
12142 }
12143 {
12144 PyThreadState* __tstate = wxPyBeginAllowThreads();
12145 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
12146 wxPyEndAllowThreads(__tstate);
12147 if (PyErr_Occurred()) SWIG_fail;
12148 }
12149 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_NEW | 0 );
12150 return resultobj;
12151 fail:
12152 return NULL;
12153 }
12154
12155
12156 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12157 PyObject *resultobj = 0;
12158 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12159 int arg2 ;
12160 void *argp1 = 0 ;
12161 int res1 = 0 ;
12162 int val2 ;
12163 int ecode2 = 0 ;
12164 PyObject * obj0 = 0 ;
12165 PyObject * obj1 = 0 ;
12166 char * kwnames[] = {
12167 (char *) "self",(char *) "flags", NULL
12168 };
12169
12170 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12171 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12172 if (!SWIG_IsOK(res1)) {
12173 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12174 }
12175 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12176 ecode2 = SWIG_AsVal_int(obj1, &val2);
12177 if (!SWIG_IsOK(ecode2)) {
12178 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12179 }
12180 arg2 = static_cast< int >(val2);
12181 {
12182 PyThreadState* __tstate = wxPyBeginAllowThreads();
12183 (arg1)->SetFlags(arg2);
12184 wxPyEndAllowThreads(__tstate);
12185 if (PyErr_Occurred()) SWIG_fail;
12186 }
12187 resultobj = SWIG_Py_Void();
12188 return resultobj;
12189 fail:
12190 return NULL;
12191 }
12192
12193
12194 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12195 PyObject *resultobj = 0;
12196 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12197 int result;
12198 void *argp1 = 0 ;
12199 int res1 = 0 ;
12200 PyObject *swig_obj[1] ;
12201
12202 if (!args) SWIG_fail;
12203 swig_obj[0] = args;
12204 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12205 if (!SWIG_IsOK(res1)) {
12206 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12207 }
12208 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12209 {
12210 PyThreadState* __tstate = wxPyBeginAllowThreads();
12211 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
12212 wxPyEndAllowThreads(__tstate);
12213 if (PyErr_Occurred()) SWIG_fail;
12214 }
12215 resultobj = SWIG_From_int(static_cast< int >(result));
12216 return resultobj;
12217 fail:
12218 return NULL;
12219 }
12220
12221
12222 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12223 PyObject *resultobj = 0;
12224 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12225 wxRect *arg2 = 0 ;
12226 void *argp1 = 0 ;
12227 int res1 = 0 ;
12228 wxRect temp2 ;
12229 PyObject * obj0 = 0 ;
12230 PyObject * obj1 = 0 ;
12231 char * kwnames[] = {
12232 (char *) "self",(char *) "rect", NULL
12233 };
12234
12235 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12236 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12237 if (!SWIG_IsOK(res1)) {
12238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12239 }
12240 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12241 {
12242 arg2 = &temp2;
12243 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12244 }
12245 {
12246 PyThreadState* __tstate = wxPyBeginAllowThreads();
12247 (arg1)->SetRect((wxRect const &)*arg2);
12248 wxPyEndAllowThreads(__tstate);
12249 if (PyErr_Occurred()) SWIG_fail;
12250 }
12251 resultobj = SWIG_Py_Void();
12252 return resultobj;
12253 fail:
12254 return NULL;
12255 }
12256
12257
12258 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12259 PyObject *resultobj = 0;
12260 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12261 wxRect result;
12262 void *argp1 = 0 ;
12263 int res1 = 0 ;
12264 PyObject *swig_obj[1] ;
12265
12266 if (!args) SWIG_fail;
12267 swig_obj[0] = args;
12268 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12269 if (!SWIG_IsOK(res1)) {
12270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12271 }
12272 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12273 {
12274 PyThreadState* __tstate = wxPyBeginAllowThreads();
12275 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
12276 wxPyEndAllowThreads(__tstate);
12277 if (PyErr_Occurred()) SWIG_fail;
12278 }
12279 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12280 return resultobj;
12281 fail:
12282 return NULL;
12283 }
12284
12285
12286 SWIGINTERN PyObject *CalculateLayoutEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12287 PyObject *obj;
12288 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12289 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_NewClientData(obj));
12290 return SWIG_Py_Void();
12291 }
12292
12293 SWIGINTERN PyObject *CalculateLayoutEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12294 return SWIG_Python_InitShadowInstance(args);
12295 }
12296
12297 SWIGINTERN PyObject *_wrap_new_SashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12298 PyObject *resultobj = 0;
12299 wxWindow *arg1 = (wxWindow *) 0 ;
12300 int arg2 = (int) -1 ;
12301 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12302 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12303 wxSize const &arg4_defvalue = wxDefaultSize ;
12304 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12305 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12306 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
12307 wxString *arg6 = (wxString *) &arg6_defvalue ;
12308 wxSashLayoutWindow *result = 0 ;
12309 void *argp1 = 0 ;
12310 int res1 = 0 ;
12311 int val2 ;
12312 int ecode2 = 0 ;
12313 wxPoint temp3 ;
12314 wxSize temp4 ;
12315 long val5 ;
12316 int ecode5 = 0 ;
12317 bool temp6 = false ;
12318 PyObject * obj0 = 0 ;
12319 PyObject * obj1 = 0 ;
12320 PyObject * obj2 = 0 ;
12321 PyObject * obj3 = 0 ;
12322 PyObject * obj4 = 0 ;
12323 PyObject * obj5 = 0 ;
12324 char * kwnames[] = {
12325 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12326 };
12327
12328 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12329 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12330 if (!SWIG_IsOK(res1)) {
12331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12332 }
12333 arg1 = reinterpret_cast< wxWindow * >(argp1);
12334 if (obj1) {
12335 ecode2 = SWIG_AsVal_int(obj1, &val2);
12336 if (!SWIG_IsOK(ecode2)) {
12337 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12338 }
12339 arg2 = static_cast< int >(val2);
12340 }
12341 if (obj2) {
12342 {
12343 arg3 = &temp3;
12344 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12345 }
12346 }
12347 if (obj3) {
12348 {
12349 arg4 = &temp4;
12350 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12351 }
12352 }
12353 if (obj4) {
12354 ecode5 = SWIG_AsVal_long(obj4, &val5);
12355 if (!SWIG_IsOK(ecode5)) {
12356 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12357 }
12358 arg5 = static_cast< long >(val5);
12359 }
12360 if (obj5) {
12361 {
12362 arg6 = wxString_in_helper(obj5);
12363 if (arg6 == NULL) SWIG_fail;
12364 temp6 = true;
12365 }
12366 }
12367 {
12368 if (!wxPyCheckForApp()) SWIG_fail;
12369 PyThreadState* __tstate = wxPyBeginAllowThreads();
12370 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12371 wxPyEndAllowThreads(__tstate);
12372 if (PyErr_Occurred()) SWIG_fail;
12373 }
12374 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_NEW | 0 );
12375 {
12376 if (temp6)
12377 delete arg6;
12378 }
12379 return resultobj;
12380 fail:
12381 {
12382 if (temp6)
12383 delete arg6;
12384 }
12385 return NULL;
12386 }
12387
12388
12389 SWIGINTERN PyObject *_wrap_new_PreSashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12390 PyObject *resultobj = 0;
12391 wxSashLayoutWindow *result = 0 ;
12392
12393 if (!SWIG_Python_UnpackTuple(args,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail;
12394 {
12395 if (!wxPyCheckForApp()) SWIG_fail;
12396 PyThreadState* __tstate = wxPyBeginAllowThreads();
12397 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
12398 wxPyEndAllowThreads(__tstate);
12399 if (PyErr_Occurred()) SWIG_fail;
12400 }
12401 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_OWN | 0 );
12402 return resultobj;
12403 fail:
12404 return NULL;
12405 }
12406
12407
12408 SWIGINTERN PyObject *_wrap_SashLayoutWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12409 PyObject *resultobj = 0;
12410 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12411 wxWindow *arg2 = (wxWindow *) 0 ;
12412 int arg3 = (int) -1 ;
12413 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12414 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12415 wxSize const &arg5_defvalue = wxDefaultSize ;
12416 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12417 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12418 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
12419 wxString *arg7 = (wxString *) &arg7_defvalue ;
12420 bool result;
12421 void *argp1 = 0 ;
12422 int res1 = 0 ;
12423 void *argp2 = 0 ;
12424 int res2 = 0 ;
12425 int val3 ;
12426 int ecode3 = 0 ;
12427 wxPoint temp4 ;
12428 wxSize temp5 ;
12429 long val6 ;
12430 int ecode6 = 0 ;
12431 bool temp7 = false ;
12432 PyObject * obj0 = 0 ;
12433 PyObject * obj1 = 0 ;
12434 PyObject * obj2 = 0 ;
12435 PyObject * obj3 = 0 ;
12436 PyObject * obj4 = 0 ;
12437 PyObject * obj5 = 0 ;
12438 PyObject * obj6 = 0 ;
12439 char * kwnames[] = {
12440 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12441 };
12442
12443 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
12444 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12445 if (!SWIG_IsOK(res1)) {
12446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12447 }
12448 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12449 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12450 if (!SWIG_IsOK(res2)) {
12451 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12452 }
12453 arg2 = reinterpret_cast< wxWindow * >(argp2);
12454 if (obj2) {
12455 ecode3 = SWIG_AsVal_int(obj2, &val3);
12456 if (!SWIG_IsOK(ecode3)) {
12457 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12458 }
12459 arg3 = static_cast< int >(val3);
12460 }
12461 if (obj3) {
12462 {
12463 arg4 = &temp4;
12464 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12465 }
12466 }
12467 if (obj4) {
12468 {
12469 arg5 = &temp5;
12470 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12471 }
12472 }
12473 if (obj5) {
12474 ecode6 = SWIG_AsVal_long(obj5, &val6);
12475 if (!SWIG_IsOK(ecode6)) {
12476 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12477 }
12478 arg6 = static_cast< long >(val6);
12479 }
12480 if (obj6) {
12481 {
12482 arg7 = wxString_in_helper(obj6);
12483 if (arg7 == NULL) SWIG_fail;
12484 temp7 = true;
12485 }
12486 }
12487 {
12488 PyThreadState* __tstate = wxPyBeginAllowThreads();
12489 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12490 wxPyEndAllowThreads(__tstate);
12491 if (PyErr_Occurred()) SWIG_fail;
12492 }
12493 {
12494 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12495 }
12496 {
12497 if (temp7)
12498 delete arg7;
12499 }
12500 return resultobj;
12501 fail:
12502 {
12503 if (temp7)
12504 delete arg7;
12505 }
12506 return NULL;
12507 }
12508
12509
12510 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12511 PyObject *resultobj = 0;
12512 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12513 wxLayoutAlignment result;
12514 void *argp1 = 0 ;
12515 int res1 = 0 ;
12516 PyObject *swig_obj[1] ;
12517
12518 if (!args) SWIG_fail;
12519 swig_obj[0] = args;
12520 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12521 if (!SWIG_IsOK(res1)) {
12522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12523 }
12524 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12525 {
12526 PyThreadState* __tstate = wxPyBeginAllowThreads();
12527 result = (wxLayoutAlignment)(arg1)->GetAlignment();
12528 wxPyEndAllowThreads(__tstate);
12529 if (PyErr_Occurred()) SWIG_fail;
12530 }
12531 resultobj = SWIG_From_int(static_cast< int >(result));
12532 return resultobj;
12533 fail:
12534 return NULL;
12535 }
12536
12537
12538 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12539 PyObject *resultobj = 0;
12540 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12541 wxLayoutOrientation result;
12542 void *argp1 = 0 ;
12543 int res1 = 0 ;
12544 PyObject *swig_obj[1] ;
12545
12546 if (!args) SWIG_fail;
12547 swig_obj[0] = args;
12548 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12549 if (!SWIG_IsOK(res1)) {
12550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12551 }
12552 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12553 {
12554 PyThreadState* __tstate = wxPyBeginAllowThreads();
12555 result = (wxLayoutOrientation)(arg1)->GetOrientation();
12556 wxPyEndAllowThreads(__tstate);
12557 if (PyErr_Occurred()) SWIG_fail;
12558 }
12559 resultobj = SWIG_From_int(static_cast< int >(result));
12560 return resultobj;
12561 fail:
12562 return NULL;
12563 }
12564
12565
12566 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12567 PyObject *resultobj = 0;
12568 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12569 wxLayoutAlignment arg2 ;
12570 void *argp1 = 0 ;
12571 int res1 = 0 ;
12572 int val2 ;
12573 int ecode2 = 0 ;
12574 PyObject * obj0 = 0 ;
12575 PyObject * obj1 = 0 ;
12576 char * kwnames[] = {
12577 (char *) "self",(char *) "alignment", NULL
12578 };
12579
12580 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12581 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12582 if (!SWIG_IsOK(res1)) {
12583 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12584 }
12585 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12586 ecode2 = SWIG_AsVal_int(obj1, &val2);
12587 if (!SWIG_IsOK(ecode2)) {
12588 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12589 }
12590 arg2 = static_cast< wxLayoutAlignment >(val2);
12591 {
12592 PyThreadState* __tstate = wxPyBeginAllowThreads();
12593 (arg1)->SetAlignment(arg2);
12594 wxPyEndAllowThreads(__tstate);
12595 if (PyErr_Occurred()) SWIG_fail;
12596 }
12597 resultobj = SWIG_Py_Void();
12598 return resultobj;
12599 fail:
12600 return NULL;
12601 }
12602
12603
12604 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12605 PyObject *resultobj = 0;
12606 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12607 wxSize *arg2 = 0 ;
12608 void *argp1 = 0 ;
12609 int res1 = 0 ;
12610 wxSize temp2 ;
12611 PyObject * obj0 = 0 ;
12612 PyObject * obj1 = 0 ;
12613 char * kwnames[] = {
12614 (char *) "self",(char *) "size", NULL
12615 };
12616
12617 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) SWIG_fail;
12618 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12619 if (!SWIG_IsOK(res1)) {
12620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12621 }
12622 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12623 {
12624 arg2 = &temp2;
12625 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12626 }
12627 {
12628 PyThreadState* __tstate = wxPyBeginAllowThreads();
12629 (arg1)->SetDefaultSize((wxSize const &)*arg2);
12630 wxPyEndAllowThreads(__tstate);
12631 if (PyErr_Occurred()) SWIG_fail;
12632 }
12633 resultobj = SWIG_Py_Void();
12634 return resultobj;
12635 fail:
12636 return NULL;
12637 }
12638
12639
12640 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12641 PyObject *resultobj = 0;
12642 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12643 wxLayoutOrientation arg2 ;
12644 void *argp1 = 0 ;
12645 int res1 = 0 ;
12646 int val2 ;
12647 int ecode2 = 0 ;
12648 PyObject * obj0 = 0 ;
12649 PyObject * obj1 = 0 ;
12650 char * kwnames[] = {
12651 (char *) "self",(char *) "orientation", NULL
12652 };
12653
12654 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12655 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12656 if (!SWIG_IsOK(res1)) {
12657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12658 }
12659 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12660 ecode2 = SWIG_AsVal_int(obj1, &val2);
12661 if (!SWIG_IsOK(ecode2)) {
12662 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12663 }
12664 arg2 = static_cast< wxLayoutOrientation >(val2);
12665 {
12666 PyThreadState* __tstate = wxPyBeginAllowThreads();
12667 (arg1)->SetOrientation(arg2);
12668 wxPyEndAllowThreads(__tstate);
12669 if (PyErr_Occurred()) SWIG_fail;
12670 }
12671 resultobj = SWIG_Py_Void();
12672 return resultobj;
12673 fail:
12674 return NULL;
12675 }
12676
12677
12678 SWIGINTERN PyObject *SashLayoutWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12679 PyObject *obj;
12680 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12681 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow, SWIG_NewClientData(obj));
12682 return SWIG_Py_Void();
12683 }
12684
12685 SWIGINTERN PyObject *SashLayoutWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12686 return SWIG_Python_InitShadowInstance(args);
12687 }
12688
12689 SWIGINTERN PyObject *_wrap_new_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12690 PyObject *resultobj = 0;
12691 wxLayoutAlgorithm *result = 0 ;
12692
12693 if (!SWIG_Python_UnpackTuple(args,"new_LayoutAlgorithm",0,0,0)) SWIG_fail;
12694 {
12695 PyThreadState* __tstate = wxPyBeginAllowThreads();
12696 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
12697 wxPyEndAllowThreads(__tstate);
12698 if (PyErr_Occurred()) SWIG_fail;
12699 }
12700 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_NEW | 0 );
12701 return resultobj;
12702 fail:
12703 return NULL;
12704 }
12705
12706
12707 SWIGINTERN PyObject *_wrap_delete_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12708 PyObject *resultobj = 0;
12709 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12710 void *argp1 = 0 ;
12711 int res1 = 0 ;
12712 PyObject *swig_obj[1] ;
12713
12714 if (!args) SWIG_fail;
12715 swig_obj[0] = args;
12716 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_DISOWN | 0 );
12717 if (!SWIG_IsOK(res1)) {
12718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12719 }
12720 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12721 {
12722 PyThreadState* __tstate = wxPyBeginAllowThreads();
12723 delete arg1;
12724
12725 wxPyEndAllowThreads(__tstate);
12726 if (PyErr_Occurred()) SWIG_fail;
12727 }
12728 resultobj = SWIG_Py_Void();
12729 return resultobj;
12730 fail:
12731 return NULL;
12732 }
12733
12734
12735 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12736 PyObject *resultobj = 0;
12737 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12738 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
12739 wxRect *arg3 = (wxRect *) NULL ;
12740 bool result;
12741 void *argp1 = 0 ;
12742 int res1 = 0 ;
12743 void *argp2 = 0 ;
12744 int res2 = 0 ;
12745 void *argp3 = 0 ;
12746 int res3 = 0 ;
12747 PyObject * obj0 = 0 ;
12748 PyObject * obj1 = 0 ;
12749 PyObject * obj2 = 0 ;
12750 char * kwnames[] = {
12751 (char *) "self",(char *) "frame",(char *) "rect", NULL
12752 };
12753
12754 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12755 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12756 if (!SWIG_IsOK(res1)) {
12757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12758 }
12759 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12760 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
12761 if (!SWIG_IsOK(res2)) {
12762 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12763 }
12764 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
12765 if (obj2) {
12766 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRect, 0 | 0 );
12767 if (!SWIG_IsOK(res3)) {
12768 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12769 }
12770 arg3 = reinterpret_cast< wxRect * >(argp3);
12771 }
12772 {
12773 PyThreadState* __tstate = wxPyBeginAllowThreads();
12774 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
12775 wxPyEndAllowThreads(__tstate);
12776 if (PyErr_Occurred()) SWIG_fail;
12777 }
12778 {
12779 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12780 }
12781 return resultobj;
12782 fail:
12783 return NULL;
12784 }
12785
12786
12787 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12788 PyObject *resultobj = 0;
12789 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12790 wxFrame *arg2 = (wxFrame *) 0 ;
12791 wxWindow *arg3 = (wxWindow *) NULL ;
12792 bool result;
12793 void *argp1 = 0 ;
12794 int res1 = 0 ;
12795 void *argp2 = 0 ;
12796 int res2 = 0 ;
12797 void *argp3 = 0 ;
12798 int res3 = 0 ;
12799 PyObject * obj0 = 0 ;
12800 PyObject * obj1 = 0 ;
12801 PyObject * obj2 = 0 ;
12802 char * kwnames[] = {
12803 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
12804 };
12805
12806 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12807 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12808 if (!SWIG_IsOK(res1)) {
12809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12810 }
12811 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12812 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
12813 if (!SWIG_IsOK(res2)) {
12814 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
12815 }
12816 arg2 = reinterpret_cast< wxFrame * >(argp2);
12817 if (obj2) {
12818 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
12819 if (!SWIG_IsOK(res3)) {
12820 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
12821 }
12822 arg3 = reinterpret_cast< wxWindow * >(argp3);
12823 }
12824 {
12825 PyThreadState* __tstate = wxPyBeginAllowThreads();
12826 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
12827 wxPyEndAllowThreads(__tstate);
12828 if (PyErr_Occurred()) SWIG_fail;
12829 }
12830 {
12831 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12832 }
12833 return resultobj;
12834 fail:
12835 return NULL;
12836 }
12837
12838
12839 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12840 PyObject *resultobj = 0;
12841 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12842 wxWindow *arg2 = (wxWindow *) 0 ;
12843 wxWindow *arg3 = (wxWindow *) NULL ;
12844 bool result;
12845 void *argp1 = 0 ;
12846 int res1 = 0 ;
12847 void *argp2 = 0 ;
12848 int res2 = 0 ;
12849 void *argp3 = 0 ;
12850 int res3 = 0 ;
12851 PyObject * obj0 = 0 ;
12852 PyObject * obj1 = 0 ;
12853 PyObject * obj2 = 0 ;
12854 char * kwnames[] = {
12855 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
12856 };
12857
12858 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12859 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12860 if (!SWIG_IsOK(res1)) {
12861 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12862 }
12863 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12864 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12865 if (!SWIG_IsOK(res2)) {
12866 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
12867 }
12868 arg2 = reinterpret_cast< wxWindow * >(argp2);
12869 if (obj2) {
12870 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
12871 if (!SWIG_IsOK(res3)) {
12872 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
12873 }
12874 arg3 = reinterpret_cast< wxWindow * >(argp3);
12875 }
12876 {
12877 PyThreadState* __tstate = wxPyBeginAllowThreads();
12878 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
12879 wxPyEndAllowThreads(__tstate);
12880 if (PyErr_Occurred()) SWIG_fail;
12881 }
12882 {
12883 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12884 }
12885 return resultobj;
12886 fail:
12887 return NULL;
12888 }
12889
12890
12891 SWIGINTERN PyObject *LayoutAlgorithm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12892 PyObject *obj;
12893 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12894 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm, SWIG_NewClientData(obj));
12895 return SWIG_Py_Void();
12896 }
12897
12898 SWIGINTERN PyObject *LayoutAlgorithm_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12899 return SWIG_Python_InitShadowInstance(args);
12900 }
12901
12902 SWIGINTERN PyObject *_wrap_new_PopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12903 PyObject *resultobj = 0;
12904 wxWindow *arg1 = (wxWindow *) 0 ;
12905 int arg2 = (int) wxBORDER_NONE ;
12906 wxPopupWindow *result = 0 ;
12907 void *argp1 = 0 ;
12908 int res1 = 0 ;
12909 int val2 ;
12910 int ecode2 = 0 ;
12911 PyObject * obj0 = 0 ;
12912 PyObject * obj1 = 0 ;
12913 char * kwnames[] = {
12914 (char *) "parent",(char *) "flags", NULL
12915 };
12916
12917 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) SWIG_fail;
12918 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12919 if (!SWIG_IsOK(res1)) {
12920 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12921 }
12922 arg1 = reinterpret_cast< wxWindow * >(argp1);
12923 if (obj1) {
12924 ecode2 = SWIG_AsVal_int(obj1, &val2);
12925 if (!SWIG_IsOK(ecode2)) {
12926 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
12927 }
12928 arg2 = static_cast< int >(val2);
12929 }
12930 {
12931 PyThreadState* __tstate = wxPyBeginAllowThreads();
12932 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
12933 wxPyEndAllowThreads(__tstate);
12934 if (PyErr_Occurred()) SWIG_fail;
12935 }
12936 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_NEW | 0 );
12937 return resultobj;
12938 fail:
12939 return NULL;
12940 }
12941
12942
12943 SWIGINTERN PyObject *_wrap_new_PrePopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12944 PyObject *resultobj = 0;
12945 wxPopupWindow *result = 0 ;
12946
12947 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupWindow",0,0,0)) SWIG_fail;
12948 {
12949 PyThreadState* __tstate = wxPyBeginAllowThreads();
12950 result = (wxPopupWindow *)new wxPopupWindow();
12951 wxPyEndAllowThreads(__tstate);
12952 if (PyErr_Occurred()) SWIG_fail;
12953 }
12954 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
12955 return resultobj;
12956 fail:
12957 return NULL;
12958 }
12959
12960
12961 SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12962 PyObject *obj;
12963 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12964 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
12965 return SWIG_Py_Void();
12966 }
12967
12968 SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12969 return SWIG_Python_InitShadowInstance(args);
12970 }
12971
12972 SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12973 PyObject *resultobj = 0;
12974 wxWindow *arg1 = (wxWindow *) 0 ;
12975 int arg2 = (int) wxBORDER_NONE ;
12976 wxPyPopupTransientWindow *result = 0 ;
12977 void *argp1 = 0 ;
12978 int res1 = 0 ;
12979 int val2 ;
12980 int ecode2 = 0 ;
12981 PyObject * obj0 = 0 ;
12982 PyObject * obj1 = 0 ;
12983 char * kwnames[] = {
12984 (char *) "parent",(char *) "style", NULL
12985 };
12986
12987 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
12988 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12989 if (!SWIG_IsOK(res1)) {
12990 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12991 }
12992 arg1 = reinterpret_cast< wxWindow * >(argp1);
12993 if (obj1) {
12994 ecode2 = SWIG_AsVal_int(obj1, &val2);
12995 if (!SWIG_IsOK(ecode2)) {
12996 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
12997 }
12998 arg2 = static_cast< int >(val2);
12999 }
13000 {
13001 PyThreadState* __tstate = wxPyBeginAllowThreads();
13002 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13003 wxPyEndAllowThreads(__tstate);
13004 if (PyErr_Occurred()) SWIG_fail;
13005 }
13006 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13007 return resultobj;
13008 fail:
13009 return NULL;
13010 }
13011
13012
13013 SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13014 PyObject *resultobj = 0;
13015 wxPyPopupTransientWindow *result = 0 ;
13016
13017 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13018 {
13019 PyThreadState* __tstate = wxPyBeginAllowThreads();
13020 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13021 wxPyEndAllowThreads(__tstate);
13022 if (PyErr_Occurred()) SWIG_fail;
13023 }
13024 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13025 return resultobj;
13026 fail:
13027 return NULL;
13028 }
13029
13030
13031 SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13032 PyObject *obj;
13033 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13034 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13035 return SWIG_Py_Void();
13036 }
13037
13038 SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13039 return SWIG_Python_InitShadowInstance(args);
13040 }
13041
13042 SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13043 PyObject *resultobj = 0;
13044 wxWindow *arg1 = (wxWindow *) 0 ;
13045 wxString *arg2 = 0 ;
13046 int arg3 = (int) 100 ;
13047 wxRect *arg4 = (wxRect *) NULL ;
13048 wxTipWindow *result = 0 ;
13049 void *argp1 = 0 ;
13050 int res1 = 0 ;
13051 bool temp2 = false ;
13052 int val3 ;
13053 int ecode3 = 0 ;
13054 void *argp4 = 0 ;
13055 int res4 = 0 ;
13056 PyObject * obj0 = 0 ;
13057 PyObject * obj1 = 0 ;
13058 PyObject * obj2 = 0 ;
13059 PyObject * obj3 = 0 ;
13060 char * kwnames[] = {
13061 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13062 };
13063
13064 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13065 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13066 if (!SWIG_IsOK(res1)) {
13067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13068 }
13069 arg1 = reinterpret_cast< wxWindow * >(argp1);
13070 {
13071 arg2 = wxString_in_helper(obj1);
13072 if (arg2 == NULL) SWIG_fail;
13073 temp2 = true;
13074 }
13075 if (obj2) {
13076 ecode3 = SWIG_AsVal_int(obj2, &val3);
13077 if (!SWIG_IsOK(ecode3)) {
13078 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13079 }
13080 arg3 = static_cast< int >(val3);
13081 }
13082 if (obj3) {
13083 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13084 if (!SWIG_IsOK(res4)) {
13085 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13086 }
13087 arg4 = reinterpret_cast< wxRect * >(argp4);
13088 }
13089 {
13090 if (!wxPyCheckForApp()) SWIG_fail;
13091 PyThreadState* __tstate = wxPyBeginAllowThreads();
13092 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13093 wxPyEndAllowThreads(__tstate);
13094 if (PyErr_Occurred()) SWIG_fail;
13095 }
13096 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13097 {
13098 if (temp2)
13099 delete arg2;
13100 }
13101 return resultobj;
13102 fail:
13103 {
13104 if (temp2)
13105 delete arg2;
13106 }
13107 return NULL;
13108 }
13109
13110
13111 SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13112 PyObject *resultobj = 0;
13113 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13114 wxRect *arg2 = 0 ;
13115 void *argp1 = 0 ;
13116 int res1 = 0 ;
13117 wxRect temp2 ;
13118 PyObject * obj0 = 0 ;
13119 PyObject * obj1 = 0 ;
13120 char * kwnames[] = {
13121 (char *) "self",(char *) "rectBound", NULL
13122 };
13123
13124 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13125 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13126 if (!SWIG_IsOK(res1)) {
13127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13128 }
13129 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13130 {
13131 arg2 = &temp2;
13132 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13133 }
13134 {
13135 PyThreadState* __tstate = wxPyBeginAllowThreads();
13136 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13137 wxPyEndAllowThreads(__tstate);
13138 if (PyErr_Occurred()) SWIG_fail;
13139 }
13140 resultobj = SWIG_Py_Void();
13141 return resultobj;
13142 fail:
13143 return NULL;
13144 }
13145
13146
13147 SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13148 PyObject *resultobj = 0;
13149 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13150 void *argp1 = 0 ;
13151 int res1 = 0 ;
13152 PyObject *swig_obj[1] ;
13153
13154 if (!args) SWIG_fail;
13155 swig_obj[0] = args;
13156 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13157 if (!SWIG_IsOK(res1)) {
13158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13159 }
13160 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13161 {
13162 PyThreadState* __tstate = wxPyBeginAllowThreads();
13163 (arg1)->Close();
13164 wxPyEndAllowThreads(__tstate);
13165 if (PyErr_Occurred()) SWIG_fail;
13166 }
13167 resultobj = SWIG_Py_Void();
13168 return resultobj;
13169 fail:
13170 return NULL;
13171 }
13172
13173
13174 SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13175 PyObject *obj;
13176 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13177 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13178 return SWIG_Py_Void();
13179 }
13180
13181 SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13182 return SWIG_Python_InitShadowInstance(args);
13183 }
13184
13185 SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13186 PyObject *resultobj = 0;
13187 wxWindow *arg1 = (wxWindow *) 0 ;
13188 int arg2 = (int) wxID_ANY ;
13189 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13190 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13191 wxSize const &arg4_defvalue = wxDefaultSize ;
13192 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13193 long arg5 = (long) 0 ;
13194 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13195 wxString *arg6 = (wxString *) &arg6_defvalue ;
13196 wxPyVScrolledWindow *result = 0 ;
13197 void *argp1 = 0 ;
13198 int res1 = 0 ;
13199 int val2 ;
13200 int ecode2 = 0 ;
13201 wxPoint temp3 ;
13202 wxSize temp4 ;
13203 long val5 ;
13204 int ecode5 = 0 ;
13205 bool temp6 = false ;
13206 PyObject * obj0 = 0 ;
13207 PyObject * obj1 = 0 ;
13208 PyObject * obj2 = 0 ;
13209 PyObject * obj3 = 0 ;
13210 PyObject * obj4 = 0 ;
13211 PyObject * obj5 = 0 ;
13212 char * kwnames[] = {
13213 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13214 };
13215
13216 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
13217 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13218 if (!SWIG_IsOK(res1)) {
13219 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13220 }
13221 arg1 = reinterpret_cast< wxWindow * >(argp1);
13222 if (obj1) {
13223 ecode2 = SWIG_AsVal_int(obj1, &val2);
13224 if (!SWIG_IsOK(ecode2)) {
13225 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13226 }
13227 arg2 = static_cast< int >(val2);
13228 }
13229 if (obj2) {
13230 {
13231 arg3 = &temp3;
13232 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13233 }
13234 }
13235 if (obj3) {
13236 {
13237 arg4 = &temp4;
13238 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13239 }
13240 }
13241 if (obj4) {
13242 ecode5 = SWIG_AsVal_long(obj4, &val5);
13243 if (!SWIG_IsOK(ecode5)) {
13244 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13245 }
13246 arg5 = static_cast< long >(val5);
13247 }
13248 if (obj5) {
13249 {
13250 arg6 = wxString_in_helper(obj5);
13251 if (arg6 == NULL) SWIG_fail;
13252 temp6 = true;
13253 }
13254 }
13255 {
13256 if (!wxPyCheckForApp()) SWIG_fail;
13257 PyThreadState* __tstate = wxPyBeginAllowThreads();
13258 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13259 wxPyEndAllowThreads(__tstate);
13260 if (PyErr_Occurred()) SWIG_fail;
13261 }
13262 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
13263 {
13264 if (temp6)
13265 delete arg6;
13266 }
13267 return resultobj;
13268 fail:
13269 {
13270 if (temp6)
13271 delete arg6;
13272 }
13273 return NULL;
13274 }
13275
13276
13277 SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13278 PyObject *resultobj = 0;
13279 wxPyVScrolledWindow *result = 0 ;
13280
13281 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
13282 {
13283 if (!wxPyCheckForApp()) SWIG_fail;
13284 PyThreadState* __tstate = wxPyBeginAllowThreads();
13285 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
13286 wxPyEndAllowThreads(__tstate);
13287 if (PyErr_Occurred()) SWIG_fail;
13288 }
13289 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
13290 return resultobj;
13291 fail:
13292 return NULL;
13293 }
13294
13295
13296 SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13297 PyObject *resultobj = 0;
13298 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13299 PyObject *arg2 = (PyObject *) 0 ;
13300 PyObject *arg3 = (PyObject *) 0 ;
13301 void *argp1 = 0 ;
13302 int res1 = 0 ;
13303 PyObject * obj0 = 0 ;
13304 PyObject * obj1 = 0 ;
13305 PyObject * obj2 = 0 ;
13306 char * kwnames[] = {
13307 (char *) "self",(char *) "self",(char *) "_class", NULL
13308 };
13309
13310 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13311 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13312 if (!SWIG_IsOK(res1)) {
13313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13314 }
13315 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13316 arg2 = obj1;
13317 arg3 = obj2;
13318 {
13319 PyThreadState* __tstate = wxPyBeginAllowThreads();
13320 (arg1)->_setCallbackInfo(arg2,arg3);
13321 wxPyEndAllowThreads(__tstate);
13322 if (PyErr_Occurred()) SWIG_fail;
13323 }
13324 resultobj = SWIG_Py_Void();
13325 return resultobj;
13326 fail:
13327 return NULL;
13328 }
13329
13330
13331 SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13332 PyObject *resultobj = 0;
13333 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13334 wxWindow *arg2 = (wxWindow *) 0 ;
13335 int arg3 = (int) wxID_ANY ;
13336 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13337 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13338 wxSize const &arg5_defvalue = wxDefaultSize ;
13339 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13340 long arg6 = (long) 0 ;
13341 wxString const &arg7_defvalue = wxPyPanelNameStr ;
13342 wxString *arg7 = (wxString *) &arg7_defvalue ;
13343 bool result;
13344 void *argp1 = 0 ;
13345 int res1 = 0 ;
13346 void *argp2 = 0 ;
13347 int res2 = 0 ;
13348 int val3 ;
13349 int ecode3 = 0 ;
13350 wxPoint temp4 ;
13351 wxSize temp5 ;
13352 long val6 ;
13353 int ecode6 = 0 ;
13354 bool temp7 = false ;
13355 PyObject * obj0 = 0 ;
13356 PyObject * obj1 = 0 ;
13357 PyObject * obj2 = 0 ;
13358 PyObject * obj3 = 0 ;
13359 PyObject * obj4 = 0 ;
13360 PyObject * obj5 = 0 ;
13361 PyObject * obj6 = 0 ;
13362 char * kwnames[] = {
13363 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13364 };
13365
13366 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
13367 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13368 if (!SWIG_IsOK(res1)) {
13369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13370 }
13371 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13372 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13373 if (!SWIG_IsOK(res2)) {
13374 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13375 }
13376 arg2 = reinterpret_cast< wxWindow * >(argp2);
13377 if (obj2) {
13378 ecode3 = SWIG_AsVal_int(obj2, &val3);
13379 if (!SWIG_IsOK(ecode3)) {
13380 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13381 }
13382 arg3 = static_cast< int >(val3);
13383 }
13384 if (obj3) {
13385 {
13386 arg4 = &temp4;
13387 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13388 }
13389 }
13390 if (obj4) {
13391 {
13392 arg5 = &temp5;
13393 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13394 }
13395 }
13396 if (obj5) {
13397 ecode6 = SWIG_AsVal_long(obj5, &val6);
13398 if (!SWIG_IsOK(ecode6)) {
13399 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13400 }
13401 arg6 = static_cast< long >(val6);
13402 }
13403 if (obj6) {
13404 {
13405 arg7 = wxString_in_helper(obj6);
13406 if (arg7 == NULL) SWIG_fail;
13407 temp7 = true;
13408 }
13409 }
13410 {
13411 PyThreadState* __tstate = wxPyBeginAllowThreads();
13412 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13413 wxPyEndAllowThreads(__tstate);
13414 if (PyErr_Occurred()) SWIG_fail;
13415 }
13416 {
13417 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13418 }
13419 {
13420 if (temp7)
13421 delete arg7;
13422 }
13423 return resultobj;
13424 fail:
13425 {
13426 if (temp7)
13427 delete arg7;
13428 }
13429 return NULL;
13430 }
13431
13432
13433 SWIGINTERN PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13434 PyObject *resultobj = 0;
13435 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13436 size_t arg2 ;
13437 void *argp1 = 0 ;
13438 int res1 = 0 ;
13439 size_t val2 ;
13440 int ecode2 = 0 ;
13441 PyObject * obj0 = 0 ;
13442 PyObject * obj1 = 0 ;
13443 char * kwnames[] = {
13444 (char *) "self",(char *) "count", NULL
13445 };
13446
13447 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) SWIG_fail;
13448 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13449 if (!SWIG_IsOK(res1)) {
13450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13451 }
13452 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13453 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13454 if (!SWIG_IsOK(ecode2)) {
13455 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13456 }
13457 arg2 = static_cast< size_t >(val2);
13458 {
13459 PyThreadState* __tstate = wxPyBeginAllowThreads();
13460 (arg1)->SetLineCount(arg2);
13461 wxPyEndAllowThreads(__tstate);
13462 if (PyErr_Occurred()) SWIG_fail;
13463 }
13464 resultobj = SWIG_Py_Void();
13465 return resultobj;
13466 fail:
13467 return NULL;
13468 }
13469
13470
13471 SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13472 PyObject *resultobj = 0;
13473 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13474 size_t arg2 ;
13475 bool result;
13476 void *argp1 = 0 ;
13477 int res1 = 0 ;
13478 size_t val2 ;
13479 int ecode2 = 0 ;
13480 PyObject * obj0 = 0 ;
13481 PyObject * obj1 = 0 ;
13482 char * kwnames[] = {
13483 (char *) "self",(char *) "line", NULL
13484 };
13485
13486 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
13487 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13488 if (!SWIG_IsOK(res1)) {
13489 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13490 }
13491 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13492 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13493 if (!SWIG_IsOK(ecode2)) {
13494 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13495 }
13496 arg2 = static_cast< size_t >(val2);
13497 {
13498 PyThreadState* __tstate = wxPyBeginAllowThreads();
13499 result = (bool)(arg1)->ScrollToLine(arg2);
13500 wxPyEndAllowThreads(__tstate);
13501 if (PyErr_Occurred()) SWIG_fail;
13502 }
13503 {
13504 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13505 }
13506 return resultobj;
13507 fail:
13508 return NULL;
13509 }
13510
13511
13512 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13513 PyObject *resultobj = 0;
13514 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13515 size_t arg2 ;
13516 void *argp1 = 0 ;
13517 int res1 = 0 ;
13518 size_t val2 ;
13519 int ecode2 = 0 ;
13520 PyObject * obj0 = 0 ;
13521 PyObject * obj1 = 0 ;
13522 char * kwnames[] = {
13523 (char *) "self",(char *) "line", NULL
13524 };
13525
13526 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) SWIG_fail;
13527 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13528 if (!SWIG_IsOK(res1)) {
13529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13530 }
13531 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13532 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13533 if (!SWIG_IsOK(ecode2)) {
13534 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13535 }
13536 arg2 = static_cast< size_t >(val2);
13537 {
13538 PyThreadState* __tstate = wxPyBeginAllowThreads();
13539 (arg1)->RefreshLine(arg2);
13540 wxPyEndAllowThreads(__tstate);
13541 if (PyErr_Occurred()) SWIG_fail;
13542 }
13543 resultobj = SWIG_Py_Void();
13544 return resultobj;
13545 fail:
13546 return NULL;
13547 }
13548
13549
13550 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13551 PyObject *resultobj = 0;
13552 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13553 size_t arg2 ;
13554 size_t arg3 ;
13555 void *argp1 = 0 ;
13556 int res1 = 0 ;
13557 size_t val2 ;
13558 int ecode2 = 0 ;
13559 size_t val3 ;
13560 int ecode3 = 0 ;
13561 PyObject * obj0 = 0 ;
13562 PyObject * obj1 = 0 ;
13563 PyObject * obj2 = 0 ;
13564 char * kwnames[] = {
13565 (char *) "self",(char *) "_from",(char *) "to", NULL
13566 };
13567
13568 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13569 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13570 if (!SWIG_IsOK(res1)) {
13571 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13572 }
13573 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13574 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13575 if (!SWIG_IsOK(ecode2)) {
13576 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13577 }
13578 arg2 = static_cast< size_t >(val2);
13579 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
13580 if (!SWIG_IsOK(ecode3)) {
13581 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13582 }
13583 arg3 = static_cast< size_t >(val3);
13584 {
13585 PyThreadState* __tstate = wxPyBeginAllowThreads();
13586 (arg1)->RefreshLines(arg2,arg3);
13587 wxPyEndAllowThreads(__tstate);
13588 if (PyErr_Occurred()) SWIG_fail;
13589 }
13590 resultobj = SWIG_Py_Void();
13591 return resultobj;
13592 fail:
13593 return NULL;
13594 }
13595
13596
13597 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13598 PyObject *resultobj = 0;
13599 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13600 int arg2 ;
13601 int arg3 ;
13602 int result;
13603 void *argp1 = 0 ;
13604 int res1 = 0 ;
13605 int val2 ;
13606 int ecode2 = 0 ;
13607 int val3 ;
13608 int ecode3 = 0 ;
13609 PyObject * obj0 = 0 ;
13610 PyObject * obj1 = 0 ;
13611 PyObject * obj2 = 0 ;
13612 char * kwnames[] = {
13613 (char *) "self",(char *) "x",(char *) "y", NULL
13614 };
13615
13616 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13617 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13618 if (!SWIG_IsOK(res1)) {
13619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13620 }
13621 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13622 ecode2 = SWIG_AsVal_int(obj1, &val2);
13623 if (!SWIG_IsOK(ecode2)) {
13624 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13625 }
13626 arg2 = static_cast< int >(val2);
13627 ecode3 = SWIG_AsVal_int(obj2, &val3);
13628 if (!SWIG_IsOK(ecode3)) {
13629 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13630 }
13631 arg3 = static_cast< int >(val3);
13632 {
13633 PyThreadState* __tstate = wxPyBeginAllowThreads();
13634 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
13635 wxPyEndAllowThreads(__tstate);
13636 if (PyErr_Occurred()) SWIG_fail;
13637 }
13638 resultobj = SWIG_From_int(static_cast< int >(result));
13639 return resultobj;
13640 fail:
13641 return NULL;
13642 }
13643
13644
13645 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13646 PyObject *resultobj = 0;
13647 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13648 wxPoint *arg2 = 0 ;
13649 int result;
13650 void *argp1 = 0 ;
13651 int res1 = 0 ;
13652 wxPoint temp2 ;
13653 PyObject * obj0 = 0 ;
13654 PyObject * obj1 = 0 ;
13655 char * kwnames[] = {
13656 (char *) "self",(char *) "pt", NULL
13657 };
13658
13659 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
13660 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13661 if (!SWIG_IsOK(res1)) {
13662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13663 }
13664 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13665 {
13666 arg2 = &temp2;
13667 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13668 }
13669 {
13670 PyThreadState* __tstate = wxPyBeginAllowThreads();
13671 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
13672 wxPyEndAllowThreads(__tstate);
13673 if (PyErr_Occurred()) SWIG_fail;
13674 }
13675 resultobj = SWIG_From_int(static_cast< int >(result));
13676 return resultobj;
13677 fail:
13678 return NULL;
13679 }
13680
13681
13682 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13683 PyObject *resultobj = 0;
13684 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13685 void *argp1 = 0 ;
13686 int res1 = 0 ;
13687 PyObject *swig_obj[1] ;
13688
13689 if (!args) SWIG_fail;
13690 swig_obj[0] = args;
13691 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13692 if (!SWIG_IsOK(res1)) {
13693 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13694 }
13695 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13696 {
13697 PyThreadState* __tstate = wxPyBeginAllowThreads();
13698 (arg1)->RefreshAll();
13699 wxPyEndAllowThreads(__tstate);
13700 if (PyErr_Occurred()) SWIG_fail;
13701 }
13702 resultobj = SWIG_Py_Void();
13703 return resultobj;
13704 fail:
13705 return NULL;
13706 }
13707
13708
13709 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13710 PyObject *resultobj = 0;
13711 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13712 size_t result;
13713 void *argp1 = 0 ;
13714 int res1 = 0 ;
13715 PyObject *swig_obj[1] ;
13716
13717 if (!args) SWIG_fail;
13718 swig_obj[0] = args;
13719 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13720 if (!SWIG_IsOK(res1)) {
13721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13722 }
13723 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13724 {
13725 PyThreadState* __tstate = wxPyBeginAllowThreads();
13726 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
13727 wxPyEndAllowThreads(__tstate);
13728 if (PyErr_Occurred()) SWIG_fail;
13729 }
13730 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13731 return resultobj;
13732 fail:
13733 return NULL;
13734 }
13735
13736
13737 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13738 PyObject *resultobj = 0;
13739 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13740 size_t result;
13741 void *argp1 = 0 ;
13742 int res1 = 0 ;
13743 PyObject *swig_obj[1] ;
13744
13745 if (!args) SWIG_fail;
13746 swig_obj[0] = args;
13747 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13748 if (!SWIG_IsOK(res1)) {
13749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13750 }
13751 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13752 {
13753 PyThreadState* __tstate = wxPyBeginAllowThreads();
13754 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
13755 wxPyEndAllowThreads(__tstate);
13756 if (PyErr_Occurred()) SWIG_fail;
13757 }
13758 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13759 return resultobj;
13760 fail:
13761 return NULL;
13762 }
13763
13764
13765 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13766 PyObject *resultobj = 0;
13767 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13768 size_t result;
13769 void *argp1 = 0 ;
13770 int res1 = 0 ;
13771 PyObject *swig_obj[1] ;
13772
13773 if (!args) SWIG_fail;
13774 swig_obj[0] = args;
13775 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13776 if (!SWIG_IsOK(res1)) {
13777 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13778 }
13779 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13780 {
13781 PyThreadState* __tstate = wxPyBeginAllowThreads();
13782 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
13783 wxPyEndAllowThreads(__tstate);
13784 if (PyErr_Occurred()) SWIG_fail;
13785 }
13786 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13787 return resultobj;
13788 fail:
13789 return NULL;
13790 }
13791
13792
13793 SWIGINTERN PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13794 PyObject *resultobj = 0;
13795 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13796 size_t arg2 ;
13797 bool result;
13798 void *argp1 = 0 ;
13799 int res1 = 0 ;
13800 size_t val2 ;
13801 int ecode2 = 0 ;
13802 PyObject * obj0 = 0 ;
13803 PyObject * obj1 = 0 ;
13804 char * kwnames[] = {
13805 (char *) "self",(char *) "line", NULL
13806 };
13807
13808 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
13809 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13810 if (!SWIG_IsOK(res1)) {
13811 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13812 }
13813 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13814 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13815 if (!SWIG_IsOK(ecode2)) {
13816 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
13817 }
13818 arg2 = static_cast< size_t >(val2);
13819 {
13820 PyThreadState* __tstate = wxPyBeginAllowThreads();
13821 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
13822 wxPyEndAllowThreads(__tstate);
13823 if (PyErr_Occurred()) SWIG_fail;
13824 }
13825 {
13826 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13827 }
13828 return resultobj;
13829 fail:
13830 return NULL;
13831 }
13832
13833
13834 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13835 PyObject *resultobj = 0;
13836 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13837 size_t result;
13838 void *argp1 = 0 ;
13839 int res1 = 0 ;
13840 PyObject *swig_obj[1] ;
13841
13842 if (!args) SWIG_fail;
13843 swig_obj[0] = args;
13844 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13845 if (!SWIG_IsOK(res1)) {
13846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13847 }
13848 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13849 {
13850 PyThreadState* __tstate = wxPyBeginAllowThreads();
13851 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
13852 wxPyEndAllowThreads(__tstate);
13853 if (PyErr_Occurred()) SWIG_fail;
13854 }
13855 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13856 return resultobj;
13857 fail:
13858 return NULL;
13859 }
13860
13861
13862 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13863 PyObject *resultobj = 0;
13864 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13865 size_t result;
13866 void *argp1 = 0 ;
13867 int res1 = 0 ;
13868 PyObject *swig_obj[1] ;
13869
13870 if (!args) SWIG_fail;
13871 swig_obj[0] = args;
13872 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13873 if (!SWIG_IsOK(res1)) {
13874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13875 }
13876 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13877 {
13878 PyThreadState* __tstate = wxPyBeginAllowThreads();
13879 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
13880 wxPyEndAllowThreads(__tstate);
13881 if (PyErr_Occurred()) SWIG_fail;
13882 }
13883 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13884 return resultobj;
13885 fail:
13886 return NULL;
13887 }
13888
13889
13890 SWIGINTERN PyObject *_wrap_VScrolledWindow_FindFirstFromBottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13891 PyObject *resultobj = 0;
13892 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13893 size_t arg2 ;
13894 bool arg3 = (bool) false ;
13895 size_t result;
13896 void *argp1 = 0 ;
13897 int res1 = 0 ;
13898 size_t val2 ;
13899 int ecode2 = 0 ;
13900 bool val3 ;
13901 int ecode3 = 0 ;
13902 PyObject * obj0 = 0 ;
13903 PyObject * obj1 = 0 ;
13904 PyObject * obj2 = 0 ;
13905 char * kwnames[] = {
13906 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
13907 };
13908
13909 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13910 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13911 if (!SWIG_IsOK(res1)) {
13912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13913 }
13914 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13915 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13916 if (!SWIG_IsOK(ecode2)) {
13917 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
13918 }
13919 arg2 = static_cast< size_t >(val2);
13920 if (obj2) {
13921 ecode3 = SWIG_AsVal_bool(obj2, &val3);
13922 if (!SWIG_IsOK(ecode3)) {
13923 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
13924 }
13925 arg3 = static_cast< bool >(val3);
13926 }
13927 {
13928 PyThreadState* __tstate = wxPyBeginAllowThreads();
13929 result = (size_t)(arg1)->FindFirstFromBottom(arg2,arg3);
13930 wxPyEndAllowThreads(__tstate);
13931 if (PyErr_Occurred()) SWIG_fail;
13932 }
13933 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13934 return resultobj;
13935 fail:
13936 return NULL;
13937 }
13938
13939
13940 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLinesHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13941 PyObject *resultobj = 0;
13942 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13943 size_t arg2 ;
13944 size_t arg3 ;
13945 int result;
13946 void *argp1 = 0 ;
13947 int res1 = 0 ;
13948 size_t val2 ;
13949 int ecode2 = 0 ;
13950 size_t val3 ;
13951 int ecode3 = 0 ;
13952 PyObject * obj0 = 0 ;
13953 PyObject * obj1 = 0 ;
13954 PyObject * obj2 = 0 ;
13955 char * kwnames[] = {
13956 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
13957 };
13958
13959 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13960 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13961 if (!SWIG_IsOK(res1)) {
13962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13963 }
13964 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13965 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13966 if (!SWIG_IsOK(ecode2)) {
13967 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
13968 }
13969 arg2 = static_cast< size_t >(val2);
13970 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
13971 if (!SWIG_IsOK(ecode3)) {
13972 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
13973 }
13974 arg3 = static_cast< size_t >(val3);
13975 {
13976 PyThreadState* __tstate = wxPyBeginAllowThreads();
13977 result = (int)((wxPyVScrolledWindow const *)arg1)->GetLinesHeight(arg2,arg3);
13978 wxPyEndAllowThreads(__tstate);
13979 if (PyErr_Occurred()) SWIG_fail;
13980 }
13981 resultobj = SWIG_From_int(static_cast< int >(result));
13982 return resultobj;
13983 fail:
13984 return NULL;
13985 }
13986
13987
13988 SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13989 PyObject *obj;
13990 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13991 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
13992 return SWIG_Py_Void();
13993 }
13994
13995 SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13996 return SWIG_Python_InitShadowInstance(args);
13997 }
13998
13999 SWIGINTERN int VListBoxNameStr_set(PyObject *) {
14000 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
14001 return 1;
14002 }
14003
14004
14005 SWIGINTERN PyObject *VListBoxNameStr_get(void) {
14006 PyObject *pyobj = 0;
14007
14008 {
14009 #if wxUSE_UNICODE
14010 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14011 #else
14012 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14013 #endif
14014 }
14015 return pyobj;
14016 }
14017
14018
14019 SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14020 PyObject *resultobj = 0;
14021 wxWindow *arg1 = (wxWindow *) 0 ;
14022 int arg2 = (int) wxID_ANY ;
14023 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14024 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14025 wxSize const &arg4_defvalue = wxDefaultSize ;
14026 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14027 long arg5 = (long) 0 ;
14028 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
14029 wxString *arg6 = (wxString *) &arg6_defvalue ;
14030 wxPyVListBox *result = 0 ;
14031 void *argp1 = 0 ;
14032 int res1 = 0 ;
14033 int val2 ;
14034 int ecode2 = 0 ;
14035 wxPoint temp3 ;
14036 wxSize temp4 ;
14037 long val5 ;
14038 int ecode5 = 0 ;
14039 bool temp6 = false ;
14040 PyObject * obj0 = 0 ;
14041 PyObject * obj1 = 0 ;
14042 PyObject * obj2 = 0 ;
14043 PyObject * obj3 = 0 ;
14044 PyObject * obj4 = 0 ;
14045 PyObject * obj5 = 0 ;
14046 char * kwnames[] = {
14047 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14048 };
14049
14050 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14051 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14052 if (!SWIG_IsOK(res1)) {
14053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14054 }
14055 arg1 = reinterpret_cast< wxWindow * >(argp1);
14056 if (obj1) {
14057 ecode2 = SWIG_AsVal_int(obj1, &val2);
14058 if (!SWIG_IsOK(ecode2)) {
14059 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14060 }
14061 arg2 = static_cast< int >(val2);
14062 }
14063 if (obj2) {
14064 {
14065 arg3 = &temp3;
14066 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14067 }
14068 }
14069 if (obj3) {
14070 {
14071 arg4 = &temp4;
14072 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14073 }
14074 }
14075 if (obj4) {
14076 ecode5 = SWIG_AsVal_long(obj4, &val5);
14077 if (!SWIG_IsOK(ecode5)) {
14078 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14079 }
14080 arg5 = static_cast< long >(val5);
14081 }
14082 if (obj5) {
14083 {
14084 arg6 = wxString_in_helper(obj5);
14085 if (arg6 == NULL) SWIG_fail;
14086 temp6 = true;
14087 }
14088 }
14089 {
14090 if (!wxPyCheckForApp()) SWIG_fail;
14091 PyThreadState* __tstate = wxPyBeginAllowThreads();
14092 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14093 wxPyEndAllowThreads(__tstate);
14094 if (PyErr_Occurred()) SWIG_fail;
14095 }
14096 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
14097 {
14098 if (temp6)
14099 delete arg6;
14100 }
14101 return resultobj;
14102 fail:
14103 {
14104 if (temp6)
14105 delete arg6;
14106 }
14107 return NULL;
14108 }
14109
14110
14111 SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14112 PyObject *resultobj = 0;
14113 wxPyVListBox *result = 0 ;
14114
14115 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
14116 {
14117 if (!wxPyCheckForApp()) SWIG_fail;
14118 PyThreadState* __tstate = wxPyBeginAllowThreads();
14119 result = (wxPyVListBox *)new wxPyVListBox();
14120 wxPyEndAllowThreads(__tstate);
14121 if (PyErr_Occurred()) SWIG_fail;
14122 }
14123 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
14124 return resultobj;
14125 fail:
14126 return NULL;
14127 }
14128
14129
14130 SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14131 PyObject *resultobj = 0;
14132 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14133 PyObject *arg2 = (PyObject *) 0 ;
14134 PyObject *arg3 = (PyObject *) 0 ;
14135 void *argp1 = 0 ;
14136 int res1 = 0 ;
14137 PyObject * obj0 = 0 ;
14138 PyObject * obj1 = 0 ;
14139 PyObject * obj2 = 0 ;
14140 char * kwnames[] = {
14141 (char *) "self",(char *) "self",(char *) "_class", NULL
14142 };
14143
14144 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14145 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14146 if (!SWIG_IsOK(res1)) {
14147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14148 }
14149 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14150 arg2 = obj1;
14151 arg3 = obj2;
14152 {
14153 PyThreadState* __tstate = wxPyBeginAllowThreads();
14154 (arg1)->_setCallbackInfo(arg2,arg3);
14155 wxPyEndAllowThreads(__tstate);
14156 if (PyErr_Occurred()) SWIG_fail;
14157 }
14158 resultobj = SWIG_Py_Void();
14159 return resultobj;
14160 fail:
14161 return NULL;
14162 }
14163
14164
14165 SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14166 PyObject *resultobj = 0;
14167 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14168 wxWindow *arg2 = (wxWindow *) 0 ;
14169 int arg3 = (int) wxID_ANY ;
14170 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14171 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14172 wxSize const &arg5_defvalue = wxDefaultSize ;
14173 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14174 long arg6 = (long) 0 ;
14175 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
14176 wxString *arg7 = (wxString *) &arg7_defvalue ;
14177 bool result;
14178 void *argp1 = 0 ;
14179 int res1 = 0 ;
14180 void *argp2 = 0 ;
14181 int res2 = 0 ;
14182 int val3 ;
14183 int ecode3 = 0 ;
14184 wxPoint temp4 ;
14185 wxSize temp5 ;
14186 long val6 ;
14187 int ecode6 = 0 ;
14188 bool temp7 = false ;
14189 PyObject * obj0 = 0 ;
14190 PyObject * obj1 = 0 ;
14191 PyObject * obj2 = 0 ;
14192 PyObject * obj3 = 0 ;
14193 PyObject * obj4 = 0 ;
14194 PyObject * obj5 = 0 ;
14195 PyObject * obj6 = 0 ;
14196 char * kwnames[] = {
14197 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14198 };
14199
14200 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14201 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14202 if (!SWIG_IsOK(res1)) {
14203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14204 }
14205 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14206 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14207 if (!SWIG_IsOK(res2)) {
14208 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14209 }
14210 arg2 = reinterpret_cast< wxWindow * >(argp2);
14211 if (obj2) {
14212 ecode3 = SWIG_AsVal_int(obj2, &val3);
14213 if (!SWIG_IsOK(ecode3)) {
14214 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14215 }
14216 arg3 = static_cast< int >(val3);
14217 }
14218 if (obj3) {
14219 {
14220 arg4 = &temp4;
14221 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14222 }
14223 }
14224 if (obj4) {
14225 {
14226 arg5 = &temp5;
14227 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14228 }
14229 }
14230 if (obj5) {
14231 ecode6 = SWIG_AsVal_long(obj5, &val6);
14232 if (!SWIG_IsOK(ecode6)) {
14233 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14234 }
14235 arg6 = static_cast< long >(val6);
14236 }
14237 if (obj6) {
14238 {
14239 arg7 = wxString_in_helper(obj6);
14240 if (arg7 == NULL) SWIG_fail;
14241 temp7 = true;
14242 }
14243 }
14244 {
14245 PyThreadState* __tstate = wxPyBeginAllowThreads();
14246 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14247 wxPyEndAllowThreads(__tstate);
14248 if (PyErr_Occurred()) SWIG_fail;
14249 }
14250 {
14251 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14252 }
14253 {
14254 if (temp7)
14255 delete arg7;
14256 }
14257 return resultobj;
14258 fail:
14259 {
14260 if (temp7)
14261 delete arg7;
14262 }
14263 return NULL;
14264 }
14265
14266
14267 SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14268 PyObject *resultobj = 0;
14269 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14270 size_t result;
14271 void *argp1 = 0 ;
14272 int res1 = 0 ;
14273 PyObject *swig_obj[1] ;
14274
14275 if (!args) SWIG_fail;
14276 swig_obj[0] = args;
14277 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14278 if (!SWIG_IsOK(res1)) {
14279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14280 }
14281 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14282 {
14283 PyThreadState* __tstate = wxPyBeginAllowThreads();
14284 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
14285 wxPyEndAllowThreads(__tstate);
14286 if (PyErr_Occurred()) SWIG_fail;
14287 }
14288 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14289 return resultobj;
14290 fail:
14291 return NULL;
14292 }
14293
14294
14295 SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14296 PyObject *resultobj = 0;
14297 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14298 bool result;
14299 void *argp1 = 0 ;
14300 int res1 = 0 ;
14301 PyObject *swig_obj[1] ;
14302
14303 if (!args) SWIG_fail;
14304 swig_obj[0] = args;
14305 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14306 if (!SWIG_IsOK(res1)) {
14307 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14308 }
14309 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14310 {
14311 PyThreadState* __tstate = wxPyBeginAllowThreads();
14312 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
14313 wxPyEndAllowThreads(__tstate);
14314 if (PyErr_Occurred()) SWIG_fail;
14315 }
14316 {
14317 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14318 }
14319 return resultobj;
14320 fail:
14321 return NULL;
14322 }
14323
14324
14325 SWIGINTERN PyObject *_wrap_VListBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14326 PyObject *resultobj = 0;
14327 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14328 int result;
14329 void *argp1 = 0 ;
14330 int res1 = 0 ;
14331 PyObject *swig_obj[1] ;
14332
14333 if (!args) SWIG_fail;
14334 swig_obj[0] = args;
14335 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14336 if (!SWIG_IsOK(res1)) {
14337 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14338 }
14339 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14340 {
14341 PyThreadState* __tstate = wxPyBeginAllowThreads();
14342 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
14343 wxPyEndAllowThreads(__tstate);
14344 if (PyErr_Occurred()) SWIG_fail;
14345 }
14346 resultobj = SWIG_From_int(static_cast< int >(result));
14347 return resultobj;
14348 fail:
14349 return NULL;
14350 }
14351
14352
14353 SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14354 PyObject *resultobj = 0;
14355 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14356 size_t arg2 ;
14357 bool result;
14358 void *argp1 = 0 ;
14359 int res1 = 0 ;
14360 size_t val2 ;
14361 int ecode2 = 0 ;
14362 PyObject * obj0 = 0 ;
14363 PyObject * obj1 = 0 ;
14364 char * kwnames[] = {
14365 (char *) "self",(char *) "item", NULL
14366 };
14367
14368 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
14369 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14370 if (!SWIG_IsOK(res1)) {
14371 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14372 }
14373 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14374 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14375 if (!SWIG_IsOK(ecode2)) {
14376 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14377 }
14378 arg2 = static_cast< size_t >(val2);
14379 {
14380 PyThreadState* __tstate = wxPyBeginAllowThreads();
14381 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
14382 wxPyEndAllowThreads(__tstate);
14383 if (PyErr_Occurred()) SWIG_fail;
14384 }
14385 {
14386 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14387 }
14388 return resultobj;
14389 fail:
14390 return NULL;
14391 }
14392
14393
14394 SWIGINTERN PyObject *_wrap_VListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14395 PyObject *resultobj = 0;
14396 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14397 size_t arg2 ;
14398 bool result;
14399 void *argp1 = 0 ;
14400 int res1 = 0 ;
14401 size_t val2 ;
14402 int ecode2 = 0 ;
14403 PyObject * obj0 = 0 ;
14404 PyObject * obj1 = 0 ;
14405 char * kwnames[] = {
14406 (char *) "self",(char *) "item", NULL
14407 };
14408
14409 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14410 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14411 if (!SWIG_IsOK(res1)) {
14412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14413 }
14414 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14415 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14416 if (!SWIG_IsOK(ecode2)) {
14417 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14418 }
14419 arg2 = static_cast< size_t >(val2);
14420 {
14421 PyThreadState* __tstate = wxPyBeginAllowThreads();
14422 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
14423 wxPyEndAllowThreads(__tstate);
14424 if (PyErr_Occurred()) SWIG_fail;
14425 }
14426 {
14427 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14428 }
14429 return resultobj;
14430 fail:
14431 return NULL;
14432 }
14433
14434
14435 SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14436 PyObject *resultobj = 0;
14437 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14438 size_t result;
14439 void *argp1 = 0 ;
14440 int res1 = 0 ;
14441 PyObject *swig_obj[1] ;
14442
14443 if (!args) SWIG_fail;
14444 swig_obj[0] = args;
14445 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14446 if (!SWIG_IsOK(res1)) {
14447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14448 }
14449 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14450 {
14451 PyThreadState* __tstate = wxPyBeginAllowThreads();
14452 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
14453 wxPyEndAllowThreads(__tstate);
14454 if (PyErr_Occurred()) SWIG_fail;
14455 }
14456 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14457 return resultobj;
14458 fail:
14459 return NULL;
14460 }
14461
14462
14463 SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14464 PyObject *resultobj = 0;
14465 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14466 PyObject *result = 0 ;
14467 void *argp1 = 0 ;
14468 int res1 = 0 ;
14469 PyObject *swig_obj[1] ;
14470
14471 if (!args) SWIG_fail;
14472 swig_obj[0] = args;
14473 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14474 if (!SWIG_IsOK(res1)) {
14475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14476 }
14477 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14478 {
14479 PyThreadState* __tstate = wxPyBeginAllowThreads();
14480 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
14481 wxPyEndAllowThreads(__tstate);
14482 if (PyErr_Occurred()) SWIG_fail;
14483 }
14484 resultobj = result;
14485 return resultobj;
14486 fail:
14487 return NULL;
14488 }
14489
14490
14491 SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14492 PyObject *resultobj = 0;
14493 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14494 unsigned long arg2 ;
14495 PyObject *result = 0 ;
14496 void *argp1 = 0 ;
14497 int res1 = 0 ;
14498 unsigned long val2 ;
14499 int ecode2 = 0 ;
14500 PyObject * obj0 = 0 ;
14501 PyObject * obj1 = 0 ;
14502 char * kwnames[] = {
14503 (char *) "self",(char *) "cookie", NULL
14504 };
14505
14506 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14507 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14508 if (!SWIG_IsOK(res1)) {
14509 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14510 }
14511 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14512 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
14513 if (!SWIG_IsOK(ecode2)) {
14514 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14515 }
14516 arg2 = static_cast< unsigned long >(val2);
14517 {
14518 PyThreadState* __tstate = wxPyBeginAllowThreads();
14519 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
14520 wxPyEndAllowThreads(__tstate);
14521 if (PyErr_Occurred()) SWIG_fail;
14522 }
14523 resultobj = result;
14524 return resultobj;
14525 fail:
14526 return NULL;
14527 }
14528
14529
14530 SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14531 PyObject *resultobj = 0;
14532 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14533 wxPoint result;
14534 void *argp1 = 0 ;
14535 int res1 = 0 ;
14536 PyObject *swig_obj[1] ;
14537
14538 if (!args) SWIG_fail;
14539 swig_obj[0] = args;
14540 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14541 if (!SWIG_IsOK(res1)) {
14542 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14543 }
14544 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14545 {
14546 PyThreadState* __tstate = wxPyBeginAllowThreads();
14547 result = ((wxPyVListBox const *)arg1)->GetMargins();
14548 wxPyEndAllowThreads(__tstate);
14549 if (PyErr_Occurred()) SWIG_fail;
14550 }
14551 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
14552 return resultobj;
14553 fail:
14554 return NULL;
14555 }
14556
14557
14558 SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14559 PyObject *resultobj = 0;
14560 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14561 wxColour *result = 0 ;
14562 void *argp1 = 0 ;
14563 int res1 = 0 ;
14564 PyObject *swig_obj[1] ;
14565
14566 if (!args) SWIG_fail;
14567 swig_obj[0] = args;
14568 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14569 if (!SWIG_IsOK(res1)) {
14570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14571 }
14572 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14573 {
14574 PyThreadState* __tstate = wxPyBeginAllowThreads();
14575 {
14576 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
14577 result = (wxColour *) &_result_ref;
14578 }
14579 wxPyEndAllowThreads(__tstate);
14580 if (PyErr_Occurred()) SWIG_fail;
14581 }
14582 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
14583 return resultobj;
14584 fail:
14585 return NULL;
14586 }
14587
14588
14589 SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14590 PyObject *resultobj = 0;
14591 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14592 size_t arg2 ;
14593 void *argp1 = 0 ;
14594 int res1 = 0 ;
14595 size_t val2 ;
14596 int ecode2 = 0 ;
14597 PyObject * obj0 = 0 ;
14598 PyObject * obj1 = 0 ;
14599 char * kwnames[] = {
14600 (char *) "self",(char *) "count", NULL
14601 };
14602
14603 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
14604 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14605 if (!SWIG_IsOK(res1)) {
14606 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14607 }
14608 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14609 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14610 if (!SWIG_IsOK(ecode2)) {
14611 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14612 }
14613 arg2 = static_cast< size_t >(val2);
14614 {
14615 PyThreadState* __tstate = wxPyBeginAllowThreads();
14616 (arg1)->SetItemCount(arg2);
14617 wxPyEndAllowThreads(__tstate);
14618 if (PyErr_Occurred()) SWIG_fail;
14619 }
14620 resultobj = SWIG_Py_Void();
14621 return resultobj;
14622 fail:
14623 return NULL;
14624 }
14625
14626
14627 SWIGINTERN PyObject *_wrap_VListBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14628 PyObject *resultobj = 0;
14629 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14630 void *argp1 = 0 ;
14631 int res1 = 0 ;
14632 PyObject *swig_obj[1] ;
14633
14634 if (!args) SWIG_fail;
14635 swig_obj[0] = args;
14636 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14637 if (!SWIG_IsOK(res1)) {
14638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14639 }
14640 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14641 {
14642 PyThreadState* __tstate = wxPyBeginAllowThreads();
14643 (arg1)->Clear();
14644 wxPyEndAllowThreads(__tstate);
14645 if (PyErr_Occurred()) SWIG_fail;
14646 }
14647 resultobj = SWIG_Py_Void();
14648 return resultobj;
14649 fail:
14650 return NULL;
14651 }
14652
14653
14654 SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14655 PyObject *resultobj = 0;
14656 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14657 int arg2 ;
14658 void *argp1 = 0 ;
14659 int res1 = 0 ;
14660 int val2 ;
14661 int ecode2 = 0 ;
14662 PyObject * obj0 = 0 ;
14663 PyObject * obj1 = 0 ;
14664 char * kwnames[] = {
14665 (char *) "self",(char *) "selection", NULL
14666 };
14667
14668 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
14669 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14670 if (!SWIG_IsOK(res1)) {
14671 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14672 }
14673 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14674 ecode2 = SWIG_AsVal_int(obj1, &val2);
14675 if (!SWIG_IsOK(ecode2)) {
14676 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
14677 }
14678 arg2 = static_cast< int >(val2);
14679 {
14680 PyThreadState* __tstate = wxPyBeginAllowThreads();
14681 (arg1)->SetSelection(arg2);
14682 wxPyEndAllowThreads(__tstate);
14683 if (PyErr_Occurred()) SWIG_fail;
14684 }
14685 resultobj = SWIG_Py_Void();
14686 return resultobj;
14687 fail:
14688 return NULL;
14689 }
14690
14691
14692 SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14693 PyObject *resultobj = 0;
14694 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14695 size_t arg2 ;
14696 bool arg3 = (bool) true ;
14697 bool result;
14698 void *argp1 = 0 ;
14699 int res1 = 0 ;
14700 size_t val2 ;
14701 int ecode2 = 0 ;
14702 bool val3 ;
14703 int ecode3 = 0 ;
14704 PyObject * obj0 = 0 ;
14705 PyObject * obj1 = 0 ;
14706 PyObject * obj2 = 0 ;
14707 char * kwnames[] = {
14708 (char *) "self",(char *) "item",(char *) "select", NULL
14709 };
14710
14711 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14712 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14713 if (!SWIG_IsOK(res1)) {
14714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14715 }
14716 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14717 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14718 if (!SWIG_IsOK(ecode2)) {
14719 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
14720 }
14721 arg2 = static_cast< size_t >(val2);
14722 if (obj2) {
14723 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14724 if (!SWIG_IsOK(ecode3)) {
14725 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
14726 }
14727 arg3 = static_cast< bool >(val3);
14728 }
14729 {
14730 PyThreadState* __tstate = wxPyBeginAllowThreads();
14731 result = (bool)(arg1)->Select(arg2,arg3);
14732 wxPyEndAllowThreads(__tstate);
14733 if (PyErr_Occurred()) SWIG_fail;
14734 }
14735 {
14736 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14737 }
14738 return resultobj;
14739 fail:
14740 return NULL;
14741 }
14742
14743
14744 SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14745 PyObject *resultobj = 0;
14746 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14747 size_t arg2 ;
14748 size_t arg3 ;
14749 bool result;
14750 void *argp1 = 0 ;
14751 int res1 = 0 ;
14752 size_t val2 ;
14753 int ecode2 = 0 ;
14754 size_t val3 ;
14755 int ecode3 = 0 ;
14756 PyObject * obj0 = 0 ;
14757 PyObject * obj1 = 0 ;
14758 PyObject * obj2 = 0 ;
14759 char * kwnames[] = {
14760 (char *) "self",(char *) "_from",(char *) "to", NULL
14761 };
14762
14763 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14764 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14765 if (!SWIG_IsOK(res1)) {
14766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14767 }
14768 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14769 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14770 if (!SWIG_IsOK(ecode2)) {
14771 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
14772 }
14773 arg2 = static_cast< size_t >(val2);
14774 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14775 if (!SWIG_IsOK(ecode3)) {
14776 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
14777 }
14778 arg3 = static_cast< size_t >(val3);
14779 {
14780 PyThreadState* __tstate = wxPyBeginAllowThreads();
14781 result = (bool)(arg1)->SelectRange(arg2,arg3);
14782 wxPyEndAllowThreads(__tstate);
14783 if (PyErr_Occurred()) SWIG_fail;
14784 }
14785 {
14786 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14787 }
14788 return resultobj;
14789 fail:
14790 return NULL;
14791 }
14792
14793
14794 SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14795 PyObject *resultobj = 0;
14796 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14797 size_t arg2 ;
14798 void *argp1 = 0 ;
14799 int res1 = 0 ;
14800 size_t val2 ;
14801 int ecode2 = 0 ;
14802 PyObject * obj0 = 0 ;
14803 PyObject * obj1 = 0 ;
14804 char * kwnames[] = {
14805 (char *) "self",(char *) "item", NULL
14806 };
14807
14808 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
14809 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14810 if (!SWIG_IsOK(res1)) {
14811 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14812 }
14813 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14814 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14815 if (!SWIG_IsOK(ecode2)) {
14816 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
14817 }
14818 arg2 = static_cast< size_t >(val2);
14819 {
14820 PyThreadState* __tstate = wxPyBeginAllowThreads();
14821 (arg1)->Toggle(arg2);
14822 wxPyEndAllowThreads(__tstate);
14823 if (PyErr_Occurred()) SWIG_fail;
14824 }
14825 resultobj = SWIG_Py_Void();
14826 return resultobj;
14827 fail:
14828 return NULL;
14829 }
14830
14831
14832 SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14833 PyObject *resultobj = 0;
14834 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14835 bool result;
14836 void *argp1 = 0 ;
14837 int res1 = 0 ;
14838 PyObject *swig_obj[1] ;
14839
14840 if (!args) SWIG_fail;
14841 swig_obj[0] = args;
14842 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14843 if (!SWIG_IsOK(res1)) {
14844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14845 }
14846 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14847 {
14848 PyThreadState* __tstate = wxPyBeginAllowThreads();
14849 result = (bool)(arg1)->SelectAll();
14850 wxPyEndAllowThreads(__tstate);
14851 if (PyErr_Occurred()) SWIG_fail;
14852 }
14853 {
14854 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14855 }
14856 return resultobj;
14857 fail:
14858 return NULL;
14859 }
14860
14861
14862 SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14863 PyObject *resultobj = 0;
14864 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14865 bool result;
14866 void *argp1 = 0 ;
14867 int res1 = 0 ;
14868 PyObject *swig_obj[1] ;
14869
14870 if (!args) SWIG_fail;
14871 swig_obj[0] = args;
14872 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14873 if (!SWIG_IsOK(res1)) {
14874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14875 }
14876 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14877 {
14878 PyThreadState* __tstate = wxPyBeginAllowThreads();
14879 result = (bool)(arg1)->DeselectAll();
14880 wxPyEndAllowThreads(__tstate);
14881 if (PyErr_Occurred()) SWIG_fail;
14882 }
14883 {
14884 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14885 }
14886 return resultobj;
14887 fail:
14888 return NULL;
14889 }
14890
14891
14892 SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14893 PyObject *resultobj = 0;
14894 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14895 wxPoint *arg2 = 0 ;
14896 void *argp1 = 0 ;
14897 int res1 = 0 ;
14898 wxPoint temp2 ;
14899 PyObject * obj0 = 0 ;
14900 PyObject * obj1 = 0 ;
14901 char * kwnames[] = {
14902 (char *) "self",(char *) "pt", NULL
14903 };
14904
14905 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
14906 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14907 if (!SWIG_IsOK(res1)) {
14908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14909 }
14910 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14911 {
14912 arg2 = &temp2;
14913 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14914 }
14915 {
14916 PyThreadState* __tstate = wxPyBeginAllowThreads();
14917 (arg1)->SetMargins((wxPoint const &)*arg2);
14918 wxPyEndAllowThreads(__tstate);
14919 if (PyErr_Occurred()) SWIG_fail;
14920 }
14921 resultobj = SWIG_Py_Void();
14922 return resultobj;
14923 fail:
14924 return NULL;
14925 }
14926
14927
14928 SWIGINTERN PyObject *_wrap_VListBox_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14929 PyObject *resultobj = 0;
14930 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14931 int arg2 ;
14932 int arg3 ;
14933 void *argp1 = 0 ;
14934 int res1 = 0 ;
14935 int val2 ;
14936 int ecode2 = 0 ;
14937 int val3 ;
14938 int ecode3 = 0 ;
14939 PyObject * obj0 = 0 ;
14940 PyObject * obj1 = 0 ;
14941 PyObject * obj2 = 0 ;
14942 char * kwnames[] = {
14943 (char *) "self",(char *) "x",(char *) "y", NULL
14944 };
14945
14946 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14947 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14948 if (!SWIG_IsOK(res1)) {
14949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14950 }
14951 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14952 ecode2 = SWIG_AsVal_int(obj1, &val2);
14953 if (!SWIG_IsOK(ecode2)) {
14954 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
14955 }
14956 arg2 = static_cast< int >(val2);
14957 ecode3 = SWIG_AsVal_int(obj2, &val3);
14958 if (!SWIG_IsOK(ecode3)) {
14959 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
14960 }
14961 arg3 = static_cast< int >(val3);
14962 {
14963 PyThreadState* __tstate = wxPyBeginAllowThreads();
14964 (arg1)->SetMargins(arg2,arg3);
14965 wxPyEndAllowThreads(__tstate);
14966 if (PyErr_Occurred()) SWIG_fail;
14967 }
14968 resultobj = SWIG_Py_Void();
14969 return resultobj;
14970 fail:
14971 return NULL;
14972 }
14973
14974
14975 SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14976 PyObject *resultobj = 0;
14977 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14978 wxColour *arg2 = 0 ;
14979 void *argp1 = 0 ;
14980 int res1 = 0 ;
14981 wxColour temp2 ;
14982 PyObject * obj0 = 0 ;
14983 PyObject * obj1 = 0 ;
14984 char * kwnames[] = {
14985 (char *) "self",(char *) "col", NULL
14986 };
14987
14988 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
14989 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14990 if (!SWIG_IsOK(res1)) {
14991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14992 }
14993 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14994 {
14995 arg2 = &temp2;
14996 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
14997 }
14998 {
14999 PyThreadState* __tstate = wxPyBeginAllowThreads();
15000 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
15001 wxPyEndAllowThreads(__tstate);
15002 if (PyErr_Occurred()) SWIG_fail;
15003 }
15004 resultobj = SWIG_Py_Void();
15005 return resultobj;
15006 fail:
15007 return NULL;
15008 }
15009
15010
15011 SWIGINTERN PyObject *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15012 PyObject *obj;
15013 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15014 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
15015 return SWIG_Py_Void();
15016 }
15017
15018 SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15019 return SWIG_Python_InitShadowInstance(args);
15020 }
15021
15022 SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15023 PyObject *resultobj = 0;
15024 wxWindow *arg1 = (wxWindow *) 0 ;
15025 int arg2 = (int) wxID_ANY ;
15026 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15027 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15028 wxSize const &arg4_defvalue = wxDefaultSize ;
15029 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15030 long arg5 = (long) 0 ;
15031 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
15032 wxString *arg6 = (wxString *) &arg6_defvalue ;
15033 wxPyHtmlListBox *result = 0 ;
15034 void *argp1 = 0 ;
15035 int res1 = 0 ;
15036 int val2 ;
15037 int ecode2 = 0 ;
15038 wxPoint temp3 ;
15039 wxSize temp4 ;
15040 long val5 ;
15041 int ecode5 = 0 ;
15042 bool temp6 = false ;
15043 PyObject * obj0 = 0 ;
15044 PyObject * obj1 = 0 ;
15045 PyObject * obj2 = 0 ;
15046 PyObject * obj3 = 0 ;
15047 PyObject * obj4 = 0 ;
15048 PyObject * obj5 = 0 ;
15049 char * kwnames[] = {
15050 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15051 };
15052
15053 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15054 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15055 if (!SWIG_IsOK(res1)) {
15056 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15057 }
15058 arg1 = reinterpret_cast< wxWindow * >(argp1);
15059 if (obj1) {
15060 ecode2 = SWIG_AsVal_int(obj1, &val2);
15061 if (!SWIG_IsOK(ecode2)) {
15062 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15063 }
15064 arg2 = static_cast< int >(val2);
15065 }
15066 if (obj2) {
15067 {
15068 arg3 = &temp3;
15069 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15070 }
15071 }
15072 if (obj3) {
15073 {
15074 arg4 = &temp4;
15075 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15076 }
15077 }
15078 if (obj4) {
15079 ecode5 = SWIG_AsVal_long(obj4, &val5);
15080 if (!SWIG_IsOK(ecode5)) {
15081 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15082 }
15083 arg5 = static_cast< long >(val5);
15084 }
15085 if (obj5) {
15086 {
15087 arg6 = wxString_in_helper(obj5);
15088 if (arg6 == NULL) SWIG_fail;
15089 temp6 = true;
15090 }
15091 }
15092 {
15093 if (!wxPyCheckForApp()) SWIG_fail;
15094 PyThreadState* __tstate = wxPyBeginAllowThreads();
15095 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15096 wxPyEndAllowThreads(__tstate);
15097 if (PyErr_Occurred()) SWIG_fail;
15098 }
15099 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
15100 {
15101 if (temp6)
15102 delete arg6;
15103 }
15104 return resultobj;
15105 fail:
15106 {
15107 if (temp6)
15108 delete arg6;
15109 }
15110 return NULL;
15111 }
15112
15113
15114 SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15115 PyObject *resultobj = 0;
15116 wxPyHtmlListBox *result = 0 ;
15117
15118 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
15119 {
15120 if (!wxPyCheckForApp()) SWIG_fail;
15121 PyThreadState* __tstate = wxPyBeginAllowThreads();
15122 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
15123 wxPyEndAllowThreads(__tstate);
15124 if (PyErr_Occurred()) SWIG_fail;
15125 }
15126 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
15127 return resultobj;
15128 fail:
15129 return NULL;
15130 }
15131
15132
15133 SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15134 PyObject *resultobj = 0;
15135 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15136 PyObject *arg2 = (PyObject *) 0 ;
15137 PyObject *arg3 = (PyObject *) 0 ;
15138 void *argp1 = 0 ;
15139 int res1 = 0 ;
15140 PyObject * obj0 = 0 ;
15141 PyObject * obj1 = 0 ;
15142 PyObject * obj2 = 0 ;
15143 char * kwnames[] = {
15144 (char *) "self",(char *) "self",(char *) "_class", NULL
15145 };
15146
15147 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15148 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15149 if (!SWIG_IsOK(res1)) {
15150 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15151 }
15152 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15153 arg2 = obj1;
15154 arg3 = obj2;
15155 {
15156 PyThreadState* __tstate = wxPyBeginAllowThreads();
15157 (arg1)->_setCallbackInfo(arg2,arg3);
15158 wxPyEndAllowThreads(__tstate);
15159 if (PyErr_Occurred()) SWIG_fail;
15160 }
15161 resultobj = SWIG_Py_Void();
15162 return resultobj;
15163 fail:
15164 return NULL;
15165 }
15166
15167
15168 SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15169 PyObject *resultobj = 0;
15170 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15171 wxWindow *arg2 = (wxWindow *) 0 ;
15172 int arg3 = (int) wxID_ANY ;
15173 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15174 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15175 wxSize const &arg5_defvalue = wxDefaultSize ;
15176 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15177 long arg6 = (long) 0 ;
15178 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
15179 wxString *arg7 = (wxString *) &arg7_defvalue ;
15180 bool result;
15181 void *argp1 = 0 ;
15182 int res1 = 0 ;
15183 void *argp2 = 0 ;
15184 int res2 = 0 ;
15185 int val3 ;
15186 int ecode3 = 0 ;
15187 wxPoint temp4 ;
15188 wxSize temp5 ;
15189 long val6 ;
15190 int ecode6 = 0 ;
15191 bool temp7 = false ;
15192 PyObject * obj0 = 0 ;
15193 PyObject * obj1 = 0 ;
15194 PyObject * obj2 = 0 ;
15195 PyObject * obj3 = 0 ;
15196 PyObject * obj4 = 0 ;
15197 PyObject * obj5 = 0 ;
15198 PyObject * obj6 = 0 ;
15199 char * kwnames[] = {
15200 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15201 };
15202
15203 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15204 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15205 if (!SWIG_IsOK(res1)) {
15206 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15207 }
15208 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15209 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15210 if (!SWIG_IsOK(res2)) {
15211 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15212 }
15213 arg2 = reinterpret_cast< wxWindow * >(argp2);
15214 if (obj2) {
15215 ecode3 = SWIG_AsVal_int(obj2, &val3);
15216 if (!SWIG_IsOK(ecode3)) {
15217 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15218 }
15219 arg3 = static_cast< int >(val3);
15220 }
15221 if (obj3) {
15222 {
15223 arg4 = &temp4;
15224 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15225 }
15226 }
15227 if (obj4) {
15228 {
15229 arg5 = &temp5;
15230 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15231 }
15232 }
15233 if (obj5) {
15234 ecode6 = SWIG_AsVal_long(obj5, &val6);
15235 if (!SWIG_IsOK(ecode6)) {
15236 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15237 }
15238 arg6 = static_cast< long >(val6);
15239 }
15240 if (obj6) {
15241 {
15242 arg7 = wxString_in_helper(obj6);
15243 if (arg7 == NULL) SWIG_fail;
15244 temp7 = true;
15245 }
15246 }
15247 {
15248 PyThreadState* __tstate = wxPyBeginAllowThreads();
15249 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15250 wxPyEndAllowThreads(__tstate);
15251 if (PyErr_Occurred()) SWIG_fail;
15252 }
15253 {
15254 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15255 }
15256 {
15257 if (temp7)
15258 delete arg7;
15259 }
15260 return resultobj;
15261 fail:
15262 {
15263 if (temp7)
15264 delete arg7;
15265 }
15266 return NULL;
15267 }
15268
15269
15270 SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15271 PyObject *resultobj = 0;
15272 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15273 size_t arg2 ;
15274 void *argp1 = 0 ;
15275 int res1 = 0 ;
15276 size_t val2 ;
15277 int ecode2 = 0 ;
15278 PyObject * obj0 = 0 ;
15279 PyObject * obj1 = 0 ;
15280 char * kwnames[] = {
15281 (char *) "self",(char *) "count", NULL
15282 };
15283
15284 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15285 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15286 if (!SWIG_IsOK(res1)) {
15287 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15288 }
15289 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15290 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15291 if (!SWIG_IsOK(ecode2)) {
15292 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15293 }
15294 arg2 = static_cast< size_t >(val2);
15295 {
15296 PyThreadState* __tstate = wxPyBeginAllowThreads();
15297 (arg1)->SetItemCount(arg2);
15298 wxPyEndAllowThreads(__tstate);
15299 if (PyErr_Occurred()) SWIG_fail;
15300 }
15301 resultobj = SWIG_Py_Void();
15302 return resultobj;
15303 fail:
15304 return NULL;
15305 }
15306
15307
15308 SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15309 PyObject *resultobj = 0;
15310 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15311 wxFileSystem *result = 0 ;
15312 void *argp1 = 0 ;
15313 int res1 = 0 ;
15314 PyObject *swig_obj[1] ;
15315
15316 if (!args) SWIG_fail;
15317 swig_obj[0] = args;
15318 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15319 if (!SWIG_IsOK(res1)) {
15320 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15321 }
15322 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15323 {
15324 PyThreadState* __tstate = wxPyBeginAllowThreads();
15325 {
15326 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
15327 result = (wxFileSystem *) &_result_ref;
15328 }
15329 wxPyEndAllowThreads(__tstate);
15330 if (PyErr_Occurred()) SWIG_fail;
15331 }
15332 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
15333 return resultobj;
15334 fail:
15335 return NULL;
15336 }
15337
15338
15339 SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15340 PyObject *obj;
15341 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15342 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
15343 return SWIG_Py_Void();
15344 }
15345
15346 SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15347 return SWIG_Python_InitShadowInstance(args);
15348 }
15349
15350 SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15351 PyObject *resultobj = 0;
15352 wxPyTaskBarIcon *result = 0 ;
15353
15354 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
15355 {
15356 if (!wxPyCheckForApp()) SWIG_fail;
15357 PyThreadState* __tstate = wxPyBeginAllowThreads();
15358 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
15359 wxPyEndAllowThreads(__tstate);
15360 if (PyErr_Occurred()) SWIG_fail;
15361 }
15362 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
15363 return resultobj;
15364 fail:
15365 return NULL;
15366 }
15367
15368
15369 SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15370 PyObject *resultobj = 0;
15371 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15372 void *argp1 = 0 ;
15373 int res1 = 0 ;
15374 PyObject *swig_obj[1] ;
15375
15376 if (!args) SWIG_fail;
15377 swig_obj[0] = args;
15378 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
15379 if (!SWIG_IsOK(res1)) {
15380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15381 }
15382 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15383 {
15384 PyThreadState* __tstate = wxPyBeginAllowThreads();
15385 delete arg1;
15386
15387 wxPyEndAllowThreads(__tstate);
15388 if (PyErr_Occurred()) SWIG_fail;
15389 }
15390 resultobj = SWIG_Py_Void();
15391 return resultobj;
15392 fail:
15393 return NULL;
15394 }
15395
15396
15397 SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15398 PyObject *resultobj = 0;
15399 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15400 PyObject *arg2 = (PyObject *) 0 ;
15401 PyObject *arg3 = (PyObject *) 0 ;
15402 int arg4 ;
15403 void *argp1 = 0 ;
15404 int res1 = 0 ;
15405 int val4 ;
15406 int ecode4 = 0 ;
15407 PyObject * obj0 = 0 ;
15408 PyObject * obj1 = 0 ;
15409 PyObject * obj2 = 0 ;
15410 PyObject * obj3 = 0 ;
15411 char * kwnames[] = {
15412 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15413 };
15414
15415 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15416 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15417 if (!SWIG_IsOK(res1)) {
15418 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15419 }
15420 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15421 arg2 = obj1;
15422 arg3 = obj2;
15423 ecode4 = SWIG_AsVal_int(obj3, &val4);
15424 if (!SWIG_IsOK(ecode4)) {
15425 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15426 }
15427 arg4 = static_cast< int >(val4);
15428 {
15429 PyThreadState* __tstate = wxPyBeginAllowThreads();
15430 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
15431 wxPyEndAllowThreads(__tstate);
15432 if (PyErr_Occurred()) SWIG_fail;
15433 }
15434 resultobj = SWIG_Py_Void();
15435 return resultobj;
15436 fail:
15437 return NULL;
15438 }
15439
15440
15441 SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15442 PyObject *resultobj = 0;
15443 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15444 void *argp1 = 0 ;
15445 int res1 = 0 ;
15446 PyObject *swig_obj[1] ;
15447
15448 if (!args) SWIG_fail;
15449 swig_obj[0] = args;
15450 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15451 if (!SWIG_IsOK(res1)) {
15452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15453 }
15454 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15455 {
15456 PyThreadState* __tstate = wxPyBeginAllowThreads();
15457 wxPyTaskBarIcon_Destroy(arg1);
15458 wxPyEndAllowThreads(__tstate);
15459 if (PyErr_Occurred()) SWIG_fail;
15460 }
15461 resultobj = SWIG_Py_Void();
15462 return resultobj;
15463 fail:
15464 return NULL;
15465 }
15466
15467
15468 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15469 PyObject *resultobj = 0;
15470 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15471 bool result;
15472 void *argp1 = 0 ;
15473 int res1 = 0 ;
15474 PyObject *swig_obj[1] ;
15475
15476 if (!args) SWIG_fail;
15477 swig_obj[0] = args;
15478 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15479 if (!SWIG_IsOK(res1)) {
15480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15481 }
15482 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15483 {
15484 PyThreadState* __tstate = wxPyBeginAllowThreads();
15485 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
15486 wxPyEndAllowThreads(__tstate);
15487 if (PyErr_Occurred()) SWIG_fail;
15488 }
15489 {
15490 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15491 }
15492 return resultobj;
15493 fail:
15494 return NULL;
15495 }
15496
15497
15498 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15499 PyObject *resultobj = 0;
15500 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15501 bool result;
15502 void *argp1 = 0 ;
15503 int res1 = 0 ;
15504 PyObject *swig_obj[1] ;
15505
15506 if (!args) SWIG_fail;
15507 swig_obj[0] = args;
15508 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15509 if (!SWIG_IsOK(res1)) {
15510 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15511 }
15512 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15513 {
15514 PyThreadState* __tstate = wxPyBeginAllowThreads();
15515 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
15516 wxPyEndAllowThreads(__tstate);
15517 if (PyErr_Occurred()) SWIG_fail;
15518 }
15519 {
15520 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15521 }
15522 return resultobj;
15523 fail:
15524 return NULL;
15525 }
15526
15527
15528 SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15529 PyObject *resultobj = 0;
15530 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15531 wxIcon *arg2 = 0 ;
15532 wxString const &arg3_defvalue = wxPyEmptyString ;
15533 wxString *arg3 = (wxString *) &arg3_defvalue ;
15534 bool result;
15535 void *argp1 = 0 ;
15536 int res1 = 0 ;
15537 void *argp2 = 0 ;
15538 int res2 = 0 ;
15539 bool temp3 = false ;
15540 PyObject * obj0 = 0 ;
15541 PyObject * obj1 = 0 ;
15542 PyObject * obj2 = 0 ;
15543 char * kwnames[] = {
15544 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
15545 };
15546
15547 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15548 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15549 if (!SWIG_IsOK(res1)) {
15550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15551 }
15552 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15553 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
15554 if (!SWIG_IsOK(res2)) {
15555 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15556 }
15557 if (!argp2) {
15558 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15559 }
15560 arg2 = reinterpret_cast< wxIcon * >(argp2);
15561 if (obj2) {
15562 {
15563 arg3 = wxString_in_helper(obj2);
15564 if (arg3 == NULL) SWIG_fail;
15565 temp3 = true;
15566 }
15567 }
15568 {
15569 PyThreadState* __tstate = wxPyBeginAllowThreads();
15570 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
15571 wxPyEndAllowThreads(__tstate);
15572 if (PyErr_Occurred()) SWIG_fail;
15573 }
15574 {
15575 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15576 }
15577 {
15578 if (temp3)
15579 delete arg3;
15580 }
15581 return resultobj;
15582 fail:
15583 {
15584 if (temp3)
15585 delete arg3;
15586 }
15587 return NULL;
15588 }
15589
15590
15591 SWIGINTERN PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15592 PyObject *resultobj = 0;
15593 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15594 bool result;
15595 void *argp1 = 0 ;
15596 int res1 = 0 ;
15597 PyObject *swig_obj[1] ;
15598
15599 if (!args) SWIG_fail;
15600 swig_obj[0] = args;
15601 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15602 if (!SWIG_IsOK(res1)) {
15603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15604 }
15605 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15606 {
15607 PyThreadState* __tstate = wxPyBeginAllowThreads();
15608 result = (bool)(arg1)->RemoveIcon();
15609 wxPyEndAllowThreads(__tstate);
15610 if (PyErr_Occurred()) SWIG_fail;
15611 }
15612 {
15613 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15614 }
15615 return resultobj;
15616 fail:
15617 return NULL;
15618 }
15619
15620
15621 SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15622 PyObject *resultobj = 0;
15623 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15624 wxMenu *arg2 = (wxMenu *) 0 ;
15625 bool result;
15626 void *argp1 = 0 ;
15627 int res1 = 0 ;
15628 void *argp2 = 0 ;
15629 int res2 = 0 ;
15630 PyObject * obj0 = 0 ;
15631 PyObject * obj1 = 0 ;
15632 char * kwnames[] = {
15633 (char *) "self",(char *) "menu", NULL
15634 };
15635
15636 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
15637 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15638 if (!SWIG_IsOK(res1)) {
15639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15640 }
15641 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15642 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
15643 if (!SWIG_IsOK(res2)) {
15644 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
15645 }
15646 arg2 = reinterpret_cast< wxMenu * >(argp2);
15647 {
15648 PyThreadState* __tstate = wxPyBeginAllowThreads();
15649 result = (bool)(arg1)->PopupMenu(arg2);
15650 wxPyEndAllowThreads(__tstate);
15651 if (PyErr_Occurred()) SWIG_fail;
15652 }
15653 {
15654 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15655 }
15656 return resultobj;
15657 fail:
15658 return NULL;
15659 }
15660
15661
15662 SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15663 PyObject *obj;
15664 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15665 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
15666 return SWIG_Py_Void();
15667 }
15668
15669 SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15670 return SWIG_Python_InitShadowInstance(args);
15671 }
15672
15673 SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15674 PyObject *resultobj = 0;
15675 wxEventType arg1 ;
15676 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
15677 wxTaskBarIconEvent *result = 0 ;
15678 int val1 ;
15679 int ecode1 = 0 ;
15680 void *argp2 = 0 ;
15681 int res2 = 0 ;
15682 PyObject * obj0 = 0 ;
15683 PyObject * obj1 = 0 ;
15684 char * kwnames[] = {
15685 (char *) "evtType",(char *) "tbIcon", NULL
15686 };
15687
15688 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
15689 ecode1 = SWIG_AsVal_int(obj0, &val1);
15690 if (!SWIG_IsOK(ecode1)) {
15691 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15692 }
15693 arg1 = static_cast< wxEventType >(val1);
15694 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
15695 if (!SWIG_IsOK(res2)) {
15696 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
15697 }
15698 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
15699 {
15700 PyThreadState* __tstate = wxPyBeginAllowThreads();
15701 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
15702 wxPyEndAllowThreads(__tstate);
15703 if (PyErr_Occurred()) SWIG_fail;
15704 }
15705 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
15706 return resultobj;
15707 fail:
15708 return NULL;
15709 }
15710
15711
15712 SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15713 PyObject *obj;
15714 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15715 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
15716 return SWIG_Py_Void();
15717 }
15718
15719 SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15720 return SWIG_Python_InitShadowInstance(args);
15721 }
15722
15723 SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
15724 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
15725 return 1;
15726 }
15727
15728
15729 SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
15730 PyObject *pyobj = 0;
15731
15732 {
15733 #if wxUSE_UNICODE
15734 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
15735 #else
15736 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
15737 #endif
15738 }
15739 return pyobj;
15740 }
15741
15742
15743 SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
15744 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
15745 return 1;
15746 }
15747
15748
15749 SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
15750 PyObject *pyobj = 0;
15751
15752 {
15753 #if wxUSE_UNICODE
15754 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
15755 #else
15756 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
15757 #endif
15758 }
15759 return pyobj;
15760 }
15761
15762
15763 SWIGINTERN int DirDialogNameStr_set(PyObject *) {
15764 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
15765 return 1;
15766 }
15767
15768
15769 SWIGINTERN PyObject *DirDialogNameStr_get(void) {
15770 PyObject *pyobj = 0;
15771
15772 {
15773 #if wxUSE_UNICODE
15774 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
15775 #else
15776 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
15777 #endif
15778 }
15779 return pyobj;
15780 }
15781
15782
15783 SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
15784 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
15785 return 1;
15786 }
15787
15788
15789 SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
15790 PyObject *pyobj = 0;
15791
15792 {
15793 #if wxUSE_UNICODE
15794 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
15795 #else
15796 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
15797 #endif
15798 }
15799 return pyobj;
15800 }
15801
15802
15803 SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
15804 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
15805 return 1;
15806 }
15807
15808
15809 SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
15810 PyObject *pyobj = 0;
15811
15812 {
15813 #if wxUSE_UNICODE
15814 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
15815 #else
15816 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
15817 #endif
15818 }
15819 return pyobj;
15820 }
15821
15822
15823 SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
15824 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
15825 return 1;
15826 }
15827
15828
15829 SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
15830 PyObject *pyobj = 0;
15831
15832 {
15833 #if wxUSE_UNICODE
15834 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
15835 #else
15836 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
15837 #endif
15838 }
15839 return pyobj;
15840 }
15841
15842
15843 SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15844 PyObject *resultobj = 0;
15845 wxColourData *result = 0 ;
15846
15847 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
15848 {
15849 PyThreadState* __tstate = wxPyBeginAllowThreads();
15850 result = (wxColourData *)new wxColourData();
15851 wxPyEndAllowThreads(__tstate);
15852 if (PyErr_Occurred()) SWIG_fail;
15853 }
15854 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
15855 return resultobj;
15856 fail:
15857 return NULL;
15858 }
15859
15860
15861 SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15862 PyObject *resultobj = 0;
15863 wxColourData *arg1 = (wxColourData *) 0 ;
15864 void *argp1 = 0 ;
15865 int res1 = 0 ;
15866 PyObject *swig_obj[1] ;
15867
15868 if (!args) SWIG_fail;
15869 swig_obj[0] = args;
15870 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, SWIG_POINTER_DISOWN | 0 );
15871 if (!SWIG_IsOK(res1)) {
15872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
15873 }
15874 arg1 = reinterpret_cast< wxColourData * >(argp1);
15875 {
15876 PyThreadState* __tstate = wxPyBeginAllowThreads();
15877 delete arg1;
15878
15879 wxPyEndAllowThreads(__tstate);
15880 if (PyErr_Occurred()) SWIG_fail;
15881 }
15882 resultobj = SWIG_Py_Void();
15883 return resultobj;
15884 fail:
15885 return NULL;
15886 }
15887
15888
15889 SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15890 PyObject *resultobj = 0;
15891 wxColourData *arg1 = (wxColourData *) 0 ;
15892 bool result;
15893 void *argp1 = 0 ;
15894 int res1 = 0 ;
15895 PyObject *swig_obj[1] ;
15896
15897 if (!args) SWIG_fail;
15898 swig_obj[0] = args;
15899 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
15900 if (!SWIG_IsOK(res1)) {
15901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
15902 }
15903 arg1 = reinterpret_cast< wxColourData * >(argp1);
15904 {
15905 PyThreadState* __tstate = wxPyBeginAllowThreads();
15906 result = (bool)(arg1)->GetChooseFull();
15907 wxPyEndAllowThreads(__tstate);
15908 if (PyErr_Occurred()) SWIG_fail;
15909 }
15910 {
15911 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15912 }
15913 return resultobj;
15914 fail:
15915 return NULL;
15916 }
15917
15918
15919 SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15920 PyObject *resultobj = 0;
15921 wxColourData *arg1 = (wxColourData *) 0 ;
15922 wxColour result;
15923 void *argp1 = 0 ;
15924 int res1 = 0 ;
15925 PyObject *swig_obj[1] ;
15926
15927 if (!args) SWIG_fail;
15928 swig_obj[0] = args;
15929 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
15930 if (!SWIG_IsOK(res1)) {
15931 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
15932 }
15933 arg1 = reinterpret_cast< wxColourData * >(argp1);
15934 {
15935 PyThreadState* __tstate = wxPyBeginAllowThreads();
15936 result = (arg1)->GetColour();
15937 wxPyEndAllowThreads(__tstate);
15938 if (PyErr_Occurred()) SWIG_fail;
15939 }
15940 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
15941 return resultobj;
15942 fail:
15943 return NULL;
15944 }
15945
15946
15947 SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15948 PyObject *resultobj = 0;
15949 wxColourData *arg1 = (wxColourData *) 0 ;
15950 int arg2 ;
15951 wxColour result;
15952 void *argp1 = 0 ;
15953 int res1 = 0 ;
15954 int val2 ;
15955 int ecode2 = 0 ;
15956 PyObject * obj0 = 0 ;
15957 PyObject * obj1 = 0 ;
15958 char * kwnames[] = {
15959 (char *) "self",(char *) "i", NULL
15960 };
15961
15962 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
15963 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
15964 if (!SWIG_IsOK(res1)) {
15965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
15966 }
15967 arg1 = reinterpret_cast< wxColourData * >(argp1);
15968 ecode2 = SWIG_AsVal_int(obj1, &val2);
15969 if (!SWIG_IsOK(ecode2)) {
15970 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
15971 }
15972 arg2 = static_cast< int >(val2);
15973 {
15974 PyThreadState* __tstate = wxPyBeginAllowThreads();
15975 result = (arg1)->GetCustomColour(arg2);
15976 wxPyEndAllowThreads(__tstate);
15977 if (PyErr_Occurred()) SWIG_fail;
15978 }
15979 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
15980 return resultobj;
15981 fail:
15982 return NULL;
15983 }
15984
15985
15986 SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15987 PyObject *resultobj = 0;
15988 wxColourData *arg1 = (wxColourData *) 0 ;
15989 int arg2 ;
15990 void *argp1 = 0 ;
15991 int res1 = 0 ;
15992 int val2 ;
15993 int ecode2 = 0 ;
15994 PyObject * obj0 = 0 ;
15995 PyObject * obj1 = 0 ;
15996 char * kwnames[] = {
15997 (char *) "self",(char *) "flag", NULL
15998 };
15999
16000 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
16001 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16002 if (!SWIG_IsOK(res1)) {
16003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16004 }
16005 arg1 = reinterpret_cast< wxColourData * >(argp1);
16006 ecode2 = SWIG_AsVal_int(obj1, &val2);
16007 if (!SWIG_IsOK(ecode2)) {
16008 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16009 }
16010 arg2 = static_cast< int >(val2);
16011 {
16012 PyThreadState* __tstate = wxPyBeginAllowThreads();
16013 (arg1)->SetChooseFull(arg2);
16014 wxPyEndAllowThreads(__tstate);
16015 if (PyErr_Occurred()) SWIG_fail;
16016 }
16017 resultobj = SWIG_Py_Void();
16018 return resultobj;
16019 fail:
16020 return NULL;
16021 }
16022
16023
16024 SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16025 PyObject *resultobj = 0;
16026 wxColourData *arg1 = (wxColourData *) 0 ;
16027 wxColour *arg2 = 0 ;
16028 void *argp1 = 0 ;
16029 int res1 = 0 ;
16030 wxColour temp2 ;
16031 PyObject * obj0 = 0 ;
16032 PyObject * obj1 = 0 ;
16033 char * kwnames[] = {
16034 (char *) "self",(char *) "colour", NULL
16035 };
16036
16037 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
16038 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16039 if (!SWIG_IsOK(res1)) {
16040 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16041 }
16042 arg1 = reinterpret_cast< wxColourData * >(argp1);
16043 {
16044 arg2 = &temp2;
16045 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16046 }
16047 {
16048 PyThreadState* __tstate = wxPyBeginAllowThreads();
16049 (arg1)->SetColour((wxColour const &)*arg2);
16050 wxPyEndAllowThreads(__tstate);
16051 if (PyErr_Occurred()) SWIG_fail;
16052 }
16053 resultobj = SWIG_Py_Void();
16054 return resultobj;
16055 fail:
16056 return NULL;
16057 }
16058
16059
16060 SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16061 PyObject *resultobj = 0;
16062 wxColourData *arg1 = (wxColourData *) 0 ;
16063 int arg2 ;
16064 wxColour *arg3 = 0 ;
16065 void *argp1 = 0 ;
16066 int res1 = 0 ;
16067 int val2 ;
16068 int ecode2 = 0 ;
16069 wxColour temp3 ;
16070 PyObject * obj0 = 0 ;
16071 PyObject * obj1 = 0 ;
16072 PyObject * obj2 = 0 ;
16073 char * kwnames[] = {
16074 (char *) "self",(char *) "i",(char *) "colour", NULL
16075 };
16076
16077 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16078 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16079 if (!SWIG_IsOK(res1)) {
16080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16081 }
16082 arg1 = reinterpret_cast< wxColourData * >(argp1);
16083 ecode2 = SWIG_AsVal_int(obj1, &val2);
16084 if (!SWIG_IsOK(ecode2)) {
16085 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16086 }
16087 arg2 = static_cast< int >(val2);
16088 {
16089 arg3 = &temp3;
16090 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16091 }
16092 {
16093 PyThreadState* __tstate = wxPyBeginAllowThreads();
16094 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
16095 wxPyEndAllowThreads(__tstate);
16096 if (PyErr_Occurred()) SWIG_fail;
16097 }
16098 resultobj = SWIG_Py_Void();
16099 return resultobj;
16100 fail:
16101 return NULL;
16102 }
16103
16104
16105 SWIGINTERN PyObject *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16106 PyObject *obj;
16107 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16108 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
16109 return SWIG_Py_Void();
16110 }
16111
16112 SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16113 return SWIG_Python_InitShadowInstance(args);
16114 }
16115
16116 SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16117 PyObject *resultobj = 0;
16118 wxWindow *arg1 = (wxWindow *) 0 ;
16119 wxColourData *arg2 = (wxColourData *) NULL ;
16120 wxColourDialog *result = 0 ;
16121 void *argp1 = 0 ;
16122 int res1 = 0 ;
16123 void *argp2 = 0 ;
16124 int res2 = 0 ;
16125 PyObject * obj0 = 0 ;
16126 PyObject * obj1 = 0 ;
16127 char * kwnames[] = {
16128 (char *) "parent",(char *) "data", NULL
16129 };
16130
16131 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
16132 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16133 if (!SWIG_IsOK(res1)) {
16134 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16135 }
16136 arg1 = reinterpret_cast< wxWindow * >(argp1);
16137 if (obj1) {
16138 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
16139 if (!SWIG_IsOK(res2)) {
16140 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16141 }
16142 arg2 = reinterpret_cast< wxColourData * >(argp2);
16143 }
16144 {
16145 if (!wxPyCheckForApp()) SWIG_fail;
16146 PyThreadState* __tstate = wxPyBeginAllowThreads();
16147 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
16148 wxPyEndAllowThreads(__tstate);
16149 if (PyErr_Occurred()) SWIG_fail;
16150 }
16151 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
16152 return resultobj;
16153 fail:
16154 return NULL;
16155 }
16156
16157
16158 SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16159 PyObject *resultobj = 0;
16160 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
16161 wxColourData *result = 0 ;
16162 void *argp1 = 0 ;
16163 int res1 = 0 ;
16164 PyObject *swig_obj[1] ;
16165
16166 if (!args) SWIG_fail;
16167 swig_obj[0] = args;
16168 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourDialog, 0 | 0 );
16169 if (!SWIG_IsOK(res1)) {
16170 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16171 }
16172 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
16173 {
16174 PyThreadState* __tstate = wxPyBeginAllowThreads();
16175 {
16176 wxColourData &_result_ref = (arg1)->GetColourData();
16177 result = (wxColourData *) &_result_ref;
16178 }
16179 wxPyEndAllowThreads(__tstate);
16180 if (PyErr_Occurred()) SWIG_fail;
16181 }
16182 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
16183 return resultobj;
16184 fail:
16185 return NULL;
16186 }
16187
16188
16189 SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16190 PyObject *obj;
16191 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16192 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
16193 return SWIG_Py_Void();
16194 }
16195
16196 SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16197 return SWIG_Python_InitShadowInstance(args);
16198 }
16199
16200 SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16201 PyObject *resultobj = 0;
16202 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
16203 wxColour const &arg2_defvalue = wxNullColour ;
16204 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
16205 wxString const &arg3_defvalue = wxPyEmptyString ;
16206 wxString *arg3 = (wxString *) &arg3_defvalue ;
16207 wxColour result;
16208 void *argp1 = 0 ;
16209 int res1 = 0 ;
16210 wxColour temp2 ;
16211 bool temp3 = false ;
16212 PyObject * obj0 = 0 ;
16213 PyObject * obj1 = 0 ;
16214 PyObject * obj2 = 0 ;
16215 char * kwnames[] = {
16216 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16217 };
16218
16219 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16220 if (obj0) {
16221 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16222 if (!SWIG_IsOK(res1)) {
16223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16224 }
16225 arg1 = reinterpret_cast< wxWindow * >(argp1);
16226 }
16227 if (obj1) {
16228 {
16229 arg2 = &temp2;
16230 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16231 }
16232 }
16233 if (obj2) {
16234 {
16235 arg3 = wxString_in_helper(obj2);
16236 if (arg3 == NULL) SWIG_fail;
16237 temp3 = true;
16238 }
16239 }
16240 {
16241 PyThreadState* __tstate = wxPyBeginAllowThreads();
16242 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
16243 wxPyEndAllowThreads(__tstate);
16244 if (PyErr_Occurred()) SWIG_fail;
16245 }
16246 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16247 {
16248 if (temp3)
16249 delete arg3;
16250 }
16251 return resultobj;
16252 fail:
16253 {
16254 if (temp3)
16255 delete arg3;
16256 }
16257 return NULL;
16258 }
16259
16260
16261 SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16262 PyObject *resultobj = 0;
16263 wxWindow *arg1 = (wxWindow *) 0 ;
16264 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
16265 wxString *arg2 = (wxString *) &arg2_defvalue ;
16266 wxString const &arg3_defvalue = wxPyEmptyString ;
16267 wxString *arg3 = (wxString *) &arg3_defvalue ;
16268 long arg4 = (long) 0 ;
16269 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16270 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16271 wxSize const &arg6_defvalue = wxDefaultSize ;
16272 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16273 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
16274 wxString *arg7 = (wxString *) &arg7_defvalue ;
16275 wxDirDialog *result = 0 ;
16276 void *argp1 = 0 ;
16277 int res1 = 0 ;
16278 bool temp2 = false ;
16279 bool temp3 = false ;
16280 long val4 ;
16281 int ecode4 = 0 ;
16282 wxPoint temp5 ;
16283 wxSize temp6 ;
16284 bool temp7 = false ;
16285 PyObject * obj0 = 0 ;
16286 PyObject * obj1 = 0 ;
16287 PyObject * obj2 = 0 ;
16288 PyObject * obj3 = 0 ;
16289 PyObject * obj4 = 0 ;
16290 PyObject * obj5 = 0 ;
16291 PyObject * obj6 = 0 ;
16292 char * kwnames[] = {
16293 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16294 };
16295
16296 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16297 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16298 if (!SWIG_IsOK(res1)) {
16299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16300 }
16301 arg1 = reinterpret_cast< wxWindow * >(argp1);
16302 if (obj1) {
16303 {
16304 arg2 = wxString_in_helper(obj1);
16305 if (arg2 == NULL) SWIG_fail;
16306 temp2 = true;
16307 }
16308 }
16309 if (obj2) {
16310 {
16311 arg3 = wxString_in_helper(obj2);
16312 if (arg3 == NULL) SWIG_fail;
16313 temp3 = true;
16314 }
16315 }
16316 if (obj3) {
16317 ecode4 = SWIG_AsVal_long(obj3, &val4);
16318 if (!SWIG_IsOK(ecode4)) {
16319 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16320 }
16321 arg4 = static_cast< long >(val4);
16322 }
16323 if (obj4) {
16324 {
16325 arg5 = &temp5;
16326 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16327 }
16328 }
16329 if (obj5) {
16330 {
16331 arg6 = &temp6;
16332 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16333 }
16334 }
16335 if (obj6) {
16336 {
16337 arg7 = wxString_in_helper(obj6);
16338 if (arg7 == NULL) SWIG_fail;
16339 temp7 = true;
16340 }
16341 }
16342 {
16343 if (!wxPyCheckForApp()) SWIG_fail;
16344 PyThreadState* __tstate = wxPyBeginAllowThreads();
16345 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
16346 wxPyEndAllowThreads(__tstate);
16347 if (PyErr_Occurred()) SWIG_fail;
16348 }
16349 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
16350 {
16351 if (temp2)
16352 delete arg2;
16353 }
16354 {
16355 if (temp3)
16356 delete arg3;
16357 }
16358 {
16359 if (temp7)
16360 delete arg7;
16361 }
16362 return resultobj;
16363 fail:
16364 {
16365 if (temp2)
16366 delete arg2;
16367 }
16368 {
16369 if (temp3)
16370 delete arg3;
16371 }
16372 {
16373 if (temp7)
16374 delete arg7;
16375 }
16376 return NULL;
16377 }
16378
16379
16380 SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16381 PyObject *resultobj = 0;
16382 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16383 wxString result;
16384 void *argp1 = 0 ;
16385 int res1 = 0 ;
16386 PyObject *swig_obj[1] ;
16387
16388 if (!args) SWIG_fail;
16389 swig_obj[0] = args;
16390 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16391 if (!SWIG_IsOK(res1)) {
16392 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16393 }
16394 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16395 {
16396 PyThreadState* __tstate = wxPyBeginAllowThreads();
16397 result = (arg1)->GetPath();
16398 wxPyEndAllowThreads(__tstate);
16399 if (PyErr_Occurred()) SWIG_fail;
16400 }
16401 {
16402 #if wxUSE_UNICODE
16403 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16404 #else
16405 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16406 #endif
16407 }
16408 return resultobj;
16409 fail:
16410 return NULL;
16411 }
16412
16413
16414 SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16415 PyObject *resultobj = 0;
16416 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16417 wxString result;
16418 void *argp1 = 0 ;
16419 int res1 = 0 ;
16420 PyObject *swig_obj[1] ;
16421
16422 if (!args) SWIG_fail;
16423 swig_obj[0] = args;
16424 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16425 if (!SWIG_IsOK(res1)) {
16426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16427 }
16428 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16429 {
16430 PyThreadState* __tstate = wxPyBeginAllowThreads();
16431 result = (arg1)->GetMessage();
16432 wxPyEndAllowThreads(__tstate);
16433 if (PyErr_Occurred()) SWIG_fail;
16434 }
16435 {
16436 #if wxUSE_UNICODE
16437 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16438 #else
16439 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16440 #endif
16441 }
16442 return resultobj;
16443 fail:
16444 return NULL;
16445 }
16446
16447
16448 SWIGINTERN PyObject *_wrap_DirDialog_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16449 PyObject *resultobj = 0;
16450 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16451 long result;
16452 void *argp1 = 0 ;
16453 int res1 = 0 ;
16454 PyObject *swig_obj[1] ;
16455
16456 if (!args) SWIG_fail;
16457 swig_obj[0] = args;
16458 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16459 if (!SWIG_IsOK(res1)) {
16460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetStyle" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16461 }
16462 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16463 {
16464 PyThreadState* __tstate = wxPyBeginAllowThreads();
16465 result = (long)(arg1)->GetStyle();
16466 wxPyEndAllowThreads(__tstate);
16467 if (PyErr_Occurred()) SWIG_fail;
16468 }
16469 resultobj = SWIG_From_long(static_cast< long >(result));
16470 return resultobj;
16471 fail:
16472 return NULL;
16473 }
16474
16475
16476 SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16477 PyObject *resultobj = 0;
16478 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16479 wxString *arg2 = 0 ;
16480 void *argp1 = 0 ;
16481 int res1 = 0 ;
16482 bool temp2 = false ;
16483 PyObject * obj0 = 0 ;
16484 PyObject * obj1 = 0 ;
16485 char * kwnames[] = {
16486 (char *) "self",(char *) "message", NULL
16487 };
16488
16489 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
16490 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16491 if (!SWIG_IsOK(res1)) {
16492 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16493 }
16494 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16495 {
16496 arg2 = wxString_in_helper(obj1);
16497 if (arg2 == NULL) SWIG_fail;
16498 temp2 = true;
16499 }
16500 {
16501 PyThreadState* __tstate = wxPyBeginAllowThreads();
16502 (arg1)->SetMessage((wxString const &)*arg2);
16503 wxPyEndAllowThreads(__tstate);
16504 if (PyErr_Occurred()) SWIG_fail;
16505 }
16506 resultobj = SWIG_Py_Void();
16507 {
16508 if (temp2)
16509 delete arg2;
16510 }
16511 return resultobj;
16512 fail:
16513 {
16514 if (temp2)
16515 delete arg2;
16516 }
16517 return NULL;
16518 }
16519
16520
16521 SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16522 PyObject *resultobj = 0;
16523 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16524 wxString *arg2 = 0 ;
16525 void *argp1 = 0 ;
16526 int res1 = 0 ;
16527 bool temp2 = false ;
16528 PyObject * obj0 = 0 ;
16529 PyObject * obj1 = 0 ;
16530 char * kwnames[] = {
16531 (char *) "self",(char *) "path", NULL
16532 };
16533
16534 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
16535 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16536 if (!SWIG_IsOK(res1)) {
16537 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16538 }
16539 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16540 {
16541 arg2 = wxString_in_helper(obj1);
16542 if (arg2 == NULL) SWIG_fail;
16543 temp2 = true;
16544 }
16545 {
16546 PyThreadState* __tstate = wxPyBeginAllowThreads();
16547 (arg1)->SetPath((wxString const &)*arg2);
16548 wxPyEndAllowThreads(__tstate);
16549 if (PyErr_Occurred()) SWIG_fail;
16550 }
16551 resultobj = SWIG_Py_Void();
16552 {
16553 if (temp2)
16554 delete arg2;
16555 }
16556 return resultobj;
16557 fail:
16558 {
16559 if (temp2)
16560 delete arg2;
16561 }
16562 return NULL;
16563 }
16564
16565
16566 SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16567 PyObject *obj;
16568 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16569 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
16570 return SWIG_Py_Void();
16571 }
16572
16573 SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16574 return SWIG_Python_InitShadowInstance(args);
16575 }
16576
16577 SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16578 PyObject *resultobj = 0;
16579 wxWindow *arg1 = (wxWindow *) 0 ;
16580 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
16581 wxString *arg2 = (wxString *) &arg2_defvalue ;
16582 wxString const &arg3_defvalue = wxPyEmptyString ;
16583 wxString *arg3 = (wxString *) &arg3_defvalue ;
16584 wxString const &arg4_defvalue = wxPyEmptyString ;
16585 wxString *arg4 = (wxString *) &arg4_defvalue ;
16586 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
16587 wxString *arg5 = (wxString *) &arg5_defvalue ;
16588 long arg6 = (long) 0 ;
16589 wxPoint const &arg7_defvalue = wxDefaultPosition ;
16590 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
16591 wxFileDialog *result = 0 ;
16592 void *argp1 = 0 ;
16593 int res1 = 0 ;
16594 bool temp2 = false ;
16595 bool temp3 = false ;
16596 bool temp4 = false ;
16597 bool temp5 = false ;
16598 long val6 ;
16599 int ecode6 = 0 ;
16600 wxPoint temp7 ;
16601 PyObject * obj0 = 0 ;
16602 PyObject * obj1 = 0 ;
16603 PyObject * obj2 = 0 ;
16604 PyObject * obj3 = 0 ;
16605 PyObject * obj4 = 0 ;
16606 PyObject * obj5 = 0 ;
16607 PyObject * obj6 = 0 ;
16608 char * kwnames[] = {
16609 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
16610 };
16611
16612 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16613 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16614 if (!SWIG_IsOK(res1)) {
16615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16616 }
16617 arg1 = reinterpret_cast< wxWindow * >(argp1);
16618 if (obj1) {
16619 {
16620 arg2 = wxString_in_helper(obj1);
16621 if (arg2 == NULL) SWIG_fail;
16622 temp2 = true;
16623 }
16624 }
16625 if (obj2) {
16626 {
16627 arg3 = wxString_in_helper(obj2);
16628 if (arg3 == NULL) SWIG_fail;
16629 temp3 = true;
16630 }
16631 }
16632 if (obj3) {
16633 {
16634 arg4 = wxString_in_helper(obj3);
16635 if (arg4 == NULL) SWIG_fail;
16636 temp4 = true;
16637 }
16638 }
16639 if (obj4) {
16640 {
16641 arg5 = wxString_in_helper(obj4);
16642 if (arg5 == NULL) SWIG_fail;
16643 temp5 = true;
16644 }
16645 }
16646 if (obj5) {
16647 ecode6 = SWIG_AsVal_long(obj5, &val6);
16648 if (!SWIG_IsOK(ecode6)) {
16649 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
16650 }
16651 arg6 = static_cast< long >(val6);
16652 }
16653 if (obj6) {
16654 {
16655 arg7 = &temp7;
16656 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
16657 }
16658 }
16659 {
16660 if (!wxPyCheckForApp()) SWIG_fail;
16661 PyThreadState* __tstate = wxPyBeginAllowThreads();
16662 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
16663 wxPyEndAllowThreads(__tstate);
16664 if (PyErr_Occurred()) SWIG_fail;
16665 }
16666 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
16667 {
16668 if (temp2)
16669 delete arg2;
16670 }
16671 {
16672 if (temp3)
16673 delete arg3;
16674 }
16675 {
16676 if (temp4)
16677 delete arg4;
16678 }
16679 {
16680 if (temp5)
16681 delete arg5;
16682 }
16683 return resultobj;
16684 fail:
16685 {
16686 if (temp2)
16687 delete arg2;
16688 }
16689 {
16690 if (temp3)
16691 delete arg3;
16692 }
16693 {
16694 if (temp4)
16695 delete arg4;
16696 }
16697 {
16698 if (temp5)
16699 delete arg5;
16700 }
16701 return NULL;
16702 }
16703
16704
16705 SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16706 PyObject *resultobj = 0;
16707 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
16708 wxString *arg2 = 0 ;
16709 void *argp1 = 0 ;
16710 int res1 = 0 ;
16711 bool temp2 = false ;
16712 PyObject * obj0 = 0 ;
16713 PyObject * obj1 = 0 ;
16714 char * kwnames[] = {
16715 (char *) "self",(char *) "message", NULL
16716 };
16717
16718 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
16719 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
16720 if (!SWIG_IsOK(res1)) {
16721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
16722 }
16723 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
16724 {
16725 arg2 = wxString_in_helper(obj1);
16726 if (arg2 == NULL) SWIG_fail;
16727 temp2 = true;
16728 }
16729 {
16730 PyThreadState* __tstate = wxPyBeginAllowThreads();
16731 (arg1)->SetMessage((wxString const &)*arg2);
16732 wxPyEndAllowThreads(__tstate);
16733 if (PyErr_Occurred()) SWIG_fail;
16734 }
16735 resultobj = SWIG_Py_Void();
16736 {
16737 if (temp2)
16738 delete arg2;
16739 }
16740 return resultobj;
16741 fail:
16742 {
16743 if (temp2)
16744 delete arg2;
16745 }
16746 return NULL;
16747 }
16748
16749
16750 SWIGINTERN PyObject *_wrap_FileDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16751 PyObject *resultobj = 0;
16752 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
16753 wxString *arg2 = 0 ;
16754 void *argp1 = 0 ;
16755 int res1 = 0 ;
16756 bool temp2 = false ;
16757 PyObject * obj0 = 0 ;
16758 PyObject * obj1 = 0 ;
16759 char * kwnames[] = {
16760 (char *) "self",(char *) "path", NULL
16761 };
16762
16763 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
16764 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
16765 if (!SWIG_IsOK(res1)) {
16766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
16767 }
16768 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
16769 {
16770 arg2 = wxString_in_helper(obj1);
16771 if (arg2 == NULL) SWIG_fail;
16772 temp2 = true;
16773 }
16774 {
16775 PyThreadState* __tstate = wxPyBeginAllowThreads();
16776 (arg1)->SetPath((wxString const &)*arg2);
16777 wxPyEndAllowThreads(__tstate);
16778 if (PyErr_Occurred()) SWIG_fail;
16779 }
16780 resultobj = SWIG_Py_Void();
16781 {
16782 if (temp2)
16783 delete arg2;
16784 }
16785 return resultobj;
16786 fail:
16787 {
16788 if (temp2)
16789 delete arg2;
16790 }
16791 return NULL;
16792 }
16793
16794
16795 SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16796 PyObject *resultobj = 0;
16797 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
16798 wxString *arg2 = 0 ;
16799 void *argp1 = 0 ;
16800 int res1 = 0 ;
16801 bool temp2 = false ;
16802 PyObject * obj0 = 0 ;
16803 PyObject * obj1 = 0 ;
16804 char * kwnames[] = {
16805 (char *) "self",(char *) "dir", NULL
16806 };
16807
16808 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
16809 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
16810 if (!SWIG_IsOK(res1)) {
16811 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
16812 }
16813 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
16814 {
16815 arg2 = wxString_in_helper(obj1);
16816 if (arg2 == NULL) SWIG_fail;
16817 temp2 = true;
16818 }
16819 {
16820 PyThreadState* __tstate = wxPyBeginAllowThreads();
16821 (arg1)->SetDirectory((wxString const &)*arg2);
16822 wxPyEndAllowThreads(__tstate);
16823 if (PyErr_Occurred()) SWIG_fail;
16824 }
16825 resultobj = SWIG_Py_Void();
16826 {
16827 if (temp2)
16828 delete arg2;
16829 }
16830 return resultobj;
16831 fail:
16832 {
16833 if (temp2)
16834 delete arg2;
16835 }
16836 return NULL;
16837 }
16838
16839
16840 SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16841 PyObject *resultobj = 0;
16842 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
16843 wxString *arg2 = 0 ;
16844 void *argp1 = 0 ;
16845 int res1 = 0 ;
16846 bool temp2 = false ;
16847 PyObject * obj0 = 0 ;
16848 PyObject * obj1 = 0 ;
16849 char * kwnames[] = {
16850 (char *) "self",(char *) "name", NULL
16851 };
16852
16853 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
16854 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
16855 if (!SWIG_IsOK(res1)) {
16856 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
16857 }
16858 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
16859 {
16860 arg2 = wxString_in_helper(obj1);
16861 if (arg2 == NULL) SWIG_fail;
16862 temp2 = true;
16863 }
16864 {
16865 PyThreadState* __tstate = wxPyBeginAllowThreads();
16866 (arg1)->SetFilename((wxString const &)*arg2);
16867 wxPyEndAllowThreads(__tstate);
16868 if (PyErr_Occurred()) SWIG_fail;
16869 }
16870 resultobj = SWIG_Py_Void();
16871 {
16872 if (temp2)
16873 delete arg2;
16874 }
16875 return resultobj;
16876 fail:
16877 {
16878 if (temp2)
16879 delete arg2;
16880 }
16881 return NULL;
16882 }
16883
16884
16885 SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16886 PyObject *resultobj = 0;
16887 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
16888 wxString *arg2 = 0 ;
16889 void *argp1 = 0 ;
16890 int res1 = 0 ;
16891 bool temp2 = false ;
16892 PyObject * obj0 = 0 ;
16893 PyObject * obj1 = 0 ;
16894 char * kwnames[] = {
16895 (char *) "self",(char *) "wildCard", NULL
16896 };
16897
16898 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
16899 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
16900 if (!SWIG_IsOK(res1)) {
16901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
16902 }
16903 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
16904 {
16905 arg2 = wxString_in_helper(obj1);
16906 if (arg2 == NULL) SWIG_fail;
16907 temp2 = true;
16908 }
16909 {
16910 PyThreadState* __tstate = wxPyBeginAllowThreads();
16911 (arg1)->SetWildcard((wxString const &)*arg2);
16912 wxPyEndAllowThreads(__tstate);
16913 if (PyErr_Occurred()) SWIG_fail;
16914 }
16915 resultobj = SWIG_Py_Void();
16916 {
16917 if (temp2)
16918 delete arg2;
16919 }
16920 return resultobj;
16921 fail:
16922 {
16923 if (temp2)
16924 delete arg2;
16925 }
16926 return NULL;
16927 }
16928
16929
16930 SWIGINTERN PyObject *_wrap_FileDialog_SetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16931 PyObject *resultobj = 0;
16932 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
16933 long arg2 ;
16934 void *argp1 = 0 ;
16935 int res1 = 0 ;
16936 long val2 ;
16937 int ecode2 = 0 ;
16938 PyObject * obj0 = 0 ;
16939 PyObject * obj1 = 0 ;
16940 char * kwnames[] = {
16941 (char *) "self",(char *) "style", NULL
16942 };
16943
16944 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) SWIG_fail;
16945 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
16946 if (!SWIG_IsOK(res1)) {
16947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetStyle" "', expected argument " "1"" of type '" "wxFileDialog *""'");
16948 }
16949 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
16950 ecode2 = SWIG_AsVal_long(obj1, &val2);
16951 if (!SWIG_IsOK(ecode2)) {
16952 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetStyle" "', expected argument " "2"" of type '" "long""'");
16953 }
16954 arg2 = static_cast< long >(val2);
16955 {
16956 PyThreadState* __tstate = wxPyBeginAllowThreads();
16957 (arg1)->SetStyle(arg2);
16958 wxPyEndAllowThreads(__tstate);
16959 if (PyErr_Occurred()) SWIG_fail;
16960 }
16961 resultobj = SWIG_Py_Void();
16962 return resultobj;
16963 fail:
16964 return NULL;
16965 }
16966
16967
16968 SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16969 PyObject *resultobj = 0;
16970 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
16971 int arg2 ;
16972 void *argp1 = 0 ;
16973 int res1 = 0 ;
16974 int val2 ;
16975 int ecode2 = 0 ;
16976 PyObject * obj0 = 0 ;
16977 PyObject * obj1 = 0 ;
16978 char * kwnames[] = {
16979 (char *) "self",(char *) "filterIndex", NULL
16980 };
16981
16982 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
16983 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
16984 if (!SWIG_IsOK(res1)) {
16985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
16986 }
16987 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
16988 ecode2 = SWIG_AsVal_int(obj1, &val2);
16989 if (!SWIG_IsOK(ecode2)) {
16990 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
16991 }
16992 arg2 = static_cast< int >(val2);
16993 {
16994 PyThreadState* __tstate = wxPyBeginAllowThreads();
16995 (arg1)->SetFilterIndex(arg2);
16996 wxPyEndAllowThreads(__tstate);
16997 if (PyErr_Occurred()) SWIG_fail;
16998 }
16999 resultobj = SWIG_Py_Void();
17000 return resultobj;
17001 fail:
17002 return NULL;
17003 }
17004
17005
17006 SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17007 PyObject *resultobj = 0;
17008 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17009 wxString result;
17010 void *argp1 = 0 ;
17011 int res1 = 0 ;
17012 PyObject *swig_obj[1] ;
17013
17014 if (!args) SWIG_fail;
17015 swig_obj[0] = args;
17016 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17017 if (!SWIG_IsOK(res1)) {
17018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17019 }
17020 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17021 {
17022 PyThreadState* __tstate = wxPyBeginAllowThreads();
17023 result = ((wxFileDialog const *)arg1)->GetMessage();
17024 wxPyEndAllowThreads(__tstate);
17025 if (PyErr_Occurred()) SWIG_fail;
17026 }
17027 {
17028 #if wxUSE_UNICODE
17029 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17030 #else
17031 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17032 #endif
17033 }
17034 return resultobj;
17035 fail:
17036 return NULL;
17037 }
17038
17039
17040 SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17041 PyObject *resultobj = 0;
17042 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17043 wxString result;
17044 void *argp1 = 0 ;
17045 int res1 = 0 ;
17046 PyObject *swig_obj[1] ;
17047
17048 if (!args) SWIG_fail;
17049 swig_obj[0] = args;
17050 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17051 if (!SWIG_IsOK(res1)) {
17052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17053 }
17054 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17055 {
17056 PyThreadState* __tstate = wxPyBeginAllowThreads();
17057 result = ((wxFileDialog const *)arg1)->GetPath();
17058 wxPyEndAllowThreads(__tstate);
17059 if (PyErr_Occurred()) SWIG_fail;
17060 }
17061 {
17062 #if wxUSE_UNICODE
17063 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17064 #else
17065 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17066 #endif
17067 }
17068 return resultobj;
17069 fail:
17070 return NULL;
17071 }
17072
17073
17074 SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17075 PyObject *resultobj = 0;
17076 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17077 wxString result;
17078 void *argp1 = 0 ;
17079 int res1 = 0 ;
17080 PyObject *swig_obj[1] ;
17081
17082 if (!args) SWIG_fail;
17083 swig_obj[0] = args;
17084 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17085 if (!SWIG_IsOK(res1)) {
17086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17087 }
17088 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17089 {
17090 PyThreadState* __tstate = wxPyBeginAllowThreads();
17091 result = ((wxFileDialog const *)arg1)->GetDirectory();
17092 wxPyEndAllowThreads(__tstate);
17093 if (PyErr_Occurred()) SWIG_fail;
17094 }
17095 {
17096 #if wxUSE_UNICODE
17097 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17098 #else
17099 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17100 #endif
17101 }
17102 return resultobj;
17103 fail:
17104 return NULL;
17105 }
17106
17107
17108 SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17109 PyObject *resultobj = 0;
17110 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17111 wxString result;
17112 void *argp1 = 0 ;
17113 int res1 = 0 ;
17114 PyObject *swig_obj[1] ;
17115
17116 if (!args) SWIG_fail;
17117 swig_obj[0] = args;
17118 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17119 if (!SWIG_IsOK(res1)) {
17120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17121 }
17122 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17123 {
17124 PyThreadState* __tstate = wxPyBeginAllowThreads();
17125 result = ((wxFileDialog const *)arg1)->GetFilename();
17126 wxPyEndAllowThreads(__tstate);
17127 if (PyErr_Occurred()) SWIG_fail;
17128 }
17129 {
17130 #if wxUSE_UNICODE
17131 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17132 #else
17133 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17134 #endif
17135 }
17136 return resultobj;
17137 fail:
17138 return NULL;
17139 }
17140
17141
17142 SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17143 PyObject *resultobj = 0;
17144 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17145 wxString result;
17146 void *argp1 = 0 ;
17147 int res1 = 0 ;
17148 PyObject *swig_obj[1] ;
17149
17150 if (!args) SWIG_fail;
17151 swig_obj[0] = args;
17152 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17153 if (!SWIG_IsOK(res1)) {
17154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17155 }
17156 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17157 {
17158 PyThreadState* __tstate = wxPyBeginAllowThreads();
17159 result = ((wxFileDialog const *)arg1)->GetWildcard();
17160 wxPyEndAllowThreads(__tstate);
17161 if (PyErr_Occurred()) SWIG_fail;
17162 }
17163 {
17164 #if wxUSE_UNICODE
17165 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17166 #else
17167 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17168 #endif
17169 }
17170 return resultobj;
17171 fail:
17172 return NULL;
17173 }
17174
17175
17176 SWIGINTERN PyObject *_wrap_FileDialog_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17177 PyObject *resultobj = 0;
17178 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17179 long result;
17180 void *argp1 = 0 ;
17181 int res1 = 0 ;
17182 PyObject *swig_obj[1] ;
17183
17184 if (!args) SWIG_fail;
17185 swig_obj[0] = args;
17186 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17187 if (!SWIG_IsOK(res1)) {
17188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetStyle" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17189 }
17190 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17191 {
17192 PyThreadState* __tstate = wxPyBeginAllowThreads();
17193 result = (long)((wxFileDialog const *)arg1)->GetStyle();
17194 wxPyEndAllowThreads(__tstate);
17195 if (PyErr_Occurred()) SWIG_fail;
17196 }
17197 resultobj = SWIG_From_long(static_cast< long >(result));
17198 return resultobj;
17199 fail:
17200 return NULL;
17201 }
17202
17203
17204 SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17205 PyObject *resultobj = 0;
17206 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17207 int result;
17208 void *argp1 = 0 ;
17209 int res1 = 0 ;
17210 PyObject *swig_obj[1] ;
17211
17212 if (!args) SWIG_fail;
17213 swig_obj[0] = args;
17214 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17215 if (!SWIG_IsOK(res1)) {
17216 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17217 }
17218 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17219 {
17220 PyThreadState* __tstate = wxPyBeginAllowThreads();
17221 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
17222 wxPyEndAllowThreads(__tstate);
17223 if (PyErr_Occurred()) SWIG_fail;
17224 }
17225 resultobj = SWIG_From_int(static_cast< int >(result));
17226 return resultobj;
17227 fail:
17228 return NULL;
17229 }
17230
17231
17232 SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17233 PyObject *resultobj = 0;
17234 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17235 PyObject *result = 0 ;
17236 void *argp1 = 0 ;
17237 int res1 = 0 ;
17238 PyObject *swig_obj[1] ;
17239
17240 if (!args) SWIG_fail;
17241 swig_obj[0] = args;
17242 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17243 if (!SWIG_IsOK(res1)) {
17244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17245 }
17246 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17247 {
17248 PyThreadState* __tstate = wxPyBeginAllowThreads();
17249 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
17250 wxPyEndAllowThreads(__tstate);
17251 if (PyErr_Occurred()) SWIG_fail;
17252 }
17253 resultobj = result;
17254 return resultobj;
17255 fail:
17256 return NULL;
17257 }
17258
17259
17260 SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17261 PyObject *resultobj = 0;
17262 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17263 PyObject *result = 0 ;
17264 void *argp1 = 0 ;
17265 int res1 = 0 ;
17266 PyObject *swig_obj[1] ;
17267
17268 if (!args) SWIG_fail;
17269 swig_obj[0] = args;
17270 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17271 if (!SWIG_IsOK(res1)) {
17272 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17273 }
17274 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17275 {
17276 PyThreadState* __tstate = wxPyBeginAllowThreads();
17277 result = (PyObject *)wxFileDialog_GetPaths(arg1);
17278 wxPyEndAllowThreads(__tstate);
17279 if (PyErr_Occurred()) SWIG_fail;
17280 }
17281 resultobj = result;
17282 return resultobj;
17283 fail:
17284 return NULL;
17285 }
17286
17287
17288 SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17289 PyObject *obj;
17290 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17291 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
17292 return SWIG_Py_Void();
17293 }
17294
17295 SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17296 return SWIG_Python_InitShadowInstance(args);
17297 }
17298
17299 SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17300 PyObject *resultobj = 0;
17301 wxWindow *arg1 = (wxWindow *) 0 ;
17302 wxString *arg2 = 0 ;
17303 wxString *arg3 = 0 ;
17304 int arg4 = (int) 0 ;
17305 wxString *arg5 = (wxString *) NULL ;
17306 long arg6 = (long) wxCHOICEDLG_STYLE ;
17307 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17308 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17309 wxMultiChoiceDialog *result = 0 ;
17310 void *argp1 = 0 ;
17311 int res1 = 0 ;
17312 bool temp2 = false ;
17313 bool temp3 = false ;
17314 long val6 ;
17315 int ecode6 = 0 ;
17316 wxPoint temp7 ;
17317 PyObject * obj0 = 0 ;
17318 PyObject * obj1 = 0 ;
17319 PyObject * obj2 = 0 ;
17320 PyObject * obj3 = 0 ;
17321 PyObject * obj4 = 0 ;
17322 PyObject * obj5 = 0 ;
17323 char * kwnames[] = {
17324 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17325 };
17326
17327 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17328 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17329 if (!SWIG_IsOK(res1)) {
17330 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17331 }
17332 arg1 = reinterpret_cast< wxWindow * >(argp1);
17333 {
17334 arg2 = wxString_in_helper(obj1);
17335 if (arg2 == NULL) SWIG_fail;
17336 temp2 = true;
17337 }
17338 {
17339 arg3 = wxString_in_helper(obj2);
17340 if (arg3 == NULL) SWIG_fail;
17341 temp3 = true;
17342 }
17343 if (obj3) {
17344 {
17345 arg4 = PyList_Size(obj3);
17346 arg5 = wxString_LIST_helper(obj3);
17347 if (arg5 == NULL) SWIG_fail;
17348 }
17349 }
17350 if (obj4) {
17351 ecode6 = SWIG_AsVal_long(obj4, &val6);
17352 if (!SWIG_IsOK(ecode6)) {
17353 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17354 }
17355 arg6 = static_cast< long >(val6);
17356 }
17357 if (obj5) {
17358 {
17359 arg7 = &temp7;
17360 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
17361 }
17362 }
17363 {
17364 if (!wxPyCheckForApp()) SWIG_fail;
17365 PyThreadState* __tstate = wxPyBeginAllowThreads();
17366 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17367 wxPyEndAllowThreads(__tstate);
17368 if (PyErr_Occurred()) SWIG_fail;
17369 }
17370 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
17371 {
17372 if (temp2)
17373 delete arg2;
17374 }
17375 {
17376 if (temp3)
17377 delete arg3;
17378 }
17379 {
17380 if (arg5) delete [] arg5;
17381 }
17382 return resultobj;
17383 fail:
17384 {
17385 if (temp2)
17386 delete arg2;
17387 }
17388 {
17389 if (temp3)
17390 delete arg3;
17391 }
17392 {
17393 if (arg5) delete [] arg5;
17394 }
17395 return NULL;
17396 }
17397
17398
17399 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17400 PyObject *resultobj = 0;
17401 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17402 wxArrayInt *arg2 = 0 ;
17403 void *argp1 = 0 ;
17404 int res1 = 0 ;
17405 bool temp2 = false ;
17406 PyObject * obj0 = 0 ;
17407 PyObject * obj1 = 0 ;
17408 char * kwnames[] = {
17409 (char *) "self",(char *) "selections", NULL
17410 };
17411
17412 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
17413 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17414 if (!SWIG_IsOK(res1)) {
17415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17416 }
17417 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17418 {
17419 if (! PySequence_Check(obj1)) {
17420 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
17421 SWIG_fail;
17422 }
17423 arg2 = new wxArrayInt;
17424 temp2 = true;
17425 int i, len=PySequence_Length(obj1);
17426 for (i=0; i<len; i++) {
17427 PyObject* item = PySequence_GetItem(obj1, i);
17428 PyObject* number = PyNumber_Int(item);
17429 arg2->Add(PyInt_AS_LONG(number));
17430 Py_DECREF(item);
17431 Py_DECREF(number);
17432 }
17433 }
17434 {
17435 PyThreadState* __tstate = wxPyBeginAllowThreads();
17436 (arg1)->SetSelections((wxArrayInt const &)*arg2);
17437 wxPyEndAllowThreads(__tstate);
17438 if (PyErr_Occurred()) SWIG_fail;
17439 }
17440 resultobj = SWIG_Py_Void();
17441 {
17442 if (temp2) delete arg2;
17443 }
17444 return resultobj;
17445 fail:
17446 {
17447 if (temp2) delete arg2;
17448 }
17449 return NULL;
17450 }
17451
17452
17453 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17454 PyObject *resultobj = 0;
17455 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17456 PyObject *result = 0 ;
17457 void *argp1 = 0 ;
17458 int res1 = 0 ;
17459 PyObject *swig_obj[1] ;
17460
17461 if (!args) SWIG_fail;
17462 swig_obj[0] = args;
17463 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17464 if (!SWIG_IsOK(res1)) {
17465 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17466 }
17467 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17468 {
17469 PyThreadState* __tstate = wxPyBeginAllowThreads();
17470 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
17471 wxPyEndAllowThreads(__tstate);
17472 if (PyErr_Occurred()) SWIG_fail;
17473 }
17474 resultobj = result;
17475 return resultobj;
17476 fail:
17477 return NULL;
17478 }
17479
17480
17481 SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17482 PyObject *obj;
17483 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17484 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
17485 return SWIG_Py_Void();
17486 }
17487
17488 SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17489 return SWIG_Python_InitShadowInstance(args);
17490 }
17491
17492 SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17493 PyObject *resultobj = 0;
17494 wxWindow *arg1 = (wxWindow *) 0 ;
17495 wxString *arg2 = 0 ;
17496 wxString *arg3 = 0 ;
17497 int arg4 ;
17498 wxString *arg5 = (wxString *) 0 ;
17499 long arg6 = (long) wxCHOICEDLG_STYLE ;
17500 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17501 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17502 wxSingleChoiceDialog *result = 0 ;
17503 void *argp1 = 0 ;
17504 int res1 = 0 ;
17505 bool temp2 = false ;
17506 bool temp3 = false ;
17507 long val6 ;
17508 int ecode6 = 0 ;
17509 wxPoint temp7 ;
17510 PyObject * obj0 = 0 ;
17511 PyObject * obj1 = 0 ;
17512 PyObject * obj2 = 0 ;
17513 PyObject * obj3 = 0 ;
17514 PyObject * obj4 = 0 ;
17515 PyObject * obj5 = 0 ;
17516 char * kwnames[] = {
17517 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17518 };
17519
17520 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17521 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17522 if (!SWIG_IsOK(res1)) {
17523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17524 }
17525 arg1 = reinterpret_cast< wxWindow * >(argp1);
17526 {
17527 arg2 = wxString_in_helper(obj1);
17528 if (arg2 == NULL) SWIG_fail;
17529 temp2 = true;
17530 }
17531 {
17532 arg3 = wxString_in_helper(obj2);
17533 if (arg3 == NULL) SWIG_fail;
17534 temp3 = true;
17535 }
17536 {
17537 arg4 = PyList_Size(obj3);
17538 arg5 = wxString_LIST_helper(obj3);
17539 if (arg5 == NULL) SWIG_fail;
17540 }
17541 if (obj4) {
17542 ecode6 = SWIG_AsVal_long(obj4, &val6);
17543 if (!SWIG_IsOK(ecode6)) {
17544 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17545 }
17546 arg6 = static_cast< long >(val6);
17547 }
17548 if (obj5) {
17549 {
17550 arg7 = &temp7;
17551 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
17552 }
17553 }
17554 {
17555 if (!wxPyCheckForApp()) SWIG_fail;
17556 PyThreadState* __tstate = wxPyBeginAllowThreads();
17557 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17558 wxPyEndAllowThreads(__tstate);
17559 if (PyErr_Occurred()) SWIG_fail;
17560 }
17561 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
17562 {
17563 if (temp2)
17564 delete arg2;
17565 }
17566 {
17567 if (temp3)
17568 delete arg3;
17569 }
17570 {
17571 if (arg5) delete [] arg5;
17572 }
17573 return resultobj;
17574 fail:
17575 {
17576 if (temp2)
17577 delete arg2;
17578 }
17579 {
17580 if (temp3)
17581 delete arg3;
17582 }
17583 {
17584 if (arg5) delete [] arg5;
17585 }
17586 return NULL;
17587 }
17588
17589
17590 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17591 PyObject *resultobj = 0;
17592 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17593 int result;
17594 void *argp1 = 0 ;
17595 int res1 = 0 ;
17596 PyObject *swig_obj[1] ;
17597
17598 if (!args) SWIG_fail;
17599 swig_obj[0] = args;
17600 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17601 if (!SWIG_IsOK(res1)) {
17602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17603 }
17604 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17605 {
17606 PyThreadState* __tstate = wxPyBeginAllowThreads();
17607 result = (int)(arg1)->GetSelection();
17608 wxPyEndAllowThreads(__tstate);
17609 if (PyErr_Occurred()) SWIG_fail;
17610 }
17611 resultobj = SWIG_From_int(static_cast< int >(result));
17612 return resultobj;
17613 fail:
17614 return NULL;
17615 }
17616
17617
17618 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17619 PyObject *resultobj = 0;
17620 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17621 wxString result;
17622 void *argp1 = 0 ;
17623 int res1 = 0 ;
17624 PyObject *swig_obj[1] ;
17625
17626 if (!args) SWIG_fail;
17627 swig_obj[0] = args;
17628 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17629 if (!SWIG_IsOK(res1)) {
17630 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17631 }
17632 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17633 {
17634 PyThreadState* __tstate = wxPyBeginAllowThreads();
17635 result = (arg1)->GetStringSelection();
17636 wxPyEndAllowThreads(__tstate);
17637 if (PyErr_Occurred()) SWIG_fail;
17638 }
17639 {
17640 #if wxUSE_UNICODE
17641 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17642 #else
17643 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17644 #endif
17645 }
17646 return resultobj;
17647 fail:
17648 return NULL;
17649 }
17650
17651
17652 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17653 PyObject *resultobj = 0;
17654 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17655 int arg2 ;
17656 void *argp1 = 0 ;
17657 int res1 = 0 ;
17658 int val2 ;
17659 int ecode2 = 0 ;
17660 PyObject * obj0 = 0 ;
17661 PyObject * obj1 = 0 ;
17662 char * kwnames[] = {
17663 (char *) "self",(char *) "sel", NULL
17664 };
17665
17666 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
17667 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17668 if (!SWIG_IsOK(res1)) {
17669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17670 }
17671 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17672 ecode2 = SWIG_AsVal_int(obj1, &val2);
17673 if (!SWIG_IsOK(ecode2)) {
17674 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
17675 }
17676 arg2 = static_cast< int >(val2);
17677 {
17678 PyThreadState* __tstate = wxPyBeginAllowThreads();
17679 (arg1)->SetSelection(arg2);
17680 wxPyEndAllowThreads(__tstate);
17681 if (PyErr_Occurred()) SWIG_fail;
17682 }
17683 resultobj = SWIG_Py_Void();
17684 return resultobj;
17685 fail:
17686 return NULL;
17687 }
17688
17689
17690 SWIGINTERN PyObject *SingleChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17691 PyObject *obj;
17692 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17693 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog, SWIG_NewClientData(obj));
17694 return SWIG_Py_Void();
17695 }
17696
17697 SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17698 return SWIG_Python_InitShadowInstance(args);
17699 }
17700
17701 SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17702 PyObject *resultobj = 0;
17703 wxWindow *arg1 = (wxWindow *) 0 ;
17704 wxString *arg2 = 0 ;
17705 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
17706 wxString *arg3 = (wxString *) &arg3_defvalue ;
17707 wxString const &arg4_defvalue = wxPyEmptyString ;
17708 wxString *arg4 = (wxString *) &arg4_defvalue ;
17709 long arg5 = (long) wxTextEntryDialogStyle ;
17710 wxPoint const &arg6_defvalue = wxDefaultPosition ;
17711 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
17712 wxTextEntryDialog *result = 0 ;
17713 void *argp1 = 0 ;
17714 int res1 = 0 ;
17715 bool temp2 = false ;
17716 bool temp3 = false ;
17717 bool temp4 = false ;
17718 long val5 ;
17719 int ecode5 = 0 ;
17720 wxPoint temp6 ;
17721 PyObject * obj0 = 0 ;
17722 PyObject * obj1 = 0 ;
17723 PyObject * obj2 = 0 ;
17724 PyObject * obj3 = 0 ;
17725 PyObject * obj4 = 0 ;
17726 PyObject * obj5 = 0 ;
17727 char * kwnames[] = {
17728 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
17729 };
17730
17731 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17732 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17733 if (!SWIG_IsOK(res1)) {
17734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17735 }
17736 arg1 = reinterpret_cast< wxWindow * >(argp1);
17737 {
17738 arg2 = wxString_in_helper(obj1);
17739 if (arg2 == NULL) SWIG_fail;
17740 temp2 = true;
17741 }
17742 if (obj2) {
17743 {
17744 arg3 = wxString_in_helper(obj2);
17745 if (arg3 == NULL) SWIG_fail;
17746 temp3 = true;
17747 }
17748 }
17749 if (obj3) {
17750 {
17751 arg4 = wxString_in_helper(obj3);
17752 if (arg4 == NULL) SWIG_fail;
17753 temp4 = true;
17754 }
17755 }
17756 if (obj4) {
17757 ecode5 = SWIG_AsVal_long(obj4, &val5);
17758 if (!SWIG_IsOK(ecode5)) {
17759 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
17760 }
17761 arg5 = static_cast< long >(val5);
17762 }
17763 if (obj5) {
17764 {
17765 arg6 = &temp6;
17766 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
17767 }
17768 }
17769 {
17770 if (!wxPyCheckForApp()) SWIG_fail;
17771 PyThreadState* __tstate = wxPyBeginAllowThreads();
17772 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
17773 wxPyEndAllowThreads(__tstate);
17774 if (PyErr_Occurred()) SWIG_fail;
17775 }
17776 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
17777 {
17778 if (temp2)
17779 delete arg2;
17780 }
17781 {
17782 if (temp3)
17783 delete arg3;
17784 }
17785 {
17786 if (temp4)
17787 delete arg4;
17788 }
17789 return resultobj;
17790 fail:
17791 {
17792 if (temp2)
17793 delete arg2;
17794 }
17795 {
17796 if (temp3)
17797 delete arg3;
17798 }
17799 {
17800 if (temp4)
17801 delete arg4;
17802 }
17803 return NULL;
17804 }
17805
17806
17807 SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17808 PyObject *resultobj = 0;
17809 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
17810 wxString result;
17811 void *argp1 = 0 ;
17812 int res1 = 0 ;
17813 PyObject *swig_obj[1] ;
17814
17815 if (!args) SWIG_fail;
17816 swig_obj[0] = args;
17817 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
17818 if (!SWIG_IsOK(res1)) {
17819 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
17820 }
17821 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
17822 {
17823 PyThreadState* __tstate = wxPyBeginAllowThreads();
17824 result = (arg1)->GetValue();
17825 wxPyEndAllowThreads(__tstate);
17826 if (PyErr_Occurred()) SWIG_fail;
17827 }
17828 {
17829 #if wxUSE_UNICODE
17830 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17831 #else
17832 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17833 #endif
17834 }
17835 return resultobj;
17836 fail:
17837 return NULL;
17838 }
17839
17840
17841 SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17842 PyObject *resultobj = 0;
17843 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
17844 wxString *arg2 = 0 ;
17845 void *argp1 = 0 ;
17846 int res1 = 0 ;
17847 bool temp2 = false ;
17848 PyObject * obj0 = 0 ;
17849 PyObject * obj1 = 0 ;
17850 char * kwnames[] = {
17851 (char *) "self",(char *) "value", NULL
17852 };
17853
17854 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
17855 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
17856 if (!SWIG_IsOK(res1)) {
17857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
17858 }
17859 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
17860 {
17861 arg2 = wxString_in_helper(obj1);
17862 if (arg2 == NULL) SWIG_fail;
17863 temp2 = true;
17864 }
17865 {
17866 PyThreadState* __tstate = wxPyBeginAllowThreads();
17867 (arg1)->SetValue((wxString const &)*arg2);
17868 wxPyEndAllowThreads(__tstate);
17869 if (PyErr_Occurred()) SWIG_fail;
17870 }
17871 resultobj = SWIG_Py_Void();
17872 {
17873 if (temp2)
17874 delete arg2;
17875 }
17876 return resultobj;
17877 fail:
17878 {
17879 if (temp2)
17880 delete arg2;
17881 }
17882 return NULL;
17883 }
17884
17885
17886 SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17887 PyObject *obj;
17888 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17889 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
17890 return SWIG_Py_Void();
17891 }
17892
17893 SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17894 return SWIG_Python_InitShadowInstance(args);
17895 }
17896
17897 SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
17898 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
17899 return 1;
17900 }
17901
17902
17903 SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
17904 PyObject *pyobj = 0;
17905
17906 {
17907 #if wxUSE_UNICODE
17908 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
17909 #else
17910 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
17911 #endif
17912 }
17913 return pyobj;
17914 }
17915
17916
17917 SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17918 PyObject *resultobj = 0;
17919 wxWindow *arg1 = (wxWindow *) 0 ;
17920 wxString *arg2 = 0 ;
17921 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
17922 wxString *arg3 = (wxString *) &arg3_defvalue ;
17923 wxString const &arg4_defvalue = wxPyEmptyString ;
17924 wxString *arg4 = (wxString *) &arg4_defvalue ;
17925 long arg5 = (long) wxTextEntryDialogStyle ;
17926 wxPoint const &arg6_defvalue = wxDefaultPosition ;
17927 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
17928 wxPasswordEntryDialog *result = 0 ;
17929 void *argp1 = 0 ;
17930 int res1 = 0 ;
17931 bool temp2 = false ;
17932 bool temp3 = false ;
17933 bool temp4 = false ;
17934 long val5 ;
17935 int ecode5 = 0 ;
17936 wxPoint temp6 ;
17937 PyObject * obj0 = 0 ;
17938 PyObject * obj1 = 0 ;
17939 PyObject * obj2 = 0 ;
17940 PyObject * obj3 = 0 ;
17941 PyObject * obj4 = 0 ;
17942 PyObject * obj5 = 0 ;
17943 char * kwnames[] = {
17944 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
17945 };
17946
17947 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17948 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17949 if (!SWIG_IsOK(res1)) {
17950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17951 }
17952 arg1 = reinterpret_cast< wxWindow * >(argp1);
17953 {
17954 arg2 = wxString_in_helper(obj1);
17955 if (arg2 == NULL) SWIG_fail;
17956 temp2 = true;
17957 }
17958 if (obj2) {
17959 {
17960 arg3 = wxString_in_helper(obj2);
17961 if (arg3 == NULL) SWIG_fail;
17962 temp3 = true;
17963 }
17964 }
17965 if (obj3) {
17966 {
17967 arg4 = wxString_in_helper(obj3);
17968 if (arg4 == NULL) SWIG_fail;
17969 temp4 = true;
17970 }
17971 }
17972 if (obj4) {
17973 ecode5 = SWIG_AsVal_long(obj4, &val5);
17974 if (!SWIG_IsOK(ecode5)) {
17975 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
17976 }
17977 arg5 = static_cast< long >(val5);
17978 }
17979 if (obj5) {
17980 {
17981 arg6 = &temp6;
17982 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
17983 }
17984 }
17985 {
17986 PyThreadState* __tstate = wxPyBeginAllowThreads();
17987 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
17988 wxPyEndAllowThreads(__tstate);
17989 if (PyErr_Occurred()) SWIG_fail;
17990 }
17991 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
17992 {
17993 if (temp2)
17994 delete arg2;
17995 }
17996 {
17997 if (temp3)
17998 delete arg3;
17999 }
18000 {
18001 if (temp4)
18002 delete arg4;
18003 }
18004 return resultobj;
18005 fail:
18006 {
18007 if (temp2)
18008 delete arg2;
18009 }
18010 {
18011 if (temp3)
18012 delete arg3;
18013 }
18014 {
18015 if (temp4)
18016 delete arg4;
18017 }
18018 return NULL;
18019 }
18020
18021
18022 SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18023 PyObject *obj;
18024 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18025 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
18026 return SWIG_Py_Void();
18027 }
18028
18029 SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18030 return SWIG_Python_InitShadowInstance(args);
18031 }
18032
18033 SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18034 PyObject *resultobj = 0;
18035 wxFontData *result = 0 ;
18036
18037 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
18038 {
18039 PyThreadState* __tstate = wxPyBeginAllowThreads();
18040 result = (wxFontData *)new wxFontData();
18041 wxPyEndAllowThreads(__tstate);
18042 if (PyErr_Occurred()) SWIG_fail;
18043 }
18044 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
18045 return resultobj;
18046 fail:
18047 return NULL;
18048 }
18049
18050
18051 SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18052 PyObject *resultobj = 0;
18053 wxFontData *arg1 = (wxFontData *) 0 ;
18054 void *argp1 = 0 ;
18055 int res1 = 0 ;
18056 PyObject *swig_obj[1] ;
18057
18058 if (!args) SWIG_fail;
18059 swig_obj[0] = args;
18060 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
18061 if (!SWIG_IsOK(res1)) {
18062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18063 }
18064 arg1 = reinterpret_cast< wxFontData * >(argp1);
18065 {
18066 PyThreadState* __tstate = wxPyBeginAllowThreads();
18067 delete arg1;
18068
18069 wxPyEndAllowThreads(__tstate);
18070 if (PyErr_Occurred()) SWIG_fail;
18071 }
18072 resultobj = SWIG_Py_Void();
18073 return resultobj;
18074 fail:
18075 return NULL;
18076 }
18077
18078
18079 SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18080 PyObject *resultobj = 0;
18081 wxFontData *arg1 = (wxFontData *) 0 ;
18082 bool arg2 ;
18083 void *argp1 = 0 ;
18084 int res1 = 0 ;
18085 bool val2 ;
18086 int ecode2 = 0 ;
18087 PyObject * obj0 = 0 ;
18088 PyObject * obj1 = 0 ;
18089 char * kwnames[] = {
18090 (char *) "self",(char *) "enable", NULL
18091 };
18092
18093 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
18094 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18095 if (!SWIG_IsOK(res1)) {
18096 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18097 }
18098 arg1 = reinterpret_cast< wxFontData * >(argp1);
18099 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18100 if (!SWIG_IsOK(ecode2)) {
18101 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18102 }
18103 arg2 = static_cast< bool >(val2);
18104 {
18105 PyThreadState* __tstate = wxPyBeginAllowThreads();
18106 (arg1)->EnableEffects(arg2);
18107 wxPyEndAllowThreads(__tstate);
18108 if (PyErr_Occurred()) SWIG_fail;
18109 }
18110 resultobj = SWIG_Py_Void();
18111 return resultobj;
18112 fail:
18113 return NULL;
18114 }
18115
18116
18117 SWIGINTERN PyObject *_wrap_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18118 PyObject *resultobj = 0;
18119 wxFontData *arg1 = (wxFontData *) 0 ;
18120 bool result;
18121 void *argp1 = 0 ;
18122 int res1 = 0 ;
18123 PyObject *swig_obj[1] ;
18124
18125 if (!args) SWIG_fail;
18126 swig_obj[0] = args;
18127 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18128 if (!SWIG_IsOK(res1)) {
18129 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18130 }
18131 arg1 = reinterpret_cast< wxFontData * >(argp1);
18132 {
18133 PyThreadState* __tstate = wxPyBeginAllowThreads();
18134 result = (bool)(arg1)->GetAllowSymbols();
18135 wxPyEndAllowThreads(__tstate);
18136 if (PyErr_Occurred()) SWIG_fail;
18137 }
18138 {
18139 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18140 }
18141 return resultobj;
18142 fail:
18143 return NULL;
18144 }
18145
18146
18147 SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18148 PyObject *resultobj = 0;
18149 wxFontData *arg1 = (wxFontData *) 0 ;
18150 wxColour result;
18151 void *argp1 = 0 ;
18152 int res1 = 0 ;
18153 PyObject *swig_obj[1] ;
18154
18155 if (!args) SWIG_fail;
18156 swig_obj[0] = args;
18157 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18158 if (!SWIG_IsOK(res1)) {
18159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18160 }
18161 arg1 = reinterpret_cast< wxFontData * >(argp1);
18162 {
18163 PyThreadState* __tstate = wxPyBeginAllowThreads();
18164 result = (arg1)->GetColour();
18165 wxPyEndAllowThreads(__tstate);
18166 if (PyErr_Occurred()) SWIG_fail;
18167 }
18168 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
18169 return resultobj;
18170 fail:
18171 return NULL;
18172 }
18173
18174
18175 SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18176 PyObject *resultobj = 0;
18177 wxFontData *arg1 = (wxFontData *) 0 ;
18178 wxFont result;
18179 void *argp1 = 0 ;
18180 int res1 = 0 ;
18181 PyObject *swig_obj[1] ;
18182
18183 if (!args) SWIG_fail;
18184 swig_obj[0] = args;
18185 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18186 if (!SWIG_IsOK(res1)) {
18187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18188 }
18189 arg1 = reinterpret_cast< wxFontData * >(argp1);
18190 {
18191 PyThreadState* __tstate = wxPyBeginAllowThreads();
18192 result = (arg1)->GetChosenFont();
18193 wxPyEndAllowThreads(__tstate);
18194 if (PyErr_Occurred()) SWIG_fail;
18195 }
18196 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18197 return resultobj;
18198 fail:
18199 return NULL;
18200 }
18201
18202
18203 SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18204 PyObject *resultobj = 0;
18205 wxFontData *arg1 = (wxFontData *) 0 ;
18206 bool result;
18207 void *argp1 = 0 ;
18208 int res1 = 0 ;
18209 PyObject *swig_obj[1] ;
18210
18211 if (!args) SWIG_fail;
18212 swig_obj[0] = args;
18213 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18214 if (!SWIG_IsOK(res1)) {
18215 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18216 }
18217 arg1 = reinterpret_cast< wxFontData * >(argp1);
18218 {
18219 PyThreadState* __tstate = wxPyBeginAllowThreads();
18220 result = (bool)(arg1)->GetEnableEffects();
18221 wxPyEndAllowThreads(__tstate);
18222 if (PyErr_Occurred()) SWIG_fail;
18223 }
18224 {
18225 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18226 }
18227 return resultobj;
18228 fail:
18229 return NULL;
18230 }
18231
18232
18233 SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18234 PyObject *resultobj = 0;
18235 wxFontData *arg1 = (wxFontData *) 0 ;
18236 wxFont result;
18237 void *argp1 = 0 ;
18238 int res1 = 0 ;
18239 PyObject *swig_obj[1] ;
18240
18241 if (!args) SWIG_fail;
18242 swig_obj[0] = args;
18243 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18244 if (!SWIG_IsOK(res1)) {
18245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18246 }
18247 arg1 = reinterpret_cast< wxFontData * >(argp1);
18248 {
18249 PyThreadState* __tstate = wxPyBeginAllowThreads();
18250 result = (arg1)->GetInitialFont();
18251 wxPyEndAllowThreads(__tstate);
18252 if (PyErr_Occurred()) SWIG_fail;
18253 }
18254 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18255 return resultobj;
18256 fail:
18257 return NULL;
18258 }
18259
18260
18261 SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18262 PyObject *resultobj = 0;
18263 wxFontData *arg1 = (wxFontData *) 0 ;
18264 bool result;
18265 void *argp1 = 0 ;
18266 int res1 = 0 ;
18267 PyObject *swig_obj[1] ;
18268
18269 if (!args) SWIG_fail;
18270 swig_obj[0] = args;
18271 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18272 if (!SWIG_IsOK(res1)) {
18273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18274 }
18275 arg1 = reinterpret_cast< wxFontData * >(argp1);
18276 {
18277 PyThreadState* __tstate = wxPyBeginAllowThreads();
18278 result = (bool)(arg1)->GetShowHelp();
18279 wxPyEndAllowThreads(__tstate);
18280 if (PyErr_Occurred()) SWIG_fail;
18281 }
18282 {
18283 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18284 }
18285 return resultobj;
18286 fail:
18287 return NULL;
18288 }
18289
18290
18291 SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18292 PyObject *resultobj = 0;
18293 wxFontData *arg1 = (wxFontData *) 0 ;
18294 bool arg2 ;
18295 void *argp1 = 0 ;
18296 int res1 = 0 ;
18297 bool val2 ;
18298 int ecode2 = 0 ;
18299 PyObject * obj0 = 0 ;
18300 PyObject * obj1 = 0 ;
18301 char * kwnames[] = {
18302 (char *) "self",(char *) "allowSymbols", NULL
18303 };
18304
18305 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) SWIG_fail;
18306 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18307 if (!SWIG_IsOK(res1)) {
18308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18309 }
18310 arg1 = reinterpret_cast< wxFontData * >(argp1);
18311 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18312 if (!SWIG_IsOK(ecode2)) {
18313 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18314 }
18315 arg2 = static_cast< bool >(val2);
18316 {
18317 PyThreadState* __tstate = wxPyBeginAllowThreads();
18318 (arg1)->SetAllowSymbols(arg2);
18319 wxPyEndAllowThreads(__tstate);
18320 if (PyErr_Occurred()) SWIG_fail;
18321 }
18322 resultobj = SWIG_Py_Void();
18323 return resultobj;
18324 fail:
18325 return NULL;
18326 }
18327
18328
18329 SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18330 PyObject *resultobj = 0;
18331 wxFontData *arg1 = (wxFontData *) 0 ;
18332 wxFont *arg2 = 0 ;
18333 void *argp1 = 0 ;
18334 int res1 = 0 ;
18335 void *argp2 = 0 ;
18336 int res2 = 0 ;
18337 PyObject * obj0 = 0 ;
18338 PyObject * obj1 = 0 ;
18339 char * kwnames[] = {
18340 (char *) "self",(char *) "font", NULL
18341 };
18342
18343 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
18344 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18345 if (!SWIG_IsOK(res1)) {
18346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18347 }
18348 arg1 = reinterpret_cast< wxFontData * >(argp1);
18349 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18350 if (!SWIG_IsOK(res2)) {
18351 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18352 }
18353 if (!argp2) {
18354 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18355 }
18356 arg2 = reinterpret_cast< wxFont * >(argp2);
18357 {
18358 PyThreadState* __tstate = wxPyBeginAllowThreads();
18359 (arg1)->SetChosenFont((wxFont const &)*arg2);
18360 wxPyEndAllowThreads(__tstate);
18361 if (PyErr_Occurred()) SWIG_fail;
18362 }
18363 resultobj = SWIG_Py_Void();
18364 return resultobj;
18365 fail:
18366 return NULL;
18367 }
18368
18369
18370 SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18371 PyObject *resultobj = 0;
18372 wxFontData *arg1 = (wxFontData *) 0 ;
18373 wxColour *arg2 = 0 ;
18374 void *argp1 = 0 ;
18375 int res1 = 0 ;
18376 wxColour temp2 ;
18377 PyObject * obj0 = 0 ;
18378 PyObject * obj1 = 0 ;
18379 char * kwnames[] = {
18380 (char *) "self",(char *) "colour", NULL
18381 };
18382
18383 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
18384 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18385 if (!SWIG_IsOK(res1)) {
18386 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18387 }
18388 arg1 = reinterpret_cast< wxFontData * >(argp1);
18389 {
18390 arg2 = &temp2;
18391 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18392 }
18393 {
18394 PyThreadState* __tstate = wxPyBeginAllowThreads();
18395 (arg1)->SetColour((wxColour const &)*arg2);
18396 wxPyEndAllowThreads(__tstate);
18397 if (PyErr_Occurred()) SWIG_fail;
18398 }
18399 resultobj = SWIG_Py_Void();
18400 return resultobj;
18401 fail:
18402 return NULL;
18403 }
18404
18405
18406 SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18407 PyObject *resultobj = 0;
18408 wxFontData *arg1 = (wxFontData *) 0 ;
18409 wxFont *arg2 = 0 ;
18410 void *argp1 = 0 ;
18411 int res1 = 0 ;
18412 void *argp2 = 0 ;
18413 int res2 = 0 ;
18414 PyObject * obj0 = 0 ;
18415 PyObject * obj1 = 0 ;
18416 char * kwnames[] = {
18417 (char *) "self",(char *) "font", NULL
18418 };
18419
18420 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
18421 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18422 if (!SWIG_IsOK(res1)) {
18423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18424 }
18425 arg1 = reinterpret_cast< wxFontData * >(argp1);
18426 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18427 if (!SWIG_IsOK(res2)) {
18428 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18429 }
18430 if (!argp2) {
18431 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18432 }
18433 arg2 = reinterpret_cast< wxFont * >(argp2);
18434 {
18435 PyThreadState* __tstate = wxPyBeginAllowThreads();
18436 (arg1)->SetInitialFont((wxFont const &)*arg2);
18437 wxPyEndAllowThreads(__tstate);
18438 if (PyErr_Occurred()) SWIG_fail;
18439 }
18440 resultobj = SWIG_Py_Void();
18441 return resultobj;
18442 fail:
18443 return NULL;
18444 }
18445
18446
18447 SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18448 PyObject *resultobj = 0;
18449 wxFontData *arg1 = (wxFontData *) 0 ;
18450 int arg2 ;
18451 int arg3 ;
18452 void *argp1 = 0 ;
18453 int res1 = 0 ;
18454 int val2 ;
18455 int ecode2 = 0 ;
18456 int val3 ;
18457 int ecode3 = 0 ;
18458 PyObject * obj0 = 0 ;
18459 PyObject * obj1 = 0 ;
18460 PyObject * obj2 = 0 ;
18461 char * kwnames[] = {
18462 (char *) "self",(char *) "min",(char *) "max", NULL
18463 };
18464
18465 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18466 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18467 if (!SWIG_IsOK(res1)) {
18468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
18469 }
18470 arg1 = reinterpret_cast< wxFontData * >(argp1);
18471 ecode2 = SWIG_AsVal_int(obj1, &val2);
18472 if (!SWIG_IsOK(ecode2)) {
18473 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
18474 }
18475 arg2 = static_cast< int >(val2);
18476 ecode3 = SWIG_AsVal_int(obj2, &val3);
18477 if (!SWIG_IsOK(ecode3)) {
18478 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
18479 }
18480 arg3 = static_cast< int >(val3);
18481 {
18482 PyThreadState* __tstate = wxPyBeginAllowThreads();
18483 (arg1)->SetRange(arg2,arg3);
18484 wxPyEndAllowThreads(__tstate);
18485 if (PyErr_Occurred()) SWIG_fail;
18486 }
18487 resultobj = SWIG_Py_Void();
18488 return resultobj;
18489 fail:
18490 return NULL;
18491 }
18492
18493
18494 SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18495 PyObject *resultobj = 0;
18496 wxFontData *arg1 = (wxFontData *) 0 ;
18497 bool arg2 ;
18498 void *argp1 = 0 ;
18499 int res1 = 0 ;
18500 bool val2 ;
18501 int ecode2 = 0 ;
18502 PyObject * obj0 = 0 ;
18503 PyObject * obj1 = 0 ;
18504 char * kwnames[] = {
18505 (char *) "self",(char *) "showHelp", NULL
18506 };
18507
18508 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
18509 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18510 if (!SWIG_IsOK(res1)) {
18511 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18512 }
18513 arg1 = reinterpret_cast< wxFontData * >(argp1);
18514 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18515 if (!SWIG_IsOK(ecode2)) {
18516 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
18517 }
18518 arg2 = static_cast< bool >(val2);
18519 {
18520 PyThreadState* __tstate = wxPyBeginAllowThreads();
18521 (arg1)->SetShowHelp(arg2);
18522 wxPyEndAllowThreads(__tstate);
18523 if (PyErr_Occurred()) SWIG_fail;
18524 }
18525 resultobj = SWIG_Py_Void();
18526 return resultobj;
18527 fail:
18528 return NULL;
18529 }
18530
18531
18532 SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18533 PyObject *obj;
18534 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18535 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
18536 return SWIG_Py_Void();
18537 }
18538
18539 SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18540 return SWIG_Python_InitShadowInstance(args);
18541 }
18542
18543 SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18544 PyObject *resultobj = 0;
18545 wxWindow *arg1 = (wxWindow *) 0 ;
18546 wxFontData *arg2 = 0 ;
18547 wxFontDialog *result = 0 ;
18548 void *argp1 = 0 ;
18549 int res1 = 0 ;
18550 void *argp2 = 0 ;
18551 int res2 = 0 ;
18552 PyObject * obj0 = 0 ;
18553 PyObject * obj1 = 0 ;
18554 char * kwnames[] = {
18555 (char *) "parent",(char *) "data", NULL
18556 };
18557
18558 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
18559 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18560 if (!SWIG_IsOK(res1)) {
18561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18562 }
18563 arg1 = reinterpret_cast< wxWindow * >(argp1);
18564 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
18565 if (!SWIG_IsOK(res2)) {
18566 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18567 }
18568 if (!argp2) {
18569 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18570 }
18571 arg2 = reinterpret_cast< wxFontData * >(argp2);
18572 {
18573 if (!wxPyCheckForApp()) SWIG_fail;
18574 PyThreadState* __tstate = wxPyBeginAllowThreads();
18575 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
18576 wxPyEndAllowThreads(__tstate);
18577 if (PyErr_Occurred()) SWIG_fail;
18578 }
18579 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
18580 return resultobj;
18581 fail:
18582 return NULL;
18583 }
18584
18585
18586 SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18587 PyObject *resultobj = 0;
18588 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
18589 wxFontData *result = 0 ;
18590 void *argp1 = 0 ;
18591 int res1 = 0 ;
18592 PyObject *swig_obj[1] ;
18593
18594 if (!args) SWIG_fail;
18595 swig_obj[0] = args;
18596 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontDialog, 0 | 0 );
18597 if (!SWIG_IsOK(res1)) {
18598 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
18599 }
18600 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
18601 {
18602 PyThreadState* __tstate = wxPyBeginAllowThreads();
18603 {
18604 wxFontData &_result_ref = (arg1)->GetFontData();
18605 result = (wxFontData *) &_result_ref;
18606 }
18607 wxPyEndAllowThreads(__tstate);
18608 if (PyErr_Occurred()) SWIG_fail;
18609 }
18610 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
18611 return resultobj;
18612 fail:
18613 return NULL;
18614 }
18615
18616
18617 SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18618 PyObject *obj;
18619 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18620 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
18621 return SWIG_Py_Void();
18622 }
18623
18624 SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18625 return SWIG_Python_InitShadowInstance(args);
18626 }
18627
18628 SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18629 PyObject *resultobj = 0;
18630 wxWindow *arg1 = (wxWindow *) NULL ;
18631 wxFont const &arg2_defvalue = wxNullFont ;
18632 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
18633 wxString const &arg3_defvalue = wxPyEmptyString ;
18634 wxString *arg3 = (wxString *) &arg3_defvalue ;
18635 wxFont result;
18636 void *argp1 = 0 ;
18637 int res1 = 0 ;
18638 void *argp2 = 0 ;
18639 int res2 = 0 ;
18640 bool temp3 = false ;
18641 PyObject * obj0 = 0 ;
18642 PyObject * obj1 = 0 ;
18643 PyObject * obj2 = 0 ;
18644 char * kwnames[] = {
18645 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
18646 };
18647
18648 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18649 if (obj0) {
18650 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18651 if (!SWIG_IsOK(res1)) {
18652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
18653 }
18654 arg1 = reinterpret_cast< wxWindow * >(argp1);
18655 }
18656 if (obj1) {
18657 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18658 if (!SWIG_IsOK(res2)) {
18659 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
18660 }
18661 if (!argp2) {
18662 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
18663 }
18664 arg2 = reinterpret_cast< wxFont * >(argp2);
18665 }
18666 if (obj2) {
18667 {
18668 arg3 = wxString_in_helper(obj2);
18669 if (arg3 == NULL) SWIG_fail;
18670 temp3 = true;
18671 }
18672 }
18673 {
18674 PyThreadState* __tstate = wxPyBeginAllowThreads();
18675 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
18676 wxPyEndAllowThreads(__tstate);
18677 if (PyErr_Occurred()) SWIG_fail;
18678 }
18679 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18680 {
18681 if (temp3)
18682 delete arg3;
18683 }
18684 return resultobj;
18685 fail:
18686 {
18687 if (temp3)
18688 delete arg3;
18689 }
18690 return NULL;
18691 }
18692
18693
18694 SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18695 PyObject *resultobj = 0;
18696 wxWindow *arg1 = (wxWindow *) 0 ;
18697 wxString *arg2 = 0 ;
18698 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
18699 wxString *arg3 = (wxString *) &arg3_defvalue ;
18700 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
18701 wxPoint const &arg5_defvalue = wxDefaultPosition ;
18702 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
18703 wxMessageDialog *result = 0 ;
18704 void *argp1 = 0 ;
18705 int res1 = 0 ;
18706 bool temp2 = false ;
18707 bool temp3 = false ;
18708 long val4 ;
18709 int ecode4 = 0 ;
18710 wxPoint temp5 ;
18711 PyObject * obj0 = 0 ;
18712 PyObject * obj1 = 0 ;
18713 PyObject * obj2 = 0 ;
18714 PyObject * obj3 = 0 ;
18715 PyObject * obj4 = 0 ;
18716 char * kwnames[] = {
18717 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
18718 };
18719
18720 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
18721 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18722 if (!SWIG_IsOK(res1)) {
18723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18724 }
18725 arg1 = reinterpret_cast< wxWindow * >(argp1);
18726 {
18727 arg2 = wxString_in_helper(obj1);
18728 if (arg2 == NULL) SWIG_fail;
18729 temp2 = true;
18730 }
18731 if (obj2) {
18732 {
18733 arg3 = wxString_in_helper(obj2);
18734 if (arg3 == NULL) SWIG_fail;
18735 temp3 = true;
18736 }
18737 }
18738 if (obj3) {
18739 ecode4 = SWIG_AsVal_long(obj3, &val4);
18740 if (!SWIG_IsOK(ecode4)) {
18741 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
18742 }
18743 arg4 = static_cast< long >(val4);
18744 }
18745 if (obj4) {
18746 {
18747 arg5 = &temp5;
18748 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
18749 }
18750 }
18751 {
18752 if (!wxPyCheckForApp()) SWIG_fail;
18753 PyThreadState* __tstate = wxPyBeginAllowThreads();
18754 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
18755 wxPyEndAllowThreads(__tstate);
18756 if (PyErr_Occurred()) SWIG_fail;
18757 }
18758 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
18759 {
18760 if (temp2)
18761 delete arg2;
18762 }
18763 {
18764 if (temp3)
18765 delete arg3;
18766 }
18767 return resultobj;
18768 fail:
18769 {
18770 if (temp2)
18771 delete arg2;
18772 }
18773 {
18774 if (temp3)
18775 delete arg3;
18776 }
18777 return NULL;
18778 }
18779
18780
18781 SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18782 PyObject *obj;
18783 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18784 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
18785 return SWIG_Py_Void();
18786 }
18787
18788 SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18789 return SWIG_Python_InitShadowInstance(args);
18790 }
18791
18792 SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18793 PyObject *resultobj = 0;
18794 wxString *arg1 = 0 ;
18795 wxString *arg2 = 0 ;
18796 int arg3 = (int) 100 ;
18797 wxWindow *arg4 = (wxWindow *) NULL ;
18798 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
18799 wxProgressDialog *result = 0 ;
18800 bool temp1 = false ;
18801 bool temp2 = false ;
18802 int val3 ;
18803 int ecode3 = 0 ;
18804 void *argp4 = 0 ;
18805 int res4 = 0 ;
18806 int val5 ;
18807 int ecode5 = 0 ;
18808 PyObject * obj0 = 0 ;
18809 PyObject * obj1 = 0 ;
18810 PyObject * obj2 = 0 ;
18811 PyObject * obj3 = 0 ;
18812 PyObject * obj4 = 0 ;
18813 char * kwnames[] = {
18814 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
18815 };
18816
18817 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
18818 {
18819 arg1 = wxString_in_helper(obj0);
18820 if (arg1 == NULL) SWIG_fail;
18821 temp1 = true;
18822 }
18823 {
18824 arg2 = wxString_in_helper(obj1);
18825 if (arg2 == NULL) SWIG_fail;
18826 temp2 = true;
18827 }
18828 if (obj2) {
18829 ecode3 = SWIG_AsVal_int(obj2, &val3);
18830 if (!SWIG_IsOK(ecode3)) {
18831 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
18832 }
18833 arg3 = static_cast< int >(val3);
18834 }
18835 if (obj3) {
18836 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
18837 if (!SWIG_IsOK(res4)) {
18838 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
18839 }
18840 arg4 = reinterpret_cast< wxWindow * >(argp4);
18841 }
18842 if (obj4) {
18843 ecode5 = SWIG_AsVal_int(obj4, &val5);
18844 if (!SWIG_IsOK(ecode5)) {
18845 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
18846 }
18847 arg5 = static_cast< int >(val5);
18848 }
18849 {
18850 if (!wxPyCheckForApp()) SWIG_fail;
18851 PyThreadState* __tstate = wxPyBeginAllowThreads();
18852 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
18853 wxPyEndAllowThreads(__tstate);
18854 if (PyErr_Occurred()) SWIG_fail;
18855 }
18856 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
18857 {
18858 if (temp1)
18859 delete arg1;
18860 }
18861 {
18862 if (temp2)
18863 delete arg2;
18864 }
18865 return resultobj;
18866 fail:
18867 {
18868 if (temp1)
18869 delete arg1;
18870 }
18871 {
18872 if (temp2)
18873 delete arg2;
18874 }
18875 return NULL;
18876 }
18877
18878
18879 SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18880 PyObject *resultobj = 0;
18881 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
18882 int arg2 ;
18883 wxString const &arg3_defvalue = wxPyEmptyString ;
18884 wxString *arg3 = (wxString *) &arg3_defvalue ;
18885 bool result;
18886 void *argp1 = 0 ;
18887 int res1 = 0 ;
18888 int val2 ;
18889 int ecode2 = 0 ;
18890 bool temp3 = false ;
18891 PyObject * obj0 = 0 ;
18892 PyObject * obj1 = 0 ;
18893 PyObject * obj2 = 0 ;
18894 char * kwnames[] = {
18895 (char *) "self",(char *) "value",(char *) "newmsg", NULL
18896 };
18897
18898 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18899 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
18900 if (!SWIG_IsOK(res1)) {
18901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
18902 }
18903 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
18904 ecode2 = SWIG_AsVal_int(obj1, &val2);
18905 if (!SWIG_IsOK(ecode2)) {
18906 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
18907 }
18908 arg2 = static_cast< int >(val2);
18909 if (obj2) {
18910 {
18911 arg3 = wxString_in_helper(obj2);
18912 if (arg3 == NULL) SWIG_fail;
18913 temp3 = true;
18914 }
18915 }
18916 {
18917 PyThreadState* __tstate = wxPyBeginAllowThreads();
18918 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
18919 wxPyEndAllowThreads(__tstate);
18920 if (PyErr_Occurred()) SWIG_fail;
18921 }
18922 {
18923 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18924 }
18925 {
18926 if (temp3)
18927 delete arg3;
18928 }
18929 return resultobj;
18930 fail:
18931 {
18932 if (temp3)
18933 delete arg3;
18934 }
18935 return NULL;
18936 }
18937
18938
18939 SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18940 PyObject *resultobj = 0;
18941 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
18942 void *argp1 = 0 ;
18943 int res1 = 0 ;
18944 PyObject *swig_obj[1] ;
18945
18946 if (!args) SWIG_fail;
18947 swig_obj[0] = args;
18948 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
18949 if (!SWIG_IsOK(res1)) {
18950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
18951 }
18952 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
18953 {
18954 PyThreadState* __tstate = wxPyBeginAllowThreads();
18955 (arg1)->Resume();
18956 wxPyEndAllowThreads(__tstate);
18957 if (PyErr_Occurred()) SWIG_fail;
18958 }
18959 resultobj = SWIG_Py_Void();
18960 return resultobj;
18961 fail:
18962 return NULL;
18963 }
18964
18965
18966 SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18967 PyObject *obj;
18968 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18969 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
18970 return SWIG_Py_Void();
18971 }
18972
18973 SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18974 return SWIG_Python_InitShadowInstance(args);
18975 }
18976
18977 SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18978 PyObject *resultobj = 0;
18979 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
18980 int arg2 = (int) 0 ;
18981 wxFindDialogEvent *result = 0 ;
18982 int val1 ;
18983 int ecode1 = 0 ;
18984 int val2 ;
18985 int ecode2 = 0 ;
18986 PyObject * obj0 = 0 ;
18987 PyObject * obj1 = 0 ;
18988 char * kwnames[] = {
18989 (char *) "commandType",(char *) "id", NULL
18990 };
18991
18992 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
18993 if (obj0) {
18994 ecode1 = SWIG_AsVal_int(obj0, &val1);
18995 if (!SWIG_IsOK(ecode1)) {
18996 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
18997 }
18998 arg1 = static_cast< wxEventType >(val1);
18999 }
19000 if (obj1) {
19001 ecode2 = SWIG_AsVal_int(obj1, &val2);
19002 if (!SWIG_IsOK(ecode2)) {
19003 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19004 }
19005 arg2 = static_cast< int >(val2);
19006 }
19007 {
19008 PyThreadState* __tstate = wxPyBeginAllowThreads();
19009 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
19010 wxPyEndAllowThreads(__tstate);
19011 if (PyErr_Occurred()) SWIG_fail;
19012 }
19013 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
19014 return resultobj;
19015 fail:
19016 return NULL;
19017 }
19018
19019
19020 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19021 PyObject *resultobj = 0;
19022 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19023 int result;
19024 void *argp1 = 0 ;
19025 int res1 = 0 ;
19026 PyObject *swig_obj[1] ;
19027
19028 if (!args) SWIG_fail;
19029 swig_obj[0] = args;
19030 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19031 if (!SWIG_IsOK(res1)) {
19032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19033 }
19034 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19035 {
19036 PyThreadState* __tstate = wxPyBeginAllowThreads();
19037 result = (int)(arg1)->GetFlags();
19038 wxPyEndAllowThreads(__tstate);
19039 if (PyErr_Occurred()) SWIG_fail;
19040 }
19041 resultobj = SWIG_From_int(static_cast< int >(result));
19042 return resultobj;
19043 fail:
19044 return NULL;
19045 }
19046
19047
19048 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19049 PyObject *resultobj = 0;
19050 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19051 wxString *result = 0 ;
19052 void *argp1 = 0 ;
19053 int res1 = 0 ;
19054 PyObject *swig_obj[1] ;
19055
19056 if (!args) SWIG_fail;
19057 swig_obj[0] = args;
19058 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19059 if (!SWIG_IsOK(res1)) {
19060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19061 }
19062 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19063 {
19064 PyThreadState* __tstate = wxPyBeginAllowThreads();
19065 {
19066 wxString const &_result_ref = (arg1)->GetFindString();
19067 result = (wxString *) &_result_ref;
19068 }
19069 wxPyEndAllowThreads(__tstate);
19070 if (PyErr_Occurred()) SWIG_fail;
19071 }
19072 {
19073 #if wxUSE_UNICODE
19074 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19075 #else
19076 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19077 #endif
19078 }
19079 return resultobj;
19080 fail:
19081 return NULL;
19082 }
19083
19084
19085 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19086 PyObject *resultobj = 0;
19087 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19088 wxString *result = 0 ;
19089 void *argp1 = 0 ;
19090 int res1 = 0 ;
19091 PyObject *swig_obj[1] ;
19092
19093 if (!args) SWIG_fail;
19094 swig_obj[0] = args;
19095 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19096 if (!SWIG_IsOK(res1)) {
19097 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19098 }
19099 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19100 {
19101 PyThreadState* __tstate = wxPyBeginAllowThreads();
19102 {
19103 wxString const &_result_ref = (arg1)->GetReplaceString();
19104 result = (wxString *) &_result_ref;
19105 }
19106 wxPyEndAllowThreads(__tstate);
19107 if (PyErr_Occurred()) SWIG_fail;
19108 }
19109 {
19110 #if wxUSE_UNICODE
19111 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19112 #else
19113 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19114 #endif
19115 }
19116 return resultobj;
19117 fail:
19118 return NULL;
19119 }
19120
19121
19122 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19123 PyObject *resultobj = 0;
19124 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19125 wxFindReplaceDialog *result = 0 ;
19126 void *argp1 = 0 ;
19127 int res1 = 0 ;
19128 PyObject *swig_obj[1] ;
19129
19130 if (!args) SWIG_fail;
19131 swig_obj[0] = args;
19132 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19133 if (!SWIG_IsOK(res1)) {
19134 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19135 }
19136 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19137 {
19138 PyThreadState* __tstate = wxPyBeginAllowThreads();
19139 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
19140 wxPyEndAllowThreads(__tstate);
19141 if (PyErr_Occurred()) SWIG_fail;
19142 }
19143 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19144 return resultobj;
19145 fail:
19146 return NULL;
19147 }
19148
19149
19150 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19151 PyObject *resultobj = 0;
19152 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19153 int arg2 ;
19154 void *argp1 = 0 ;
19155 int res1 = 0 ;
19156 int val2 ;
19157 int ecode2 = 0 ;
19158 PyObject * obj0 = 0 ;
19159 PyObject * obj1 = 0 ;
19160 char * kwnames[] = {
19161 (char *) "self",(char *) "flags", NULL
19162 };
19163
19164 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19165 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19166 if (!SWIG_IsOK(res1)) {
19167 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19168 }
19169 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19170 ecode2 = SWIG_AsVal_int(obj1, &val2);
19171 if (!SWIG_IsOK(ecode2)) {
19172 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19173 }
19174 arg2 = static_cast< int >(val2);
19175 {
19176 PyThreadState* __tstate = wxPyBeginAllowThreads();
19177 (arg1)->SetFlags(arg2);
19178 wxPyEndAllowThreads(__tstate);
19179 if (PyErr_Occurred()) SWIG_fail;
19180 }
19181 resultobj = SWIG_Py_Void();
19182 return resultobj;
19183 fail:
19184 return NULL;
19185 }
19186
19187
19188 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19189 PyObject *resultobj = 0;
19190 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19191 wxString *arg2 = 0 ;
19192 void *argp1 = 0 ;
19193 int res1 = 0 ;
19194 bool temp2 = false ;
19195 PyObject * obj0 = 0 ;
19196 PyObject * obj1 = 0 ;
19197 char * kwnames[] = {
19198 (char *) "self",(char *) "str", NULL
19199 };
19200
19201 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19202 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19203 if (!SWIG_IsOK(res1)) {
19204 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19205 }
19206 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19207 {
19208 arg2 = wxString_in_helper(obj1);
19209 if (arg2 == NULL) SWIG_fail;
19210 temp2 = true;
19211 }
19212 {
19213 PyThreadState* __tstate = wxPyBeginAllowThreads();
19214 (arg1)->SetFindString((wxString const &)*arg2);
19215 wxPyEndAllowThreads(__tstate);
19216 if (PyErr_Occurred()) SWIG_fail;
19217 }
19218 resultobj = SWIG_Py_Void();
19219 {
19220 if (temp2)
19221 delete arg2;
19222 }
19223 return resultobj;
19224 fail:
19225 {
19226 if (temp2)
19227 delete arg2;
19228 }
19229 return NULL;
19230 }
19231
19232
19233 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19234 PyObject *resultobj = 0;
19235 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19236 wxString *arg2 = 0 ;
19237 void *argp1 = 0 ;
19238 int res1 = 0 ;
19239 bool temp2 = false ;
19240 PyObject * obj0 = 0 ;
19241 PyObject * obj1 = 0 ;
19242 char * kwnames[] = {
19243 (char *) "self",(char *) "str", NULL
19244 };
19245
19246 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
19247 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19248 if (!SWIG_IsOK(res1)) {
19249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19250 }
19251 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19252 {
19253 arg2 = wxString_in_helper(obj1);
19254 if (arg2 == NULL) SWIG_fail;
19255 temp2 = true;
19256 }
19257 {
19258 PyThreadState* __tstate = wxPyBeginAllowThreads();
19259 (arg1)->SetReplaceString((wxString const &)*arg2);
19260 wxPyEndAllowThreads(__tstate);
19261 if (PyErr_Occurred()) SWIG_fail;
19262 }
19263 resultobj = SWIG_Py_Void();
19264 {
19265 if (temp2)
19266 delete arg2;
19267 }
19268 return resultobj;
19269 fail:
19270 {
19271 if (temp2)
19272 delete arg2;
19273 }
19274 return NULL;
19275 }
19276
19277
19278 SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19279 PyObject *obj;
19280 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19281 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
19282 return SWIG_Py_Void();
19283 }
19284
19285 SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19286 return SWIG_Python_InitShadowInstance(args);
19287 }
19288
19289 SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19290 PyObject *resultobj = 0;
19291 int arg1 = (int) 0 ;
19292 wxFindReplaceData *result = 0 ;
19293 int val1 ;
19294 int ecode1 = 0 ;
19295 PyObject * obj0 = 0 ;
19296 char * kwnames[] = {
19297 (char *) "flags", NULL
19298 };
19299
19300 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
19301 if (obj0) {
19302 ecode1 = SWIG_AsVal_int(obj0, &val1);
19303 if (!SWIG_IsOK(ecode1)) {
19304 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
19305 }
19306 arg1 = static_cast< int >(val1);
19307 }
19308 {
19309 PyThreadState* __tstate = wxPyBeginAllowThreads();
19310 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
19311 wxPyEndAllowThreads(__tstate);
19312 if (PyErr_Occurred()) SWIG_fail;
19313 }
19314 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
19315 return resultobj;
19316 fail:
19317 return NULL;
19318 }
19319
19320
19321 SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19322 PyObject *resultobj = 0;
19323 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19324 void *argp1 = 0 ;
19325 int res1 = 0 ;
19326 PyObject *swig_obj[1] ;
19327
19328 if (!args) SWIG_fail;
19329 swig_obj[0] = args;
19330 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
19331 if (!SWIG_IsOK(res1)) {
19332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19333 }
19334 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19335 {
19336 PyThreadState* __tstate = wxPyBeginAllowThreads();
19337 delete arg1;
19338
19339 wxPyEndAllowThreads(__tstate);
19340 if (PyErr_Occurred()) SWIG_fail;
19341 }
19342 resultobj = SWIG_Py_Void();
19343 return resultobj;
19344 fail:
19345 return NULL;
19346 }
19347
19348
19349 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19350 PyObject *resultobj = 0;
19351 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19352 wxString *result = 0 ;
19353 void *argp1 = 0 ;
19354 int res1 = 0 ;
19355 PyObject *swig_obj[1] ;
19356
19357 if (!args) SWIG_fail;
19358 swig_obj[0] = args;
19359 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19360 if (!SWIG_IsOK(res1)) {
19361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19362 }
19363 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19364 {
19365 PyThreadState* __tstate = wxPyBeginAllowThreads();
19366 {
19367 wxString const &_result_ref = (arg1)->GetFindString();
19368 result = (wxString *) &_result_ref;
19369 }
19370 wxPyEndAllowThreads(__tstate);
19371 if (PyErr_Occurred()) SWIG_fail;
19372 }
19373 {
19374 #if wxUSE_UNICODE
19375 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19376 #else
19377 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19378 #endif
19379 }
19380 return resultobj;
19381 fail:
19382 return NULL;
19383 }
19384
19385
19386 SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19387 PyObject *resultobj = 0;
19388 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19389 wxString *result = 0 ;
19390 void *argp1 = 0 ;
19391 int res1 = 0 ;
19392 PyObject *swig_obj[1] ;
19393
19394 if (!args) SWIG_fail;
19395 swig_obj[0] = args;
19396 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19397 if (!SWIG_IsOK(res1)) {
19398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19399 }
19400 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19401 {
19402 PyThreadState* __tstate = wxPyBeginAllowThreads();
19403 {
19404 wxString const &_result_ref = (arg1)->GetReplaceString();
19405 result = (wxString *) &_result_ref;
19406 }
19407 wxPyEndAllowThreads(__tstate);
19408 if (PyErr_Occurred()) SWIG_fail;
19409 }
19410 {
19411 #if wxUSE_UNICODE
19412 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19413 #else
19414 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19415 #endif
19416 }
19417 return resultobj;
19418 fail:
19419 return NULL;
19420 }
19421
19422
19423 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19424 PyObject *resultobj = 0;
19425 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19426 int result;
19427 void *argp1 = 0 ;
19428 int res1 = 0 ;
19429 PyObject *swig_obj[1] ;
19430
19431 if (!args) SWIG_fail;
19432 swig_obj[0] = args;
19433 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19434 if (!SWIG_IsOK(res1)) {
19435 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19436 }
19437 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19438 {
19439 PyThreadState* __tstate = wxPyBeginAllowThreads();
19440 result = (int)(arg1)->GetFlags();
19441 wxPyEndAllowThreads(__tstate);
19442 if (PyErr_Occurred()) SWIG_fail;
19443 }
19444 resultobj = SWIG_From_int(static_cast< int >(result));
19445 return resultobj;
19446 fail:
19447 return NULL;
19448 }
19449
19450
19451 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19452 PyObject *resultobj = 0;
19453 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19454 int arg2 ;
19455 void *argp1 = 0 ;
19456 int res1 = 0 ;
19457 int val2 ;
19458 int ecode2 = 0 ;
19459 PyObject * obj0 = 0 ;
19460 PyObject * obj1 = 0 ;
19461 char * kwnames[] = {
19462 (char *) "self",(char *) "flags", NULL
19463 };
19464
19465 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19466 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19467 if (!SWIG_IsOK(res1)) {
19468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19469 }
19470 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19471 ecode2 = SWIG_AsVal_int(obj1, &val2);
19472 if (!SWIG_IsOK(ecode2)) {
19473 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
19474 }
19475 arg2 = static_cast< int >(val2);
19476 {
19477 PyThreadState* __tstate = wxPyBeginAllowThreads();
19478 (arg1)->SetFlags(arg2);
19479 wxPyEndAllowThreads(__tstate);
19480 if (PyErr_Occurred()) SWIG_fail;
19481 }
19482 resultobj = SWIG_Py_Void();
19483 return resultobj;
19484 fail:
19485 return NULL;
19486 }
19487
19488
19489 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19490 PyObject *resultobj = 0;
19491 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19492 wxString *arg2 = 0 ;
19493 void *argp1 = 0 ;
19494 int res1 = 0 ;
19495 bool temp2 = false ;
19496 PyObject * obj0 = 0 ;
19497 PyObject * obj1 = 0 ;
19498 char * kwnames[] = {
19499 (char *) "self",(char *) "str", NULL
19500 };
19501
19502 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19503 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19504 if (!SWIG_IsOK(res1)) {
19505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19506 }
19507 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19508 {
19509 arg2 = wxString_in_helper(obj1);
19510 if (arg2 == NULL) SWIG_fail;
19511 temp2 = true;
19512 }
19513 {
19514 PyThreadState* __tstate = wxPyBeginAllowThreads();
19515 (arg1)->SetFindString((wxString const &)*arg2);
19516 wxPyEndAllowThreads(__tstate);
19517 if (PyErr_Occurred()) SWIG_fail;
19518 }
19519 resultobj = SWIG_Py_Void();
19520 {
19521 if (temp2)
19522 delete arg2;
19523 }
19524 return resultobj;
19525 fail:
19526 {
19527 if (temp2)
19528 delete arg2;
19529 }
19530 return NULL;
19531 }
19532
19533
19534 SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19535 PyObject *resultobj = 0;
19536 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19537 wxString *arg2 = 0 ;
19538 void *argp1 = 0 ;
19539 int res1 = 0 ;
19540 bool temp2 = false ;
19541 PyObject * obj0 = 0 ;
19542 PyObject * obj1 = 0 ;
19543 char * kwnames[] = {
19544 (char *) "self",(char *) "str", NULL
19545 };
19546
19547 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
19548 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19549 if (!SWIG_IsOK(res1)) {
19550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19551 }
19552 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19553 {
19554 arg2 = wxString_in_helper(obj1);
19555 if (arg2 == NULL) SWIG_fail;
19556 temp2 = true;
19557 }
19558 {
19559 PyThreadState* __tstate = wxPyBeginAllowThreads();
19560 (arg1)->SetReplaceString((wxString const &)*arg2);
19561 wxPyEndAllowThreads(__tstate);
19562 if (PyErr_Occurred()) SWIG_fail;
19563 }
19564 resultobj = SWIG_Py_Void();
19565 {
19566 if (temp2)
19567 delete arg2;
19568 }
19569 return resultobj;
19570 fail:
19571 {
19572 if (temp2)
19573 delete arg2;
19574 }
19575 return NULL;
19576 }
19577
19578
19579 SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19580 PyObject *obj;
19581 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19582 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
19583 return SWIG_Py_Void();
19584 }
19585
19586 SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19587 return SWIG_Python_InitShadowInstance(args);
19588 }
19589
19590 SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19591 PyObject *resultobj = 0;
19592 wxWindow *arg1 = (wxWindow *) 0 ;
19593 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
19594 wxString *arg3 = 0 ;
19595 int arg4 = (int) 0 ;
19596 wxFindReplaceDialog *result = 0 ;
19597 void *argp1 = 0 ;
19598 int res1 = 0 ;
19599 void *argp2 = 0 ;
19600 int res2 = 0 ;
19601 bool temp3 = false ;
19602 int val4 ;
19603 int ecode4 = 0 ;
19604 PyObject * obj0 = 0 ;
19605 PyObject * obj1 = 0 ;
19606 PyObject * obj2 = 0 ;
19607 PyObject * obj3 = 0 ;
19608 char * kwnames[] = {
19609 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
19610 };
19611
19612 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
19613 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19614 if (!SWIG_IsOK(res1)) {
19615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19616 }
19617 arg1 = reinterpret_cast< wxWindow * >(argp1);
19618 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19619 if (!SWIG_IsOK(res2)) {
19620 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
19621 }
19622 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
19623 {
19624 arg3 = wxString_in_helper(obj2);
19625 if (arg3 == NULL) SWIG_fail;
19626 temp3 = true;
19627 }
19628 if (obj3) {
19629 ecode4 = SWIG_AsVal_int(obj3, &val4);
19630 if (!SWIG_IsOK(ecode4)) {
19631 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
19632 }
19633 arg4 = static_cast< int >(val4);
19634 }
19635 {
19636 if (!wxPyCheckForApp()) SWIG_fail;
19637 PyThreadState* __tstate = wxPyBeginAllowThreads();
19638 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
19639 wxPyEndAllowThreads(__tstate);
19640 if (PyErr_Occurred()) SWIG_fail;
19641 }
19642 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
19643 {
19644 if (temp3)
19645 delete arg3;
19646 }
19647 return resultobj;
19648 fail:
19649 {
19650 if (temp3)
19651 delete arg3;
19652 }
19653 return NULL;
19654 }
19655
19656
19657 SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19658 PyObject *resultobj = 0;
19659 wxFindReplaceDialog *result = 0 ;
19660
19661 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
19662 {
19663 if (!wxPyCheckForApp()) SWIG_fail;
19664 PyThreadState* __tstate = wxPyBeginAllowThreads();
19665 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
19666 wxPyEndAllowThreads(__tstate);
19667 if (PyErr_Occurred()) SWIG_fail;
19668 }
19669 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
19670 return resultobj;
19671 fail:
19672 return NULL;
19673 }
19674
19675
19676 SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19677 PyObject *resultobj = 0;
19678 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
19679 wxWindow *arg2 = (wxWindow *) 0 ;
19680 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
19681 wxString *arg4 = 0 ;
19682 int arg5 = (int) 0 ;
19683 bool result;
19684 void *argp1 = 0 ;
19685 int res1 = 0 ;
19686 void *argp2 = 0 ;
19687 int res2 = 0 ;
19688 void *argp3 = 0 ;
19689 int res3 = 0 ;
19690 bool temp4 = false ;
19691 int val5 ;
19692 int ecode5 = 0 ;
19693 PyObject * obj0 = 0 ;
19694 PyObject * obj1 = 0 ;
19695 PyObject * obj2 = 0 ;
19696 PyObject * obj3 = 0 ;
19697 PyObject * obj4 = 0 ;
19698 char * kwnames[] = {
19699 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
19700 };
19701
19702 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19703 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19704 if (!SWIG_IsOK(res1)) {
19705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
19706 }
19707 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
19708 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
19709 if (!SWIG_IsOK(res2)) {
19710 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
19711 }
19712 arg2 = reinterpret_cast< wxWindow * >(argp2);
19713 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19714 if (!SWIG_IsOK(res3)) {
19715 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
19716 }
19717 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
19718 {
19719 arg4 = wxString_in_helper(obj3);
19720 if (arg4 == NULL) SWIG_fail;
19721 temp4 = true;
19722 }
19723 if (obj4) {
19724 ecode5 = SWIG_AsVal_int(obj4, &val5);
19725 if (!SWIG_IsOK(ecode5)) {
19726 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
19727 }
19728 arg5 = static_cast< int >(val5);
19729 }
19730 {
19731 PyThreadState* __tstate = wxPyBeginAllowThreads();
19732 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
19733 wxPyEndAllowThreads(__tstate);
19734 if (PyErr_Occurred()) SWIG_fail;
19735 }
19736 {
19737 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19738 }
19739 {
19740 if (temp4)
19741 delete arg4;
19742 }
19743 return resultobj;
19744 fail:
19745 {
19746 if (temp4)
19747 delete arg4;
19748 }
19749 return NULL;
19750 }
19751
19752
19753 SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19754 PyObject *resultobj = 0;
19755 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
19756 wxFindReplaceData *result = 0 ;
19757 void *argp1 = 0 ;
19758 int res1 = 0 ;
19759 PyObject *swig_obj[1] ;
19760
19761 if (!args) SWIG_fail;
19762 swig_obj[0] = args;
19763 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19764 if (!SWIG_IsOK(res1)) {
19765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
19766 }
19767 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
19768 {
19769 PyThreadState* __tstate = wxPyBeginAllowThreads();
19770 result = (wxFindReplaceData *)(arg1)->GetData();
19771 wxPyEndAllowThreads(__tstate);
19772 if (PyErr_Occurred()) SWIG_fail;
19773 }
19774 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19775 return resultobj;
19776 fail:
19777 return NULL;
19778 }
19779
19780
19781 SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19782 PyObject *resultobj = 0;
19783 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
19784 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
19785 void *argp1 = 0 ;
19786 int res1 = 0 ;
19787 void *argp2 = 0 ;
19788 int res2 = 0 ;
19789 PyObject * obj0 = 0 ;
19790 PyObject * obj1 = 0 ;
19791 char * kwnames[] = {
19792 (char *) "self",(char *) "data", NULL
19793 };
19794
19795 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
19796 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19797 if (!SWIG_IsOK(res1)) {
19798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
19799 }
19800 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
19801 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19802 if (!SWIG_IsOK(res2)) {
19803 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
19804 }
19805 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
19806 {
19807 PyThreadState* __tstate = wxPyBeginAllowThreads();
19808 (arg1)->SetData(arg2);
19809 wxPyEndAllowThreads(__tstate);
19810 if (PyErr_Occurred()) SWIG_fail;
19811 }
19812 resultobj = SWIG_Py_Void();
19813 return resultobj;
19814 fail:
19815 return NULL;
19816 }
19817
19818
19819 SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19820 PyObject *obj;
19821 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19822 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
19823 return SWIG_Py_Void();
19824 }
19825
19826 SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19827 return SWIG_Python_InitShadowInstance(args);
19828 }
19829
19830 SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19831 PyObject *resultobj = 0;
19832 wxWindow *arg1 = (wxWindow *) 0 ;
19833 int arg2 = (int) (int)-1 ;
19834 wxString const &arg3_defvalue = wxPyEmptyString ;
19835 wxString *arg3 = (wxString *) &arg3_defvalue ;
19836 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19837 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19838 wxSize const &arg5_defvalue = wxDefaultSize ;
19839 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19840 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
19841 wxString const &arg7_defvalue = wxPyFrameNameStr ;
19842 wxString *arg7 = (wxString *) &arg7_defvalue ;
19843 wxMDIParentFrame *result = 0 ;
19844 void *argp1 = 0 ;
19845 int res1 = 0 ;
19846 int val2 ;
19847 int ecode2 = 0 ;
19848 bool temp3 = false ;
19849 wxPoint temp4 ;
19850 wxSize temp5 ;
19851 long val6 ;
19852 int ecode6 = 0 ;
19853 bool temp7 = false ;
19854 PyObject * obj0 = 0 ;
19855 PyObject * obj1 = 0 ;
19856 PyObject * obj2 = 0 ;
19857 PyObject * obj3 = 0 ;
19858 PyObject * obj4 = 0 ;
19859 PyObject * obj5 = 0 ;
19860 PyObject * obj6 = 0 ;
19861 char * kwnames[] = {
19862 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19863 };
19864
19865 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
19866 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19867 if (!SWIG_IsOK(res1)) {
19868 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
19869 }
19870 arg1 = reinterpret_cast< wxWindow * >(argp1);
19871 if (obj1) {
19872 ecode2 = SWIG_AsVal_int(obj1, &val2);
19873 if (!SWIG_IsOK(ecode2)) {
19874 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
19875 }
19876 arg2 = static_cast< int >(val2);
19877 }
19878 if (obj2) {
19879 {
19880 arg3 = wxString_in_helper(obj2);
19881 if (arg3 == NULL) SWIG_fail;
19882 temp3 = true;
19883 }
19884 }
19885 if (obj3) {
19886 {
19887 arg4 = &temp4;
19888 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19889 }
19890 }
19891 if (obj4) {
19892 {
19893 arg5 = &temp5;
19894 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19895 }
19896 }
19897 if (obj5) {
19898 ecode6 = SWIG_AsVal_long(obj5, &val6);
19899 if (!SWIG_IsOK(ecode6)) {
19900 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
19901 }
19902 arg6 = static_cast< long >(val6);
19903 }
19904 if (obj6) {
19905 {
19906 arg7 = wxString_in_helper(obj6);
19907 if (arg7 == NULL) SWIG_fail;
19908 temp7 = true;
19909 }
19910 }
19911 {
19912 if (!wxPyCheckForApp()) SWIG_fail;
19913 PyThreadState* __tstate = wxPyBeginAllowThreads();
19914 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
19915 wxPyEndAllowThreads(__tstate);
19916 if (PyErr_Occurred()) SWIG_fail;
19917 }
19918 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
19919 {
19920 if (temp3)
19921 delete arg3;
19922 }
19923 {
19924 if (temp7)
19925 delete arg7;
19926 }
19927 return resultobj;
19928 fail:
19929 {
19930 if (temp3)
19931 delete arg3;
19932 }
19933 {
19934 if (temp7)
19935 delete arg7;
19936 }
19937 return NULL;
19938 }
19939
19940
19941 SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19942 PyObject *resultobj = 0;
19943 wxMDIParentFrame *result = 0 ;
19944
19945 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
19946 {
19947 if (!wxPyCheckForApp()) SWIG_fail;
19948 PyThreadState* __tstate = wxPyBeginAllowThreads();
19949 result = (wxMDIParentFrame *)new wxMDIParentFrame();
19950 wxPyEndAllowThreads(__tstate);
19951 if (PyErr_Occurred()) SWIG_fail;
19952 }
19953 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
19954 return resultobj;
19955 fail:
19956 return NULL;
19957 }
19958
19959
19960 SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19961 PyObject *resultobj = 0;
19962 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
19963 wxWindow *arg2 = (wxWindow *) 0 ;
19964 int arg3 = (int) (int)-1 ;
19965 wxString const &arg4_defvalue = wxPyEmptyString ;
19966 wxString *arg4 = (wxString *) &arg4_defvalue ;
19967 wxPoint const &arg5_defvalue = wxDefaultPosition ;
19968 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
19969 wxSize const &arg6_defvalue = wxDefaultSize ;
19970 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
19971 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
19972 wxString const &arg8_defvalue = wxPyFrameNameStr ;
19973 wxString *arg8 = (wxString *) &arg8_defvalue ;
19974 bool result;
19975 void *argp1 = 0 ;
19976 int res1 = 0 ;
19977 void *argp2 = 0 ;
19978 int res2 = 0 ;
19979 int val3 ;
19980 int ecode3 = 0 ;
19981 bool temp4 = false ;
19982 wxPoint temp5 ;
19983 wxSize temp6 ;
19984 long val7 ;
19985 int ecode7 = 0 ;
19986 bool temp8 = false ;
19987 PyObject * obj0 = 0 ;
19988 PyObject * obj1 = 0 ;
19989 PyObject * obj2 = 0 ;
19990 PyObject * obj3 = 0 ;
19991 PyObject * obj4 = 0 ;
19992 PyObject * obj5 = 0 ;
19993 PyObject * obj6 = 0 ;
19994 PyObject * obj7 = 0 ;
19995 char * kwnames[] = {
19996 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19997 };
19998
19999 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20000 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20001 if (!SWIG_IsOK(res1)) {
20002 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20003 }
20004 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20005 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20006 if (!SWIG_IsOK(res2)) {
20007 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20008 }
20009 arg2 = reinterpret_cast< wxWindow * >(argp2);
20010 if (obj2) {
20011 ecode3 = SWIG_AsVal_int(obj2, &val3);
20012 if (!SWIG_IsOK(ecode3)) {
20013 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20014 }
20015 arg3 = static_cast< int >(val3);
20016 }
20017 if (obj3) {
20018 {
20019 arg4 = wxString_in_helper(obj3);
20020 if (arg4 == NULL) SWIG_fail;
20021 temp4 = true;
20022 }
20023 }
20024 if (obj4) {
20025 {
20026 arg5 = &temp5;
20027 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
20028 }
20029 }
20030 if (obj5) {
20031 {
20032 arg6 = &temp6;
20033 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
20034 }
20035 }
20036 if (obj6) {
20037 ecode7 = SWIG_AsVal_long(obj6, &val7);
20038 if (!SWIG_IsOK(ecode7)) {
20039 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20040 }
20041 arg7 = static_cast< long >(val7);
20042 }
20043 if (obj7) {
20044 {
20045 arg8 = wxString_in_helper(obj7);
20046 if (arg8 == NULL) SWIG_fail;
20047 temp8 = true;
20048 }
20049 }
20050 {
20051 PyThreadState* __tstate = wxPyBeginAllowThreads();
20052 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20053 wxPyEndAllowThreads(__tstate);
20054 if (PyErr_Occurred()) SWIG_fail;
20055 }
20056 {
20057 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20058 }
20059 {
20060 if (temp4)
20061 delete arg4;
20062 }
20063 {
20064 if (temp8)
20065 delete arg8;
20066 }
20067 return resultobj;
20068 fail:
20069 {
20070 if (temp4)
20071 delete arg4;
20072 }
20073 {
20074 if (temp8)
20075 delete arg8;
20076 }
20077 return NULL;
20078 }
20079
20080
20081 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20082 PyObject *resultobj = 0;
20083 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20084 void *argp1 = 0 ;
20085 int res1 = 0 ;
20086 PyObject *swig_obj[1] ;
20087
20088 if (!args) SWIG_fail;
20089 swig_obj[0] = args;
20090 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20091 if (!SWIG_IsOK(res1)) {
20092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20093 }
20094 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20095 {
20096 PyThreadState* __tstate = wxPyBeginAllowThreads();
20097 (arg1)->ActivateNext();
20098 wxPyEndAllowThreads(__tstate);
20099 if (PyErr_Occurred()) SWIG_fail;
20100 }
20101 resultobj = SWIG_Py_Void();
20102 return resultobj;
20103 fail:
20104 return NULL;
20105 }
20106
20107
20108 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20109 PyObject *resultobj = 0;
20110 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20111 void *argp1 = 0 ;
20112 int res1 = 0 ;
20113 PyObject *swig_obj[1] ;
20114
20115 if (!args) SWIG_fail;
20116 swig_obj[0] = args;
20117 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20118 if (!SWIG_IsOK(res1)) {
20119 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20120 }
20121 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20122 {
20123 PyThreadState* __tstate = wxPyBeginAllowThreads();
20124 (arg1)->ActivatePrevious();
20125 wxPyEndAllowThreads(__tstate);
20126 if (PyErr_Occurred()) SWIG_fail;
20127 }
20128 resultobj = SWIG_Py_Void();
20129 return resultobj;
20130 fail:
20131 return NULL;
20132 }
20133
20134
20135 SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20136 PyObject *resultobj = 0;
20137 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20138 void *argp1 = 0 ;
20139 int res1 = 0 ;
20140 PyObject *swig_obj[1] ;
20141
20142 if (!args) SWIG_fail;
20143 swig_obj[0] = args;
20144 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20145 if (!SWIG_IsOK(res1)) {
20146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20147 }
20148 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20149 {
20150 PyThreadState* __tstate = wxPyBeginAllowThreads();
20151 (arg1)->ArrangeIcons();
20152 wxPyEndAllowThreads(__tstate);
20153 if (PyErr_Occurred()) SWIG_fail;
20154 }
20155 resultobj = SWIG_Py_Void();
20156 return resultobj;
20157 fail:
20158 return NULL;
20159 }
20160
20161
20162 SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20163 PyObject *resultobj = 0;
20164 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20165 void *argp1 = 0 ;
20166 int res1 = 0 ;
20167 PyObject *swig_obj[1] ;
20168
20169 if (!args) SWIG_fail;
20170 swig_obj[0] = args;
20171 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20172 if (!SWIG_IsOK(res1)) {
20173 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20174 }
20175 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20176 {
20177 PyThreadState* __tstate = wxPyBeginAllowThreads();
20178 (arg1)->Cascade();
20179 wxPyEndAllowThreads(__tstate);
20180 if (PyErr_Occurred()) SWIG_fail;
20181 }
20182 resultobj = SWIG_Py_Void();
20183 return resultobj;
20184 fail:
20185 return NULL;
20186 }
20187
20188
20189 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20190 PyObject *resultobj = 0;
20191 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20192 wxMDIChildFrame *result = 0 ;
20193 void *argp1 = 0 ;
20194 int res1 = 0 ;
20195 PyObject *swig_obj[1] ;
20196
20197 if (!args) SWIG_fail;
20198 swig_obj[0] = args;
20199 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20200 if (!SWIG_IsOK(res1)) {
20201 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20202 }
20203 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20204 {
20205 PyThreadState* __tstate = wxPyBeginAllowThreads();
20206 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
20207 wxPyEndAllowThreads(__tstate);
20208 if (PyErr_Occurred()) SWIG_fail;
20209 }
20210 {
20211 resultobj = wxPyMake_wxObject(result, (bool)0);
20212 }
20213 return resultobj;
20214 fail:
20215 return NULL;
20216 }
20217
20218
20219 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20220 PyObject *resultobj = 0;
20221 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20222 wxMDIClientWindow *result = 0 ;
20223 void *argp1 = 0 ;
20224 int res1 = 0 ;
20225 PyObject *swig_obj[1] ;
20226
20227 if (!args) SWIG_fail;
20228 swig_obj[0] = args;
20229 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20230 if (!SWIG_IsOK(res1)) {
20231 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20232 }
20233 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20234 {
20235 PyThreadState* __tstate = wxPyBeginAllowThreads();
20236 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
20237 wxPyEndAllowThreads(__tstate);
20238 if (PyErr_Occurred()) SWIG_fail;
20239 }
20240 {
20241 resultobj = wxPyMake_wxObject(result, (bool)0);
20242 }
20243 return resultobj;
20244 fail:
20245 return NULL;
20246 }
20247
20248
20249 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20250 PyObject *resultobj = 0;
20251 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20252 wxWindow *result = 0 ;
20253 void *argp1 = 0 ;
20254 int res1 = 0 ;
20255 PyObject *swig_obj[1] ;
20256
20257 if (!args) SWIG_fail;
20258 swig_obj[0] = args;
20259 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20260 if (!SWIG_IsOK(res1)) {
20261 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20262 }
20263 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20264 {
20265 PyThreadState* __tstate = wxPyBeginAllowThreads();
20266 result = (wxWindow *)(arg1)->GetToolBar();
20267 wxPyEndAllowThreads(__tstate);
20268 if (PyErr_Occurred()) SWIG_fail;
20269 }
20270 {
20271 resultobj = wxPyMake_wxObject(result, 0);
20272 }
20273 return resultobj;
20274 fail:
20275 return NULL;
20276 }
20277
20278
20279 SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20280 PyObject *resultobj = 0;
20281 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20282 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
20283 void *argp1 = 0 ;
20284 int res1 = 0 ;
20285 int val2 ;
20286 int ecode2 = 0 ;
20287 PyObject * obj0 = 0 ;
20288 PyObject * obj1 = 0 ;
20289 char * kwnames[] = {
20290 (char *) "self",(char *) "orient", NULL
20291 };
20292
20293 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
20294 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20295 if (!SWIG_IsOK(res1)) {
20296 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20297 }
20298 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20299 if (obj1) {
20300 ecode2 = SWIG_AsVal_int(obj1, &val2);
20301 if (!SWIG_IsOK(ecode2)) {
20302 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20303 }
20304 arg2 = static_cast< wxOrientation >(val2);
20305 }
20306 {
20307 PyThreadState* __tstate = wxPyBeginAllowThreads();
20308 (arg1)->Tile(arg2);
20309 wxPyEndAllowThreads(__tstate);
20310 if (PyErr_Occurred()) SWIG_fail;
20311 }
20312 resultobj = SWIG_Py_Void();
20313 return resultobj;
20314 fail:
20315 return NULL;
20316 }
20317
20318
20319 SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20320 PyObject *obj;
20321 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20322 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
20323 return SWIG_Py_Void();
20324 }
20325
20326 SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20327 return SWIG_Python_InitShadowInstance(args);
20328 }
20329
20330 SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20331 PyObject *resultobj = 0;
20332 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20333 int arg2 = (int) (int)-1 ;
20334 wxString const &arg3_defvalue = wxPyEmptyString ;
20335 wxString *arg3 = (wxString *) &arg3_defvalue ;
20336 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20337 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20338 wxSize const &arg5_defvalue = wxDefaultSize ;
20339 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20340 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
20341 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20342 wxString *arg7 = (wxString *) &arg7_defvalue ;
20343 wxMDIChildFrame *result = 0 ;
20344 void *argp1 = 0 ;
20345 int res1 = 0 ;
20346 int val2 ;
20347 int ecode2 = 0 ;
20348 bool temp3 = false ;
20349 wxPoint temp4 ;
20350 wxSize temp5 ;
20351 long val6 ;
20352 int ecode6 = 0 ;
20353 bool temp7 = false ;
20354 PyObject * obj0 = 0 ;
20355 PyObject * obj1 = 0 ;
20356 PyObject * obj2 = 0 ;
20357 PyObject * obj3 = 0 ;
20358 PyObject * obj4 = 0 ;
20359 PyObject * obj5 = 0 ;
20360 PyObject * obj6 = 0 ;
20361 char * kwnames[] = {
20362 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20363 };
20364
20365 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20366 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20367 if (!SWIG_IsOK(res1)) {
20368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20369 }
20370 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20371 if (obj1) {
20372 ecode2 = SWIG_AsVal_int(obj1, &val2);
20373 if (!SWIG_IsOK(ecode2)) {
20374 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
20375 }
20376 arg2 = static_cast< int >(val2);
20377 }
20378 if (obj2) {
20379 {
20380 arg3 = wxString_in_helper(obj2);
20381 if (arg3 == NULL) SWIG_fail;
20382 temp3 = true;
20383 }
20384 }
20385 if (obj3) {
20386 {
20387 arg4 = &temp4;
20388 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20389 }
20390 }
20391 if (obj4) {
20392 {
20393 arg5 = &temp5;
20394 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20395 }
20396 }
20397 if (obj5) {
20398 ecode6 = SWIG_AsVal_long(obj5, &val6);
20399 if (!SWIG_IsOK(ecode6)) {
20400 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
20401 }
20402 arg6 = static_cast< long >(val6);
20403 }
20404 if (obj6) {
20405 {
20406 arg7 = wxString_in_helper(obj6);
20407 if (arg7 == NULL) SWIG_fail;
20408 temp7 = true;
20409 }
20410 }
20411 {
20412 if (!wxPyCheckForApp()) SWIG_fail;
20413 PyThreadState* __tstate = wxPyBeginAllowThreads();
20414 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20415 wxPyEndAllowThreads(__tstate);
20416 if (PyErr_Occurred()) SWIG_fail;
20417 }
20418 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
20419 {
20420 if (temp3)
20421 delete arg3;
20422 }
20423 {
20424 if (temp7)
20425 delete arg7;
20426 }
20427 return resultobj;
20428 fail:
20429 {
20430 if (temp3)
20431 delete arg3;
20432 }
20433 {
20434 if (temp7)
20435 delete arg7;
20436 }
20437 return NULL;
20438 }
20439
20440
20441 SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20442 PyObject *resultobj = 0;
20443 wxMDIChildFrame *result = 0 ;
20444
20445 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
20446 {
20447 if (!wxPyCheckForApp()) SWIG_fail;
20448 PyThreadState* __tstate = wxPyBeginAllowThreads();
20449 result = (wxMDIChildFrame *)new wxMDIChildFrame();
20450 wxPyEndAllowThreads(__tstate);
20451 if (PyErr_Occurred()) SWIG_fail;
20452 }
20453 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
20454 return resultobj;
20455 fail:
20456 return NULL;
20457 }
20458
20459
20460 SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20461 PyObject *resultobj = 0;
20462 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
20463 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
20464 int arg3 = (int) (int)-1 ;
20465 wxString const &arg4_defvalue = wxPyEmptyString ;
20466 wxString *arg4 = (wxString *) &arg4_defvalue ;
20467 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20468 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20469 wxSize const &arg6_defvalue = wxDefaultSize ;
20470 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20471 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
20472 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20473 wxString *arg8 = (wxString *) &arg8_defvalue ;
20474 bool result;
20475 void *argp1 = 0 ;
20476 int res1 = 0 ;
20477 void *argp2 = 0 ;
20478 int res2 = 0 ;
20479 int val3 ;
20480 int ecode3 = 0 ;
20481 bool temp4 = false ;
20482 wxPoint temp5 ;
20483 wxSize temp6 ;
20484 long val7 ;
20485 int ecode7 = 0 ;
20486 bool temp8 = false ;
20487 PyObject * obj0 = 0 ;
20488 PyObject * obj1 = 0 ;
20489 PyObject * obj2 = 0 ;
20490 PyObject * obj3 = 0 ;
20491 PyObject * obj4 = 0 ;
20492 PyObject * obj5 = 0 ;
20493 PyObject * obj6 = 0 ;
20494 PyObject * obj7 = 0 ;
20495 char * kwnames[] = {
20496 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20497 };
20498
20499 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20500 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
20501 if (!SWIG_IsOK(res1)) {
20502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20503 }
20504 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
20505 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20506 if (!SWIG_IsOK(res2)) {
20507 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
20508 }
20509 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
20510 if (obj2) {
20511 ecode3 = SWIG_AsVal_int(obj2, &val3);
20512 if (!SWIG_IsOK(ecode3)) {
20513 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
20514 }
20515 arg3 = static_cast< int >(val3);
20516 }
20517 if (obj3) {
20518 {
20519 arg4 = wxString_in_helper(obj3);
20520 if (arg4 == NULL) SWIG_fail;
20521 temp4 = true;
20522 }
20523 }
20524 if (obj4) {
20525 {
20526 arg5 = &temp5;
20527 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
20528 }
20529 }
20530 if (obj5) {
20531 {
20532 arg6 = &temp6;
20533 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
20534 }
20535 }
20536 if (obj6) {
20537 ecode7 = SWIG_AsVal_long(obj6, &val7);
20538 if (!SWIG_IsOK(ecode7)) {
20539 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
20540 }
20541 arg7 = static_cast< long >(val7);
20542 }
20543 if (obj7) {
20544 {
20545 arg8 = wxString_in_helper(obj7);
20546 if (arg8 == NULL) SWIG_fail;
20547 temp8 = true;
20548 }
20549 }
20550 {
20551 PyThreadState* __tstate = wxPyBeginAllowThreads();
20552 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20553 wxPyEndAllowThreads(__tstate);
20554 if (PyErr_Occurred()) SWIG_fail;
20555 }
20556 {
20557 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20558 }
20559 {
20560 if (temp4)
20561 delete arg4;
20562 }
20563 {
20564 if (temp8)
20565 delete arg8;
20566 }
20567 return resultobj;
20568 fail:
20569 {
20570 if (temp4)
20571 delete arg4;
20572 }
20573 {
20574 if (temp8)
20575 delete arg8;
20576 }
20577 return NULL;
20578 }
20579
20580
20581 SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20582 PyObject *resultobj = 0;
20583 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
20584 void *argp1 = 0 ;
20585 int res1 = 0 ;
20586 PyObject *swig_obj[1] ;
20587
20588 if (!args) SWIG_fail;
20589 swig_obj[0] = args;
20590 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
20591 if (!SWIG_IsOK(res1)) {
20592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20593 }
20594 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
20595 {
20596 PyThreadState* __tstate = wxPyBeginAllowThreads();
20597 (arg1)->Activate();
20598 wxPyEndAllowThreads(__tstate);
20599 if (PyErr_Occurred()) SWIG_fail;
20600 }
20601 resultobj = SWIG_Py_Void();
20602 return resultobj;
20603 fail:
20604 return NULL;
20605 }
20606
20607
20608 SWIGINTERN PyObject *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20609 PyObject *obj;
20610 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20611 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
20612 return SWIG_Py_Void();
20613 }
20614
20615 SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20616 return SWIG_Python_InitShadowInstance(args);
20617 }
20618
20619 SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20620 PyObject *resultobj = 0;
20621 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20622 long arg2 = (long) 0 ;
20623 wxMDIClientWindow *result = 0 ;
20624 void *argp1 = 0 ;
20625 int res1 = 0 ;
20626 long val2 ;
20627 int ecode2 = 0 ;
20628 PyObject * obj0 = 0 ;
20629 PyObject * obj1 = 0 ;
20630 char * kwnames[] = {
20631 (char *) "parent",(char *) "style", NULL
20632 };
20633
20634 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
20635 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20636 if (!SWIG_IsOK(res1)) {
20637 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20638 }
20639 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20640 if (obj1) {
20641 ecode2 = SWIG_AsVal_long(obj1, &val2);
20642 if (!SWIG_IsOK(ecode2)) {
20643 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
20644 }
20645 arg2 = static_cast< long >(val2);
20646 }
20647 {
20648 if (!wxPyCheckForApp()) SWIG_fail;
20649 PyThreadState* __tstate = wxPyBeginAllowThreads();
20650 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
20651 wxPyEndAllowThreads(__tstate);
20652 if (PyErr_Occurred()) SWIG_fail;
20653 }
20654 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
20655 return resultobj;
20656 fail:
20657 return NULL;
20658 }
20659
20660
20661 SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20662 PyObject *resultobj = 0;
20663 wxMDIClientWindow *result = 0 ;
20664
20665 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
20666 {
20667 if (!wxPyCheckForApp()) SWIG_fail;
20668 PyThreadState* __tstate = wxPyBeginAllowThreads();
20669 result = (wxMDIClientWindow *)new wxMDIClientWindow();
20670 wxPyEndAllowThreads(__tstate);
20671 if (PyErr_Occurred()) SWIG_fail;
20672 }
20673 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
20674 return resultobj;
20675 fail:
20676 return NULL;
20677 }
20678
20679
20680 SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20681 PyObject *resultobj = 0;
20682 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
20683 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
20684 long arg3 = (long) 0 ;
20685 bool result;
20686 void *argp1 = 0 ;
20687 int res1 = 0 ;
20688 void *argp2 = 0 ;
20689 int res2 = 0 ;
20690 long val3 ;
20691 int ecode3 = 0 ;
20692 PyObject * obj0 = 0 ;
20693 PyObject * obj1 = 0 ;
20694 PyObject * obj2 = 0 ;
20695 char * kwnames[] = {
20696 (char *) "self",(char *) "parent",(char *) "style", NULL
20697 };
20698
20699 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
20700 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
20701 if (!SWIG_IsOK(res1)) {
20702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
20703 }
20704 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
20705 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20706 if (!SWIG_IsOK(res2)) {
20707 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
20708 }
20709 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
20710 if (obj2) {
20711 ecode3 = SWIG_AsVal_long(obj2, &val3);
20712 if (!SWIG_IsOK(ecode3)) {
20713 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
20714 }
20715 arg3 = static_cast< long >(val3);
20716 }
20717 {
20718 PyThreadState* __tstate = wxPyBeginAllowThreads();
20719 result = (bool)(arg1)->Create(arg2,arg3);
20720 wxPyEndAllowThreads(__tstate);
20721 if (PyErr_Occurred()) SWIG_fail;
20722 }
20723 {
20724 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20725 }
20726 return resultobj;
20727 fail:
20728 return NULL;
20729 }
20730
20731
20732 SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20733 PyObject *obj;
20734 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20735 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
20736 return SWIG_Py_Void();
20737 }
20738
20739 SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20740 return SWIG_Python_InitShadowInstance(args);
20741 }
20742
20743 SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20744 PyObject *resultobj = 0;
20745 wxWindow *arg1 = (wxWindow *) 0 ;
20746 int arg2 = (int) (int)-1 ;
20747 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20748 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20749 wxSize const &arg4_defvalue = wxDefaultSize ;
20750 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20751 long arg5 = (long) 0 ;
20752 wxString const &arg6_defvalue = wxPyPanelNameStr ;
20753 wxString *arg6 = (wxString *) &arg6_defvalue ;
20754 wxPyWindow *result = 0 ;
20755 void *argp1 = 0 ;
20756 int res1 = 0 ;
20757 int val2 ;
20758 int ecode2 = 0 ;
20759 wxPoint temp3 ;
20760 wxSize temp4 ;
20761 long val5 ;
20762 int ecode5 = 0 ;
20763 bool temp6 = false ;
20764 PyObject * obj0 = 0 ;
20765 PyObject * obj1 = 0 ;
20766 PyObject * obj2 = 0 ;
20767 PyObject * obj3 = 0 ;
20768 PyObject * obj4 = 0 ;
20769 PyObject * obj5 = 0 ;
20770 char * kwnames[] = {
20771 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20772 };
20773
20774 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20775 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20776 if (!SWIG_IsOK(res1)) {
20777 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
20778 }
20779 arg1 = reinterpret_cast< wxWindow * >(argp1);
20780 if (obj1) {
20781 ecode2 = SWIG_AsVal_int(obj1, &val2);
20782 if (!SWIG_IsOK(ecode2)) {
20783 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
20784 }
20785 arg2 = static_cast< int >(val2);
20786 }
20787 if (obj2) {
20788 {
20789 arg3 = &temp3;
20790 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20791 }
20792 }
20793 if (obj3) {
20794 {
20795 arg4 = &temp4;
20796 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20797 }
20798 }
20799 if (obj4) {
20800 ecode5 = SWIG_AsVal_long(obj4, &val5);
20801 if (!SWIG_IsOK(ecode5)) {
20802 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
20803 }
20804 arg5 = static_cast< long >(val5);
20805 }
20806 if (obj5) {
20807 {
20808 arg6 = wxString_in_helper(obj5);
20809 if (arg6 == NULL) SWIG_fail;
20810 temp6 = true;
20811 }
20812 }
20813 {
20814 if (!wxPyCheckForApp()) SWIG_fail;
20815 PyThreadState* __tstate = wxPyBeginAllowThreads();
20816 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
20817 wxPyEndAllowThreads(__tstate);
20818 if (PyErr_Occurred()) SWIG_fail;
20819 }
20820 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
20821 {
20822 if (temp6)
20823 delete arg6;
20824 }
20825 return resultobj;
20826 fail:
20827 {
20828 if (temp6)
20829 delete arg6;
20830 }
20831 return NULL;
20832 }
20833
20834
20835 SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20836 PyObject *resultobj = 0;
20837 wxPyWindow *result = 0 ;
20838
20839 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
20840 {
20841 if (!wxPyCheckForApp()) SWIG_fail;
20842 PyThreadState* __tstate = wxPyBeginAllowThreads();
20843 result = (wxPyWindow *)new wxPyWindow();
20844 wxPyEndAllowThreads(__tstate);
20845 if (PyErr_Occurred()) SWIG_fail;
20846 }
20847 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
20848 return resultobj;
20849 fail:
20850 return NULL;
20851 }
20852
20853
20854 SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20855 PyObject *resultobj = 0;
20856 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
20857 PyObject *arg2 = (PyObject *) 0 ;
20858 PyObject *arg3 = (PyObject *) 0 ;
20859 void *argp1 = 0 ;
20860 int res1 = 0 ;
20861 PyObject * obj0 = 0 ;
20862 PyObject * obj1 = 0 ;
20863 PyObject * obj2 = 0 ;
20864 char * kwnames[] = {
20865 (char *) "self",(char *) "self",(char *) "_class", NULL
20866 };
20867
20868 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
20869 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
20870 if (!SWIG_IsOK(res1)) {
20871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
20872 }
20873 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
20874 arg2 = obj1;
20875 arg3 = obj2;
20876 {
20877 PyThreadState* __tstate = wxPyBeginAllowThreads();
20878 (arg1)->_setCallbackInfo(arg2,arg3);
20879 wxPyEndAllowThreads(__tstate);
20880 if (PyErr_Occurred()) SWIG_fail;
20881 }
20882 resultobj = SWIG_Py_Void();
20883 return resultobj;
20884 fail:
20885 return NULL;
20886 }
20887
20888
20889 SWIGINTERN PyObject *_wrap_PyWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20890 PyObject *resultobj = 0;
20891 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
20892 wxSize *arg2 = 0 ;
20893 void *argp1 = 0 ;
20894 int res1 = 0 ;
20895 wxSize temp2 ;
20896 PyObject * obj0 = 0 ;
20897 PyObject * obj1 = 0 ;
20898 char * kwnames[] = {
20899 (char *) "self",(char *) "size", NULL
20900 };
20901
20902 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
20903 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
20904 if (!SWIG_IsOK(res1)) {
20905 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
20906 }
20907 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
20908 {
20909 arg2 = &temp2;
20910 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20911 }
20912 {
20913 PyThreadState* __tstate = wxPyBeginAllowThreads();
20914 (arg1)->SetBestSize((wxSize const &)*arg2);
20915 wxPyEndAllowThreads(__tstate);
20916 if (PyErr_Occurred()) SWIG_fail;
20917 }
20918 resultobj = SWIG_Py_Void();
20919 return resultobj;
20920 fail:
20921 return NULL;
20922 }
20923
20924
20925 SWIGINTERN PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20926 PyObject *resultobj = 0;
20927 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
20928 wxDC *arg2 = (wxDC *) 0 ;
20929 bool result;
20930 void *argp1 = 0 ;
20931 int res1 = 0 ;
20932 void *argp2 = 0 ;
20933 int res2 = 0 ;
20934 PyObject * obj0 = 0 ;
20935 PyObject * obj1 = 0 ;
20936 char * kwnames[] = {
20937 (char *) "self",(char *) "dc", NULL
20938 };
20939
20940 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
20941 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
20942 if (!SWIG_IsOK(res1)) {
20943 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
20944 }
20945 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
20946 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
20947 if (!SWIG_IsOK(res2)) {
20948 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
20949 }
20950 arg2 = reinterpret_cast< wxDC * >(argp2);
20951 {
20952 PyThreadState* __tstate = wxPyBeginAllowThreads();
20953 result = (bool)(arg1)->DoEraseBackground(arg2);
20954 wxPyEndAllowThreads(__tstate);
20955 if (PyErr_Occurred()) SWIG_fail;
20956 }
20957 {
20958 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20959 }
20960 return resultobj;
20961 fail:
20962 return NULL;
20963 }
20964
20965
20966 SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20967 PyObject *resultobj = 0;
20968 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
20969 int arg2 ;
20970 int arg3 ;
20971 int arg4 ;
20972 int arg5 ;
20973 void *argp1 = 0 ;
20974 int res1 = 0 ;
20975 int val2 ;
20976 int ecode2 = 0 ;
20977 int val3 ;
20978 int ecode3 = 0 ;
20979 int val4 ;
20980 int ecode4 = 0 ;
20981 int val5 ;
20982 int ecode5 = 0 ;
20983 PyObject * obj0 = 0 ;
20984 PyObject * obj1 = 0 ;
20985 PyObject * obj2 = 0 ;
20986 PyObject * obj3 = 0 ;
20987 PyObject * obj4 = 0 ;
20988 char * kwnames[] = {
20989 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
20990 };
20991
20992 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
20993 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
20994 if (!SWIG_IsOK(res1)) {
20995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
20996 }
20997 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
20998 ecode2 = SWIG_AsVal_int(obj1, &val2);
20999 if (!SWIG_IsOK(ecode2)) {
21000 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21001 }
21002 arg2 = static_cast< int >(val2);
21003 ecode3 = SWIG_AsVal_int(obj2, &val3);
21004 if (!SWIG_IsOK(ecode3)) {
21005 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21006 }
21007 arg3 = static_cast< int >(val3);
21008 ecode4 = SWIG_AsVal_int(obj3, &val4);
21009 if (!SWIG_IsOK(ecode4)) {
21010 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21011 }
21012 arg4 = static_cast< int >(val4);
21013 ecode5 = SWIG_AsVal_int(obj4, &val5);
21014 if (!SWIG_IsOK(ecode5)) {
21015 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21016 }
21017 arg5 = static_cast< int >(val5);
21018 {
21019 PyThreadState* __tstate = wxPyBeginAllowThreads();
21020 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
21021 wxPyEndAllowThreads(__tstate);
21022 if (PyErr_Occurred()) SWIG_fail;
21023 }
21024 resultobj = SWIG_Py_Void();
21025 return resultobj;
21026 fail:
21027 return NULL;
21028 }
21029
21030
21031 SWIGINTERN PyObject *_wrap_PyWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21032 PyObject *resultobj = 0;
21033 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21034 int arg2 ;
21035 int arg3 ;
21036 int arg4 ;
21037 int arg5 ;
21038 int arg6 = (int) wxSIZE_AUTO ;
21039 void *argp1 = 0 ;
21040 int res1 = 0 ;
21041 int val2 ;
21042 int ecode2 = 0 ;
21043 int val3 ;
21044 int ecode3 = 0 ;
21045 int val4 ;
21046 int ecode4 = 0 ;
21047 int val5 ;
21048 int ecode5 = 0 ;
21049 int val6 ;
21050 int ecode6 = 0 ;
21051 PyObject * obj0 = 0 ;
21052 PyObject * obj1 = 0 ;
21053 PyObject * obj2 = 0 ;
21054 PyObject * obj3 = 0 ;
21055 PyObject * obj4 = 0 ;
21056 PyObject * obj5 = 0 ;
21057 char * kwnames[] = {
21058 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21059 };
21060
21061 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21062 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21063 if (!SWIG_IsOK(res1)) {
21064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21065 }
21066 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21067 ecode2 = SWIG_AsVal_int(obj1, &val2);
21068 if (!SWIG_IsOK(ecode2)) {
21069 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21070 }
21071 arg2 = static_cast< int >(val2);
21072 ecode3 = SWIG_AsVal_int(obj2, &val3);
21073 if (!SWIG_IsOK(ecode3)) {
21074 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21075 }
21076 arg3 = static_cast< int >(val3);
21077 ecode4 = SWIG_AsVal_int(obj3, &val4);
21078 if (!SWIG_IsOK(ecode4)) {
21079 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21080 }
21081 arg4 = static_cast< int >(val4);
21082 ecode5 = SWIG_AsVal_int(obj4, &val5);
21083 if (!SWIG_IsOK(ecode5)) {
21084 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21085 }
21086 arg5 = static_cast< int >(val5);
21087 if (obj5) {
21088 ecode6 = SWIG_AsVal_int(obj5, &val6);
21089 if (!SWIG_IsOK(ecode6)) {
21090 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21091 }
21092 arg6 = static_cast< int >(val6);
21093 }
21094 {
21095 PyThreadState* __tstate = wxPyBeginAllowThreads();
21096 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
21097 wxPyEndAllowThreads(__tstate);
21098 if (PyErr_Occurred()) SWIG_fail;
21099 }
21100 resultobj = SWIG_Py_Void();
21101 return resultobj;
21102 fail:
21103 return NULL;
21104 }
21105
21106
21107 SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21108 PyObject *resultobj = 0;
21109 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21110 int arg2 ;
21111 int arg3 ;
21112 void *argp1 = 0 ;
21113 int res1 = 0 ;
21114 int val2 ;
21115 int ecode2 = 0 ;
21116 int val3 ;
21117 int ecode3 = 0 ;
21118 PyObject * obj0 = 0 ;
21119 PyObject * obj1 = 0 ;
21120 PyObject * obj2 = 0 ;
21121 char * kwnames[] = {
21122 (char *) "self",(char *) "width",(char *) "height", NULL
21123 };
21124
21125 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21126 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21127 if (!SWIG_IsOK(res1)) {
21128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21129 }
21130 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21131 ecode2 = SWIG_AsVal_int(obj1, &val2);
21132 if (!SWIG_IsOK(ecode2)) {
21133 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21134 }
21135 arg2 = static_cast< int >(val2);
21136 ecode3 = SWIG_AsVal_int(obj2, &val3);
21137 if (!SWIG_IsOK(ecode3)) {
21138 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21139 }
21140 arg3 = static_cast< int >(val3);
21141 {
21142 PyThreadState* __tstate = wxPyBeginAllowThreads();
21143 (arg1)->DoSetClientSize(arg2,arg3);
21144 wxPyEndAllowThreads(__tstate);
21145 if (PyErr_Occurred()) SWIG_fail;
21146 }
21147 resultobj = SWIG_Py_Void();
21148 return resultobj;
21149 fail:
21150 return NULL;
21151 }
21152
21153
21154 SWIGINTERN PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21155 PyObject *resultobj = 0;
21156 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21157 int arg2 ;
21158 int arg3 ;
21159 void *argp1 = 0 ;
21160 int res1 = 0 ;
21161 int val2 ;
21162 int ecode2 = 0 ;
21163 int val3 ;
21164 int ecode3 = 0 ;
21165 PyObject * obj0 = 0 ;
21166 PyObject * obj1 = 0 ;
21167 PyObject * obj2 = 0 ;
21168 char * kwnames[] = {
21169 (char *) "self",(char *) "x",(char *) "y", NULL
21170 };
21171
21172 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21173 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21174 if (!SWIG_IsOK(res1)) {
21175 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21176 }
21177 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21178 ecode2 = SWIG_AsVal_int(obj1, &val2);
21179 if (!SWIG_IsOK(ecode2)) {
21180 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21181 }
21182 arg2 = static_cast< int >(val2);
21183 ecode3 = SWIG_AsVal_int(obj2, &val3);
21184 if (!SWIG_IsOK(ecode3)) {
21185 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21186 }
21187 arg3 = static_cast< int >(val3);
21188 {
21189 PyThreadState* __tstate = wxPyBeginAllowThreads();
21190 (arg1)->DoSetVirtualSize(arg2,arg3);
21191 wxPyEndAllowThreads(__tstate);
21192 if (PyErr_Occurred()) SWIG_fail;
21193 }
21194 resultobj = SWIG_Py_Void();
21195 return resultobj;
21196 fail:
21197 return NULL;
21198 }
21199
21200
21201 SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21202 PyObject *resultobj = 0;
21203 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21204 int *arg2 = (int *) 0 ;
21205 int *arg3 = (int *) 0 ;
21206 void *argp1 = 0 ;
21207 int res1 = 0 ;
21208 int temp2 ;
21209 int res2 = SWIG_TMPOBJ ;
21210 int temp3 ;
21211 int res3 = SWIG_TMPOBJ ;
21212 PyObject *swig_obj[1] ;
21213
21214 arg2 = &temp2;
21215 arg3 = &temp3;
21216 if (!args) SWIG_fail;
21217 swig_obj[0] = args;
21218 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21219 if (!SWIG_IsOK(res1)) {
21220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21221 }
21222 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21223 {
21224 PyThreadState* __tstate = wxPyBeginAllowThreads();
21225 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
21226 wxPyEndAllowThreads(__tstate);
21227 if (PyErr_Occurred()) SWIG_fail;
21228 }
21229 resultobj = SWIG_Py_Void();
21230 if (SWIG_IsTmpObj(res2)) {
21231 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21232 } else {
21233 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21234 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21235 }
21236 if (SWIG_IsTmpObj(res3)) {
21237 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21238 } else {
21239 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21240 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21241 }
21242 return resultobj;
21243 fail:
21244 return NULL;
21245 }
21246
21247
21248 SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21249 PyObject *resultobj = 0;
21250 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21251 int *arg2 = (int *) 0 ;
21252 int *arg3 = (int *) 0 ;
21253 void *argp1 = 0 ;
21254 int res1 = 0 ;
21255 int temp2 ;
21256 int res2 = SWIG_TMPOBJ ;
21257 int temp3 ;
21258 int res3 = SWIG_TMPOBJ ;
21259 PyObject *swig_obj[1] ;
21260
21261 arg2 = &temp2;
21262 arg3 = &temp3;
21263 if (!args) SWIG_fail;
21264 swig_obj[0] = args;
21265 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21266 if (!SWIG_IsOK(res1)) {
21267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21268 }
21269 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21270 {
21271 PyThreadState* __tstate = wxPyBeginAllowThreads();
21272 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
21273 wxPyEndAllowThreads(__tstate);
21274 if (PyErr_Occurred()) SWIG_fail;
21275 }
21276 resultobj = SWIG_Py_Void();
21277 if (SWIG_IsTmpObj(res2)) {
21278 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21279 } else {
21280 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21281 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21282 }
21283 if (SWIG_IsTmpObj(res3)) {
21284 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21285 } else {
21286 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21287 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21288 }
21289 return resultobj;
21290 fail:
21291 return NULL;
21292 }
21293
21294
21295 SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21296 PyObject *resultobj = 0;
21297 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21298 int *arg2 = (int *) 0 ;
21299 int *arg3 = (int *) 0 ;
21300 void *argp1 = 0 ;
21301 int res1 = 0 ;
21302 int temp2 ;
21303 int res2 = SWIG_TMPOBJ ;
21304 int temp3 ;
21305 int res3 = SWIG_TMPOBJ ;
21306 PyObject *swig_obj[1] ;
21307
21308 arg2 = &temp2;
21309 arg3 = &temp3;
21310 if (!args) SWIG_fail;
21311 swig_obj[0] = args;
21312 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21313 if (!SWIG_IsOK(res1)) {
21314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21315 }
21316 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21317 {
21318 PyThreadState* __tstate = wxPyBeginAllowThreads();
21319 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
21320 wxPyEndAllowThreads(__tstate);
21321 if (PyErr_Occurred()) SWIG_fail;
21322 }
21323 resultobj = SWIG_Py_Void();
21324 if (SWIG_IsTmpObj(res2)) {
21325 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21326 } else {
21327 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21328 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21329 }
21330 if (SWIG_IsTmpObj(res3)) {
21331 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21332 } else {
21333 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21334 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21335 }
21336 return resultobj;
21337 fail:
21338 return NULL;
21339 }
21340
21341
21342 SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21343 PyObject *resultobj = 0;
21344 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21345 wxSize result;
21346 void *argp1 = 0 ;
21347 int res1 = 0 ;
21348 PyObject *swig_obj[1] ;
21349
21350 if (!args) SWIG_fail;
21351 swig_obj[0] = args;
21352 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21353 if (!SWIG_IsOK(res1)) {
21354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21355 }
21356 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21357 {
21358 PyThreadState* __tstate = wxPyBeginAllowThreads();
21359 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
21360 wxPyEndAllowThreads(__tstate);
21361 if (PyErr_Occurred()) SWIG_fail;
21362 }
21363 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
21364 return resultobj;
21365 fail:
21366 return NULL;
21367 }
21368
21369
21370 SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21371 PyObject *resultobj = 0;
21372 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21373 wxSize result;
21374 void *argp1 = 0 ;
21375 int res1 = 0 ;
21376 PyObject *swig_obj[1] ;
21377
21378 if (!args) SWIG_fail;
21379 swig_obj[0] = args;
21380 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21381 if (!SWIG_IsOK(res1)) {
21382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21383 }
21384 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21385 {
21386 PyThreadState* __tstate = wxPyBeginAllowThreads();
21387 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
21388 wxPyEndAllowThreads(__tstate);
21389 if (PyErr_Occurred()) SWIG_fail;
21390 }
21391 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
21392 return resultobj;
21393 fail:
21394 return NULL;
21395 }
21396
21397
21398 SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21399 PyObject *resultobj = 0;
21400 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21401 SwigValueWrapper<wxVisualAttributes > result;
21402 void *argp1 = 0 ;
21403 int res1 = 0 ;
21404 PyObject *swig_obj[1] ;
21405
21406 if (!args) SWIG_fail;
21407 swig_obj[0] = args;
21408 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21409 if (!SWIG_IsOK(res1)) {
21410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21411 }
21412 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21413 {
21414 PyThreadState* __tstate = wxPyBeginAllowThreads();
21415 result = (arg1)->GetDefaultAttributes();
21416 wxPyEndAllowThreads(__tstate);
21417 if (PyErr_Occurred()) SWIG_fail;
21418 }
21419 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
21420 return resultobj;
21421 fail:
21422 return NULL;
21423 }
21424
21425
21426 SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21427 PyObject *resultobj = 0;
21428 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21429 void *argp1 = 0 ;
21430 int res1 = 0 ;
21431 PyObject *swig_obj[1] ;
21432
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_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21438 }
21439 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21440 {
21441 PyThreadState* __tstate = wxPyBeginAllowThreads();
21442 (arg1)->OnInternalIdle();
21443 wxPyEndAllowThreads(__tstate);
21444 if (PyErr_Occurred()) SWIG_fail;
21445 }
21446 resultobj = SWIG_Py_Void();
21447 return resultobj;
21448 fail:
21449 return NULL;
21450 }
21451
21452
21453 SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21454 PyObject *obj;
21455 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21456 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
21457 return SWIG_Py_Void();
21458 }
21459
21460 SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21461 return SWIG_Python_InitShadowInstance(args);
21462 }
21463
21464 SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21465 PyObject *resultobj = 0;
21466 wxWindow *arg1 = (wxWindow *) 0 ;
21467 int arg2 = (int) (int)-1 ;
21468 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21469 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21470 wxSize const &arg4_defvalue = wxDefaultSize ;
21471 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21472 long arg5 = (long) 0 ;
21473 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21474 wxString *arg6 = (wxString *) &arg6_defvalue ;
21475 wxPyPanel *result = 0 ;
21476 void *argp1 = 0 ;
21477 int res1 = 0 ;
21478 int val2 ;
21479 int ecode2 = 0 ;
21480 wxPoint temp3 ;
21481 wxSize temp4 ;
21482 long val5 ;
21483 int ecode5 = 0 ;
21484 bool temp6 = false ;
21485 PyObject * obj0 = 0 ;
21486 PyObject * obj1 = 0 ;
21487 PyObject * obj2 = 0 ;
21488 PyObject * obj3 = 0 ;
21489 PyObject * obj4 = 0 ;
21490 PyObject * obj5 = 0 ;
21491 char * kwnames[] = {
21492 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21493 };
21494
21495 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21496 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21497 if (!SWIG_IsOK(res1)) {
21498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
21499 }
21500 arg1 = reinterpret_cast< wxWindow * >(argp1);
21501 if (obj1) {
21502 ecode2 = SWIG_AsVal_int(obj1, &val2);
21503 if (!SWIG_IsOK(ecode2)) {
21504 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
21505 }
21506 arg2 = static_cast< int >(val2);
21507 }
21508 if (obj2) {
21509 {
21510 arg3 = &temp3;
21511 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21512 }
21513 }
21514 if (obj3) {
21515 {
21516 arg4 = &temp4;
21517 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21518 }
21519 }
21520 if (obj4) {
21521 ecode5 = SWIG_AsVal_long(obj4, &val5);
21522 if (!SWIG_IsOK(ecode5)) {
21523 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
21524 }
21525 arg5 = static_cast< long >(val5);
21526 }
21527 if (obj5) {
21528 {
21529 arg6 = wxString_in_helper(obj5);
21530 if (arg6 == NULL) SWIG_fail;
21531 temp6 = true;
21532 }
21533 }
21534 {
21535 if (!wxPyCheckForApp()) SWIG_fail;
21536 PyThreadState* __tstate = wxPyBeginAllowThreads();
21537 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21538 wxPyEndAllowThreads(__tstate);
21539 if (PyErr_Occurred()) SWIG_fail;
21540 }
21541 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
21542 {
21543 if (temp6)
21544 delete arg6;
21545 }
21546 return resultobj;
21547 fail:
21548 {
21549 if (temp6)
21550 delete arg6;
21551 }
21552 return NULL;
21553 }
21554
21555
21556 SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21557 PyObject *resultobj = 0;
21558 wxPyPanel *result = 0 ;
21559
21560 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
21561 {
21562 if (!wxPyCheckForApp()) SWIG_fail;
21563 PyThreadState* __tstate = wxPyBeginAllowThreads();
21564 result = (wxPyPanel *)new wxPyPanel();
21565 wxPyEndAllowThreads(__tstate);
21566 if (PyErr_Occurred()) SWIG_fail;
21567 }
21568 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
21569 return resultobj;
21570 fail:
21571 return NULL;
21572 }
21573
21574
21575 SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21576 PyObject *resultobj = 0;
21577 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
21578 PyObject *arg2 = (PyObject *) 0 ;
21579 PyObject *arg3 = (PyObject *) 0 ;
21580 void *argp1 = 0 ;
21581 int res1 = 0 ;
21582 PyObject * obj0 = 0 ;
21583 PyObject * obj1 = 0 ;
21584 PyObject * obj2 = 0 ;
21585 char * kwnames[] = {
21586 (char *) "self",(char *) "self",(char *) "_class", NULL
21587 };
21588
21589 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21590 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
21591 if (!SWIG_IsOK(res1)) {
21592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21593 }
21594 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
21595 arg2 = obj1;
21596 arg3 = obj2;
21597 {
21598 PyThreadState* __tstate = wxPyBeginAllowThreads();
21599 (arg1)->_setCallbackInfo(arg2,arg3);
21600 wxPyEndAllowThreads(__tstate);
21601 if (PyErr_Occurred()) SWIG_fail;
21602 }
21603 resultobj = SWIG_Py_Void();
21604 return resultobj;
21605 fail:
21606 return NULL;
21607 }
21608
21609
21610 SWIGINTERN PyObject *_wrap_PyPanel_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21611 PyObject *resultobj = 0;
21612 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
21613 wxSize *arg2 = 0 ;
21614 void *argp1 = 0 ;
21615 int res1 = 0 ;
21616 wxSize temp2 ;
21617 PyObject * obj0 = 0 ;
21618 PyObject * obj1 = 0 ;
21619 char * kwnames[] = {
21620 (char *) "self",(char *) "size", NULL
21621 };
21622
21623 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
21624 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
21625 if (!SWIG_IsOK(res1)) {
21626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21627 }
21628 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
21629 {
21630 arg2 = &temp2;
21631 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21632 }
21633 {
21634 PyThreadState* __tstate = wxPyBeginAllowThreads();
21635 (arg1)->SetBestSize((wxSize const &)*arg2);
21636 wxPyEndAllowThreads(__tstate);
21637 if (PyErr_Occurred()) SWIG_fail;
21638 }
21639 resultobj = SWIG_Py_Void();
21640 return resultobj;
21641 fail:
21642 return NULL;
21643 }
21644
21645
21646 SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21647 PyObject *resultobj = 0;
21648 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
21649 wxDC *arg2 = (wxDC *) 0 ;
21650 bool result;
21651 void *argp1 = 0 ;
21652 int res1 = 0 ;
21653 void *argp2 = 0 ;
21654 int res2 = 0 ;
21655 PyObject * obj0 = 0 ;
21656 PyObject * obj1 = 0 ;
21657 char * kwnames[] = {
21658 (char *) "self",(char *) "dc", NULL
21659 };
21660
21661 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21662 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
21663 if (!SWIG_IsOK(res1)) {
21664 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21665 }
21666 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
21667 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21668 if (!SWIG_IsOK(res2)) {
21669 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21670 }
21671 arg2 = reinterpret_cast< wxDC * >(argp2);
21672 {
21673 PyThreadState* __tstate = wxPyBeginAllowThreads();
21674 result = (bool)(arg1)->DoEraseBackground(arg2);
21675 wxPyEndAllowThreads(__tstate);
21676 if (PyErr_Occurred()) SWIG_fail;
21677 }
21678 {
21679 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21680 }
21681 return resultobj;
21682 fail:
21683 return NULL;
21684 }
21685
21686
21687 SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21688 PyObject *resultobj = 0;
21689 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
21690 int arg2 ;
21691 int arg3 ;
21692 int arg4 ;
21693 int arg5 ;
21694 void *argp1 = 0 ;
21695 int res1 = 0 ;
21696 int val2 ;
21697 int ecode2 = 0 ;
21698 int val3 ;
21699 int ecode3 = 0 ;
21700 int val4 ;
21701 int ecode4 = 0 ;
21702 int val5 ;
21703 int ecode5 = 0 ;
21704 PyObject * obj0 = 0 ;
21705 PyObject * obj1 = 0 ;
21706 PyObject * obj2 = 0 ;
21707 PyObject * obj3 = 0 ;
21708 PyObject * obj4 = 0 ;
21709 char * kwnames[] = {
21710 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21711 };
21712
21713 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21714 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
21715 if (!SWIG_IsOK(res1)) {
21716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21717 }
21718 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
21719 ecode2 = SWIG_AsVal_int(obj1, &val2);
21720 if (!SWIG_IsOK(ecode2)) {
21721 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21722 }
21723 arg2 = static_cast< int >(val2);
21724 ecode3 = SWIG_AsVal_int(obj2, &val3);
21725 if (!SWIG_IsOK(ecode3)) {
21726 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21727 }
21728 arg3 = static_cast< int >(val3);
21729 ecode4 = SWIG_AsVal_int(obj3, &val4);
21730 if (!SWIG_IsOK(ecode4)) {
21731 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21732 }
21733 arg4 = static_cast< int >(val4);
21734 ecode5 = SWIG_AsVal_int(obj4, &val5);
21735 if (!SWIG_IsOK(ecode5)) {
21736 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21737 }
21738 arg5 = static_cast< int >(val5);
21739 {
21740 PyThreadState* __tstate = wxPyBeginAllowThreads();
21741 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
21742 wxPyEndAllowThreads(__tstate);
21743 if (PyErr_Occurred()) SWIG_fail;
21744 }
21745 resultobj = SWIG_Py_Void();
21746 return resultobj;
21747 fail:
21748 return NULL;
21749 }
21750
21751
21752 SWIGINTERN PyObject *_wrap_PyPanel_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21753 PyObject *resultobj = 0;
21754 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
21755 int arg2 ;
21756 int arg3 ;
21757 int arg4 ;
21758 int arg5 ;
21759 int arg6 = (int) wxSIZE_AUTO ;
21760 void *argp1 = 0 ;
21761 int res1 = 0 ;
21762 int val2 ;
21763 int ecode2 = 0 ;
21764 int val3 ;
21765 int ecode3 = 0 ;
21766 int val4 ;
21767 int ecode4 = 0 ;
21768 int val5 ;
21769 int ecode5 = 0 ;
21770 int val6 ;
21771 int ecode6 = 0 ;
21772 PyObject * obj0 = 0 ;
21773 PyObject * obj1 = 0 ;
21774 PyObject * obj2 = 0 ;
21775 PyObject * obj3 = 0 ;
21776 PyObject * obj4 = 0 ;
21777 PyObject * obj5 = 0 ;
21778 char * kwnames[] = {
21779 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21780 };
21781
21782 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21783 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
21784 if (!SWIG_IsOK(res1)) {
21785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21786 }
21787 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
21788 ecode2 = SWIG_AsVal_int(obj1, &val2);
21789 if (!SWIG_IsOK(ecode2)) {
21790 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21791 }
21792 arg2 = static_cast< int >(val2);
21793 ecode3 = SWIG_AsVal_int(obj2, &val3);
21794 if (!SWIG_IsOK(ecode3)) {
21795 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21796 }
21797 arg3 = static_cast< int >(val3);
21798 ecode4 = SWIG_AsVal_int(obj3, &val4);
21799 if (!SWIG_IsOK(ecode4)) {
21800 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21801 }
21802 arg4 = static_cast< int >(val4);
21803 ecode5 = SWIG_AsVal_int(obj4, &val5);
21804 if (!SWIG_IsOK(ecode5)) {
21805 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21806 }
21807 arg5 = static_cast< int >(val5);
21808 if (obj5) {
21809 ecode6 = SWIG_AsVal_int(obj5, &val6);
21810 if (!SWIG_IsOK(ecode6)) {
21811 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21812 }
21813 arg6 = static_cast< int >(val6);
21814 }
21815 {
21816 PyThreadState* __tstate = wxPyBeginAllowThreads();
21817 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
21818 wxPyEndAllowThreads(__tstate);
21819 if (PyErr_Occurred()) SWIG_fail;
21820 }
21821 resultobj = SWIG_Py_Void();
21822 return resultobj;
21823 fail:
21824 return NULL;
21825 }
21826
21827
21828 SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21829 PyObject *resultobj = 0;
21830 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
21831 int arg2 ;
21832 int arg3 ;
21833 void *argp1 = 0 ;
21834 int res1 = 0 ;
21835 int val2 ;
21836 int ecode2 = 0 ;
21837 int val3 ;
21838 int ecode3 = 0 ;
21839 PyObject * obj0 = 0 ;
21840 PyObject * obj1 = 0 ;
21841 PyObject * obj2 = 0 ;
21842 char * kwnames[] = {
21843 (char *) "self",(char *) "width",(char *) "height", NULL
21844 };
21845
21846 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21847 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
21848 if (!SWIG_IsOK(res1)) {
21849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21850 }
21851 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
21852 ecode2 = SWIG_AsVal_int(obj1, &val2);
21853 if (!SWIG_IsOK(ecode2)) {
21854 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21855 }
21856 arg2 = static_cast< int >(val2);
21857 ecode3 = SWIG_AsVal_int(obj2, &val3);
21858 if (!SWIG_IsOK(ecode3)) {
21859 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21860 }
21861 arg3 = static_cast< int >(val3);
21862 {
21863 PyThreadState* __tstate = wxPyBeginAllowThreads();
21864 (arg1)->DoSetClientSize(arg2,arg3);
21865 wxPyEndAllowThreads(__tstate);
21866 if (PyErr_Occurred()) SWIG_fail;
21867 }
21868 resultobj = SWIG_Py_Void();
21869 return resultobj;
21870 fail:
21871 return NULL;
21872 }
21873
21874
21875 SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21876 PyObject *resultobj = 0;
21877 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
21878 int arg2 ;
21879 int arg3 ;
21880 void *argp1 = 0 ;
21881 int res1 = 0 ;
21882 int val2 ;
21883 int ecode2 = 0 ;
21884 int val3 ;
21885 int ecode3 = 0 ;
21886 PyObject * obj0 = 0 ;
21887 PyObject * obj1 = 0 ;
21888 PyObject * obj2 = 0 ;
21889 char * kwnames[] = {
21890 (char *) "self",(char *) "x",(char *) "y", NULL
21891 };
21892
21893 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21894 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
21895 if (!SWIG_IsOK(res1)) {
21896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21897 }
21898 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
21899 ecode2 = SWIG_AsVal_int(obj1, &val2);
21900 if (!SWIG_IsOK(ecode2)) {
21901 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21902 }
21903 arg2 = static_cast< int >(val2);
21904 ecode3 = SWIG_AsVal_int(obj2, &val3);
21905 if (!SWIG_IsOK(ecode3)) {
21906 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21907 }
21908 arg3 = static_cast< int >(val3);
21909 {
21910 PyThreadState* __tstate = wxPyBeginAllowThreads();
21911 (arg1)->DoSetVirtualSize(arg2,arg3);
21912 wxPyEndAllowThreads(__tstate);
21913 if (PyErr_Occurred()) SWIG_fail;
21914 }
21915 resultobj = SWIG_Py_Void();
21916 return resultobj;
21917 fail:
21918 return NULL;
21919 }
21920
21921
21922 SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21923 PyObject *resultobj = 0;
21924 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
21925 int *arg2 = (int *) 0 ;
21926 int *arg3 = (int *) 0 ;
21927 void *argp1 = 0 ;
21928 int res1 = 0 ;
21929 int temp2 ;
21930 int res2 = SWIG_TMPOBJ ;
21931 int temp3 ;
21932 int res3 = SWIG_TMPOBJ ;
21933 PyObject *swig_obj[1] ;
21934
21935 arg2 = &temp2;
21936 arg3 = &temp3;
21937 if (!args) SWIG_fail;
21938 swig_obj[0] = args;
21939 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
21940 if (!SWIG_IsOK(res1)) {
21941 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
21942 }
21943 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
21944 {
21945 PyThreadState* __tstate = wxPyBeginAllowThreads();
21946 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
21947 wxPyEndAllowThreads(__tstate);
21948 if (PyErr_Occurred()) SWIG_fail;
21949 }
21950 resultobj = SWIG_Py_Void();
21951 if (SWIG_IsTmpObj(res2)) {
21952 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21953 } else {
21954 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21955 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21956 }
21957 if (SWIG_IsTmpObj(res3)) {
21958 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21959 } else {
21960 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21961 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21962 }
21963 return resultobj;
21964 fail:
21965 return NULL;
21966 }
21967
21968
21969 SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21970 PyObject *resultobj = 0;
21971 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
21972 int *arg2 = (int *) 0 ;
21973 int *arg3 = (int *) 0 ;
21974 void *argp1 = 0 ;
21975 int res1 = 0 ;
21976 int temp2 ;
21977 int res2 = SWIG_TMPOBJ ;
21978 int temp3 ;
21979 int res3 = SWIG_TMPOBJ ;
21980 PyObject *swig_obj[1] ;
21981
21982 arg2 = &temp2;
21983 arg3 = &temp3;
21984 if (!args) SWIG_fail;
21985 swig_obj[0] = args;
21986 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
21987 if (!SWIG_IsOK(res1)) {
21988 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
21989 }
21990 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
21991 {
21992 PyThreadState* __tstate = wxPyBeginAllowThreads();
21993 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
21994 wxPyEndAllowThreads(__tstate);
21995 if (PyErr_Occurred()) SWIG_fail;
21996 }
21997 resultobj = SWIG_Py_Void();
21998 if (SWIG_IsTmpObj(res2)) {
21999 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22000 } else {
22001 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22002 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22003 }
22004 if (SWIG_IsTmpObj(res3)) {
22005 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22006 } else {
22007 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22008 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22009 }
22010 return resultobj;
22011 fail:
22012 return NULL;
22013 }
22014
22015
22016 SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22017 PyObject *resultobj = 0;
22018 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22019 int *arg2 = (int *) 0 ;
22020 int *arg3 = (int *) 0 ;
22021 void *argp1 = 0 ;
22022 int res1 = 0 ;
22023 int temp2 ;
22024 int res2 = SWIG_TMPOBJ ;
22025 int temp3 ;
22026 int res3 = SWIG_TMPOBJ ;
22027 PyObject *swig_obj[1] ;
22028
22029 arg2 = &temp2;
22030 arg3 = &temp3;
22031 if (!args) SWIG_fail;
22032 swig_obj[0] = args;
22033 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22034 if (!SWIG_IsOK(res1)) {
22035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22036 }
22037 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22038 {
22039 PyThreadState* __tstate = wxPyBeginAllowThreads();
22040 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
22041 wxPyEndAllowThreads(__tstate);
22042 if (PyErr_Occurred()) SWIG_fail;
22043 }
22044 resultobj = SWIG_Py_Void();
22045 if (SWIG_IsTmpObj(res2)) {
22046 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22047 } else {
22048 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22049 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22050 }
22051 if (SWIG_IsTmpObj(res3)) {
22052 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22053 } else {
22054 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22055 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22056 }
22057 return resultobj;
22058 fail:
22059 return NULL;
22060 }
22061
22062
22063 SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22064 PyObject *resultobj = 0;
22065 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22066 wxSize result;
22067 void *argp1 = 0 ;
22068 int res1 = 0 ;
22069 PyObject *swig_obj[1] ;
22070
22071 if (!args) SWIG_fail;
22072 swig_obj[0] = args;
22073 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22074 if (!SWIG_IsOK(res1)) {
22075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22076 }
22077 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22078 {
22079 PyThreadState* __tstate = wxPyBeginAllowThreads();
22080 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
22081 wxPyEndAllowThreads(__tstate);
22082 if (PyErr_Occurred()) SWIG_fail;
22083 }
22084 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22085 return resultobj;
22086 fail:
22087 return NULL;
22088 }
22089
22090
22091 SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22092 PyObject *resultobj = 0;
22093 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22094 wxSize result;
22095 void *argp1 = 0 ;
22096 int res1 = 0 ;
22097 PyObject *swig_obj[1] ;
22098
22099 if (!args) SWIG_fail;
22100 swig_obj[0] = args;
22101 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22102 if (!SWIG_IsOK(res1)) {
22103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22104 }
22105 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22106 {
22107 PyThreadState* __tstate = wxPyBeginAllowThreads();
22108 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
22109 wxPyEndAllowThreads(__tstate);
22110 if (PyErr_Occurred()) SWIG_fail;
22111 }
22112 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22113 return resultobj;
22114 fail:
22115 return NULL;
22116 }
22117
22118
22119 SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22120 PyObject *resultobj = 0;
22121 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22122 SwigValueWrapper<wxVisualAttributes > result;
22123 void *argp1 = 0 ;
22124 int res1 = 0 ;
22125 PyObject *swig_obj[1] ;
22126
22127 if (!args) SWIG_fail;
22128 swig_obj[0] = args;
22129 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22130 if (!SWIG_IsOK(res1)) {
22131 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22132 }
22133 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22134 {
22135 PyThreadState* __tstate = wxPyBeginAllowThreads();
22136 result = (arg1)->GetDefaultAttributes();
22137 wxPyEndAllowThreads(__tstate);
22138 if (PyErr_Occurred()) SWIG_fail;
22139 }
22140 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22141 return resultobj;
22142 fail:
22143 return NULL;
22144 }
22145
22146
22147 SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22148 PyObject *resultobj = 0;
22149 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22150 void *argp1 = 0 ;
22151 int res1 = 0 ;
22152 PyObject *swig_obj[1] ;
22153
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_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22159 }
22160 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22161 {
22162 PyThreadState* __tstate = wxPyBeginAllowThreads();
22163 (arg1)->OnInternalIdle();
22164 wxPyEndAllowThreads(__tstate);
22165 if (PyErr_Occurred()) SWIG_fail;
22166 }
22167 resultobj = SWIG_Py_Void();
22168 return resultobj;
22169 fail:
22170 return NULL;
22171 }
22172
22173
22174 SWIGINTERN PyObject *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22175 PyObject *obj;
22176 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22177 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
22178 return SWIG_Py_Void();
22179 }
22180
22181 SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22182 return SWIG_Python_InitShadowInstance(args);
22183 }
22184
22185 SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22186 PyObject *resultobj = 0;
22187 wxWindow *arg1 = (wxWindow *) 0 ;
22188 int arg2 = (int) (int)-1 ;
22189 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22190 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22191 wxSize const &arg4_defvalue = wxDefaultSize ;
22192 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22193 long arg5 = (long) 0 ;
22194 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22195 wxString *arg6 = (wxString *) &arg6_defvalue ;
22196 wxPyScrolledWindow *result = 0 ;
22197 void *argp1 = 0 ;
22198 int res1 = 0 ;
22199 int val2 ;
22200 int ecode2 = 0 ;
22201 wxPoint temp3 ;
22202 wxSize temp4 ;
22203 long val5 ;
22204 int ecode5 = 0 ;
22205 bool temp6 = false ;
22206 PyObject * obj0 = 0 ;
22207 PyObject * obj1 = 0 ;
22208 PyObject * obj2 = 0 ;
22209 PyObject * obj3 = 0 ;
22210 PyObject * obj4 = 0 ;
22211 PyObject * obj5 = 0 ;
22212 char * kwnames[] = {
22213 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22214 };
22215
22216 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22217 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22218 if (!SWIG_IsOK(res1)) {
22219 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22220 }
22221 arg1 = reinterpret_cast< wxWindow * >(argp1);
22222 if (obj1) {
22223 ecode2 = SWIG_AsVal_int(obj1, &val2);
22224 if (!SWIG_IsOK(ecode2)) {
22225 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22226 }
22227 arg2 = static_cast< int >(val2);
22228 }
22229 if (obj2) {
22230 {
22231 arg3 = &temp3;
22232 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22233 }
22234 }
22235 if (obj3) {
22236 {
22237 arg4 = &temp4;
22238 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22239 }
22240 }
22241 if (obj4) {
22242 ecode5 = SWIG_AsVal_long(obj4, &val5);
22243 if (!SWIG_IsOK(ecode5)) {
22244 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22245 }
22246 arg5 = static_cast< long >(val5);
22247 }
22248 if (obj5) {
22249 {
22250 arg6 = wxString_in_helper(obj5);
22251 if (arg6 == NULL) SWIG_fail;
22252 temp6 = true;
22253 }
22254 }
22255 {
22256 if (!wxPyCheckForApp()) SWIG_fail;
22257 PyThreadState* __tstate = wxPyBeginAllowThreads();
22258 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22259 wxPyEndAllowThreads(__tstate);
22260 if (PyErr_Occurred()) SWIG_fail;
22261 }
22262 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
22263 {
22264 if (temp6)
22265 delete arg6;
22266 }
22267 return resultobj;
22268 fail:
22269 {
22270 if (temp6)
22271 delete arg6;
22272 }
22273 return NULL;
22274 }
22275
22276
22277 SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22278 PyObject *resultobj = 0;
22279 wxPyScrolledWindow *result = 0 ;
22280
22281 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
22282 {
22283 if (!wxPyCheckForApp()) SWIG_fail;
22284 PyThreadState* __tstate = wxPyBeginAllowThreads();
22285 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
22286 wxPyEndAllowThreads(__tstate);
22287 if (PyErr_Occurred()) SWIG_fail;
22288 }
22289 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
22290 return resultobj;
22291 fail:
22292 return NULL;
22293 }
22294
22295
22296 SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22297 PyObject *resultobj = 0;
22298 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22299 PyObject *arg2 = (PyObject *) 0 ;
22300 PyObject *arg3 = (PyObject *) 0 ;
22301 void *argp1 = 0 ;
22302 int res1 = 0 ;
22303 PyObject * obj0 = 0 ;
22304 PyObject * obj1 = 0 ;
22305 PyObject * obj2 = 0 ;
22306 char * kwnames[] = {
22307 (char *) "self",(char *) "self",(char *) "_class", NULL
22308 };
22309
22310 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22311 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22312 if (!SWIG_IsOK(res1)) {
22313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22314 }
22315 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22316 arg2 = obj1;
22317 arg3 = obj2;
22318 {
22319 PyThreadState* __tstate = wxPyBeginAllowThreads();
22320 (arg1)->_setCallbackInfo(arg2,arg3);
22321 wxPyEndAllowThreads(__tstate);
22322 if (PyErr_Occurred()) SWIG_fail;
22323 }
22324 resultobj = SWIG_Py_Void();
22325 return resultobj;
22326 fail:
22327 return NULL;
22328 }
22329
22330
22331 SWIGINTERN PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22332 PyObject *resultobj = 0;
22333 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22334 wxSize *arg2 = 0 ;
22335 void *argp1 = 0 ;
22336 int res1 = 0 ;
22337 wxSize temp2 ;
22338 PyObject * obj0 = 0 ;
22339 PyObject * obj1 = 0 ;
22340 char * kwnames[] = {
22341 (char *) "self",(char *) "size", NULL
22342 };
22343
22344 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
22345 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22346 if (!SWIG_IsOK(res1)) {
22347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22348 }
22349 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22350 {
22351 arg2 = &temp2;
22352 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22353 }
22354 {
22355 PyThreadState* __tstate = wxPyBeginAllowThreads();
22356 (arg1)->SetBestSize((wxSize const &)*arg2);
22357 wxPyEndAllowThreads(__tstate);
22358 if (PyErr_Occurred()) SWIG_fail;
22359 }
22360 resultobj = SWIG_Py_Void();
22361 return resultobj;
22362 fail:
22363 return NULL;
22364 }
22365
22366
22367 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22368 PyObject *resultobj = 0;
22369 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22370 wxDC *arg2 = (wxDC *) 0 ;
22371 bool result;
22372 void *argp1 = 0 ;
22373 int res1 = 0 ;
22374 void *argp2 = 0 ;
22375 int res2 = 0 ;
22376 PyObject * obj0 = 0 ;
22377 PyObject * obj1 = 0 ;
22378 char * kwnames[] = {
22379 (char *) "self",(char *) "dc", NULL
22380 };
22381
22382 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22383 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22384 if (!SWIG_IsOK(res1)) {
22385 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22386 }
22387 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22388 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22389 if (!SWIG_IsOK(res2)) {
22390 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22391 }
22392 arg2 = reinterpret_cast< wxDC * >(argp2);
22393 {
22394 PyThreadState* __tstate = wxPyBeginAllowThreads();
22395 result = (bool)(arg1)->DoEraseBackground(arg2);
22396 wxPyEndAllowThreads(__tstate);
22397 if (PyErr_Occurred()) SWIG_fail;
22398 }
22399 {
22400 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22401 }
22402 return resultobj;
22403 fail:
22404 return NULL;
22405 }
22406
22407
22408 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22409 PyObject *resultobj = 0;
22410 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22411 int arg2 ;
22412 int arg3 ;
22413 int arg4 ;
22414 int arg5 ;
22415 void *argp1 = 0 ;
22416 int res1 = 0 ;
22417 int val2 ;
22418 int ecode2 = 0 ;
22419 int val3 ;
22420 int ecode3 = 0 ;
22421 int val4 ;
22422 int ecode4 = 0 ;
22423 int val5 ;
22424 int ecode5 = 0 ;
22425 PyObject * obj0 = 0 ;
22426 PyObject * obj1 = 0 ;
22427 PyObject * obj2 = 0 ;
22428 PyObject * obj3 = 0 ;
22429 PyObject * obj4 = 0 ;
22430 char * kwnames[] = {
22431 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22432 };
22433
22434 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22435 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22436 if (!SWIG_IsOK(res1)) {
22437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22438 }
22439 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22440 ecode2 = SWIG_AsVal_int(obj1, &val2);
22441 if (!SWIG_IsOK(ecode2)) {
22442 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22443 }
22444 arg2 = static_cast< int >(val2);
22445 ecode3 = SWIG_AsVal_int(obj2, &val3);
22446 if (!SWIG_IsOK(ecode3)) {
22447 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22448 }
22449 arg3 = static_cast< int >(val3);
22450 ecode4 = SWIG_AsVal_int(obj3, &val4);
22451 if (!SWIG_IsOK(ecode4)) {
22452 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22453 }
22454 arg4 = static_cast< int >(val4);
22455 ecode5 = SWIG_AsVal_int(obj4, &val5);
22456 if (!SWIG_IsOK(ecode5)) {
22457 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22458 }
22459 arg5 = static_cast< int >(val5);
22460 {
22461 PyThreadState* __tstate = wxPyBeginAllowThreads();
22462 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22463 wxPyEndAllowThreads(__tstate);
22464 if (PyErr_Occurred()) SWIG_fail;
22465 }
22466 resultobj = SWIG_Py_Void();
22467 return resultobj;
22468 fail:
22469 return NULL;
22470 }
22471
22472
22473 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22474 PyObject *resultobj = 0;
22475 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22476 int arg2 ;
22477 int arg3 ;
22478 int arg4 ;
22479 int arg5 ;
22480 int arg6 = (int) wxSIZE_AUTO ;
22481 void *argp1 = 0 ;
22482 int res1 = 0 ;
22483 int val2 ;
22484 int ecode2 = 0 ;
22485 int val3 ;
22486 int ecode3 = 0 ;
22487 int val4 ;
22488 int ecode4 = 0 ;
22489 int val5 ;
22490 int ecode5 = 0 ;
22491 int val6 ;
22492 int ecode6 = 0 ;
22493 PyObject * obj0 = 0 ;
22494 PyObject * obj1 = 0 ;
22495 PyObject * obj2 = 0 ;
22496 PyObject * obj3 = 0 ;
22497 PyObject * obj4 = 0 ;
22498 PyObject * obj5 = 0 ;
22499 char * kwnames[] = {
22500 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22501 };
22502
22503 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22504 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22505 if (!SWIG_IsOK(res1)) {
22506 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22507 }
22508 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22509 ecode2 = SWIG_AsVal_int(obj1, &val2);
22510 if (!SWIG_IsOK(ecode2)) {
22511 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22512 }
22513 arg2 = static_cast< int >(val2);
22514 ecode3 = SWIG_AsVal_int(obj2, &val3);
22515 if (!SWIG_IsOK(ecode3)) {
22516 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22517 }
22518 arg3 = static_cast< int >(val3);
22519 ecode4 = SWIG_AsVal_int(obj3, &val4);
22520 if (!SWIG_IsOK(ecode4)) {
22521 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22522 }
22523 arg4 = static_cast< int >(val4);
22524 ecode5 = SWIG_AsVal_int(obj4, &val5);
22525 if (!SWIG_IsOK(ecode5)) {
22526 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22527 }
22528 arg5 = static_cast< int >(val5);
22529 if (obj5) {
22530 ecode6 = SWIG_AsVal_int(obj5, &val6);
22531 if (!SWIG_IsOK(ecode6)) {
22532 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22533 }
22534 arg6 = static_cast< int >(val6);
22535 }
22536 {
22537 PyThreadState* __tstate = wxPyBeginAllowThreads();
22538 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22539 wxPyEndAllowThreads(__tstate);
22540 if (PyErr_Occurred()) SWIG_fail;
22541 }
22542 resultobj = SWIG_Py_Void();
22543 return resultobj;
22544 fail:
22545 return NULL;
22546 }
22547
22548
22549 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22550 PyObject *resultobj = 0;
22551 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22552 int arg2 ;
22553 int arg3 ;
22554 void *argp1 = 0 ;
22555 int res1 = 0 ;
22556 int val2 ;
22557 int ecode2 = 0 ;
22558 int val3 ;
22559 int ecode3 = 0 ;
22560 PyObject * obj0 = 0 ;
22561 PyObject * obj1 = 0 ;
22562 PyObject * obj2 = 0 ;
22563 char * kwnames[] = {
22564 (char *) "self",(char *) "width",(char *) "height", NULL
22565 };
22566
22567 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22568 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22569 if (!SWIG_IsOK(res1)) {
22570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22571 }
22572 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22573 ecode2 = SWIG_AsVal_int(obj1, &val2);
22574 if (!SWIG_IsOK(ecode2)) {
22575 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22576 }
22577 arg2 = static_cast< int >(val2);
22578 ecode3 = SWIG_AsVal_int(obj2, &val3);
22579 if (!SWIG_IsOK(ecode3)) {
22580 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22581 }
22582 arg3 = static_cast< int >(val3);
22583 {
22584 PyThreadState* __tstate = wxPyBeginAllowThreads();
22585 (arg1)->DoSetClientSize(arg2,arg3);
22586 wxPyEndAllowThreads(__tstate);
22587 if (PyErr_Occurred()) SWIG_fail;
22588 }
22589 resultobj = SWIG_Py_Void();
22590 return resultobj;
22591 fail:
22592 return NULL;
22593 }
22594
22595
22596 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22597 PyObject *resultobj = 0;
22598 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22599 int arg2 ;
22600 int arg3 ;
22601 void *argp1 = 0 ;
22602 int res1 = 0 ;
22603 int val2 ;
22604 int ecode2 = 0 ;
22605 int val3 ;
22606 int ecode3 = 0 ;
22607 PyObject * obj0 = 0 ;
22608 PyObject * obj1 = 0 ;
22609 PyObject * obj2 = 0 ;
22610 char * kwnames[] = {
22611 (char *) "self",(char *) "x",(char *) "y", NULL
22612 };
22613
22614 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22615 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22616 if (!SWIG_IsOK(res1)) {
22617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22618 }
22619 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22620 ecode2 = SWIG_AsVal_int(obj1, &val2);
22621 if (!SWIG_IsOK(ecode2)) {
22622 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22623 }
22624 arg2 = static_cast< int >(val2);
22625 ecode3 = SWIG_AsVal_int(obj2, &val3);
22626 if (!SWIG_IsOK(ecode3)) {
22627 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22628 }
22629 arg3 = static_cast< int >(val3);
22630 {
22631 PyThreadState* __tstate = wxPyBeginAllowThreads();
22632 (arg1)->DoSetVirtualSize(arg2,arg3);
22633 wxPyEndAllowThreads(__tstate);
22634 if (PyErr_Occurred()) SWIG_fail;
22635 }
22636 resultobj = SWIG_Py_Void();
22637 return resultobj;
22638 fail:
22639 return NULL;
22640 }
22641
22642
22643 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22644 PyObject *resultobj = 0;
22645 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22646 int *arg2 = (int *) 0 ;
22647 int *arg3 = (int *) 0 ;
22648 void *argp1 = 0 ;
22649 int res1 = 0 ;
22650 int temp2 ;
22651 int res2 = SWIG_TMPOBJ ;
22652 int temp3 ;
22653 int res3 = SWIG_TMPOBJ ;
22654 PyObject *swig_obj[1] ;
22655
22656 arg2 = &temp2;
22657 arg3 = &temp3;
22658 if (!args) SWIG_fail;
22659 swig_obj[0] = args;
22660 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22661 if (!SWIG_IsOK(res1)) {
22662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22663 }
22664 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22665 {
22666 PyThreadState* __tstate = wxPyBeginAllowThreads();
22667 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
22668 wxPyEndAllowThreads(__tstate);
22669 if (PyErr_Occurred()) SWIG_fail;
22670 }
22671 resultobj = SWIG_Py_Void();
22672 if (SWIG_IsTmpObj(res2)) {
22673 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22674 } else {
22675 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22676 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22677 }
22678 if (SWIG_IsTmpObj(res3)) {
22679 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22680 } else {
22681 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22682 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22683 }
22684 return resultobj;
22685 fail:
22686 return NULL;
22687 }
22688
22689
22690 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22691 PyObject *resultobj = 0;
22692 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22693 int *arg2 = (int *) 0 ;
22694 int *arg3 = (int *) 0 ;
22695 void *argp1 = 0 ;
22696 int res1 = 0 ;
22697 int temp2 ;
22698 int res2 = SWIG_TMPOBJ ;
22699 int temp3 ;
22700 int res3 = SWIG_TMPOBJ ;
22701 PyObject *swig_obj[1] ;
22702
22703 arg2 = &temp2;
22704 arg3 = &temp3;
22705 if (!args) SWIG_fail;
22706 swig_obj[0] = args;
22707 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22708 if (!SWIG_IsOK(res1)) {
22709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22710 }
22711 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22712 {
22713 PyThreadState* __tstate = wxPyBeginAllowThreads();
22714 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
22715 wxPyEndAllowThreads(__tstate);
22716 if (PyErr_Occurred()) SWIG_fail;
22717 }
22718 resultobj = SWIG_Py_Void();
22719 if (SWIG_IsTmpObj(res2)) {
22720 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22721 } else {
22722 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22723 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22724 }
22725 if (SWIG_IsTmpObj(res3)) {
22726 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22727 } else {
22728 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22729 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22730 }
22731 return resultobj;
22732 fail:
22733 return NULL;
22734 }
22735
22736
22737 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22738 PyObject *resultobj = 0;
22739 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22740 int *arg2 = (int *) 0 ;
22741 int *arg3 = (int *) 0 ;
22742 void *argp1 = 0 ;
22743 int res1 = 0 ;
22744 int temp2 ;
22745 int res2 = SWIG_TMPOBJ ;
22746 int temp3 ;
22747 int res3 = SWIG_TMPOBJ ;
22748 PyObject *swig_obj[1] ;
22749
22750 arg2 = &temp2;
22751 arg3 = &temp3;
22752 if (!args) SWIG_fail;
22753 swig_obj[0] = args;
22754 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22755 if (!SWIG_IsOK(res1)) {
22756 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22757 }
22758 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22759 {
22760 PyThreadState* __tstate = wxPyBeginAllowThreads();
22761 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
22762 wxPyEndAllowThreads(__tstate);
22763 if (PyErr_Occurred()) SWIG_fail;
22764 }
22765 resultobj = SWIG_Py_Void();
22766 if (SWIG_IsTmpObj(res2)) {
22767 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22768 } else {
22769 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22770 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22771 }
22772 if (SWIG_IsTmpObj(res3)) {
22773 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22774 } else {
22775 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22776 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22777 }
22778 return resultobj;
22779 fail:
22780 return NULL;
22781 }
22782
22783
22784 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22785 PyObject *resultobj = 0;
22786 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22787 wxSize result;
22788 void *argp1 = 0 ;
22789 int res1 = 0 ;
22790 PyObject *swig_obj[1] ;
22791
22792 if (!args) SWIG_fail;
22793 swig_obj[0] = args;
22794 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22795 if (!SWIG_IsOK(res1)) {
22796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22797 }
22798 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22799 {
22800 PyThreadState* __tstate = wxPyBeginAllowThreads();
22801 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
22802 wxPyEndAllowThreads(__tstate);
22803 if (PyErr_Occurred()) SWIG_fail;
22804 }
22805 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22806 return resultobj;
22807 fail:
22808 return NULL;
22809 }
22810
22811
22812 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22813 PyObject *resultobj = 0;
22814 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22815 wxSize result;
22816 void *argp1 = 0 ;
22817 int res1 = 0 ;
22818 PyObject *swig_obj[1] ;
22819
22820 if (!args) SWIG_fail;
22821 swig_obj[0] = args;
22822 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22823 if (!SWIG_IsOK(res1)) {
22824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22825 }
22826 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22827 {
22828 PyThreadState* __tstate = wxPyBeginAllowThreads();
22829 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
22830 wxPyEndAllowThreads(__tstate);
22831 if (PyErr_Occurred()) SWIG_fail;
22832 }
22833 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22834 return resultobj;
22835 fail:
22836 return NULL;
22837 }
22838
22839
22840 SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22841 PyObject *resultobj = 0;
22842 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22843 SwigValueWrapper<wxVisualAttributes > result;
22844 void *argp1 = 0 ;
22845 int res1 = 0 ;
22846 PyObject *swig_obj[1] ;
22847
22848 if (!args) SWIG_fail;
22849 swig_obj[0] = args;
22850 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22851 if (!SWIG_IsOK(res1)) {
22852 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22853 }
22854 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22855 {
22856 PyThreadState* __tstate = wxPyBeginAllowThreads();
22857 result = (arg1)->GetDefaultAttributes();
22858 wxPyEndAllowThreads(__tstate);
22859 if (PyErr_Occurred()) SWIG_fail;
22860 }
22861 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22862 return resultobj;
22863 fail:
22864 return NULL;
22865 }
22866
22867
22868 SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22869 PyObject *resultobj = 0;
22870 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22871 void *argp1 = 0 ;
22872 int res1 = 0 ;
22873 PyObject *swig_obj[1] ;
22874
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_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22880 }
22881 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22882 {
22883 PyThreadState* __tstate = wxPyBeginAllowThreads();
22884 (arg1)->OnInternalIdle();
22885 wxPyEndAllowThreads(__tstate);
22886 if (PyErr_Occurred()) SWIG_fail;
22887 }
22888 resultobj = SWIG_Py_Void();
22889 return resultobj;
22890 fail:
22891 return NULL;
22892 }
22893
22894
22895 SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22896 PyObject *obj;
22897 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22898 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
22899 return SWIG_Py_Void();
22900 }
22901
22902 SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22903 return SWIG_Python_InitShadowInstance(args);
22904 }
22905
22906 SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
22907 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
22908 return 1;
22909 }
22910
22911
22912 SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
22913 PyObject *pyobj = 0;
22914
22915 {
22916 #if wxUSE_UNICODE
22917 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
22918 #else
22919 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
22920 #endif
22921 }
22922 return pyobj;
22923 }
22924
22925
22926 SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
22927 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
22928 return 1;
22929 }
22930
22931
22932 SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
22933 PyObject *pyobj = 0;
22934
22935 {
22936 #if wxUSE_UNICODE
22937 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
22938 #else
22939 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
22940 #endif
22941 }
22942 return pyobj;
22943 }
22944
22945
22946 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
22947 PyObject *resultobj = 0;
22948 wxPrintData *result = 0 ;
22949
22950 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
22951 {
22952 PyThreadState* __tstate = wxPyBeginAllowThreads();
22953 result = (wxPrintData *)new wxPrintData();
22954 wxPyEndAllowThreads(__tstate);
22955 if (PyErr_Occurred()) SWIG_fail;
22956 }
22957 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
22958 return resultobj;
22959 fail:
22960 return NULL;
22961 }
22962
22963
22964 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
22965 PyObject *resultobj = 0;
22966 wxPrintData *arg1 = 0 ;
22967 wxPrintData *result = 0 ;
22968 void *argp1 = 0 ;
22969 int res1 = 0 ;
22970
22971 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
22972 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
22973 if (!SWIG_IsOK(res1)) {
22974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
22975 }
22976 if (!argp1) {
22977 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
22978 }
22979 arg1 = reinterpret_cast< wxPrintData * >(argp1);
22980 {
22981 PyThreadState* __tstate = wxPyBeginAllowThreads();
22982 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
22983 wxPyEndAllowThreads(__tstate);
22984 if (PyErr_Occurred()) SWIG_fail;
22985 }
22986 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
22987 return resultobj;
22988 fail:
22989 return NULL;
22990 }
22991
22992
22993 SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
22994 int argc;
22995 PyObject *argv[2];
22996
22997 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
22998 --argc;
22999 if (argc == 0) {
23000 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
23001 }
23002 if (argc == 1) {
23003 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
23004 }
23005
23006 fail:
23007 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
23008 return NULL;
23009 }
23010
23011
23012 SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23013 PyObject *resultobj = 0;
23014 wxPrintData *arg1 = (wxPrintData *) 0 ;
23015 void *argp1 = 0 ;
23016 int res1 = 0 ;
23017 PyObject *swig_obj[1] ;
23018
23019 if (!args) SWIG_fail;
23020 swig_obj[0] = args;
23021 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
23022 if (!SWIG_IsOK(res1)) {
23023 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23024 }
23025 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23026 {
23027 PyThreadState* __tstate = wxPyBeginAllowThreads();
23028 delete arg1;
23029
23030 wxPyEndAllowThreads(__tstate);
23031 if (PyErr_Occurred()) SWIG_fail;
23032 }
23033 resultobj = SWIG_Py_Void();
23034 return resultobj;
23035 fail:
23036 return NULL;
23037 }
23038
23039
23040 SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23041 PyObject *resultobj = 0;
23042 wxPrintData *arg1 = (wxPrintData *) 0 ;
23043 int result;
23044 void *argp1 = 0 ;
23045 int res1 = 0 ;
23046 PyObject *swig_obj[1] ;
23047
23048 if (!args) SWIG_fail;
23049 swig_obj[0] = args;
23050 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23051 if (!SWIG_IsOK(res1)) {
23052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23053 }
23054 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23055 {
23056 PyThreadState* __tstate = wxPyBeginAllowThreads();
23057 result = (int)(arg1)->GetNoCopies();
23058 wxPyEndAllowThreads(__tstate);
23059 if (PyErr_Occurred()) SWIG_fail;
23060 }
23061 resultobj = SWIG_From_int(static_cast< int >(result));
23062 return resultobj;
23063 fail:
23064 return NULL;
23065 }
23066
23067
23068 SWIGINTERN PyObject *_wrap_PrintData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23069 PyObject *resultobj = 0;
23070 wxPrintData *arg1 = (wxPrintData *) 0 ;
23071 bool result;
23072 void *argp1 = 0 ;
23073 int res1 = 0 ;
23074 PyObject *swig_obj[1] ;
23075
23076 if (!args) SWIG_fail;
23077 swig_obj[0] = args;
23078 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23079 if (!SWIG_IsOK(res1)) {
23080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23081 }
23082 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23083 {
23084 PyThreadState* __tstate = wxPyBeginAllowThreads();
23085 result = (bool)(arg1)->GetCollate();
23086 wxPyEndAllowThreads(__tstate);
23087 if (PyErr_Occurred()) SWIG_fail;
23088 }
23089 {
23090 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23091 }
23092 return resultobj;
23093 fail:
23094 return NULL;
23095 }
23096
23097
23098 SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23099 PyObject *resultobj = 0;
23100 wxPrintData *arg1 = (wxPrintData *) 0 ;
23101 int result;
23102 void *argp1 = 0 ;
23103 int res1 = 0 ;
23104 PyObject *swig_obj[1] ;
23105
23106 if (!args) SWIG_fail;
23107 swig_obj[0] = args;
23108 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23109 if (!SWIG_IsOK(res1)) {
23110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23111 }
23112 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23113 {
23114 PyThreadState* __tstate = wxPyBeginAllowThreads();
23115 result = (int)(arg1)->GetOrientation();
23116 wxPyEndAllowThreads(__tstate);
23117 if (PyErr_Occurred()) SWIG_fail;
23118 }
23119 resultobj = SWIG_From_int(static_cast< int >(result));
23120 return resultobj;
23121 fail:
23122 return NULL;
23123 }
23124
23125
23126 SWIGINTERN PyObject *_wrap_PrintData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23127 PyObject *resultobj = 0;
23128 wxPrintData *arg1 = (wxPrintData *) 0 ;
23129 bool result;
23130 void *argp1 = 0 ;
23131 int res1 = 0 ;
23132 PyObject *swig_obj[1] ;
23133
23134 if (!args) SWIG_fail;
23135 swig_obj[0] = args;
23136 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23137 if (!SWIG_IsOK(res1)) {
23138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23139 }
23140 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23141 {
23142 PyThreadState* __tstate = wxPyBeginAllowThreads();
23143 result = (bool)(arg1)->Ok();
23144 wxPyEndAllowThreads(__tstate);
23145 if (PyErr_Occurred()) SWIG_fail;
23146 }
23147 {
23148 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23149 }
23150 return resultobj;
23151 fail:
23152 return NULL;
23153 }
23154
23155
23156 SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23157 PyObject *resultobj = 0;
23158 wxPrintData *arg1 = (wxPrintData *) 0 ;
23159 wxString *result = 0 ;
23160 void *argp1 = 0 ;
23161 int res1 = 0 ;
23162 PyObject *swig_obj[1] ;
23163
23164 if (!args) SWIG_fail;
23165 swig_obj[0] = args;
23166 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23167 if (!SWIG_IsOK(res1)) {
23168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23169 }
23170 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23171 {
23172 PyThreadState* __tstate = wxPyBeginAllowThreads();
23173 {
23174 wxString const &_result_ref = (arg1)->GetPrinterName();
23175 result = (wxString *) &_result_ref;
23176 }
23177 wxPyEndAllowThreads(__tstate);
23178 if (PyErr_Occurred()) SWIG_fail;
23179 }
23180 {
23181 #if wxUSE_UNICODE
23182 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23183 #else
23184 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23185 #endif
23186 }
23187 return resultobj;
23188 fail:
23189 return NULL;
23190 }
23191
23192
23193 SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23194 PyObject *resultobj = 0;
23195 wxPrintData *arg1 = (wxPrintData *) 0 ;
23196 bool result;
23197 void *argp1 = 0 ;
23198 int res1 = 0 ;
23199 PyObject *swig_obj[1] ;
23200
23201 if (!args) SWIG_fail;
23202 swig_obj[0] = args;
23203 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23204 if (!SWIG_IsOK(res1)) {
23205 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23206 }
23207 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23208 {
23209 PyThreadState* __tstate = wxPyBeginAllowThreads();
23210 result = (bool)(arg1)->GetColour();
23211 wxPyEndAllowThreads(__tstate);
23212 if (PyErr_Occurred()) SWIG_fail;
23213 }
23214 {
23215 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23216 }
23217 return resultobj;
23218 fail:
23219 return NULL;
23220 }
23221
23222
23223 SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23224 PyObject *resultobj = 0;
23225 wxPrintData *arg1 = (wxPrintData *) 0 ;
23226 wxDuplexMode result;
23227 void *argp1 = 0 ;
23228 int res1 = 0 ;
23229 PyObject *swig_obj[1] ;
23230
23231 if (!args) SWIG_fail;
23232 swig_obj[0] = args;
23233 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23234 if (!SWIG_IsOK(res1)) {
23235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23236 }
23237 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23238 {
23239 PyThreadState* __tstate = wxPyBeginAllowThreads();
23240 result = (wxDuplexMode)(arg1)->GetDuplex();
23241 wxPyEndAllowThreads(__tstate);
23242 if (PyErr_Occurred()) SWIG_fail;
23243 }
23244 resultobj = SWIG_From_int(static_cast< int >(result));
23245 return resultobj;
23246 fail:
23247 return NULL;
23248 }
23249
23250
23251 SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23252 PyObject *resultobj = 0;
23253 wxPrintData *arg1 = (wxPrintData *) 0 ;
23254 wxPaperSize result;
23255 void *argp1 = 0 ;
23256 int res1 = 0 ;
23257 PyObject *swig_obj[1] ;
23258
23259 if (!args) SWIG_fail;
23260 swig_obj[0] = args;
23261 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23262 if (!SWIG_IsOK(res1)) {
23263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23264 }
23265 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23266 {
23267 PyThreadState* __tstate = wxPyBeginAllowThreads();
23268 result = (wxPaperSize)(arg1)->GetPaperId();
23269 wxPyEndAllowThreads(__tstate);
23270 if (PyErr_Occurred()) SWIG_fail;
23271 }
23272 resultobj = SWIG_From_int(static_cast< int >(result));
23273 return resultobj;
23274 fail:
23275 return NULL;
23276 }
23277
23278
23279 SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23280 PyObject *resultobj = 0;
23281 wxPrintData *arg1 = (wxPrintData *) 0 ;
23282 wxSize *result = 0 ;
23283 void *argp1 = 0 ;
23284 int res1 = 0 ;
23285 PyObject *swig_obj[1] ;
23286
23287 if (!args) SWIG_fail;
23288 swig_obj[0] = args;
23289 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23290 if (!SWIG_IsOK(res1)) {
23291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23292 }
23293 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23294 {
23295 PyThreadState* __tstate = wxPyBeginAllowThreads();
23296 {
23297 wxSize const &_result_ref = (arg1)->GetPaperSize();
23298 result = (wxSize *) &_result_ref;
23299 }
23300 wxPyEndAllowThreads(__tstate);
23301 if (PyErr_Occurred()) SWIG_fail;
23302 }
23303 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
23304 return resultobj;
23305 fail:
23306 return NULL;
23307 }
23308
23309
23310 SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23311 PyObject *resultobj = 0;
23312 wxPrintData *arg1 = (wxPrintData *) 0 ;
23313 int result;
23314 void *argp1 = 0 ;
23315 int res1 = 0 ;
23316 PyObject *swig_obj[1] ;
23317
23318 if (!args) SWIG_fail;
23319 swig_obj[0] = args;
23320 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23321 if (!SWIG_IsOK(res1)) {
23322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23323 }
23324 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23325 {
23326 PyThreadState* __tstate = wxPyBeginAllowThreads();
23327 result = (int)(arg1)->GetQuality();
23328 wxPyEndAllowThreads(__tstate);
23329 if (PyErr_Occurred()) SWIG_fail;
23330 }
23331 resultobj = SWIG_From_int(static_cast< int >(result));
23332 return resultobj;
23333 fail:
23334 return NULL;
23335 }
23336
23337
23338 SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23339 PyObject *resultobj = 0;
23340 wxPrintData *arg1 = (wxPrintData *) 0 ;
23341 wxPrintBin result;
23342 void *argp1 = 0 ;
23343 int res1 = 0 ;
23344 PyObject *swig_obj[1] ;
23345
23346 if (!args) SWIG_fail;
23347 swig_obj[0] = args;
23348 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23349 if (!SWIG_IsOK(res1)) {
23350 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23351 }
23352 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23353 {
23354 PyThreadState* __tstate = wxPyBeginAllowThreads();
23355 result = (wxPrintBin)(arg1)->GetBin();
23356 wxPyEndAllowThreads(__tstate);
23357 if (PyErr_Occurred()) SWIG_fail;
23358 }
23359 resultobj = SWIG_From_int(static_cast< int >(result));
23360 return resultobj;
23361 fail:
23362 return NULL;
23363 }
23364
23365
23366 SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23367 PyObject *resultobj = 0;
23368 wxPrintData *arg1 = (wxPrintData *) 0 ;
23369 wxPrintMode result;
23370 void *argp1 = 0 ;
23371 int res1 = 0 ;
23372 PyObject *swig_obj[1] ;
23373
23374 if (!args) SWIG_fail;
23375 swig_obj[0] = args;
23376 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23377 if (!SWIG_IsOK(res1)) {
23378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23379 }
23380 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23381 {
23382 PyThreadState* __tstate = wxPyBeginAllowThreads();
23383 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
23384 wxPyEndAllowThreads(__tstate);
23385 if (PyErr_Occurred()) SWIG_fail;
23386 }
23387 resultobj = SWIG_From_int(static_cast< int >(result));
23388 return resultobj;
23389 fail:
23390 return NULL;
23391 }
23392
23393
23394 SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23395 PyObject *resultobj = 0;
23396 wxPrintData *arg1 = (wxPrintData *) 0 ;
23397 int arg2 ;
23398 void *argp1 = 0 ;
23399 int res1 = 0 ;
23400 int val2 ;
23401 int ecode2 = 0 ;
23402 PyObject * obj0 = 0 ;
23403 PyObject * obj1 = 0 ;
23404 char * kwnames[] = {
23405 (char *) "self",(char *) "v", NULL
23406 };
23407
23408 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
23409 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23410 if (!SWIG_IsOK(res1)) {
23411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23412 }
23413 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23414 ecode2 = SWIG_AsVal_int(obj1, &val2);
23415 if (!SWIG_IsOK(ecode2)) {
23416 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
23417 }
23418 arg2 = static_cast< int >(val2);
23419 {
23420 PyThreadState* __tstate = wxPyBeginAllowThreads();
23421 (arg1)->SetNoCopies(arg2);
23422 wxPyEndAllowThreads(__tstate);
23423 if (PyErr_Occurred()) SWIG_fail;
23424 }
23425 resultobj = SWIG_Py_Void();
23426 return resultobj;
23427 fail:
23428 return NULL;
23429 }
23430
23431
23432 SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23433 PyObject *resultobj = 0;
23434 wxPrintData *arg1 = (wxPrintData *) 0 ;
23435 bool arg2 ;
23436 void *argp1 = 0 ;
23437 int res1 = 0 ;
23438 bool val2 ;
23439 int ecode2 = 0 ;
23440 PyObject * obj0 = 0 ;
23441 PyObject * obj1 = 0 ;
23442 char * kwnames[] = {
23443 (char *) "self",(char *) "flag", NULL
23444 };
23445
23446 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
23447 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23448 if (!SWIG_IsOK(res1)) {
23449 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23450 }
23451 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23452 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23453 if (!SWIG_IsOK(ecode2)) {
23454 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
23455 }
23456 arg2 = static_cast< bool >(val2);
23457 {
23458 PyThreadState* __tstate = wxPyBeginAllowThreads();
23459 (arg1)->SetCollate(arg2);
23460 wxPyEndAllowThreads(__tstate);
23461 if (PyErr_Occurred()) SWIG_fail;
23462 }
23463 resultobj = SWIG_Py_Void();
23464 return resultobj;
23465 fail:
23466 return NULL;
23467 }
23468
23469
23470 SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23471 PyObject *resultobj = 0;
23472 wxPrintData *arg1 = (wxPrintData *) 0 ;
23473 int arg2 ;
23474 void *argp1 = 0 ;
23475 int res1 = 0 ;
23476 int val2 ;
23477 int ecode2 = 0 ;
23478 PyObject * obj0 = 0 ;
23479 PyObject * obj1 = 0 ;
23480 char * kwnames[] = {
23481 (char *) "self",(char *) "orient", NULL
23482 };
23483
23484 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
23485 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23486 if (!SWIG_IsOK(res1)) {
23487 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23488 }
23489 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23490 ecode2 = SWIG_AsVal_int(obj1, &val2);
23491 if (!SWIG_IsOK(ecode2)) {
23492 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
23493 }
23494 arg2 = static_cast< int >(val2);
23495 {
23496 PyThreadState* __tstate = wxPyBeginAllowThreads();
23497 (arg1)->SetOrientation(arg2);
23498 wxPyEndAllowThreads(__tstate);
23499 if (PyErr_Occurred()) SWIG_fail;
23500 }
23501 resultobj = SWIG_Py_Void();
23502 return resultobj;
23503 fail:
23504 return NULL;
23505 }
23506
23507
23508 SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23509 PyObject *resultobj = 0;
23510 wxPrintData *arg1 = (wxPrintData *) 0 ;
23511 wxString *arg2 = 0 ;
23512 void *argp1 = 0 ;
23513 int res1 = 0 ;
23514 bool temp2 = false ;
23515 PyObject * obj0 = 0 ;
23516 PyObject * obj1 = 0 ;
23517 char * kwnames[] = {
23518 (char *) "self",(char *) "name", NULL
23519 };
23520
23521 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) SWIG_fail;
23522 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23523 if (!SWIG_IsOK(res1)) {
23524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23525 }
23526 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23527 {
23528 arg2 = wxString_in_helper(obj1);
23529 if (arg2 == NULL) SWIG_fail;
23530 temp2 = true;
23531 }
23532 {
23533 PyThreadState* __tstate = wxPyBeginAllowThreads();
23534 (arg1)->SetPrinterName((wxString const &)*arg2);
23535 wxPyEndAllowThreads(__tstate);
23536 if (PyErr_Occurred()) SWIG_fail;
23537 }
23538 resultobj = SWIG_Py_Void();
23539 {
23540 if (temp2)
23541 delete arg2;
23542 }
23543 return resultobj;
23544 fail:
23545 {
23546 if (temp2)
23547 delete arg2;
23548 }
23549 return NULL;
23550 }
23551
23552
23553 SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23554 PyObject *resultobj = 0;
23555 wxPrintData *arg1 = (wxPrintData *) 0 ;
23556 bool arg2 ;
23557 void *argp1 = 0 ;
23558 int res1 = 0 ;
23559 bool val2 ;
23560 int ecode2 = 0 ;
23561 PyObject * obj0 = 0 ;
23562 PyObject * obj1 = 0 ;
23563 char * kwnames[] = {
23564 (char *) "self",(char *) "colour", NULL
23565 };
23566
23567 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
23568 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23569 if (!SWIG_IsOK(res1)) {
23570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23571 }
23572 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23573 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23574 if (!SWIG_IsOK(ecode2)) {
23575 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
23576 }
23577 arg2 = static_cast< bool >(val2);
23578 {
23579 PyThreadState* __tstate = wxPyBeginAllowThreads();
23580 (arg1)->SetColour(arg2);
23581 wxPyEndAllowThreads(__tstate);
23582 if (PyErr_Occurred()) SWIG_fail;
23583 }
23584 resultobj = SWIG_Py_Void();
23585 return resultobj;
23586 fail:
23587 return NULL;
23588 }
23589
23590
23591 SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23592 PyObject *resultobj = 0;
23593 wxPrintData *arg1 = (wxPrintData *) 0 ;
23594 wxDuplexMode arg2 ;
23595 void *argp1 = 0 ;
23596 int res1 = 0 ;
23597 int val2 ;
23598 int ecode2 = 0 ;
23599 PyObject * obj0 = 0 ;
23600 PyObject * obj1 = 0 ;
23601 char * kwnames[] = {
23602 (char *) "self",(char *) "duplex", NULL
23603 };
23604
23605 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) SWIG_fail;
23606 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23607 if (!SWIG_IsOK(res1)) {
23608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23609 }
23610 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23611 ecode2 = SWIG_AsVal_int(obj1, &val2);
23612 if (!SWIG_IsOK(ecode2)) {
23613 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
23614 }
23615 arg2 = static_cast< wxDuplexMode >(val2);
23616 {
23617 PyThreadState* __tstate = wxPyBeginAllowThreads();
23618 (arg1)->SetDuplex(arg2);
23619 wxPyEndAllowThreads(__tstate);
23620 if (PyErr_Occurred()) SWIG_fail;
23621 }
23622 resultobj = SWIG_Py_Void();
23623 return resultobj;
23624 fail:
23625 return NULL;
23626 }
23627
23628
23629 SWIGINTERN PyObject *_wrap_PrintData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23630 PyObject *resultobj = 0;
23631 wxPrintData *arg1 = (wxPrintData *) 0 ;
23632 wxPaperSize arg2 ;
23633 void *argp1 = 0 ;
23634 int res1 = 0 ;
23635 int val2 ;
23636 int ecode2 = 0 ;
23637 PyObject * obj0 = 0 ;
23638 PyObject * obj1 = 0 ;
23639 char * kwnames[] = {
23640 (char *) "self",(char *) "sizeId", NULL
23641 };
23642
23643 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
23644 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23645 if (!SWIG_IsOK(res1)) {
23646 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23647 }
23648 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23649 ecode2 = SWIG_AsVal_int(obj1, &val2);
23650 if (!SWIG_IsOK(ecode2)) {
23651 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
23652 }
23653 arg2 = static_cast< wxPaperSize >(val2);
23654 {
23655 PyThreadState* __tstate = wxPyBeginAllowThreads();
23656 (arg1)->SetPaperId(arg2);
23657 wxPyEndAllowThreads(__tstate);
23658 if (PyErr_Occurred()) SWIG_fail;
23659 }
23660 resultobj = SWIG_Py_Void();
23661 return resultobj;
23662 fail:
23663 return NULL;
23664 }
23665
23666
23667 SWIGINTERN PyObject *_wrap_PrintData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23668 PyObject *resultobj = 0;
23669 wxPrintData *arg1 = (wxPrintData *) 0 ;
23670 wxSize *arg2 = 0 ;
23671 void *argp1 = 0 ;
23672 int res1 = 0 ;
23673 wxSize temp2 ;
23674 PyObject * obj0 = 0 ;
23675 PyObject * obj1 = 0 ;
23676 char * kwnames[] = {
23677 (char *) "self",(char *) "sz", NULL
23678 };
23679
23680 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
23681 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23682 if (!SWIG_IsOK(res1)) {
23683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23684 }
23685 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23686 {
23687 arg2 = &temp2;
23688 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23689 }
23690 {
23691 PyThreadState* __tstate = wxPyBeginAllowThreads();
23692 (arg1)->SetPaperSize((wxSize const &)*arg2);
23693 wxPyEndAllowThreads(__tstate);
23694 if (PyErr_Occurred()) SWIG_fail;
23695 }
23696 resultobj = SWIG_Py_Void();
23697 return resultobj;
23698 fail:
23699 return NULL;
23700 }
23701
23702
23703 SWIGINTERN PyObject *_wrap_PrintData_SetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23704 PyObject *resultobj = 0;
23705 wxPrintData *arg1 = (wxPrintData *) 0 ;
23706 int arg2 ;
23707 void *argp1 = 0 ;
23708 int res1 = 0 ;
23709 int val2 ;
23710 int ecode2 = 0 ;
23711 PyObject * obj0 = 0 ;
23712 PyObject * obj1 = 0 ;
23713 char * kwnames[] = {
23714 (char *) "self",(char *) "quality", NULL
23715 };
23716
23717 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) SWIG_fail;
23718 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23719 if (!SWIG_IsOK(res1)) {
23720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23721 }
23722 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23723 ecode2 = SWIG_AsVal_int(obj1, &val2);
23724 if (!SWIG_IsOK(ecode2)) {
23725 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
23726 }
23727 arg2 = static_cast< int >(val2);
23728 {
23729 PyThreadState* __tstate = wxPyBeginAllowThreads();
23730 (arg1)->SetQuality(arg2);
23731 wxPyEndAllowThreads(__tstate);
23732 if (PyErr_Occurred()) SWIG_fail;
23733 }
23734 resultobj = SWIG_Py_Void();
23735 return resultobj;
23736 fail:
23737 return NULL;
23738 }
23739
23740
23741 SWIGINTERN PyObject *_wrap_PrintData_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23742 PyObject *resultobj = 0;
23743 wxPrintData *arg1 = (wxPrintData *) 0 ;
23744 wxPrintBin arg2 ;
23745 void *argp1 = 0 ;
23746 int res1 = 0 ;
23747 int val2 ;
23748 int ecode2 = 0 ;
23749 PyObject * obj0 = 0 ;
23750 PyObject * obj1 = 0 ;
23751 char * kwnames[] = {
23752 (char *) "self",(char *) "bin", NULL
23753 };
23754
23755 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) SWIG_fail;
23756 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23757 if (!SWIG_IsOK(res1)) {
23758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23759 }
23760 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23761 ecode2 = SWIG_AsVal_int(obj1, &val2);
23762 if (!SWIG_IsOK(ecode2)) {
23763 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
23764 }
23765 arg2 = static_cast< wxPrintBin >(val2);
23766 {
23767 PyThreadState* __tstate = wxPyBeginAllowThreads();
23768 (arg1)->SetBin(arg2);
23769 wxPyEndAllowThreads(__tstate);
23770 if (PyErr_Occurred()) SWIG_fail;
23771 }
23772 resultobj = SWIG_Py_Void();
23773 return resultobj;
23774 fail:
23775 return NULL;
23776 }
23777
23778
23779 SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23780 PyObject *resultobj = 0;
23781 wxPrintData *arg1 = (wxPrintData *) 0 ;
23782 wxPrintMode arg2 ;
23783 void *argp1 = 0 ;
23784 int res1 = 0 ;
23785 int val2 ;
23786 int ecode2 = 0 ;
23787 PyObject * obj0 = 0 ;
23788 PyObject * obj1 = 0 ;
23789 char * kwnames[] = {
23790 (char *) "self",(char *) "printMode", NULL
23791 };
23792
23793 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
23794 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23795 if (!SWIG_IsOK(res1)) {
23796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
23797 }
23798 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23799 ecode2 = SWIG_AsVal_int(obj1, &val2);
23800 if (!SWIG_IsOK(ecode2)) {
23801 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
23802 }
23803 arg2 = static_cast< wxPrintMode >(val2);
23804 {
23805 PyThreadState* __tstate = wxPyBeginAllowThreads();
23806 (arg1)->SetPrintMode(arg2);
23807 wxPyEndAllowThreads(__tstate);
23808 if (PyErr_Occurred()) SWIG_fail;
23809 }
23810 resultobj = SWIG_Py_Void();
23811 return resultobj;
23812 fail:
23813 return NULL;
23814 }
23815
23816
23817 SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23818 PyObject *resultobj = 0;
23819 wxPrintData *arg1 = (wxPrintData *) 0 ;
23820 wxString result;
23821 void *argp1 = 0 ;
23822 int res1 = 0 ;
23823 PyObject *swig_obj[1] ;
23824
23825 if (!args) SWIG_fail;
23826 swig_obj[0] = args;
23827 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23828 if (!SWIG_IsOK(res1)) {
23829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23830 }
23831 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23832 {
23833 PyThreadState* __tstate = wxPyBeginAllowThreads();
23834 result = ((wxPrintData const *)arg1)->GetFilename();
23835 wxPyEndAllowThreads(__tstate);
23836 if (PyErr_Occurred()) SWIG_fail;
23837 }
23838 {
23839 #if wxUSE_UNICODE
23840 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23841 #else
23842 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23843 #endif
23844 }
23845 return resultobj;
23846 fail:
23847 return NULL;
23848 }
23849
23850
23851 SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23852 PyObject *resultobj = 0;
23853 wxPrintData *arg1 = (wxPrintData *) 0 ;
23854 wxString *arg2 = 0 ;
23855 void *argp1 = 0 ;
23856 int res1 = 0 ;
23857 bool temp2 = false ;
23858 PyObject * obj0 = 0 ;
23859 PyObject * obj1 = 0 ;
23860 char * kwnames[] = {
23861 (char *) "self",(char *) "filename", NULL
23862 };
23863
23864 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
23865 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23866 if (!SWIG_IsOK(res1)) {
23867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
23868 }
23869 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23870 {
23871 arg2 = wxString_in_helper(obj1);
23872 if (arg2 == NULL) SWIG_fail;
23873 temp2 = true;
23874 }
23875 {
23876 PyThreadState* __tstate = wxPyBeginAllowThreads();
23877 (arg1)->SetFilename((wxString const &)*arg2);
23878 wxPyEndAllowThreads(__tstate);
23879 if (PyErr_Occurred()) SWIG_fail;
23880 }
23881 resultobj = SWIG_Py_Void();
23882 {
23883 if (temp2)
23884 delete arg2;
23885 }
23886 return resultobj;
23887 fail:
23888 {
23889 if (temp2)
23890 delete arg2;
23891 }
23892 return NULL;
23893 }
23894
23895
23896 SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23897 PyObject *resultobj = 0;
23898 wxPrintData *arg1 = (wxPrintData *) 0 ;
23899 PyObject *result = 0 ;
23900 void *argp1 = 0 ;
23901 int res1 = 0 ;
23902 PyObject *swig_obj[1] ;
23903
23904 if (!args) SWIG_fail;
23905 swig_obj[0] = args;
23906 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23907 if (!SWIG_IsOK(res1)) {
23908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23909 }
23910 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23911 {
23912 PyThreadState* __tstate = wxPyBeginAllowThreads();
23913 result = (PyObject *)wxPrintData_GetPrivData(arg1);
23914 wxPyEndAllowThreads(__tstate);
23915 if (PyErr_Occurred()) SWIG_fail;
23916 }
23917 resultobj = result;
23918 return resultobj;
23919 fail:
23920 return NULL;
23921 }
23922
23923
23924 SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23925 PyObject *resultobj = 0;
23926 wxPrintData *arg1 = (wxPrintData *) 0 ;
23927 PyObject *arg2 = (PyObject *) 0 ;
23928 void *argp1 = 0 ;
23929 int res1 = 0 ;
23930 PyObject * obj0 = 0 ;
23931 PyObject * obj1 = 0 ;
23932 char * kwnames[] = {
23933 (char *) "self",(char *) "data", NULL
23934 };
23935
23936 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
23937 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23938 if (!SWIG_IsOK(res1)) {
23939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23940 }
23941 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23942 arg2 = obj1;
23943 {
23944 PyThreadState* __tstate = wxPyBeginAllowThreads();
23945 wxPrintData_SetPrivData(arg1,arg2);
23946 wxPyEndAllowThreads(__tstate);
23947 if (PyErr_Occurred()) SWIG_fail;
23948 }
23949 resultobj = SWIG_Py_Void();
23950 return resultobj;
23951 fail:
23952 return NULL;
23953 }
23954
23955
23956 SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23957 PyObject *obj;
23958 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23959 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
23960 return SWIG_Py_Void();
23961 }
23962
23963 SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23964 return SWIG_Python_InitShadowInstance(args);
23965 }
23966
23967 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
23968 PyObject *resultobj = 0;
23969 wxPageSetupDialogData *result = 0 ;
23970
23971 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
23972 {
23973 PyThreadState* __tstate = wxPyBeginAllowThreads();
23974 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
23975 wxPyEndAllowThreads(__tstate);
23976 if (PyErr_Occurred()) SWIG_fail;
23977 }
23978 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
23979 return resultobj;
23980 fail:
23981 return NULL;
23982 }
23983
23984
23985 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
23986 PyObject *resultobj = 0;
23987 wxPageSetupDialogData *arg1 = 0 ;
23988 wxPageSetupDialogData *result = 0 ;
23989 void *argp1 = 0 ;
23990 int res1 = 0 ;
23991
23992 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
23993 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
23994 if (!SWIG_IsOK(res1)) {
23995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
23996 }
23997 if (!argp1) {
23998 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
23999 }
24000 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24001 {
24002 PyThreadState* __tstate = wxPyBeginAllowThreads();
24003 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
24004 wxPyEndAllowThreads(__tstate);
24005 if (PyErr_Occurred()) SWIG_fail;
24006 }
24007 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24008 return resultobj;
24009 fail:
24010 return NULL;
24011 }
24012
24013
24014 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24015 PyObject *resultobj = 0;
24016 wxPrintData *arg1 = 0 ;
24017 wxPageSetupDialogData *result = 0 ;
24018 void *argp1 = 0 ;
24019 int res1 = 0 ;
24020
24021 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24022 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
24023 if (!SWIG_IsOK(res1)) {
24024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24025 }
24026 if (!argp1) {
24027 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24028 }
24029 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24030 {
24031 PyThreadState* __tstate = wxPyBeginAllowThreads();
24032 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
24033 wxPyEndAllowThreads(__tstate);
24034 if (PyErr_Occurred()) SWIG_fail;
24035 }
24036 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24037 return resultobj;
24038 fail:
24039 return NULL;
24040 }
24041
24042
24043 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
24044 int argc;
24045 PyObject *argv[2];
24046
24047 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
24048 --argc;
24049 if (argc == 0) {
24050 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
24051 }
24052 if (argc == 1) {
24053 int _v = 0;
24054 {
24055 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
24056 _v = SWIG_CheckState(res);
24057 }
24058 if (!_v) goto check_2;
24059 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
24060 }
24061 check_2:
24062
24063 if (argc == 1) {
24064 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
24065 }
24066
24067 fail:
24068 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
24069 return NULL;
24070 }
24071
24072
24073 SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24074 PyObject *resultobj = 0;
24075 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24076 void *argp1 = 0 ;
24077 int res1 = 0 ;
24078 PyObject *swig_obj[1] ;
24079
24080 if (!args) SWIG_fail;
24081 swig_obj[0] = args;
24082 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
24083 if (!SWIG_IsOK(res1)) {
24084 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24085 }
24086 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24087 {
24088 PyThreadState* __tstate = wxPyBeginAllowThreads();
24089 delete arg1;
24090
24091 wxPyEndAllowThreads(__tstate);
24092 if (PyErr_Occurred()) SWIG_fail;
24093 }
24094 resultobj = SWIG_Py_Void();
24095 return resultobj;
24096 fail:
24097 return NULL;
24098 }
24099
24100
24101 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24102 PyObject *resultobj = 0;
24103 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24104 bool arg2 ;
24105 void *argp1 = 0 ;
24106 int res1 = 0 ;
24107 bool val2 ;
24108 int ecode2 = 0 ;
24109 PyObject * obj0 = 0 ;
24110 PyObject * obj1 = 0 ;
24111 char * kwnames[] = {
24112 (char *) "self",(char *) "flag", NULL
24113 };
24114
24115 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
24116 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24117 if (!SWIG_IsOK(res1)) {
24118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24119 }
24120 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24121 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24122 if (!SWIG_IsOK(ecode2)) {
24123 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24124 }
24125 arg2 = static_cast< bool >(val2);
24126 {
24127 PyThreadState* __tstate = wxPyBeginAllowThreads();
24128 (arg1)->EnableHelp(arg2);
24129 wxPyEndAllowThreads(__tstate);
24130 if (PyErr_Occurred()) SWIG_fail;
24131 }
24132 resultobj = SWIG_Py_Void();
24133 return resultobj;
24134 fail:
24135 return NULL;
24136 }
24137
24138
24139 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24140 PyObject *resultobj = 0;
24141 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24142 bool arg2 ;
24143 void *argp1 = 0 ;
24144 int res1 = 0 ;
24145 bool val2 ;
24146 int ecode2 = 0 ;
24147 PyObject * obj0 = 0 ;
24148 PyObject * obj1 = 0 ;
24149 char * kwnames[] = {
24150 (char *) "self",(char *) "flag", NULL
24151 };
24152
24153 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
24154 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24155 if (!SWIG_IsOK(res1)) {
24156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24157 }
24158 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24159 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24160 if (!SWIG_IsOK(ecode2)) {
24161 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24162 }
24163 arg2 = static_cast< bool >(val2);
24164 {
24165 PyThreadState* __tstate = wxPyBeginAllowThreads();
24166 (arg1)->EnableMargins(arg2);
24167 wxPyEndAllowThreads(__tstate);
24168 if (PyErr_Occurred()) SWIG_fail;
24169 }
24170 resultobj = SWIG_Py_Void();
24171 return resultobj;
24172 fail:
24173 return NULL;
24174 }
24175
24176
24177 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24178 PyObject *resultobj = 0;
24179 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24180 bool arg2 ;
24181 void *argp1 = 0 ;
24182 int res1 = 0 ;
24183 bool val2 ;
24184 int ecode2 = 0 ;
24185 PyObject * obj0 = 0 ;
24186 PyObject * obj1 = 0 ;
24187 char * kwnames[] = {
24188 (char *) "self",(char *) "flag", NULL
24189 };
24190
24191 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24192 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24193 if (!SWIG_IsOK(res1)) {
24194 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24195 }
24196 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24197 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24198 if (!SWIG_IsOK(ecode2)) {
24199 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24200 }
24201 arg2 = static_cast< bool >(val2);
24202 {
24203 PyThreadState* __tstate = wxPyBeginAllowThreads();
24204 (arg1)->EnableOrientation(arg2);
24205 wxPyEndAllowThreads(__tstate);
24206 if (PyErr_Occurred()) SWIG_fail;
24207 }
24208 resultobj = SWIG_Py_Void();
24209 return resultobj;
24210 fail:
24211 return NULL;
24212 }
24213
24214
24215 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24216 PyObject *resultobj = 0;
24217 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24218 bool arg2 ;
24219 void *argp1 = 0 ;
24220 int res1 = 0 ;
24221 bool val2 ;
24222 int ecode2 = 0 ;
24223 PyObject * obj0 = 0 ;
24224 PyObject * obj1 = 0 ;
24225 char * kwnames[] = {
24226 (char *) "self",(char *) "flag", NULL
24227 };
24228
24229 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
24230 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24231 if (!SWIG_IsOK(res1)) {
24232 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24233 }
24234 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24235 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24236 if (!SWIG_IsOK(ecode2)) {
24237 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24238 }
24239 arg2 = static_cast< bool >(val2);
24240 {
24241 PyThreadState* __tstate = wxPyBeginAllowThreads();
24242 (arg1)->EnablePaper(arg2);
24243 wxPyEndAllowThreads(__tstate);
24244 if (PyErr_Occurred()) SWIG_fail;
24245 }
24246 resultobj = SWIG_Py_Void();
24247 return resultobj;
24248 fail:
24249 return NULL;
24250 }
24251
24252
24253 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24254 PyObject *resultobj = 0;
24255 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24256 bool arg2 ;
24257 void *argp1 = 0 ;
24258 int res1 = 0 ;
24259 bool val2 ;
24260 int ecode2 = 0 ;
24261 PyObject * obj0 = 0 ;
24262 PyObject * obj1 = 0 ;
24263 char * kwnames[] = {
24264 (char *) "self",(char *) "flag", NULL
24265 };
24266
24267 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
24268 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24269 if (!SWIG_IsOK(res1)) {
24270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24271 }
24272 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24273 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24274 if (!SWIG_IsOK(ecode2)) {
24275 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24276 }
24277 arg2 = static_cast< bool >(val2);
24278 {
24279 PyThreadState* __tstate = wxPyBeginAllowThreads();
24280 (arg1)->EnablePrinter(arg2);
24281 wxPyEndAllowThreads(__tstate);
24282 if (PyErr_Occurred()) SWIG_fail;
24283 }
24284 resultobj = SWIG_Py_Void();
24285 return resultobj;
24286 fail:
24287 return NULL;
24288 }
24289
24290
24291 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24292 PyObject *resultobj = 0;
24293 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24294 bool result;
24295 void *argp1 = 0 ;
24296 int res1 = 0 ;
24297 PyObject *swig_obj[1] ;
24298
24299 if (!args) SWIG_fail;
24300 swig_obj[0] = args;
24301 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24302 if (!SWIG_IsOK(res1)) {
24303 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24304 }
24305 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24306 {
24307 PyThreadState* __tstate = wxPyBeginAllowThreads();
24308 result = (bool)(arg1)->GetDefaultMinMargins();
24309 wxPyEndAllowThreads(__tstate);
24310 if (PyErr_Occurred()) SWIG_fail;
24311 }
24312 {
24313 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24314 }
24315 return resultobj;
24316 fail:
24317 return NULL;
24318 }
24319
24320
24321 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24322 PyObject *resultobj = 0;
24323 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24324 bool result;
24325 void *argp1 = 0 ;
24326 int res1 = 0 ;
24327 PyObject *swig_obj[1] ;
24328
24329 if (!args) SWIG_fail;
24330 swig_obj[0] = args;
24331 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24332 if (!SWIG_IsOK(res1)) {
24333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24334 }
24335 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24336 {
24337 PyThreadState* __tstate = wxPyBeginAllowThreads();
24338 result = (bool)(arg1)->GetEnableMargins();
24339 wxPyEndAllowThreads(__tstate);
24340 if (PyErr_Occurred()) SWIG_fail;
24341 }
24342 {
24343 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24344 }
24345 return resultobj;
24346 fail:
24347 return NULL;
24348 }
24349
24350
24351 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24352 PyObject *resultobj = 0;
24353 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24354 bool result;
24355 void *argp1 = 0 ;
24356 int res1 = 0 ;
24357 PyObject *swig_obj[1] ;
24358
24359 if (!args) SWIG_fail;
24360 swig_obj[0] = args;
24361 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24362 if (!SWIG_IsOK(res1)) {
24363 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24364 }
24365 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24366 {
24367 PyThreadState* __tstate = wxPyBeginAllowThreads();
24368 result = (bool)(arg1)->GetEnableOrientation();
24369 wxPyEndAllowThreads(__tstate);
24370 if (PyErr_Occurred()) SWIG_fail;
24371 }
24372 {
24373 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24374 }
24375 return resultobj;
24376 fail:
24377 return NULL;
24378 }
24379
24380
24381 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24382 PyObject *resultobj = 0;
24383 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24384 bool result;
24385 void *argp1 = 0 ;
24386 int res1 = 0 ;
24387 PyObject *swig_obj[1] ;
24388
24389 if (!args) SWIG_fail;
24390 swig_obj[0] = args;
24391 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24392 if (!SWIG_IsOK(res1)) {
24393 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24394 }
24395 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24396 {
24397 PyThreadState* __tstate = wxPyBeginAllowThreads();
24398 result = (bool)(arg1)->GetEnablePaper();
24399 wxPyEndAllowThreads(__tstate);
24400 if (PyErr_Occurred()) SWIG_fail;
24401 }
24402 {
24403 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24404 }
24405 return resultobj;
24406 fail:
24407 return NULL;
24408 }
24409
24410
24411 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24412 PyObject *resultobj = 0;
24413 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24414 bool result;
24415 void *argp1 = 0 ;
24416 int res1 = 0 ;
24417 PyObject *swig_obj[1] ;
24418
24419 if (!args) SWIG_fail;
24420 swig_obj[0] = args;
24421 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24422 if (!SWIG_IsOK(res1)) {
24423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24424 }
24425 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24426 {
24427 PyThreadState* __tstate = wxPyBeginAllowThreads();
24428 result = (bool)(arg1)->GetEnablePrinter();
24429 wxPyEndAllowThreads(__tstate);
24430 if (PyErr_Occurred()) SWIG_fail;
24431 }
24432 {
24433 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24434 }
24435 return resultobj;
24436 fail:
24437 return NULL;
24438 }
24439
24440
24441 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24442 PyObject *resultobj = 0;
24443 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24444 bool result;
24445 void *argp1 = 0 ;
24446 int res1 = 0 ;
24447 PyObject *swig_obj[1] ;
24448
24449 if (!args) SWIG_fail;
24450 swig_obj[0] = args;
24451 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24452 if (!SWIG_IsOK(res1)) {
24453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24454 }
24455 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24456 {
24457 PyThreadState* __tstate = wxPyBeginAllowThreads();
24458 result = (bool)(arg1)->GetEnableHelp();
24459 wxPyEndAllowThreads(__tstate);
24460 if (PyErr_Occurred()) SWIG_fail;
24461 }
24462 {
24463 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24464 }
24465 return resultobj;
24466 fail:
24467 return NULL;
24468 }
24469
24470
24471 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24472 PyObject *resultobj = 0;
24473 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24474 bool result;
24475 void *argp1 = 0 ;
24476 int res1 = 0 ;
24477 PyObject *swig_obj[1] ;
24478
24479 if (!args) SWIG_fail;
24480 swig_obj[0] = args;
24481 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24482 if (!SWIG_IsOK(res1)) {
24483 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24484 }
24485 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24486 {
24487 PyThreadState* __tstate = wxPyBeginAllowThreads();
24488 result = (bool)(arg1)->GetDefaultInfo();
24489 wxPyEndAllowThreads(__tstate);
24490 if (PyErr_Occurred()) SWIG_fail;
24491 }
24492 {
24493 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24494 }
24495 return resultobj;
24496 fail:
24497 return NULL;
24498 }
24499
24500
24501 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24502 PyObject *resultobj = 0;
24503 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24504 wxPoint result;
24505 void *argp1 = 0 ;
24506 int res1 = 0 ;
24507 PyObject *swig_obj[1] ;
24508
24509 if (!args) SWIG_fail;
24510 swig_obj[0] = args;
24511 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24512 if (!SWIG_IsOK(res1)) {
24513 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24514 }
24515 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24516 {
24517 PyThreadState* __tstate = wxPyBeginAllowThreads();
24518 result = (arg1)->GetMarginTopLeft();
24519 wxPyEndAllowThreads(__tstate);
24520 if (PyErr_Occurred()) SWIG_fail;
24521 }
24522 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
24523 return resultobj;
24524 fail:
24525 return NULL;
24526 }
24527
24528
24529 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24530 PyObject *resultobj = 0;
24531 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24532 wxPoint result;
24533 void *argp1 = 0 ;
24534 int res1 = 0 ;
24535 PyObject *swig_obj[1] ;
24536
24537 if (!args) SWIG_fail;
24538 swig_obj[0] = args;
24539 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24540 if (!SWIG_IsOK(res1)) {
24541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24542 }
24543 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24544 {
24545 PyThreadState* __tstate = wxPyBeginAllowThreads();
24546 result = (arg1)->GetMarginBottomRight();
24547 wxPyEndAllowThreads(__tstate);
24548 if (PyErr_Occurred()) SWIG_fail;
24549 }
24550 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
24551 return resultobj;
24552 fail:
24553 return NULL;
24554 }
24555
24556
24557 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24558 PyObject *resultobj = 0;
24559 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24560 wxPoint result;
24561 void *argp1 = 0 ;
24562 int res1 = 0 ;
24563 PyObject *swig_obj[1] ;
24564
24565 if (!args) SWIG_fail;
24566 swig_obj[0] = args;
24567 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24568 if (!SWIG_IsOK(res1)) {
24569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24570 }
24571 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24572 {
24573 PyThreadState* __tstate = wxPyBeginAllowThreads();
24574 result = (arg1)->GetMinMarginTopLeft();
24575 wxPyEndAllowThreads(__tstate);
24576 if (PyErr_Occurred()) SWIG_fail;
24577 }
24578 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
24579 return resultobj;
24580 fail:
24581 return NULL;
24582 }
24583
24584
24585 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24586 PyObject *resultobj = 0;
24587 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24588 wxPoint result;
24589 void *argp1 = 0 ;
24590 int res1 = 0 ;
24591 PyObject *swig_obj[1] ;
24592
24593 if (!args) SWIG_fail;
24594 swig_obj[0] = args;
24595 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24596 if (!SWIG_IsOK(res1)) {
24597 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24598 }
24599 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24600 {
24601 PyThreadState* __tstate = wxPyBeginAllowThreads();
24602 result = (arg1)->GetMinMarginBottomRight();
24603 wxPyEndAllowThreads(__tstate);
24604 if (PyErr_Occurred()) SWIG_fail;
24605 }
24606 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
24607 return resultobj;
24608 fail:
24609 return NULL;
24610 }
24611
24612
24613 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24614 PyObject *resultobj = 0;
24615 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24616 wxPaperSize result;
24617 void *argp1 = 0 ;
24618 int res1 = 0 ;
24619 PyObject *swig_obj[1] ;
24620
24621 if (!args) SWIG_fail;
24622 swig_obj[0] = args;
24623 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24624 if (!SWIG_IsOK(res1)) {
24625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24626 }
24627 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24628 {
24629 PyThreadState* __tstate = wxPyBeginAllowThreads();
24630 result = (wxPaperSize)(arg1)->GetPaperId();
24631 wxPyEndAllowThreads(__tstate);
24632 if (PyErr_Occurred()) SWIG_fail;
24633 }
24634 resultobj = SWIG_From_int(static_cast< int >(result));
24635 return resultobj;
24636 fail:
24637 return NULL;
24638 }
24639
24640
24641 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24642 PyObject *resultobj = 0;
24643 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24644 wxSize result;
24645 void *argp1 = 0 ;
24646 int res1 = 0 ;
24647 PyObject *swig_obj[1] ;
24648
24649 if (!args) SWIG_fail;
24650 swig_obj[0] = args;
24651 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24652 if (!SWIG_IsOK(res1)) {
24653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24654 }
24655 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24656 {
24657 PyThreadState* __tstate = wxPyBeginAllowThreads();
24658 result = (arg1)->GetPaperSize();
24659 wxPyEndAllowThreads(__tstate);
24660 if (PyErr_Occurred()) SWIG_fail;
24661 }
24662 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
24663 return resultobj;
24664 fail:
24665 return NULL;
24666 }
24667
24668
24669 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24670 PyObject *resultobj = 0;
24671 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24672 wxPrintData *result = 0 ;
24673 void *argp1 = 0 ;
24674 int res1 = 0 ;
24675 PyObject *swig_obj[1] ;
24676
24677 if (!args) SWIG_fail;
24678 swig_obj[0] = args;
24679 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24680 if (!SWIG_IsOK(res1)) {
24681 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24682 }
24683 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24684 {
24685 PyThreadState* __tstate = wxPyBeginAllowThreads();
24686 {
24687 wxPrintData &_result_ref = (arg1)->GetPrintData();
24688 result = (wxPrintData *) &_result_ref;
24689 }
24690 wxPyEndAllowThreads(__tstate);
24691 if (PyErr_Occurred()) SWIG_fail;
24692 }
24693 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
24694 return resultobj;
24695 fail:
24696 return NULL;
24697 }
24698
24699
24700 SWIGINTERN PyObject *_wrap_PageSetupDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24701 PyObject *resultobj = 0;
24702 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24703 bool result;
24704 void *argp1 = 0 ;
24705 int res1 = 0 ;
24706 PyObject *swig_obj[1] ;
24707
24708 if (!args) SWIG_fail;
24709 swig_obj[0] = args;
24710 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24711 if (!SWIG_IsOK(res1)) {
24712 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24713 }
24714 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24715 {
24716 PyThreadState* __tstate = wxPyBeginAllowThreads();
24717 result = (bool)(arg1)->Ok();
24718 wxPyEndAllowThreads(__tstate);
24719 if (PyErr_Occurred()) SWIG_fail;
24720 }
24721 {
24722 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24723 }
24724 return resultobj;
24725 fail:
24726 return NULL;
24727 }
24728
24729
24730 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24731 PyObject *resultobj = 0;
24732 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24733 bool arg2 ;
24734 void *argp1 = 0 ;
24735 int res1 = 0 ;
24736 bool val2 ;
24737 int ecode2 = 0 ;
24738 PyObject * obj0 = 0 ;
24739 PyObject * obj1 = 0 ;
24740 char * kwnames[] = {
24741 (char *) "self",(char *) "flag", NULL
24742 };
24743
24744 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
24745 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24746 if (!SWIG_IsOK(res1)) {
24747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24748 }
24749 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24750 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24751 if (!SWIG_IsOK(ecode2)) {
24752 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
24753 }
24754 arg2 = static_cast< bool >(val2);
24755 {
24756 PyThreadState* __tstate = wxPyBeginAllowThreads();
24757 (arg1)->SetDefaultInfo(arg2);
24758 wxPyEndAllowThreads(__tstate);
24759 if (PyErr_Occurred()) SWIG_fail;
24760 }
24761 resultobj = SWIG_Py_Void();
24762 return resultobj;
24763 fail:
24764 return NULL;
24765 }
24766
24767
24768 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24769 PyObject *resultobj = 0;
24770 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24771 bool arg2 ;
24772 void *argp1 = 0 ;
24773 int res1 = 0 ;
24774 bool val2 ;
24775 int ecode2 = 0 ;
24776 PyObject * obj0 = 0 ;
24777 PyObject * obj1 = 0 ;
24778 char * kwnames[] = {
24779 (char *) "self",(char *) "flag", NULL
24780 };
24781
24782 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
24783 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24784 if (!SWIG_IsOK(res1)) {
24785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24786 }
24787 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24788 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24789 if (!SWIG_IsOK(ecode2)) {
24790 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
24791 }
24792 arg2 = static_cast< bool >(val2);
24793 {
24794 PyThreadState* __tstate = wxPyBeginAllowThreads();
24795 (arg1)->SetDefaultMinMargins(arg2);
24796 wxPyEndAllowThreads(__tstate);
24797 if (PyErr_Occurred()) SWIG_fail;
24798 }
24799 resultobj = SWIG_Py_Void();
24800 return resultobj;
24801 fail:
24802 return NULL;
24803 }
24804
24805
24806 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24807 PyObject *resultobj = 0;
24808 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24809 wxPoint *arg2 = 0 ;
24810 void *argp1 = 0 ;
24811 int res1 = 0 ;
24812 wxPoint temp2 ;
24813 PyObject * obj0 = 0 ;
24814 PyObject * obj1 = 0 ;
24815 char * kwnames[] = {
24816 (char *) "self",(char *) "pt", NULL
24817 };
24818
24819 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
24820 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24821 if (!SWIG_IsOK(res1)) {
24822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24823 }
24824 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24825 {
24826 arg2 = &temp2;
24827 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
24828 }
24829 {
24830 PyThreadState* __tstate = wxPyBeginAllowThreads();
24831 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
24832 wxPyEndAllowThreads(__tstate);
24833 if (PyErr_Occurred()) SWIG_fail;
24834 }
24835 resultobj = SWIG_Py_Void();
24836 return resultobj;
24837 fail:
24838 return NULL;
24839 }
24840
24841
24842 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24843 PyObject *resultobj = 0;
24844 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24845 wxPoint *arg2 = 0 ;
24846 void *argp1 = 0 ;
24847 int res1 = 0 ;
24848 wxPoint temp2 ;
24849 PyObject * obj0 = 0 ;
24850 PyObject * obj1 = 0 ;
24851 char * kwnames[] = {
24852 (char *) "self",(char *) "pt", NULL
24853 };
24854
24855 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
24856 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24857 if (!SWIG_IsOK(res1)) {
24858 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24859 }
24860 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24861 {
24862 arg2 = &temp2;
24863 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
24864 }
24865 {
24866 PyThreadState* __tstate = wxPyBeginAllowThreads();
24867 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
24868 wxPyEndAllowThreads(__tstate);
24869 if (PyErr_Occurred()) SWIG_fail;
24870 }
24871 resultobj = SWIG_Py_Void();
24872 return resultobj;
24873 fail:
24874 return NULL;
24875 }
24876
24877
24878 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24879 PyObject *resultobj = 0;
24880 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24881 wxPoint *arg2 = 0 ;
24882 void *argp1 = 0 ;
24883 int res1 = 0 ;
24884 wxPoint temp2 ;
24885 PyObject * obj0 = 0 ;
24886 PyObject * obj1 = 0 ;
24887 char * kwnames[] = {
24888 (char *) "self",(char *) "pt", NULL
24889 };
24890
24891 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
24892 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24893 if (!SWIG_IsOK(res1)) {
24894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24895 }
24896 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24897 {
24898 arg2 = &temp2;
24899 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
24900 }
24901 {
24902 PyThreadState* __tstate = wxPyBeginAllowThreads();
24903 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
24904 wxPyEndAllowThreads(__tstate);
24905 if (PyErr_Occurred()) SWIG_fail;
24906 }
24907 resultobj = SWIG_Py_Void();
24908 return resultobj;
24909 fail:
24910 return NULL;
24911 }
24912
24913
24914 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24915 PyObject *resultobj = 0;
24916 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24917 wxPoint *arg2 = 0 ;
24918 void *argp1 = 0 ;
24919 int res1 = 0 ;
24920 wxPoint temp2 ;
24921 PyObject * obj0 = 0 ;
24922 PyObject * obj1 = 0 ;
24923 char * kwnames[] = {
24924 (char *) "self",(char *) "pt", NULL
24925 };
24926
24927 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
24928 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24929 if (!SWIG_IsOK(res1)) {
24930 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24931 }
24932 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24933 {
24934 arg2 = &temp2;
24935 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
24936 }
24937 {
24938 PyThreadState* __tstate = wxPyBeginAllowThreads();
24939 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
24940 wxPyEndAllowThreads(__tstate);
24941 if (PyErr_Occurred()) SWIG_fail;
24942 }
24943 resultobj = SWIG_Py_Void();
24944 return resultobj;
24945 fail:
24946 return NULL;
24947 }
24948
24949
24950 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24951 PyObject *resultobj = 0;
24952 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24953 wxPaperSize arg2 ;
24954 void *argp1 = 0 ;
24955 int res1 = 0 ;
24956 int val2 ;
24957 int ecode2 = 0 ;
24958 PyObject * obj0 = 0 ;
24959 PyObject * obj1 = 0 ;
24960 char * kwnames[] = {
24961 (char *) "self",(char *) "id", NULL
24962 };
24963
24964 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
24965 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24966 if (!SWIG_IsOK(res1)) {
24967 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24968 }
24969 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24970 ecode2 = SWIG_AsVal_int(obj1, &val2);
24971 if (!SWIG_IsOK(ecode2)) {
24972 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24973 }
24974 arg2 = static_cast< wxPaperSize >(val2);
24975 {
24976 PyThreadState* __tstate = wxPyBeginAllowThreads();
24977 (arg1)->SetPaperId(arg2);
24978 wxPyEndAllowThreads(__tstate);
24979 if (PyErr_Occurred()) SWIG_fail;
24980 }
24981 resultobj = SWIG_Py_Void();
24982 return resultobj;
24983 fail:
24984 return NULL;
24985 }
24986
24987
24988 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24989 PyObject *resultobj = 0;
24990 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24991 wxSize *arg2 = 0 ;
24992 void *argp1 = 0 ;
24993 int res1 = 0 ;
24994 wxSize temp2 ;
24995 PyObject * obj0 = 0 ;
24996 PyObject * obj1 = 0 ;
24997 char * kwnames[] = {
24998 (char *) "self",(char *) "size", NULL
24999 };
25000
25001 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
25002 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25003 if (!SWIG_IsOK(res1)) {
25004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25005 }
25006 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25007 {
25008 arg2 = &temp2;
25009 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25010 }
25011 {
25012 PyThreadState* __tstate = wxPyBeginAllowThreads();
25013 (arg1)->SetPaperSize((wxSize const &)*arg2);
25014 wxPyEndAllowThreads(__tstate);
25015 if (PyErr_Occurred()) SWIG_fail;
25016 }
25017 resultobj = SWIG_Py_Void();
25018 return resultobj;
25019 fail:
25020 return NULL;
25021 }
25022
25023
25024 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25025 PyObject *resultobj = 0;
25026 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25027 wxPrintData *arg2 = 0 ;
25028 void *argp1 = 0 ;
25029 int res1 = 0 ;
25030 void *argp2 = 0 ;
25031 int res2 = 0 ;
25032 PyObject * obj0 = 0 ;
25033 PyObject * obj1 = 0 ;
25034 char * kwnames[] = {
25035 (char *) "self",(char *) "printData", NULL
25036 };
25037
25038 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
25039 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25040 if (!SWIG_IsOK(res1)) {
25041 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25042 }
25043 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25044 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
25045 if (!SWIG_IsOK(res2)) {
25046 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25047 }
25048 if (!argp2) {
25049 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25050 }
25051 arg2 = reinterpret_cast< wxPrintData * >(argp2);
25052 {
25053 PyThreadState* __tstate = wxPyBeginAllowThreads();
25054 (arg1)->SetPrintData((wxPrintData const &)*arg2);
25055 wxPyEndAllowThreads(__tstate);
25056 if (PyErr_Occurred()) SWIG_fail;
25057 }
25058 resultobj = SWIG_Py_Void();
25059 return resultobj;
25060 fail:
25061 return NULL;
25062 }
25063
25064
25065 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25066 PyObject *resultobj = 0;
25067 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25068 void *argp1 = 0 ;
25069 int res1 = 0 ;
25070 PyObject *swig_obj[1] ;
25071
25072 if (!args) SWIG_fail;
25073 swig_obj[0] = args;
25074 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25075 if (!SWIG_IsOK(res1)) {
25076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25077 }
25078 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25079 {
25080 PyThreadState* __tstate = wxPyBeginAllowThreads();
25081 (arg1)->CalculateIdFromPaperSize();
25082 wxPyEndAllowThreads(__tstate);
25083 if (PyErr_Occurred()) SWIG_fail;
25084 }
25085 resultobj = SWIG_Py_Void();
25086 return resultobj;
25087 fail:
25088 return NULL;
25089 }
25090
25091
25092 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25093 PyObject *resultobj = 0;
25094 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25095 void *argp1 = 0 ;
25096 int res1 = 0 ;
25097 PyObject *swig_obj[1] ;
25098
25099 if (!args) SWIG_fail;
25100 swig_obj[0] = args;
25101 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25102 if (!SWIG_IsOK(res1)) {
25103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25104 }
25105 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25106 {
25107 PyThreadState* __tstate = wxPyBeginAllowThreads();
25108 (arg1)->CalculatePaperSizeFromId();
25109 wxPyEndAllowThreads(__tstate);
25110 if (PyErr_Occurred()) SWIG_fail;
25111 }
25112 resultobj = SWIG_Py_Void();
25113 return resultobj;
25114 fail:
25115 return NULL;
25116 }
25117
25118
25119 SWIGINTERN PyObject *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25120 PyObject *obj;
25121 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25122 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
25123 return SWIG_Py_Void();
25124 }
25125
25126 SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25127 return SWIG_Python_InitShadowInstance(args);
25128 }
25129
25130 SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25131 PyObject *resultobj = 0;
25132 wxWindow *arg1 = (wxWindow *) 0 ;
25133 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
25134 wxPageSetupDialog *result = 0 ;
25135 void *argp1 = 0 ;
25136 int res1 = 0 ;
25137 void *argp2 = 0 ;
25138 int res2 = 0 ;
25139 PyObject * obj0 = 0 ;
25140 PyObject * obj1 = 0 ;
25141 char * kwnames[] = {
25142 (char *) "parent",(char *) "data", NULL
25143 };
25144
25145 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
25146 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25147 if (!SWIG_IsOK(res1)) {
25148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25149 }
25150 arg1 = reinterpret_cast< wxWindow * >(argp1);
25151 if (obj1) {
25152 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25153 if (!SWIG_IsOK(res2)) {
25154 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25155 }
25156 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
25157 }
25158 {
25159 if (!wxPyCheckForApp()) SWIG_fail;
25160 PyThreadState* __tstate = wxPyBeginAllowThreads();
25161 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
25162 wxPyEndAllowThreads(__tstate);
25163 if (PyErr_Occurred()) SWIG_fail;
25164 }
25165 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
25166 return resultobj;
25167 fail:
25168 return NULL;
25169 }
25170
25171
25172 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25173 PyObject *resultobj = 0;
25174 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25175 wxPageSetupDialogData *result = 0 ;
25176 void *argp1 = 0 ;
25177 int res1 = 0 ;
25178 PyObject *swig_obj[1] ;
25179
25180 if (!args) SWIG_fail;
25181 swig_obj[0] = args;
25182 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25183 if (!SWIG_IsOK(res1)) {
25184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25185 }
25186 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25187 {
25188 PyThreadState* __tstate = wxPyBeginAllowThreads();
25189 {
25190 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
25191 result = (wxPageSetupDialogData *) &_result_ref;
25192 }
25193 wxPyEndAllowThreads(__tstate);
25194 if (PyErr_Occurred()) SWIG_fail;
25195 }
25196 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25197 return resultobj;
25198 fail:
25199 return NULL;
25200 }
25201
25202
25203 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25204 PyObject *resultobj = 0;
25205 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25206 wxPageSetupDialogData *result = 0 ;
25207 void *argp1 = 0 ;
25208 int res1 = 0 ;
25209 PyObject *swig_obj[1] ;
25210
25211 if (!args) SWIG_fail;
25212 swig_obj[0] = args;
25213 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25214 if (!SWIG_IsOK(res1)) {
25215 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25216 }
25217 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25218 {
25219 PyThreadState* __tstate = wxPyBeginAllowThreads();
25220 {
25221 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
25222 result = (wxPageSetupDialogData *) &_result_ref;
25223 }
25224 wxPyEndAllowThreads(__tstate);
25225 if (PyErr_Occurred()) SWIG_fail;
25226 }
25227 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25228 return resultobj;
25229 fail:
25230 return NULL;
25231 }
25232
25233
25234 SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25235 PyObject *resultobj = 0;
25236 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25237 int result;
25238 void *argp1 = 0 ;
25239 int res1 = 0 ;
25240 PyObject *swig_obj[1] ;
25241
25242 if (!args) SWIG_fail;
25243 swig_obj[0] = args;
25244 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25245 if (!SWIG_IsOK(res1)) {
25246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25247 }
25248 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25249 {
25250 PyThreadState* __tstate = wxPyBeginAllowThreads();
25251 result = (int)(arg1)->ShowModal();
25252 wxPyEndAllowThreads(__tstate);
25253 if (PyErr_Occurred()) SWIG_fail;
25254 }
25255 resultobj = SWIG_From_int(static_cast< int >(result));
25256 return resultobj;
25257 fail:
25258 return NULL;
25259 }
25260
25261
25262 SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25263 PyObject *obj;
25264 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25265 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
25266 return SWIG_Py_Void();
25267 }
25268
25269 SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25270 return SWIG_Python_InitShadowInstance(args);
25271 }
25272
25273 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
25274 PyObject *resultobj = 0;
25275 wxPrintDialogData *result = 0 ;
25276
25277 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
25278 {
25279 PyThreadState* __tstate = wxPyBeginAllowThreads();
25280 result = (wxPrintDialogData *)new wxPrintDialogData();
25281 wxPyEndAllowThreads(__tstate);
25282 if (PyErr_Occurred()) SWIG_fail;
25283 }
25284 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25285 return resultobj;
25286 fail:
25287 return NULL;
25288 }
25289
25290
25291 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25292 PyObject *resultobj = 0;
25293 wxPrintData *arg1 = 0 ;
25294 wxPrintDialogData *result = 0 ;
25295 void *argp1 = 0 ;
25296 int res1 = 0 ;
25297
25298 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25299 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
25300 if (!SWIG_IsOK(res1)) {
25301 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25302 }
25303 if (!argp1) {
25304 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25305 }
25306 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25307 {
25308 PyThreadState* __tstate = wxPyBeginAllowThreads();
25309 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
25310 wxPyEndAllowThreads(__tstate);
25311 if (PyErr_Occurred()) SWIG_fail;
25312 }
25313 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25314 return resultobj;
25315 fail:
25316 return NULL;
25317 }
25318
25319
25320 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25321 PyObject *resultobj = 0;
25322 wxPrintDialogData *arg1 = 0 ;
25323 wxPrintDialogData *result = 0 ;
25324 void *argp1 = 0 ;
25325 int res1 = 0 ;
25326
25327 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25328 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
25329 if (!SWIG_IsOK(res1)) {
25330 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25331 }
25332 if (!argp1) {
25333 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25334 }
25335 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25336 {
25337 PyThreadState* __tstate = wxPyBeginAllowThreads();
25338 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
25339 wxPyEndAllowThreads(__tstate);
25340 if (PyErr_Occurred()) SWIG_fail;
25341 }
25342 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25343 return resultobj;
25344 fail:
25345 return NULL;
25346 }
25347
25348
25349 SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
25350 int argc;
25351 PyObject *argv[2];
25352
25353 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
25354 --argc;
25355 if (argc == 0) {
25356 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
25357 }
25358 if (argc == 1) {
25359 int _v = 0;
25360 {
25361 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
25362 _v = SWIG_CheckState(res);
25363 }
25364 if (!_v) goto check_2;
25365 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
25366 }
25367 check_2:
25368
25369 if (argc == 1) {
25370 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
25371 }
25372
25373 fail:
25374 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
25375 return NULL;
25376 }
25377
25378
25379 SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25380 PyObject *resultobj = 0;
25381 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25382 void *argp1 = 0 ;
25383 int res1 = 0 ;
25384 PyObject *swig_obj[1] ;
25385
25386 if (!args) SWIG_fail;
25387 swig_obj[0] = args;
25388 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
25389 if (!SWIG_IsOK(res1)) {
25390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25391 }
25392 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25393 {
25394 PyThreadState* __tstate = wxPyBeginAllowThreads();
25395 delete arg1;
25396
25397 wxPyEndAllowThreads(__tstate);
25398 if (PyErr_Occurred()) SWIG_fail;
25399 }
25400 resultobj = SWIG_Py_Void();
25401 return resultobj;
25402 fail:
25403 return NULL;
25404 }
25405
25406
25407 SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25408 PyObject *resultobj = 0;
25409 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25410 int result;
25411 void *argp1 = 0 ;
25412 int res1 = 0 ;
25413 PyObject *swig_obj[1] ;
25414
25415 if (!args) SWIG_fail;
25416 swig_obj[0] = args;
25417 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25418 if (!SWIG_IsOK(res1)) {
25419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25420 }
25421 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25422 {
25423 PyThreadState* __tstate = wxPyBeginAllowThreads();
25424 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
25425 wxPyEndAllowThreads(__tstate);
25426 if (PyErr_Occurred()) SWIG_fail;
25427 }
25428 resultobj = SWIG_From_int(static_cast< int >(result));
25429 return resultobj;
25430 fail:
25431 return NULL;
25432 }
25433
25434
25435 SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25436 PyObject *resultobj = 0;
25437 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25438 int result;
25439 void *argp1 = 0 ;
25440 int res1 = 0 ;
25441 PyObject *swig_obj[1] ;
25442
25443 if (!args) SWIG_fail;
25444 swig_obj[0] = args;
25445 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25446 if (!SWIG_IsOK(res1)) {
25447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25448 }
25449 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25450 {
25451 PyThreadState* __tstate = wxPyBeginAllowThreads();
25452 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
25453 wxPyEndAllowThreads(__tstate);
25454 if (PyErr_Occurred()) SWIG_fail;
25455 }
25456 resultobj = SWIG_From_int(static_cast< int >(result));
25457 return resultobj;
25458 fail:
25459 return NULL;
25460 }
25461
25462
25463 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25464 PyObject *resultobj = 0;
25465 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25466 int result;
25467 void *argp1 = 0 ;
25468 int res1 = 0 ;
25469 PyObject *swig_obj[1] ;
25470
25471 if (!args) SWIG_fail;
25472 swig_obj[0] = args;
25473 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25474 if (!SWIG_IsOK(res1)) {
25475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25476 }
25477 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25478 {
25479 PyThreadState* __tstate = wxPyBeginAllowThreads();
25480 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
25481 wxPyEndAllowThreads(__tstate);
25482 if (PyErr_Occurred()) SWIG_fail;
25483 }
25484 resultobj = SWIG_From_int(static_cast< int >(result));
25485 return resultobj;
25486 fail:
25487 return NULL;
25488 }
25489
25490
25491 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25492 PyObject *resultobj = 0;
25493 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25494 int result;
25495 void *argp1 = 0 ;
25496 int res1 = 0 ;
25497 PyObject *swig_obj[1] ;
25498
25499 if (!args) SWIG_fail;
25500 swig_obj[0] = args;
25501 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25502 if (!SWIG_IsOK(res1)) {
25503 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25504 }
25505 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25506 {
25507 PyThreadState* __tstate = wxPyBeginAllowThreads();
25508 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
25509 wxPyEndAllowThreads(__tstate);
25510 if (PyErr_Occurred()) SWIG_fail;
25511 }
25512 resultobj = SWIG_From_int(static_cast< int >(result));
25513 return resultobj;
25514 fail:
25515 return NULL;
25516 }
25517
25518
25519 SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25520 PyObject *resultobj = 0;
25521 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25522 int result;
25523 void *argp1 = 0 ;
25524 int res1 = 0 ;
25525 PyObject *swig_obj[1] ;
25526
25527 if (!args) SWIG_fail;
25528 swig_obj[0] = args;
25529 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25530 if (!SWIG_IsOK(res1)) {
25531 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25532 }
25533 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25534 {
25535 PyThreadState* __tstate = wxPyBeginAllowThreads();
25536 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
25537 wxPyEndAllowThreads(__tstate);
25538 if (PyErr_Occurred()) SWIG_fail;
25539 }
25540 resultobj = SWIG_From_int(static_cast< int >(result));
25541 return resultobj;
25542 fail:
25543 return NULL;
25544 }
25545
25546
25547 SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25548 PyObject *resultobj = 0;
25549 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25550 bool result;
25551 void *argp1 = 0 ;
25552 int res1 = 0 ;
25553 PyObject *swig_obj[1] ;
25554
25555 if (!args) SWIG_fail;
25556 swig_obj[0] = args;
25557 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25558 if (!SWIG_IsOK(res1)) {
25559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25560 }
25561 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25562 {
25563 PyThreadState* __tstate = wxPyBeginAllowThreads();
25564 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
25565 wxPyEndAllowThreads(__tstate);
25566 if (PyErr_Occurred()) SWIG_fail;
25567 }
25568 {
25569 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25570 }
25571 return resultobj;
25572 fail:
25573 return NULL;
25574 }
25575
25576
25577 SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25578 PyObject *resultobj = 0;
25579 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25580 bool result;
25581 void *argp1 = 0 ;
25582 int res1 = 0 ;
25583 PyObject *swig_obj[1] ;
25584
25585 if (!args) SWIG_fail;
25586 swig_obj[0] = args;
25587 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25588 if (!SWIG_IsOK(res1)) {
25589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25590 }
25591 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25592 {
25593 PyThreadState* __tstate = wxPyBeginAllowThreads();
25594 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
25595 wxPyEndAllowThreads(__tstate);
25596 if (PyErr_Occurred()) SWIG_fail;
25597 }
25598 {
25599 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25600 }
25601 return resultobj;
25602 fail:
25603 return NULL;
25604 }
25605
25606
25607 SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25608 PyObject *resultobj = 0;
25609 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25610 bool result;
25611 void *argp1 = 0 ;
25612 int res1 = 0 ;
25613 PyObject *swig_obj[1] ;
25614
25615 if (!args) SWIG_fail;
25616 swig_obj[0] = args;
25617 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25618 if (!SWIG_IsOK(res1)) {
25619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25620 }
25621 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25622 {
25623 PyThreadState* __tstate = wxPyBeginAllowThreads();
25624 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
25625 wxPyEndAllowThreads(__tstate);
25626 if (PyErr_Occurred()) SWIG_fail;
25627 }
25628 {
25629 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25630 }
25631 return resultobj;
25632 fail:
25633 return NULL;
25634 }
25635
25636
25637 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25638 PyObject *resultobj = 0;
25639 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25640 bool result;
25641 void *argp1 = 0 ;
25642 int res1 = 0 ;
25643 PyObject *swig_obj[1] ;
25644
25645 if (!args) SWIG_fail;
25646 swig_obj[0] = args;
25647 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25648 if (!SWIG_IsOK(res1)) {
25649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25650 }
25651 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25652 {
25653 PyThreadState* __tstate = wxPyBeginAllowThreads();
25654 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
25655 wxPyEndAllowThreads(__tstate);
25656 if (PyErr_Occurred()) SWIG_fail;
25657 }
25658 {
25659 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25660 }
25661 return resultobj;
25662 fail:
25663 return NULL;
25664 }
25665
25666
25667 SWIGINTERN PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25668 PyObject *resultobj = 0;
25669 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25670 int arg2 ;
25671 void *argp1 = 0 ;
25672 int res1 = 0 ;
25673 int val2 ;
25674 int ecode2 = 0 ;
25675 PyObject * obj0 = 0 ;
25676 PyObject * obj1 = 0 ;
25677 char * kwnames[] = {
25678 (char *) "self",(char *) "v", NULL
25679 };
25680
25681 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
25682 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25683 if (!SWIG_IsOK(res1)) {
25684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25685 }
25686 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25687 ecode2 = SWIG_AsVal_int(obj1, &val2);
25688 if (!SWIG_IsOK(ecode2)) {
25689 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
25690 }
25691 arg2 = static_cast< int >(val2);
25692 {
25693 PyThreadState* __tstate = wxPyBeginAllowThreads();
25694 (arg1)->SetFromPage(arg2);
25695 wxPyEndAllowThreads(__tstate);
25696 if (PyErr_Occurred()) SWIG_fail;
25697 }
25698 resultobj = SWIG_Py_Void();
25699 return resultobj;
25700 fail:
25701 return NULL;
25702 }
25703
25704
25705 SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25706 PyObject *resultobj = 0;
25707 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25708 int arg2 ;
25709 void *argp1 = 0 ;
25710 int res1 = 0 ;
25711 int val2 ;
25712 int ecode2 = 0 ;
25713 PyObject * obj0 = 0 ;
25714 PyObject * obj1 = 0 ;
25715 char * kwnames[] = {
25716 (char *) "self",(char *) "v", NULL
25717 };
25718
25719 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
25720 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25721 if (!SWIG_IsOK(res1)) {
25722 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25723 }
25724 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25725 ecode2 = SWIG_AsVal_int(obj1, &val2);
25726 if (!SWIG_IsOK(ecode2)) {
25727 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
25728 }
25729 arg2 = static_cast< int >(val2);
25730 {
25731 PyThreadState* __tstate = wxPyBeginAllowThreads();
25732 (arg1)->SetToPage(arg2);
25733 wxPyEndAllowThreads(__tstate);
25734 if (PyErr_Occurred()) SWIG_fail;
25735 }
25736 resultobj = SWIG_Py_Void();
25737 return resultobj;
25738 fail:
25739 return NULL;
25740 }
25741
25742
25743 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25744 PyObject *resultobj = 0;
25745 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25746 int arg2 ;
25747 void *argp1 = 0 ;
25748 int res1 = 0 ;
25749 int val2 ;
25750 int ecode2 = 0 ;
25751 PyObject * obj0 = 0 ;
25752 PyObject * obj1 = 0 ;
25753 char * kwnames[] = {
25754 (char *) "self",(char *) "v", NULL
25755 };
25756
25757 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
25758 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25759 if (!SWIG_IsOK(res1)) {
25760 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25761 }
25762 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25763 ecode2 = SWIG_AsVal_int(obj1, &val2);
25764 if (!SWIG_IsOK(ecode2)) {
25765 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
25766 }
25767 arg2 = static_cast< int >(val2);
25768 {
25769 PyThreadState* __tstate = wxPyBeginAllowThreads();
25770 (arg1)->SetMinPage(arg2);
25771 wxPyEndAllowThreads(__tstate);
25772 if (PyErr_Occurred()) SWIG_fail;
25773 }
25774 resultobj = SWIG_Py_Void();
25775 return resultobj;
25776 fail:
25777 return NULL;
25778 }
25779
25780
25781 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25782 PyObject *resultobj = 0;
25783 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25784 int arg2 ;
25785 void *argp1 = 0 ;
25786 int res1 = 0 ;
25787 int val2 ;
25788 int ecode2 = 0 ;
25789 PyObject * obj0 = 0 ;
25790 PyObject * obj1 = 0 ;
25791 char * kwnames[] = {
25792 (char *) "self",(char *) "v", NULL
25793 };
25794
25795 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
25796 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25797 if (!SWIG_IsOK(res1)) {
25798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25799 }
25800 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25801 ecode2 = SWIG_AsVal_int(obj1, &val2);
25802 if (!SWIG_IsOK(ecode2)) {
25803 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
25804 }
25805 arg2 = static_cast< int >(val2);
25806 {
25807 PyThreadState* __tstate = wxPyBeginAllowThreads();
25808 (arg1)->SetMaxPage(arg2);
25809 wxPyEndAllowThreads(__tstate);
25810 if (PyErr_Occurred()) SWIG_fail;
25811 }
25812 resultobj = SWIG_Py_Void();
25813 return resultobj;
25814 fail:
25815 return NULL;
25816 }
25817
25818
25819 SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25820 PyObject *resultobj = 0;
25821 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25822 int arg2 ;
25823 void *argp1 = 0 ;
25824 int res1 = 0 ;
25825 int val2 ;
25826 int ecode2 = 0 ;
25827 PyObject * obj0 = 0 ;
25828 PyObject * obj1 = 0 ;
25829 char * kwnames[] = {
25830 (char *) "self",(char *) "v", NULL
25831 };
25832
25833 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
25834 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25835 if (!SWIG_IsOK(res1)) {
25836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25837 }
25838 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25839 ecode2 = SWIG_AsVal_int(obj1, &val2);
25840 if (!SWIG_IsOK(ecode2)) {
25841 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
25842 }
25843 arg2 = static_cast< int >(val2);
25844 {
25845 PyThreadState* __tstate = wxPyBeginAllowThreads();
25846 (arg1)->SetNoCopies(arg2);
25847 wxPyEndAllowThreads(__tstate);
25848 if (PyErr_Occurred()) SWIG_fail;
25849 }
25850 resultobj = SWIG_Py_Void();
25851 return resultobj;
25852 fail:
25853 return NULL;
25854 }
25855
25856
25857 SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25858 PyObject *resultobj = 0;
25859 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25860 bool arg2 ;
25861 void *argp1 = 0 ;
25862 int res1 = 0 ;
25863 bool val2 ;
25864 int ecode2 = 0 ;
25865 PyObject * obj0 = 0 ;
25866 PyObject * obj1 = 0 ;
25867 char * kwnames[] = {
25868 (char *) "self",(char *) "flag", NULL
25869 };
25870
25871 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
25872 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25873 if (!SWIG_IsOK(res1)) {
25874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25875 }
25876 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25877 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25878 if (!SWIG_IsOK(ecode2)) {
25879 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
25880 }
25881 arg2 = static_cast< bool >(val2);
25882 {
25883 PyThreadState* __tstate = wxPyBeginAllowThreads();
25884 (arg1)->SetAllPages(arg2);
25885 wxPyEndAllowThreads(__tstate);
25886 if (PyErr_Occurred()) SWIG_fail;
25887 }
25888 resultobj = SWIG_Py_Void();
25889 return resultobj;
25890 fail:
25891 return NULL;
25892 }
25893
25894
25895 SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25896 PyObject *resultobj = 0;
25897 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25898 bool arg2 ;
25899 void *argp1 = 0 ;
25900 int res1 = 0 ;
25901 bool val2 ;
25902 int ecode2 = 0 ;
25903 PyObject * obj0 = 0 ;
25904 PyObject * obj1 = 0 ;
25905 char * kwnames[] = {
25906 (char *) "self",(char *) "flag", NULL
25907 };
25908
25909 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
25910 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25911 if (!SWIG_IsOK(res1)) {
25912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25913 }
25914 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25915 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25916 if (!SWIG_IsOK(ecode2)) {
25917 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
25918 }
25919 arg2 = static_cast< bool >(val2);
25920 {
25921 PyThreadState* __tstate = wxPyBeginAllowThreads();
25922 (arg1)->SetSelection(arg2);
25923 wxPyEndAllowThreads(__tstate);
25924 if (PyErr_Occurred()) SWIG_fail;
25925 }
25926 resultobj = SWIG_Py_Void();
25927 return resultobj;
25928 fail:
25929 return NULL;
25930 }
25931
25932
25933 SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25934 PyObject *resultobj = 0;
25935 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25936 bool arg2 ;
25937 void *argp1 = 0 ;
25938 int res1 = 0 ;
25939 bool val2 ;
25940 int ecode2 = 0 ;
25941 PyObject * obj0 = 0 ;
25942 PyObject * obj1 = 0 ;
25943 char * kwnames[] = {
25944 (char *) "self",(char *) "flag", NULL
25945 };
25946
25947 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
25948 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25949 if (!SWIG_IsOK(res1)) {
25950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25951 }
25952 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25953 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25954 if (!SWIG_IsOK(ecode2)) {
25955 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
25956 }
25957 arg2 = static_cast< bool >(val2);
25958 {
25959 PyThreadState* __tstate = wxPyBeginAllowThreads();
25960 (arg1)->SetCollate(arg2);
25961 wxPyEndAllowThreads(__tstate);
25962 if (PyErr_Occurred()) SWIG_fail;
25963 }
25964 resultobj = SWIG_Py_Void();
25965 return resultobj;
25966 fail:
25967 return NULL;
25968 }
25969
25970
25971 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25972 PyObject *resultobj = 0;
25973 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25974 bool arg2 ;
25975 void *argp1 = 0 ;
25976 int res1 = 0 ;
25977 bool val2 ;
25978 int ecode2 = 0 ;
25979 PyObject * obj0 = 0 ;
25980 PyObject * obj1 = 0 ;
25981 char * kwnames[] = {
25982 (char *) "self",(char *) "flag", NULL
25983 };
25984
25985 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
25986 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25987 if (!SWIG_IsOK(res1)) {
25988 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25989 }
25990 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25991 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25992 if (!SWIG_IsOK(ecode2)) {
25993 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
25994 }
25995 arg2 = static_cast< bool >(val2);
25996 {
25997 PyThreadState* __tstate = wxPyBeginAllowThreads();
25998 (arg1)->SetPrintToFile(arg2);
25999 wxPyEndAllowThreads(__tstate);
26000 if (PyErr_Occurred()) SWIG_fail;
26001 }
26002 resultobj = SWIG_Py_Void();
26003 return resultobj;
26004 fail:
26005 return NULL;
26006 }
26007
26008
26009 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26010 PyObject *resultobj = 0;
26011 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26012 bool arg2 ;
26013 void *argp1 = 0 ;
26014 int res1 = 0 ;
26015 bool val2 ;
26016 int ecode2 = 0 ;
26017 PyObject * obj0 = 0 ;
26018 PyObject * obj1 = 0 ;
26019 char * kwnames[] = {
26020 (char *) "self",(char *) "flag", NULL
26021 };
26022
26023 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26024 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26025 if (!SWIG_IsOK(res1)) {
26026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26027 }
26028 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26029 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26030 if (!SWIG_IsOK(ecode2)) {
26031 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26032 }
26033 arg2 = static_cast< bool >(val2);
26034 {
26035 PyThreadState* __tstate = wxPyBeginAllowThreads();
26036 (arg1)->EnablePrintToFile(arg2);
26037 wxPyEndAllowThreads(__tstate);
26038 if (PyErr_Occurred()) SWIG_fail;
26039 }
26040 resultobj = SWIG_Py_Void();
26041 return resultobj;
26042 fail:
26043 return NULL;
26044 }
26045
26046
26047 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26048 PyObject *resultobj = 0;
26049 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26050 bool arg2 ;
26051 void *argp1 = 0 ;
26052 int res1 = 0 ;
26053 bool val2 ;
26054 int ecode2 = 0 ;
26055 PyObject * obj0 = 0 ;
26056 PyObject * obj1 = 0 ;
26057 char * kwnames[] = {
26058 (char *) "self",(char *) "flag", NULL
26059 };
26060
26061 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26062 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26063 if (!SWIG_IsOK(res1)) {
26064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26065 }
26066 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26067 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26068 if (!SWIG_IsOK(ecode2)) {
26069 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26070 }
26071 arg2 = static_cast< bool >(val2);
26072 {
26073 PyThreadState* __tstate = wxPyBeginAllowThreads();
26074 (arg1)->EnableSelection(arg2);
26075 wxPyEndAllowThreads(__tstate);
26076 if (PyErr_Occurred()) SWIG_fail;
26077 }
26078 resultobj = SWIG_Py_Void();
26079 return resultobj;
26080 fail:
26081 return NULL;
26082 }
26083
26084
26085 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26086 PyObject *resultobj = 0;
26087 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26088 bool arg2 ;
26089 void *argp1 = 0 ;
26090 int res1 = 0 ;
26091 bool val2 ;
26092 int ecode2 = 0 ;
26093 PyObject * obj0 = 0 ;
26094 PyObject * obj1 = 0 ;
26095 char * kwnames[] = {
26096 (char *) "self",(char *) "flag", NULL
26097 };
26098
26099 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
26100 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26101 if (!SWIG_IsOK(res1)) {
26102 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26103 }
26104 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26105 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26106 if (!SWIG_IsOK(ecode2)) {
26107 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26108 }
26109 arg2 = static_cast< bool >(val2);
26110 {
26111 PyThreadState* __tstate = wxPyBeginAllowThreads();
26112 (arg1)->EnablePageNumbers(arg2);
26113 wxPyEndAllowThreads(__tstate);
26114 if (PyErr_Occurred()) SWIG_fail;
26115 }
26116 resultobj = SWIG_Py_Void();
26117 return resultobj;
26118 fail:
26119 return NULL;
26120 }
26121
26122
26123 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26124 PyObject *resultobj = 0;
26125 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26126 bool arg2 ;
26127 void *argp1 = 0 ;
26128 int res1 = 0 ;
26129 bool val2 ;
26130 int ecode2 = 0 ;
26131 PyObject * obj0 = 0 ;
26132 PyObject * obj1 = 0 ;
26133 char * kwnames[] = {
26134 (char *) "self",(char *) "flag", NULL
26135 };
26136
26137 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
26138 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26139 if (!SWIG_IsOK(res1)) {
26140 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26141 }
26142 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26143 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26144 if (!SWIG_IsOK(ecode2)) {
26145 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26146 }
26147 arg2 = static_cast< bool >(val2);
26148 {
26149 PyThreadState* __tstate = wxPyBeginAllowThreads();
26150 (arg1)->EnableHelp(arg2);
26151 wxPyEndAllowThreads(__tstate);
26152 if (PyErr_Occurred()) SWIG_fail;
26153 }
26154 resultobj = SWIG_Py_Void();
26155 return resultobj;
26156 fail:
26157 return NULL;
26158 }
26159
26160
26161 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26162 PyObject *resultobj = 0;
26163 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26164 bool result;
26165 void *argp1 = 0 ;
26166 int res1 = 0 ;
26167 PyObject *swig_obj[1] ;
26168
26169 if (!args) SWIG_fail;
26170 swig_obj[0] = args;
26171 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26172 if (!SWIG_IsOK(res1)) {
26173 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26174 }
26175 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26176 {
26177 PyThreadState* __tstate = wxPyBeginAllowThreads();
26178 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
26179 wxPyEndAllowThreads(__tstate);
26180 if (PyErr_Occurred()) SWIG_fail;
26181 }
26182 {
26183 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26184 }
26185 return resultobj;
26186 fail:
26187 return NULL;
26188 }
26189
26190
26191 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26192 PyObject *resultobj = 0;
26193 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26194 bool result;
26195 void *argp1 = 0 ;
26196 int res1 = 0 ;
26197 PyObject *swig_obj[1] ;
26198
26199 if (!args) SWIG_fail;
26200 swig_obj[0] = args;
26201 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26202 if (!SWIG_IsOK(res1)) {
26203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26204 }
26205 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26206 {
26207 PyThreadState* __tstate = wxPyBeginAllowThreads();
26208 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
26209 wxPyEndAllowThreads(__tstate);
26210 if (PyErr_Occurred()) SWIG_fail;
26211 }
26212 {
26213 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26214 }
26215 return resultobj;
26216 fail:
26217 return NULL;
26218 }
26219
26220
26221 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26222 PyObject *resultobj = 0;
26223 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26224 bool result;
26225 void *argp1 = 0 ;
26226 int res1 = 0 ;
26227 PyObject *swig_obj[1] ;
26228
26229 if (!args) SWIG_fail;
26230 swig_obj[0] = args;
26231 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26232 if (!SWIG_IsOK(res1)) {
26233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26234 }
26235 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26236 {
26237 PyThreadState* __tstate = wxPyBeginAllowThreads();
26238 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
26239 wxPyEndAllowThreads(__tstate);
26240 if (PyErr_Occurred()) SWIG_fail;
26241 }
26242 {
26243 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26244 }
26245 return resultobj;
26246 fail:
26247 return NULL;
26248 }
26249
26250
26251 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26252 PyObject *resultobj = 0;
26253 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26254 bool result;
26255 void *argp1 = 0 ;
26256 int res1 = 0 ;
26257 PyObject *swig_obj[1] ;
26258
26259 if (!args) SWIG_fail;
26260 swig_obj[0] = args;
26261 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26262 if (!SWIG_IsOK(res1)) {
26263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26264 }
26265 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26266 {
26267 PyThreadState* __tstate = wxPyBeginAllowThreads();
26268 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
26269 wxPyEndAllowThreads(__tstate);
26270 if (PyErr_Occurred()) SWIG_fail;
26271 }
26272 {
26273 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26274 }
26275 return resultobj;
26276 fail:
26277 return NULL;
26278 }
26279
26280
26281 SWIGINTERN PyObject *_wrap_PrintDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26282 PyObject *resultobj = 0;
26283 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26284 bool result;
26285 void *argp1 = 0 ;
26286 int res1 = 0 ;
26287 PyObject *swig_obj[1] ;
26288
26289 if (!args) SWIG_fail;
26290 swig_obj[0] = args;
26291 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26292 if (!SWIG_IsOK(res1)) {
26293 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26294 }
26295 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26296 {
26297 PyThreadState* __tstate = wxPyBeginAllowThreads();
26298 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
26299 wxPyEndAllowThreads(__tstate);
26300 if (PyErr_Occurred()) SWIG_fail;
26301 }
26302 {
26303 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26304 }
26305 return resultobj;
26306 fail:
26307 return NULL;
26308 }
26309
26310
26311 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26312 PyObject *resultobj = 0;
26313 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26314 wxPrintData *result = 0 ;
26315 void *argp1 = 0 ;
26316 int res1 = 0 ;
26317 PyObject *swig_obj[1] ;
26318
26319 if (!args) SWIG_fail;
26320 swig_obj[0] = args;
26321 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26322 if (!SWIG_IsOK(res1)) {
26323 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26324 }
26325 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26326 {
26327 PyThreadState* __tstate = wxPyBeginAllowThreads();
26328 {
26329 wxPrintData &_result_ref = (arg1)->GetPrintData();
26330 result = (wxPrintData *) &_result_ref;
26331 }
26332 wxPyEndAllowThreads(__tstate);
26333 if (PyErr_Occurred()) SWIG_fail;
26334 }
26335 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
26336 return resultobj;
26337 fail:
26338 return NULL;
26339 }
26340
26341
26342 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26343 PyObject *resultobj = 0;
26344 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26345 wxPrintData *arg2 = 0 ;
26346 void *argp1 = 0 ;
26347 int res1 = 0 ;
26348 void *argp2 = 0 ;
26349 int res2 = 0 ;
26350 PyObject * obj0 = 0 ;
26351 PyObject * obj1 = 0 ;
26352 char * kwnames[] = {
26353 (char *) "self",(char *) "printData", NULL
26354 };
26355
26356 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
26357 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26358 if (!SWIG_IsOK(res1)) {
26359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26360 }
26361 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26362 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
26363 if (!SWIG_IsOK(res2)) {
26364 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26365 }
26366 if (!argp2) {
26367 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26368 }
26369 arg2 = reinterpret_cast< wxPrintData * >(argp2);
26370 {
26371 PyThreadState* __tstate = wxPyBeginAllowThreads();
26372 (arg1)->SetPrintData((wxPrintData const &)*arg2);
26373 wxPyEndAllowThreads(__tstate);
26374 if (PyErr_Occurred()) SWIG_fail;
26375 }
26376 resultobj = SWIG_Py_Void();
26377 return resultobj;
26378 fail:
26379 return NULL;
26380 }
26381
26382
26383 SWIGINTERN PyObject *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26384 PyObject *obj;
26385 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26386 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
26387 return SWIG_Py_Void();
26388 }
26389
26390 SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26391 return SWIG_Python_InitShadowInstance(args);
26392 }
26393
26394 SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26395 PyObject *resultobj = 0;
26396 wxWindow *arg1 = (wxWindow *) 0 ;
26397 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
26398 wxPrintDialog *result = 0 ;
26399 void *argp1 = 0 ;
26400 int res1 = 0 ;
26401 void *argp2 = 0 ;
26402 int res2 = 0 ;
26403 PyObject * obj0 = 0 ;
26404 PyObject * obj1 = 0 ;
26405 char * kwnames[] = {
26406 (char *) "parent",(char *) "data", NULL
26407 };
26408
26409 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
26410 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
26411 if (!SWIG_IsOK(res1)) {
26412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26413 }
26414 arg1 = reinterpret_cast< wxWindow * >(argp1);
26415 if (obj1) {
26416 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26417 if (!SWIG_IsOK(res2)) {
26418 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
26419 }
26420 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
26421 }
26422 {
26423 if (!wxPyCheckForApp()) SWIG_fail;
26424 PyThreadState* __tstate = wxPyBeginAllowThreads();
26425 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
26426 wxPyEndAllowThreads(__tstate);
26427 if (PyErr_Occurred()) SWIG_fail;
26428 }
26429 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
26430 return resultobj;
26431 fail:
26432 return NULL;
26433 }
26434
26435
26436 SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26437 PyObject *resultobj = 0;
26438 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26439 int 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_wxPrintDialog, 0 | 0 );
26447 if (!SWIG_IsOK(res1)) {
26448 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26449 }
26450 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26451 {
26452 PyThreadState* __tstate = wxPyBeginAllowThreads();
26453 result = (int)(arg1)->ShowModal();
26454 wxPyEndAllowThreads(__tstate);
26455 if (PyErr_Occurred()) SWIG_fail;
26456 }
26457 resultobj = SWIG_From_int(static_cast< int >(result));
26458 return resultobj;
26459 fail:
26460 return NULL;
26461 }
26462
26463
26464 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26465 PyObject *resultobj = 0;
26466 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26467 wxPrintDialogData *result = 0 ;
26468 void *argp1 = 0 ;
26469 int res1 = 0 ;
26470 PyObject *swig_obj[1] ;
26471
26472 if (!args) SWIG_fail;
26473 swig_obj[0] = args;
26474 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26475 if (!SWIG_IsOK(res1)) {
26476 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26477 }
26478 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26479 {
26480 PyThreadState* __tstate = wxPyBeginAllowThreads();
26481 {
26482 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
26483 result = (wxPrintDialogData *) &_result_ref;
26484 }
26485 wxPyEndAllowThreads(__tstate);
26486 if (PyErr_Occurred()) SWIG_fail;
26487 }
26488 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26489 return resultobj;
26490 fail:
26491 return NULL;
26492 }
26493
26494
26495 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26496 PyObject *resultobj = 0;
26497 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26498 wxPrintData *result = 0 ;
26499 void *argp1 = 0 ;
26500 int res1 = 0 ;
26501 PyObject *swig_obj[1] ;
26502
26503 if (!args) SWIG_fail;
26504 swig_obj[0] = args;
26505 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26506 if (!SWIG_IsOK(res1)) {
26507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26508 }
26509 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26510 {
26511 PyThreadState* __tstate = wxPyBeginAllowThreads();
26512 {
26513 wxPrintData &_result_ref = (arg1)->GetPrintData();
26514 result = (wxPrintData *) &_result_ref;
26515 }
26516 wxPyEndAllowThreads(__tstate);
26517 if (PyErr_Occurred()) SWIG_fail;
26518 }
26519 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
26520 return resultobj;
26521 fail:
26522 return NULL;
26523 }
26524
26525
26526 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26527 PyObject *resultobj = 0;
26528 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26529 wxDC *result = 0 ;
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_wxPrintDialog, 0 | 0 );
26537 if (!SWIG_IsOK(res1)) {
26538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26539 }
26540 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26541 {
26542 PyThreadState* __tstate = wxPyBeginAllowThreads();
26543 result = (wxDC *)(arg1)->GetPrintDC();
26544 wxPyEndAllowThreads(__tstate);
26545 if (PyErr_Occurred()) SWIG_fail;
26546 }
26547 {
26548 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
26549 }
26550 return resultobj;
26551 fail:
26552 return NULL;
26553 }
26554
26555
26556 SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26557 PyObject *obj;
26558 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26559 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
26560 return SWIG_Py_Void();
26561 }
26562
26563 SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26564 return SWIG_Python_InitShadowInstance(args);
26565 }
26566
26567 SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26568 PyObject *resultobj = 0;
26569 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
26570 wxPrinter *result = 0 ;
26571 void *argp1 = 0 ;
26572 int res1 = 0 ;
26573 PyObject * obj0 = 0 ;
26574 char * kwnames[] = {
26575 (char *) "data", NULL
26576 };
26577
26578 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
26579 if (obj0) {
26580 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26581 if (!SWIG_IsOK(res1)) {
26582 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26583 }
26584 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26585 }
26586 {
26587 if (!wxPyCheckForApp()) SWIG_fail;
26588 PyThreadState* __tstate = wxPyBeginAllowThreads();
26589 result = (wxPrinter *)new wxPrinter(arg1);
26590 wxPyEndAllowThreads(__tstate);
26591 if (PyErr_Occurred()) SWIG_fail;
26592 }
26593 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
26594 return resultobj;
26595 fail:
26596 return NULL;
26597 }
26598
26599
26600 SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26601 PyObject *resultobj = 0;
26602 wxPrinter *arg1 = (wxPrinter *) 0 ;
26603 void *argp1 = 0 ;
26604 int res1 = 0 ;
26605 PyObject *swig_obj[1] ;
26606
26607 if (!args) SWIG_fail;
26608 swig_obj[0] = args;
26609 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
26610 if (!SWIG_IsOK(res1)) {
26611 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
26612 }
26613 arg1 = reinterpret_cast< wxPrinter * >(argp1);
26614 {
26615 PyThreadState* __tstate = wxPyBeginAllowThreads();
26616 delete arg1;
26617
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 *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26629 PyObject *resultobj = 0;
26630 wxPrinter *arg1 = (wxPrinter *) 0 ;
26631 wxWindow *arg2 = (wxWindow *) 0 ;
26632 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
26633 wxWindow *result = 0 ;
26634 void *argp1 = 0 ;
26635 int res1 = 0 ;
26636 void *argp2 = 0 ;
26637 int res2 = 0 ;
26638 void *argp3 = 0 ;
26639 int res3 = 0 ;
26640 PyObject * obj0 = 0 ;
26641 PyObject * obj1 = 0 ;
26642 PyObject * obj2 = 0 ;
26643 char * kwnames[] = {
26644 (char *) "self",(char *) "parent",(char *) "printout", NULL
26645 };
26646
26647 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
26648 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
26649 if (!SWIG_IsOK(res1)) {
26650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
26651 }
26652 arg1 = reinterpret_cast< wxPrinter * >(argp1);
26653 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
26654 if (!SWIG_IsOK(res2)) {
26655 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
26656 }
26657 arg2 = reinterpret_cast< wxWindow * >(argp2);
26658 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
26659 if (!SWIG_IsOK(res3)) {
26660 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
26661 }
26662 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
26663 {
26664 PyThreadState* __tstate = wxPyBeginAllowThreads();
26665 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
26666 wxPyEndAllowThreads(__tstate);
26667 if (PyErr_Occurred()) SWIG_fail;
26668 }
26669 {
26670 resultobj = wxPyMake_wxObject(result, 0);
26671 }
26672 return resultobj;
26673 fail:
26674 return NULL;
26675 }
26676
26677
26678 SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26679 PyObject *resultobj = 0;
26680 wxPrinter *arg1 = (wxPrinter *) 0 ;
26681 wxWindow *arg2 = (wxWindow *) 0 ;
26682 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
26683 wxString *arg4 = 0 ;
26684 void *argp1 = 0 ;
26685 int res1 = 0 ;
26686 void *argp2 = 0 ;
26687 int res2 = 0 ;
26688 void *argp3 = 0 ;
26689 int res3 = 0 ;
26690 bool temp4 = false ;
26691 PyObject * obj0 = 0 ;
26692 PyObject * obj1 = 0 ;
26693 PyObject * obj2 = 0 ;
26694 PyObject * obj3 = 0 ;
26695 char * kwnames[] = {
26696 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
26697 };
26698
26699 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
26700 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
26701 if (!SWIG_IsOK(res1)) {
26702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
26703 }
26704 arg1 = reinterpret_cast< wxPrinter * >(argp1);
26705 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
26706 if (!SWIG_IsOK(res2)) {
26707 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
26708 }
26709 arg2 = reinterpret_cast< wxWindow * >(argp2);
26710 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
26711 if (!SWIG_IsOK(res3)) {
26712 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
26713 }
26714 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
26715 {
26716 arg4 = wxString_in_helper(obj3);
26717 if (arg4 == NULL) SWIG_fail;
26718 temp4 = true;
26719 }
26720 {
26721 PyThreadState* __tstate = wxPyBeginAllowThreads();
26722 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
26723 wxPyEndAllowThreads(__tstate);
26724 if (PyErr_Occurred()) SWIG_fail;
26725 }
26726 resultobj = SWIG_Py_Void();
26727 {
26728 if (temp4)
26729 delete arg4;
26730 }
26731 return resultobj;
26732 fail:
26733 {
26734 if (temp4)
26735 delete arg4;
26736 }
26737 return NULL;
26738 }
26739
26740
26741 SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26742 PyObject *resultobj = 0;
26743 wxPrinter *arg1 = (wxPrinter *) 0 ;
26744 wxWindow *arg2 = (wxWindow *) 0 ;
26745 bool result;
26746 void *argp1 = 0 ;
26747 int res1 = 0 ;
26748 void *argp2 = 0 ;
26749 int res2 = 0 ;
26750 PyObject * obj0 = 0 ;
26751 PyObject * obj1 = 0 ;
26752 char * kwnames[] = {
26753 (char *) "self",(char *) "parent", NULL
26754 };
26755
26756 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
26757 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
26758 if (!SWIG_IsOK(res1)) {
26759 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
26760 }
26761 arg1 = reinterpret_cast< wxPrinter * >(argp1);
26762 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
26763 if (!SWIG_IsOK(res2)) {
26764 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
26765 }
26766 arg2 = reinterpret_cast< wxWindow * >(argp2);
26767 {
26768 PyThreadState* __tstate = wxPyBeginAllowThreads();
26769 result = (bool)(arg1)->Setup(arg2);
26770 wxPyEndAllowThreads(__tstate);
26771 if (PyErr_Occurred()) SWIG_fail;
26772 }
26773 {
26774 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26775 }
26776 return resultobj;
26777 fail:
26778 return NULL;
26779 }
26780
26781
26782 SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26783 PyObject *resultobj = 0;
26784 wxPrinter *arg1 = (wxPrinter *) 0 ;
26785 wxWindow *arg2 = (wxWindow *) 0 ;
26786 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
26787 bool arg4 = (bool) true ;
26788 bool result;
26789 void *argp1 = 0 ;
26790 int res1 = 0 ;
26791 void *argp2 = 0 ;
26792 int res2 = 0 ;
26793 void *argp3 = 0 ;
26794 int res3 = 0 ;
26795 bool val4 ;
26796 int ecode4 = 0 ;
26797 PyObject * obj0 = 0 ;
26798 PyObject * obj1 = 0 ;
26799 PyObject * obj2 = 0 ;
26800 PyObject * obj3 = 0 ;
26801 char * kwnames[] = {
26802 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
26803 };
26804
26805 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
26806 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
26807 if (!SWIG_IsOK(res1)) {
26808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
26809 }
26810 arg1 = reinterpret_cast< wxPrinter * >(argp1);
26811 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
26812 if (!SWIG_IsOK(res2)) {
26813 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
26814 }
26815 arg2 = reinterpret_cast< wxWindow * >(argp2);
26816 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
26817 if (!SWIG_IsOK(res3)) {
26818 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
26819 }
26820 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
26821 if (obj3) {
26822 ecode4 = SWIG_AsVal_bool(obj3, &val4);
26823 if (!SWIG_IsOK(ecode4)) {
26824 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
26825 }
26826 arg4 = static_cast< bool >(val4);
26827 }
26828 {
26829 PyThreadState* __tstate = wxPyBeginAllowThreads();
26830 result = (bool)(arg1)->Print(arg2,arg3,arg4);
26831 wxPyEndAllowThreads(__tstate);
26832 if (PyErr_Occurred()) SWIG_fail;
26833 }
26834 {
26835 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26836 }
26837 return resultobj;
26838 fail:
26839 return NULL;
26840 }
26841
26842
26843 SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26844 PyObject *resultobj = 0;
26845 wxPrinter *arg1 = (wxPrinter *) 0 ;
26846 wxWindow *arg2 = (wxWindow *) 0 ;
26847 wxDC *result = 0 ;
26848 void *argp1 = 0 ;
26849 int res1 = 0 ;
26850 void *argp2 = 0 ;
26851 int res2 = 0 ;
26852 PyObject * obj0 = 0 ;
26853 PyObject * obj1 = 0 ;
26854 char * kwnames[] = {
26855 (char *) "self",(char *) "parent", NULL
26856 };
26857
26858 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
26859 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
26860 if (!SWIG_IsOK(res1)) {
26861 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
26862 }
26863 arg1 = reinterpret_cast< wxPrinter * >(argp1);
26864 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
26865 if (!SWIG_IsOK(res2)) {
26866 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
26867 }
26868 arg2 = reinterpret_cast< wxWindow * >(argp2);
26869 {
26870 PyThreadState* __tstate = wxPyBeginAllowThreads();
26871 result = (wxDC *)(arg1)->PrintDialog(arg2);
26872 wxPyEndAllowThreads(__tstate);
26873 if (PyErr_Occurred()) SWIG_fail;
26874 }
26875 {
26876 resultobj = wxPyMake_wxObject(result, (bool)0);
26877 }
26878 return resultobj;
26879 fail:
26880 return NULL;
26881 }
26882
26883
26884 SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26885 PyObject *resultobj = 0;
26886 wxPrinter *arg1 = (wxPrinter *) 0 ;
26887 wxPrintDialogData *result = 0 ;
26888 void *argp1 = 0 ;
26889 int res1 = 0 ;
26890 PyObject *swig_obj[1] ;
26891
26892 if (!args) SWIG_fail;
26893 swig_obj[0] = args;
26894 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
26895 if (!SWIG_IsOK(res1)) {
26896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
26897 }
26898 arg1 = reinterpret_cast< wxPrinter * >(argp1);
26899 {
26900 PyThreadState* __tstate = wxPyBeginAllowThreads();
26901 {
26902 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
26903 result = (wxPrintDialogData *) &_result_ref;
26904 }
26905 wxPyEndAllowThreads(__tstate);
26906 if (PyErr_Occurred()) SWIG_fail;
26907 }
26908 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26909 return resultobj;
26910 fail:
26911 return NULL;
26912 }
26913
26914
26915 SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26916 PyObject *resultobj = 0;
26917 wxPrinter *arg1 = (wxPrinter *) 0 ;
26918 bool result;
26919 void *argp1 = 0 ;
26920 int res1 = 0 ;
26921 PyObject *swig_obj[1] ;
26922
26923 if (!args) SWIG_fail;
26924 swig_obj[0] = args;
26925 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
26926 if (!SWIG_IsOK(res1)) {
26927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
26928 }
26929 arg1 = reinterpret_cast< wxPrinter * >(argp1);
26930 {
26931 PyThreadState* __tstate = wxPyBeginAllowThreads();
26932 result = (bool)(arg1)->GetAbort();
26933 wxPyEndAllowThreads(__tstate);
26934 if (PyErr_Occurred()) SWIG_fail;
26935 }
26936 {
26937 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26938 }
26939 return resultobj;
26940 fail:
26941 return NULL;
26942 }
26943
26944
26945 SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26946 PyObject *resultobj = 0;
26947 wxPrinterError result;
26948
26949 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
26950 {
26951 PyThreadState* __tstate = wxPyBeginAllowThreads();
26952 result = (wxPrinterError)wxPrinter::GetLastError();
26953 wxPyEndAllowThreads(__tstate);
26954 if (PyErr_Occurred()) SWIG_fail;
26955 }
26956 resultobj = SWIG_From_int(static_cast< int >(result));
26957 return resultobj;
26958 fail:
26959 return NULL;
26960 }
26961
26962
26963 SWIGINTERN PyObject *Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26964 PyObject *obj;
26965 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26966 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter, SWIG_NewClientData(obj));
26967 return SWIG_Py_Void();
26968 }
26969
26970 SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26971 return SWIG_Python_InitShadowInstance(args);
26972 }
26973
26974 SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26975 PyObject *resultobj = 0;
26976 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
26977 wxString *arg1 = (wxString *) &arg1_defvalue ;
26978 wxPyPrintout *result = 0 ;
26979 bool temp1 = false ;
26980 PyObject * obj0 = 0 ;
26981 char * kwnames[] = {
26982 (char *) "title", NULL
26983 };
26984
26985 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
26986 if (obj0) {
26987 {
26988 arg1 = wxString_in_helper(obj0);
26989 if (arg1 == NULL) SWIG_fail;
26990 temp1 = true;
26991 }
26992 }
26993 {
26994 if (!wxPyCheckForApp()) SWIG_fail;
26995 PyThreadState* __tstate = wxPyBeginAllowThreads();
26996 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
26997 wxPyEndAllowThreads(__tstate);
26998 if (PyErr_Occurred()) SWIG_fail;
26999 }
27000 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
27001 {
27002 if (temp1)
27003 delete arg1;
27004 }
27005 return resultobj;
27006 fail:
27007 {
27008 if (temp1)
27009 delete arg1;
27010 }
27011 return NULL;
27012 }
27013
27014
27015 SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27016 PyObject *resultobj = 0;
27017 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27018 void *argp1 = 0 ;
27019 int res1 = 0 ;
27020 PyObject *swig_obj[1] ;
27021
27022 if (!args) SWIG_fail;
27023 swig_obj[0] = args;
27024 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
27025 if (!SWIG_IsOK(res1)) {
27026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27027 }
27028 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27029 {
27030 PyThreadState* __tstate = wxPyBeginAllowThreads();
27031 delete arg1;
27032
27033 wxPyEndAllowThreads(__tstate);
27034 if (PyErr_Occurred()) SWIG_fail;
27035 }
27036 resultobj = SWIG_Py_Void();
27037 return resultobj;
27038 fail:
27039 return NULL;
27040 }
27041
27042
27043 SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27044 PyObject *resultobj = 0;
27045 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27046 PyObject *arg2 = (PyObject *) 0 ;
27047 PyObject *arg3 = (PyObject *) 0 ;
27048 void *argp1 = 0 ;
27049 int res1 = 0 ;
27050 PyObject * obj0 = 0 ;
27051 PyObject * obj1 = 0 ;
27052 PyObject * obj2 = 0 ;
27053 char * kwnames[] = {
27054 (char *) "self",(char *) "self",(char *) "_class", NULL
27055 };
27056
27057 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27058 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27059 if (!SWIG_IsOK(res1)) {
27060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27061 }
27062 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27063 arg2 = obj1;
27064 arg3 = obj2;
27065 {
27066 PyThreadState* __tstate = wxPyBeginAllowThreads();
27067 (arg1)->_setCallbackInfo(arg2,arg3);
27068 wxPyEndAllowThreads(__tstate);
27069 if (PyErr_Occurred()) SWIG_fail;
27070 }
27071 resultobj = SWIG_Py_Void();
27072 return resultobj;
27073 fail:
27074 return NULL;
27075 }
27076
27077
27078 SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27079 PyObject *resultobj = 0;
27080 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27081 wxString result;
27082 void *argp1 = 0 ;
27083 int res1 = 0 ;
27084 PyObject *swig_obj[1] ;
27085
27086 if (!args) SWIG_fail;
27087 swig_obj[0] = args;
27088 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27089 if (!SWIG_IsOK(res1)) {
27090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27091 }
27092 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27093 {
27094 PyThreadState* __tstate = wxPyBeginAllowThreads();
27095 result = ((wxPyPrintout const *)arg1)->GetTitle();
27096 wxPyEndAllowThreads(__tstate);
27097 if (PyErr_Occurred()) SWIG_fail;
27098 }
27099 {
27100 #if wxUSE_UNICODE
27101 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27102 #else
27103 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27104 #endif
27105 }
27106 return resultobj;
27107 fail:
27108 return NULL;
27109 }
27110
27111
27112 SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27113 PyObject *resultobj = 0;
27114 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27115 wxDC *result = 0 ;
27116 void *argp1 = 0 ;
27117 int res1 = 0 ;
27118 PyObject *swig_obj[1] ;
27119
27120 if (!args) SWIG_fail;
27121 swig_obj[0] = args;
27122 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27123 if (!SWIG_IsOK(res1)) {
27124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27125 }
27126 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27127 {
27128 PyThreadState* __tstate = wxPyBeginAllowThreads();
27129 result = (wxDC *)(arg1)->GetDC();
27130 wxPyEndAllowThreads(__tstate);
27131 if (PyErr_Occurred()) SWIG_fail;
27132 }
27133 {
27134 resultobj = wxPyMake_wxObject(result, (bool)0);
27135 }
27136 return resultobj;
27137 fail:
27138 return NULL;
27139 }
27140
27141
27142 SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27143 PyObject *resultobj = 0;
27144 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27145 wxDC *arg2 = (wxDC *) 0 ;
27146 void *argp1 = 0 ;
27147 int res1 = 0 ;
27148 void *argp2 = 0 ;
27149 int res2 = 0 ;
27150 PyObject * obj0 = 0 ;
27151 PyObject * obj1 = 0 ;
27152 char * kwnames[] = {
27153 (char *) "self",(char *) "dc", NULL
27154 };
27155
27156 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
27157 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27158 if (!SWIG_IsOK(res1)) {
27159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27160 }
27161 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27162 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
27163 if (!SWIG_IsOK(res2)) {
27164 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27165 }
27166 arg2 = reinterpret_cast< wxDC * >(argp2);
27167 {
27168 PyThreadState* __tstate = wxPyBeginAllowThreads();
27169 (arg1)->SetDC(arg2);
27170 wxPyEndAllowThreads(__tstate);
27171 if (PyErr_Occurred()) SWIG_fail;
27172 }
27173 resultobj = SWIG_Py_Void();
27174 return resultobj;
27175 fail:
27176 return NULL;
27177 }
27178
27179
27180 SWIGINTERN PyObject *_wrap_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27181 PyObject *resultobj = 0;
27182 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27183 int arg2 ;
27184 int arg3 ;
27185 void *argp1 = 0 ;
27186 int res1 = 0 ;
27187 int val2 ;
27188 int ecode2 = 0 ;
27189 int val3 ;
27190 int ecode3 = 0 ;
27191 PyObject * obj0 = 0 ;
27192 PyObject * obj1 = 0 ;
27193 PyObject * obj2 = 0 ;
27194 char * kwnames[] = {
27195 (char *) "self",(char *) "w",(char *) "h", NULL
27196 };
27197
27198 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27199 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27200 if (!SWIG_IsOK(res1)) {
27201 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27202 }
27203 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27204 ecode2 = SWIG_AsVal_int(obj1, &val2);
27205 if (!SWIG_IsOK(ecode2)) {
27206 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27207 }
27208 arg2 = static_cast< int >(val2);
27209 ecode3 = SWIG_AsVal_int(obj2, &val3);
27210 if (!SWIG_IsOK(ecode3)) {
27211 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27212 }
27213 arg3 = static_cast< int >(val3);
27214 {
27215 PyThreadState* __tstate = wxPyBeginAllowThreads();
27216 (arg1)->SetPageSizePixels(arg2,arg3);
27217 wxPyEndAllowThreads(__tstate);
27218 if (PyErr_Occurred()) SWIG_fail;
27219 }
27220 resultobj = SWIG_Py_Void();
27221 return resultobj;
27222 fail:
27223 return NULL;
27224 }
27225
27226
27227 SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27228 PyObject *resultobj = 0;
27229 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27230 int *arg2 = (int *) 0 ;
27231 int *arg3 = (int *) 0 ;
27232 void *argp1 = 0 ;
27233 int res1 = 0 ;
27234 int temp2 ;
27235 int res2 = SWIG_TMPOBJ ;
27236 int temp3 ;
27237 int res3 = SWIG_TMPOBJ ;
27238 PyObject *swig_obj[1] ;
27239
27240 arg2 = &temp2;
27241 arg3 = &temp3;
27242 if (!args) SWIG_fail;
27243 swig_obj[0] = args;
27244 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27245 if (!SWIG_IsOK(res1)) {
27246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27247 }
27248 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27249 {
27250 PyThreadState* __tstate = wxPyBeginAllowThreads();
27251 (arg1)->GetPageSizePixels(arg2,arg3);
27252 wxPyEndAllowThreads(__tstate);
27253 if (PyErr_Occurred()) SWIG_fail;
27254 }
27255 resultobj = SWIG_Py_Void();
27256 if (SWIG_IsTmpObj(res2)) {
27257 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27258 } else {
27259 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27260 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27261 }
27262 if (SWIG_IsTmpObj(res3)) {
27263 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27264 } else {
27265 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27266 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27267 }
27268 return resultobj;
27269 fail:
27270 return NULL;
27271 }
27272
27273
27274 SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27275 PyObject *resultobj = 0;
27276 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27277 int arg2 ;
27278 int arg3 ;
27279 void *argp1 = 0 ;
27280 int res1 = 0 ;
27281 int val2 ;
27282 int ecode2 = 0 ;
27283 int val3 ;
27284 int ecode3 = 0 ;
27285 PyObject * obj0 = 0 ;
27286 PyObject * obj1 = 0 ;
27287 PyObject * obj2 = 0 ;
27288 char * kwnames[] = {
27289 (char *) "self",(char *) "w",(char *) "h", NULL
27290 };
27291
27292 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27293 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27294 if (!SWIG_IsOK(res1)) {
27295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27296 }
27297 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27298 ecode2 = SWIG_AsVal_int(obj1, &val2);
27299 if (!SWIG_IsOK(ecode2)) {
27300 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
27301 }
27302 arg2 = static_cast< int >(val2);
27303 ecode3 = SWIG_AsVal_int(obj2, &val3);
27304 if (!SWIG_IsOK(ecode3)) {
27305 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
27306 }
27307 arg3 = static_cast< int >(val3);
27308 {
27309 PyThreadState* __tstate = wxPyBeginAllowThreads();
27310 (arg1)->SetPageSizeMM(arg2,arg3);
27311 wxPyEndAllowThreads(__tstate);
27312 if (PyErr_Occurred()) SWIG_fail;
27313 }
27314 resultobj = SWIG_Py_Void();
27315 return resultobj;
27316 fail:
27317 return NULL;
27318 }
27319
27320
27321 SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27322 PyObject *resultobj = 0;
27323 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27324 int *arg2 = (int *) 0 ;
27325 int *arg3 = (int *) 0 ;
27326 void *argp1 = 0 ;
27327 int res1 = 0 ;
27328 int temp2 ;
27329 int res2 = SWIG_TMPOBJ ;
27330 int temp3 ;
27331 int res3 = SWIG_TMPOBJ ;
27332 PyObject *swig_obj[1] ;
27333
27334 arg2 = &temp2;
27335 arg3 = &temp3;
27336 if (!args) SWIG_fail;
27337 swig_obj[0] = args;
27338 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27339 if (!SWIG_IsOK(res1)) {
27340 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27341 }
27342 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27343 {
27344 PyThreadState* __tstate = wxPyBeginAllowThreads();
27345 (arg1)->GetPageSizeMM(arg2,arg3);
27346 wxPyEndAllowThreads(__tstate);
27347 if (PyErr_Occurred()) SWIG_fail;
27348 }
27349 resultobj = SWIG_Py_Void();
27350 if (SWIG_IsTmpObj(res2)) {
27351 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27352 } else {
27353 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27354 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27355 }
27356 if (SWIG_IsTmpObj(res3)) {
27357 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27358 } else {
27359 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27360 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27361 }
27362 return resultobj;
27363 fail:
27364 return NULL;
27365 }
27366
27367
27368 SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27369 PyObject *resultobj = 0;
27370 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27371 int arg2 ;
27372 int arg3 ;
27373 void *argp1 = 0 ;
27374 int res1 = 0 ;
27375 int val2 ;
27376 int ecode2 = 0 ;
27377 int val3 ;
27378 int ecode3 = 0 ;
27379 PyObject * obj0 = 0 ;
27380 PyObject * obj1 = 0 ;
27381 PyObject * obj2 = 0 ;
27382 char * kwnames[] = {
27383 (char *) "self",(char *) "x",(char *) "y", NULL
27384 };
27385
27386 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27387 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27388 if (!SWIG_IsOK(res1)) {
27389 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27390 }
27391 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27392 ecode2 = SWIG_AsVal_int(obj1, &val2);
27393 if (!SWIG_IsOK(ecode2)) {
27394 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
27395 }
27396 arg2 = static_cast< int >(val2);
27397 ecode3 = SWIG_AsVal_int(obj2, &val3);
27398 if (!SWIG_IsOK(ecode3)) {
27399 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
27400 }
27401 arg3 = static_cast< int >(val3);
27402 {
27403 PyThreadState* __tstate = wxPyBeginAllowThreads();
27404 (arg1)->SetPPIScreen(arg2,arg3);
27405 wxPyEndAllowThreads(__tstate);
27406 if (PyErr_Occurred()) SWIG_fail;
27407 }
27408 resultobj = SWIG_Py_Void();
27409 return resultobj;
27410 fail:
27411 return NULL;
27412 }
27413
27414
27415 SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27416 PyObject *resultobj = 0;
27417 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27418 int *arg2 = (int *) 0 ;
27419 int *arg3 = (int *) 0 ;
27420 void *argp1 = 0 ;
27421 int res1 = 0 ;
27422 int temp2 ;
27423 int res2 = SWIG_TMPOBJ ;
27424 int temp3 ;
27425 int res3 = SWIG_TMPOBJ ;
27426 PyObject *swig_obj[1] ;
27427
27428 arg2 = &temp2;
27429 arg3 = &temp3;
27430 if (!args) SWIG_fail;
27431 swig_obj[0] = args;
27432 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27433 if (!SWIG_IsOK(res1)) {
27434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27435 }
27436 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27437 {
27438 PyThreadState* __tstate = wxPyBeginAllowThreads();
27439 (arg1)->GetPPIScreen(arg2,arg3);
27440 wxPyEndAllowThreads(__tstate);
27441 if (PyErr_Occurred()) SWIG_fail;
27442 }
27443 resultobj = SWIG_Py_Void();
27444 if (SWIG_IsTmpObj(res2)) {
27445 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27446 } else {
27447 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27448 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27449 }
27450 if (SWIG_IsTmpObj(res3)) {
27451 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27452 } else {
27453 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27454 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27455 }
27456 return resultobj;
27457 fail:
27458 return NULL;
27459 }
27460
27461
27462 SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27463 PyObject *resultobj = 0;
27464 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27465 int arg2 ;
27466 int arg3 ;
27467 void *argp1 = 0 ;
27468 int res1 = 0 ;
27469 int val2 ;
27470 int ecode2 = 0 ;
27471 int val3 ;
27472 int ecode3 = 0 ;
27473 PyObject * obj0 = 0 ;
27474 PyObject * obj1 = 0 ;
27475 PyObject * obj2 = 0 ;
27476 char * kwnames[] = {
27477 (char *) "self",(char *) "x",(char *) "y", NULL
27478 };
27479
27480 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27481 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27482 if (!SWIG_IsOK(res1)) {
27483 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27484 }
27485 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27486 ecode2 = SWIG_AsVal_int(obj1, &val2);
27487 if (!SWIG_IsOK(ecode2)) {
27488 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
27489 }
27490 arg2 = static_cast< int >(val2);
27491 ecode3 = SWIG_AsVal_int(obj2, &val3);
27492 if (!SWIG_IsOK(ecode3)) {
27493 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
27494 }
27495 arg3 = static_cast< int >(val3);
27496 {
27497 PyThreadState* __tstate = wxPyBeginAllowThreads();
27498 (arg1)->SetPPIPrinter(arg2,arg3);
27499 wxPyEndAllowThreads(__tstate);
27500 if (PyErr_Occurred()) SWIG_fail;
27501 }
27502 resultobj = SWIG_Py_Void();
27503 return resultobj;
27504 fail:
27505 return NULL;
27506 }
27507
27508
27509 SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27510 PyObject *resultobj = 0;
27511 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27512 int *arg2 = (int *) 0 ;
27513 int *arg3 = (int *) 0 ;
27514 void *argp1 = 0 ;
27515 int res1 = 0 ;
27516 int temp2 ;
27517 int res2 = SWIG_TMPOBJ ;
27518 int temp3 ;
27519 int res3 = SWIG_TMPOBJ ;
27520 PyObject *swig_obj[1] ;
27521
27522 arg2 = &temp2;
27523 arg3 = &temp3;
27524 if (!args) SWIG_fail;
27525 swig_obj[0] = args;
27526 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27527 if (!SWIG_IsOK(res1)) {
27528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27529 }
27530 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27531 {
27532 PyThreadState* __tstate = wxPyBeginAllowThreads();
27533 (arg1)->GetPPIPrinter(arg2,arg3);
27534 wxPyEndAllowThreads(__tstate);
27535 if (PyErr_Occurred()) SWIG_fail;
27536 }
27537 resultobj = SWIG_Py_Void();
27538 if (SWIG_IsTmpObj(res2)) {
27539 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27540 } else {
27541 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27542 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27543 }
27544 if (SWIG_IsTmpObj(res3)) {
27545 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27546 } else {
27547 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27548 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27549 }
27550 return resultobj;
27551 fail:
27552 return NULL;
27553 }
27554
27555
27556 SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27557 PyObject *resultobj = 0;
27558 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27559 bool result;
27560 void *argp1 = 0 ;
27561 int res1 = 0 ;
27562 PyObject *swig_obj[1] ;
27563
27564 if (!args) SWIG_fail;
27565 swig_obj[0] = args;
27566 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27567 if (!SWIG_IsOK(res1)) {
27568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27569 }
27570 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27571 {
27572 PyThreadState* __tstate = wxPyBeginAllowThreads();
27573 result = (bool)(arg1)->IsPreview();
27574 wxPyEndAllowThreads(__tstate);
27575 if (PyErr_Occurred()) SWIG_fail;
27576 }
27577 {
27578 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27579 }
27580 return resultobj;
27581 fail:
27582 return NULL;
27583 }
27584
27585
27586 SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27587 PyObject *resultobj = 0;
27588 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27589 bool arg2 ;
27590 void *argp1 = 0 ;
27591 int res1 = 0 ;
27592 bool val2 ;
27593 int ecode2 = 0 ;
27594 PyObject * obj0 = 0 ;
27595 PyObject * obj1 = 0 ;
27596 char * kwnames[] = {
27597 (char *) "self",(char *) "p", NULL
27598 };
27599
27600 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
27601 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27602 if (!SWIG_IsOK(res1)) {
27603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27604 }
27605 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27606 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27607 if (!SWIG_IsOK(ecode2)) {
27608 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
27609 }
27610 arg2 = static_cast< bool >(val2);
27611 {
27612 PyThreadState* __tstate = wxPyBeginAllowThreads();
27613 (arg1)->SetIsPreview(arg2);
27614 wxPyEndAllowThreads(__tstate);
27615 if (PyErr_Occurred()) SWIG_fail;
27616 }
27617 resultobj = SWIG_Py_Void();
27618 return resultobj;
27619 fail:
27620 return NULL;
27621 }
27622
27623
27624 SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27625 PyObject *resultobj = 0;
27626 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27627 int arg2 ;
27628 int arg3 ;
27629 bool result;
27630 void *argp1 = 0 ;
27631 int res1 = 0 ;
27632 int val2 ;
27633 int ecode2 = 0 ;
27634 int val3 ;
27635 int ecode3 = 0 ;
27636 PyObject * obj0 = 0 ;
27637 PyObject * obj1 = 0 ;
27638 PyObject * obj2 = 0 ;
27639 char * kwnames[] = {
27640 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
27641 };
27642
27643 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27644 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27645 if (!SWIG_IsOK(res1)) {
27646 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27647 }
27648 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27649 ecode2 = SWIG_AsVal_int(obj1, &val2);
27650 if (!SWIG_IsOK(ecode2)) {
27651 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
27652 }
27653 arg2 = static_cast< int >(val2);
27654 ecode3 = SWIG_AsVal_int(obj2, &val3);
27655 if (!SWIG_IsOK(ecode3)) {
27656 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
27657 }
27658 arg3 = static_cast< int >(val3);
27659 {
27660 PyThreadState* __tstate = wxPyBeginAllowThreads();
27661 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
27662 wxPyEndAllowThreads(__tstate);
27663 if (PyErr_Occurred()) SWIG_fail;
27664 }
27665 {
27666 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27667 }
27668 return resultobj;
27669 fail:
27670 return NULL;
27671 }
27672
27673
27674 SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27675 PyObject *resultobj = 0;
27676 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27677 void *argp1 = 0 ;
27678 int res1 = 0 ;
27679 PyObject *swig_obj[1] ;
27680
27681 if (!args) SWIG_fail;
27682 swig_obj[0] = args;
27683 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27684 if (!SWIG_IsOK(res1)) {
27685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27686 }
27687 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27688 {
27689 PyThreadState* __tstate = wxPyBeginAllowThreads();
27690 (arg1)->OnEndDocument();
27691 wxPyEndAllowThreads(__tstate);
27692 if (PyErr_Occurred()) SWIG_fail;
27693 }
27694 resultobj = SWIG_Py_Void();
27695 return resultobj;
27696 fail:
27697 return NULL;
27698 }
27699
27700
27701 SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27702 PyObject *resultobj = 0;
27703 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27704 void *argp1 = 0 ;
27705 int res1 = 0 ;
27706 PyObject *swig_obj[1] ;
27707
27708 if (!args) SWIG_fail;
27709 swig_obj[0] = args;
27710 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27711 if (!SWIG_IsOK(res1)) {
27712 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27713 }
27714 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27715 {
27716 PyThreadState* __tstate = wxPyBeginAllowThreads();
27717 (arg1)->OnBeginPrinting();
27718 wxPyEndAllowThreads(__tstate);
27719 if (PyErr_Occurred()) SWIG_fail;
27720 }
27721 resultobj = SWIG_Py_Void();
27722 return resultobj;
27723 fail:
27724 return NULL;
27725 }
27726
27727
27728 SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27729 PyObject *resultobj = 0;
27730 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27731 void *argp1 = 0 ;
27732 int res1 = 0 ;
27733 PyObject *swig_obj[1] ;
27734
27735 if (!args) SWIG_fail;
27736 swig_obj[0] = args;
27737 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27738 if (!SWIG_IsOK(res1)) {
27739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27740 }
27741 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27742 {
27743 PyThreadState* __tstate = wxPyBeginAllowThreads();
27744 (arg1)->OnEndPrinting();
27745 wxPyEndAllowThreads(__tstate);
27746 if (PyErr_Occurred()) SWIG_fail;
27747 }
27748 resultobj = SWIG_Py_Void();
27749 return resultobj;
27750 fail:
27751 return NULL;
27752 }
27753
27754
27755 SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27756 PyObject *resultobj = 0;
27757 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27758 void *argp1 = 0 ;
27759 int res1 = 0 ;
27760 PyObject *swig_obj[1] ;
27761
27762 if (!args) SWIG_fail;
27763 swig_obj[0] = args;
27764 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27765 if (!SWIG_IsOK(res1)) {
27766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27767 }
27768 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27769 {
27770 PyThreadState* __tstate = wxPyBeginAllowThreads();
27771 (arg1)->OnPreparePrinting();
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_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27783 PyObject *resultobj = 0;
27784 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27785 int arg2 ;
27786 bool result;
27787 void *argp1 = 0 ;
27788 int res1 = 0 ;
27789 int val2 ;
27790 int ecode2 = 0 ;
27791 PyObject * obj0 = 0 ;
27792 PyObject * obj1 = 0 ;
27793 char * kwnames[] = {
27794 (char *) "self",(char *) "page", NULL
27795 };
27796
27797 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
27798 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27799 if (!SWIG_IsOK(res1)) {
27800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27801 }
27802 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27803 ecode2 = SWIG_AsVal_int(obj1, &val2);
27804 if (!SWIG_IsOK(ecode2)) {
27805 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
27806 }
27807 arg2 = static_cast< int >(val2);
27808 {
27809 PyThreadState* __tstate = wxPyBeginAllowThreads();
27810 result = (bool)(arg1)->HasPage(arg2);
27811 wxPyEndAllowThreads(__tstate);
27812 if (PyErr_Occurred()) SWIG_fail;
27813 }
27814 {
27815 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27816 }
27817 return resultobj;
27818 fail:
27819 return NULL;
27820 }
27821
27822
27823 SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27824 PyObject *resultobj = 0;
27825 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27826 int *arg2 = (int *) 0 ;
27827 int *arg3 = (int *) 0 ;
27828 int *arg4 = (int *) 0 ;
27829 int *arg5 = (int *) 0 ;
27830 void *argp1 = 0 ;
27831 int res1 = 0 ;
27832 int temp2 ;
27833 int res2 = SWIG_TMPOBJ ;
27834 int temp3 ;
27835 int res3 = SWIG_TMPOBJ ;
27836 int temp4 ;
27837 int res4 = SWIG_TMPOBJ ;
27838 int temp5 ;
27839 int res5 = SWIG_TMPOBJ ;
27840 PyObject *swig_obj[1] ;
27841
27842 arg2 = &temp2;
27843 arg3 = &temp3;
27844 arg4 = &temp4;
27845 arg5 = &temp5;
27846 if (!args) SWIG_fail;
27847 swig_obj[0] = args;
27848 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27849 if (!SWIG_IsOK(res1)) {
27850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27851 }
27852 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27853 {
27854 PyThreadState* __tstate = wxPyBeginAllowThreads();
27855 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
27856 wxPyEndAllowThreads(__tstate);
27857 if (PyErr_Occurred()) SWIG_fail;
27858 }
27859 resultobj = SWIG_Py_Void();
27860 if (SWIG_IsTmpObj(res2)) {
27861 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27862 } else {
27863 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27864 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27865 }
27866 if (SWIG_IsTmpObj(res3)) {
27867 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27868 } else {
27869 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27870 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27871 }
27872 if (SWIG_IsTmpObj(res4)) {
27873 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
27874 } else {
27875 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27876 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
27877 }
27878 if (SWIG_IsTmpObj(res5)) {
27879 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
27880 } else {
27881 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27882 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
27883 }
27884 return resultobj;
27885 fail:
27886 return NULL;
27887 }
27888
27889
27890 SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27891 PyObject *obj;
27892 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27893 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
27894 return SWIG_Py_Void();
27895 }
27896
27897 SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27898 return SWIG_Python_InitShadowInstance(args);
27899 }
27900
27901 SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27902 PyObject *resultobj = 0;
27903 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
27904 wxWindow *arg2 = (wxWindow *) 0 ;
27905 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27906 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27907 wxSize const &arg4_defvalue = wxDefaultSize ;
27908 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
27909 long arg5 = (long) 0 ;
27910 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
27911 wxString *arg6 = (wxString *) &arg6_defvalue ;
27912 wxPreviewCanvas *result = 0 ;
27913 void *argp1 = 0 ;
27914 int res1 = 0 ;
27915 void *argp2 = 0 ;
27916 int res2 = 0 ;
27917 wxPoint temp3 ;
27918 wxSize temp4 ;
27919 long val5 ;
27920 int ecode5 = 0 ;
27921 bool temp6 = false ;
27922 PyObject * obj0 = 0 ;
27923 PyObject * obj1 = 0 ;
27924 PyObject * obj2 = 0 ;
27925 PyObject * obj3 = 0 ;
27926 PyObject * obj4 = 0 ;
27927 PyObject * obj5 = 0 ;
27928 char * kwnames[] = {
27929 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27930 };
27931
27932 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
27933 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
27934 if (!SWIG_IsOK(res1)) {
27935 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
27936 }
27937 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
27938 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27939 if (!SWIG_IsOK(res2)) {
27940 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
27941 }
27942 arg2 = reinterpret_cast< wxWindow * >(argp2);
27943 if (obj2) {
27944 {
27945 arg3 = &temp3;
27946 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27947 }
27948 }
27949 if (obj3) {
27950 {
27951 arg4 = &temp4;
27952 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
27953 }
27954 }
27955 if (obj4) {
27956 ecode5 = SWIG_AsVal_long(obj4, &val5);
27957 if (!SWIG_IsOK(ecode5)) {
27958 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
27959 }
27960 arg5 = static_cast< long >(val5);
27961 }
27962 if (obj5) {
27963 {
27964 arg6 = wxString_in_helper(obj5);
27965 if (arg6 == NULL) SWIG_fail;
27966 temp6 = true;
27967 }
27968 }
27969 {
27970 if (!wxPyCheckForApp()) SWIG_fail;
27971 PyThreadState* __tstate = wxPyBeginAllowThreads();
27972 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
27973 wxPyEndAllowThreads(__tstate);
27974 if (PyErr_Occurred()) SWIG_fail;
27975 }
27976 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
27977 {
27978 if (temp6)
27979 delete arg6;
27980 }
27981 return resultobj;
27982 fail:
27983 {
27984 if (temp6)
27985 delete arg6;
27986 }
27987 return NULL;
27988 }
27989
27990
27991 SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27992 PyObject *obj;
27993 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27994 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
27995 return SWIG_Py_Void();
27996 }
27997
27998 SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27999 return SWIG_Python_InitShadowInstance(args);
28000 }
28001
28002 SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28003 PyObject *resultobj = 0;
28004 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28005 wxFrame *arg2 = (wxFrame *) 0 ;
28006 wxString *arg3 = 0 ;
28007 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28008 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28009 wxSize const &arg5_defvalue = wxDefaultSize ;
28010 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28011 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
28012 wxString const &arg7_defvalue = wxPyFrameNameStr ;
28013 wxString *arg7 = (wxString *) &arg7_defvalue ;
28014 wxPreviewFrame *result = 0 ;
28015 int res1 = 0 ;
28016 void *argp2 = 0 ;
28017 int res2 = 0 ;
28018 bool temp3 = false ;
28019 wxPoint temp4 ;
28020 wxSize temp5 ;
28021 long val6 ;
28022 int ecode6 = 0 ;
28023 bool temp7 = false ;
28024 PyObject * obj0 = 0 ;
28025 PyObject * obj1 = 0 ;
28026 PyObject * obj2 = 0 ;
28027 PyObject * obj3 = 0 ;
28028 PyObject * obj4 = 0 ;
28029 PyObject * obj5 = 0 ;
28030 PyObject * obj6 = 0 ;
28031 char * kwnames[] = {
28032 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28033 };
28034
28035 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28036 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
28037 if (!SWIG_IsOK(res1)) {
28038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28039 }
28040 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
28041 if (!SWIG_IsOK(res2)) {
28042 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28043 }
28044 arg2 = reinterpret_cast< wxFrame * >(argp2);
28045 {
28046 arg3 = wxString_in_helper(obj2);
28047 if (arg3 == NULL) SWIG_fail;
28048 temp3 = true;
28049 }
28050 if (obj3) {
28051 {
28052 arg4 = &temp4;
28053 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28054 }
28055 }
28056 if (obj4) {
28057 {
28058 arg5 = &temp5;
28059 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28060 }
28061 }
28062 if (obj5) {
28063 ecode6 = SWIG_AsVal_long(obj5, &val6);
28064 if (!SWIG_IsOK(ecode6)) {
28065 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28066 }
28067 arg6 = static_cast< long >(val6);
28068 }
28069 if (obj6) {
28070 {
28071 arg7 = wxString_in_helper(obj6);
28072 if (arg7 == NULL) SWIG_fail;
28073 temp7 = true;
28074 }
28075 }
28076 {
28077 if (!wxPyCheckForApp()) SWIG_fail;
28078 PyThreadState* __tstate = wxPyBeginAllowThreads();
28079 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28080 wxPyEndAllowThreads(__tstate);
28081 if (PyErr_Occurred()) SWIG_fail;
28082 }
28083 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
28084 {
28085 if (temp3)
28086 delete arg3;
28087 }
28088 {
28089 if (temp7)
28090 delete arg7;
28091 }
28092 return resultobj;
28093 fail:
28094 {
28095 if (temp3)
28096 delete arg3;
28097 }
28098 {
28099 if (temp7)
28100 delete arg7;
28101 }
28102 return NULL;
28103 }
28104
28105
28106 SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28107 PyObject *resultobj = 0;
28108 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28109 void *argp1 = 0 ;
28110 int res1 = 0 ;
28111 PyObject *swig_obj[1] ;
28112
28113 if (!args) SWIG_fail;
28114 swig_obj[0] = args;
28115 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28116 if (!SWIG_IsOK(res1)) {
28117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28118 }
28119 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28120 {
28121 PyThreadState* __tstate = wxPyBeginAllowThreads();
28122 (arg1)->Initialize();
28123 wxPyEndAllowThreads(__tstate);
28124 if (PyErr_Occurred()) SWIG_fail;
28125 }
28126 resultobj = SWIG_Py_Void();
28127 return resultobj;
28128 fail:
28129 return NULL;
28130 }
28131
28132
28133 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28134 PyObject *resultobj = 0;
28135 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28136 void *argp1 = 0 ;
28137 int res1 = 0 ;
28138 PyObject *swig_obj[1] ;
28139
28140 if (!args) SWIG_fail;
28141 swig_obj[0] = args;
28142 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28143 if (!SWIG_IsOK(res1)) {
28144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28145 }
28146 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28147 {
28148 PyThreadState* __tstate = wxPyBeginAllowThreads();
28149 (arg1)->CreateControlBar();
28150 wxPyEndAllowThreads(__tstate);
28151 if (PyErr_Occurred()) SWIG_fail;
28152 }
28153 resultobj = SWIG_Py_Void();
28154 return resultobj;
28155 fail:
28156 return NULL;
28157 }
28158
28159
28160 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28161 PyObject *resultobj = 0;
28162 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28163 void *argp1 = 0 ;
28164 int res1 = 0 ;
28165 PyObject *swig_obj[1] ;
28166
28167 if (!args) SWIG_fail;
28168 swig_obj[0] = args;
28169 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28170 if (!SWIG_IsOK(res1)) {
28171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28172 }
28173 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28174 {
28175 PyThreadState* __tstate = wxPyBeginAllowThreads();
28176 (arg1)->CreateCanvas();
28177 wxPyEndAllowThreads(__tstate);
28178 if (PyErr_Occurred()) SWIG_fail;
28179 }
28180 resultobj = SWIG_Py_Void();
28181 return resultobj;
28182 fail:
28183 return NULL;
28184 }
28185
28186
28187 SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28188 PyObject *resultobj = 0;
28189 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28190 wxPreviewControlBar *result = 0 ;
28191 void *argp1 = 0 ;
28192 int res1 = 0 ;
28193 PyObject *swig_obj[1] ;
28194
28195 if (!args) SWIG_fail;
28196 swig_obj[0] = args;
28197 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28198 if (!SWIG_IsOK(res1)) {
28199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28200 }
28201 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28202 {
28203 PyThreadState* __tstate = wxPyBeginAllowThreads();
28204 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
28205 wxPyEndAllowThreads(__tstate);
28206 if (PyErr_Occurred()) SWIG_fail;
28207 }
28208 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28209 return resultobj;
28210 fail:
28211 return NULL;
28212 }
28213
28214
28215 SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28216 PyObject *obj;
28217 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28218 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
28219 return SWIG_Py_Void();
28220 }
28221
28222 SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28223 return SWIG_Python_InitShadowInstance(args);
28224 }
28225
28226 SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28227 PyObject *resultobj = 0;
28228 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28229 long arg2 ;
28230 wxWindow *arg3 = (wxWindow *) 0 ;
28231 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28232 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28233 wxSize const &arg5_defvalue = wxDefaultSize ;
28234 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28235 long arg6 = (long) wxTAB_TRAVERSAL ;
28236 wxString const &arg7_defvalue = wxPyPanelNameStr ;
28237 wxString *arg7 = (wxString *) &arg7_defvalue ;
28238 wxPreviewControlBar *result = 0 ;
28239 void *argp1 = 0 ;
28240 int res1 = 0 ;
28241 long val2 ;
28242 int ecode2 = 0 ;
28243 void *argp3 = 0 ;
28244 int res3 = 0 ;
28245 wxPoint temp4 ;
28246 wxSize temp5 ;
28247 long val6 ;
28248 int ecode6 = 0 ;
28249 bool temp7 = false ;
28250 PyObject * obj0 = 0 ;
28251 PyObject * obj1 = 0 ;
28252 PyObject * obj2 = 0 ;
28253 PyObject * obj3 = 0 ;
28254 PyObject * obj4 = 0 ;
28255 PyObject * obj5 = 0 ;
28256 PyObject * obj6 = 0 ;
28257 char * kwnames[] = {
28258 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28259 };
28260
28261 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28262 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28263 if (!SWIG_IsOK(res1)) {
28264 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28265 }
28266 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28267 ecode2 = SWIG_AsVal_long(obj1, &val2);
28268 if (!SWIG_IsOK(ecode2)) {
28269 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
28270 }
28271 arg2 = static_cast< long >(val2);
28272 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
28273 if (!SWIG_IsOK(res3)) {
28274 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
28275 }
28276 arg3 = reinterpret_cast< wxWindow * >(argp3);
28277 if (obj3) {
28278 {
28279 arg4 = &temp4;
28280 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28281 }
28282 }
28283 if (obj4) {
28284 {
28285 arg5 = &temp5;
28286 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28287 }
28288 }
28289 if (obj5) {
28290 ecode6 = SWIG_AsVal_long(obj5, &val6);
28291 if (!SWIG_IsOK(ecode6)) {
28292 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
28293 }
28294 arg6 = static_cast< long >(val6);
28295 }
28296 if (obj6) {
28297 {
28298 arg7 = wxString_in_helper(obj6);
28299 if (arg7 == NULL) SWIG_fail;
28300 temp7 = true;
28301 }
28302 }
28303 {
28304 if (!wxPyCheckForApp()) SWIG_fail;
28305 PyThreadState* __tstate = wxPyBeginAllowThreads();
28306 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28307 wxPyEndAllowThreads(__tstate);
28308 if (PyErr_Occurred()) SWIG_fail;
28309 }
28310 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
28311 {
28312 if (temp7)
28313 delete arg7;
28314 }
28315 return resultobj;
28316 fail:
28317 {
28318 if (temp7)
28319 delete arg7;
28320 }
28321 return NULL;
28322 }
28323
28324
28325 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28326 PyObject *resultobj = 0;
28327 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28328 int result;
28329 void *argp1 = 0 ;
28330 int res1 = 0 ;
28331 PyObject *swig_obj[1] ;
28332
28333 if (!args) SWIG_fail;
28334 swig_obj[0] = args;
28335 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28336 if (!SWIG_IsOK(res1)) {
28337 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28338 }
28339 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28340 {
28341 PyThreadState* __tstate = wxPyBeginAllowThreads();
28342 result = (int)(arg1)->GetZoomControl();
28343 wxPyEndAllowThreads(__tstate);
28344 if (PyErr_Occurred()) SWIG_fail;
28345 }
28346 resultobj = SWIG_From_int(static_cast< int >(result));
28347 return resultobj;
28348 fail:
28349 return NULL;
28350 }
28351
28352
28353 SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28354 PyObject *resultobj = 0;
28355 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28356 int arg2 ;
28357 void *argp1 = 0 ;
28358 int res1 = 0 ;
28359 int val2 ;
28360 int ecode2 = 0 ;
28361 PyObject * obj0 = 0 ;
28362 PyObject * obj1 = 0 ;
28363 char * kwnames[] = {
28364 (char *) "self",(char *) "zoom", NULL
28365 };
28366
28367 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
28368 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28369 if (!SWIG_IsOK(res1)) {
28370 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28371 }
28372 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28373 ecode2 = SWIG_AsVal_int(obj1, &val2);
28374 if (!SWIG_IsOK(ecode2)) {
28375 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
28376 }
28377 arg2 = static_cast< int >(val2);
28378 {
28379 PyThreadState* __tstate = wxPyBeginAllowThreads();
28380 (arg1)->SetZoomControl(arg2);
28381 wxPyEndAllowThreads(__tstate);
28382 if (PyErr_Occurred()) SWIG_fail;
28383 }
28384 resultobj = SWIG_Py_Void();
28385 return resultobj;
28386 fail:
28387 return NULL;
28388 }
28389
28390
28391 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28392 PyObject *resultobj = 0;
28393 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28394 wxPrintPreview *result = 0 ;
28395 void *argp1 = 0 ;
28396 int res1 = 0 ;
28397 PyObject *swig_obj[1] ;
28398
28399 if (!args) SWIG_fail;
28400 swig_obj[0] = args;
28401 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28402 if (!SWIG_IsOK(res1)) {
28403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28404 }
28405 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28406 {
28407 PyThreadState* __tstate = wxPyBeginAllowThreads();
28408 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
28409 wxPyEndAllowThreads(__tstate);
28410 if (PyErr_Occurred()) SWIG_fail;
28411 }
28412 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28413 return resultobj;
28414 fail:
28415 return NULL;
28416 }
28417
28418
28419 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28420 PyObject *resultobj = 0;
28421 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28422 void *argp1 = 0 ;
28423 int res1 = 0 ;
28424 PyObject *swig_obj[1] ;
28425
28426 if (!args) SWIG_fail;
28427 swig_obj[0] = args;
28428 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28429 if (!SWIG_IsOK(res1)) {
28430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28431 }
28432 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28433 {
28434 PyThreadState* __tstate = wxPyBeginAllowThreads();
28435 (arg1)->OnNext();
28436 wxPyEndAllowThreads(__tstate);
28437 if (PyErr_Occurred()) SWIG_fail;
28438 }
28439 resultobj = SWIG_Py_Void();
28440 return resultobj;
28441 fail:
28442 return NULL;
28443 }
28444
28445
28446 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28447 PyObject *resultobj = 0;
28448 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28449 void *argp1 = 0 ;
28450 int res1 = 0 ;
28451 PyObject *swig_obj[1] ;
28452
28453 if (!args) SWIG_fail;
28454 swig_obj[0] = args;
28455 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28456 if (!SWIG_IsOK(res1)) {
28457 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28458 }
28459 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28460 {
28461 PyThreadState* __tstate = wxPyBeginAllowThreads();
28462 (arg1)->OnPrevious();
28463 wxPyEndAllowThreads(__tstate);
28464 if (PyErr_Occurred()) SWIG_fail;
28465 }
28466 resultobj = SWIG_Py_Void();
28467 return resultobj;
28468 fail:
28469 return NULL;
28470 }
28471
28472
28473 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28474 PyObject *resultobj = 0;
28475 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28476 void *argp1 = 0 ;
28477 int res1 = 0 ;
28478 PyObject *swig_obj[1] ;
28479
28480 if (!args) SWIG_fail;
28481 swig_obj[0] = args;
28482 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28483 if (!SWIG_IsOK(res1)) {
28484 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28485 }
28486 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28487 {
28488 PyThreadState* __tstate = wxPyBeginAllowThreads();
28489 (arg1)->OnFirst();
28490 wxPyEndAllowThreads(__tstate);
28491 if (PyErr_Occurred()) SWIG_fail;
28492 }
28493 resultobj = SWIG_Py_Void();
28494 return resultobj;
28495 fail:
28496 return NULL;
28497 }
28498
28499
28500 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28501 PyObject *resultobj = 0;
28502 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28503 void *argp1 = 0 ;
28504 int res1 = 0 ;
28505 PyObject *swig_obj[1] ;
28506
28507 if (!args) SWIG_fail;
28508 swig_obj[0] = args;
28509 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28510 if (!SWIG_IsOK(res1)) {
28511 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28512 }
28513 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28514 {
28515 PyThreadState* __tstate = wxPyBeginAllowThreads();
28516 (arg1)->OnLast();
28517 wxPyEndAllowThreads(__tstate);
28518 if (PyErr_Occurred()) SWIG_fail;
28519 }
28520 resultobj = SWIG_Py_Void();
28521 return resultobj;
28522 fail:
28523 return NULL;
28524 }
28525
28526
28527 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28528 PyObject *resultobj = 0;
28529 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28530 void *argp1 = 0 ;
28531 int res1 = 0 ;
28532 PyObject *swig_obj[1] ;
28533
28534 if (!args) SWIG_fail;
28535 swig_obj[0] = args;
28536 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28537 if (!SWIG_IsOK(res1)) {
28538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28539 }
28540 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28541 {
28542 PyThreadState* __tstate = wxPyBeginAllowThreads();
28543 (arg1)->OnGoto();
28544 wxPyEndAllowThreads(__tstate);
28545 if (PyErr_Occurred()) SWIG_fail;
28546 }
28547 resultobj = SWIG_Py_Void();
28548 return resultobj;
28549 fail:
28550 return NULL;
28551 }
28552
28553
28554 SWIGINTERN PyObject *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28555 PyObject *obj;
28556 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28557 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
28558 return SWIG_Py_Void();
28559 }
28560
28561 SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28562 return SWIG_Python_InitShadowInstance(args);
28563 }
28564
28565 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
28566 PyObject *resultobj = 0;
28567 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28568 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
28569 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
28570 wxPrintPreview *result = 0 ;
28571 int res1 = 0 ;
28572 int res2 = 0 ;
28573 void *argp3 = 0 ;
28574 int res3 = 0 ;
28575
28576 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
28577 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28578 if (!SWIG_IsOK(res1)) {
28579 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28580 }
28581 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28582 if (!SWIG_IsOK(res2)) {
28583 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
28584 }
28585 if (swig_obj[2]) {
28586 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28587 if (!SWIG_IsOK(res3)) {
28588 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
28589 }
28590 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
28591 }
28592 {
28593 if (!wxPyCheckForApp()) SWIG_fail;
28594 PyThreadState* __tstate = wxPyBeginAllowThreads();
28595 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
28596 wxPyEndAllowThreads(__tstate);
28597 if (PyErr_Occurred()) SWIG_fail;
28598 }
28599 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
28600 return resultobj;
28601 fail:
28602 return NULL;
28603 }
28604
28605
28606 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
28607 PyObject *resultobj = 0;
28608 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28609 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
28610 wxPrintData *arg3 = (wxPrintData *) 0 ;
28611 wxPrintPreview *result = 0 ;
28612 int res1 = 0 ;
28613 int res2 = 0 ;
28614 void *argp3 = 0 ;
28615 int res3 = 0 ;
28616
28617 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
28618 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28619 if (!SWIG_IsOK(res1)) {
28620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28621 }
28622 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28623 if (!SWIG_IsOK(res2)) {
28624 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
28625 }
28626 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
28627 if (!SWIG_IsOK(res3)) {
28628 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
28629 }
28630 arg3 = reinterpret_cast< wxPrintData * >(argp3);
28631 {
28632 if (!wxPyCheckForApp()) SWIG_fail;
28633 PyThreadState* __tstate = wxPyBeginAllowThreads();
28634 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
28635 wxPyEndAllowThreads(__tstate);
28636 if (PyErr_Occurred()) SWIG_fail;
28637 }
28638 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
28639 return resultobj;
28640 fail:
28641 return NULL;
28642 }
28643
28644
28645 SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
28646 int argc;
28647 PyObject *argv[4];
28648
28649 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
28650 --argc;
28651 if ((argc >= 2) && (argc <= 3)) {
28652 int _v = 0;
28653 if (argc > 2) {
28654 {
28655 void *vptr = 0;
28656 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
28657 _v = SWIG_CheckState(res);
28658 }
28659 if (!_v) goto check_1;
28660 }
28661 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
28662 }
28663 check_1:
28664
28665 if (argc == 3) {
28666 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
28667 }
28668
28669 fail:
28670 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
28671 return NULL;
28672 }
28673
28674
28675 SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28676 PyObject *resultobj = 0;
28677 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28678 void *argp1 = 0 ;
28679 int res1 = 0 ;
28680 PyObject *swig_obj[1] ;
28681
28682 if (!args) SWIG_fail;
28683 swig_obj[0] = args;
28684 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
28685 if (!SWIG_IsOK(res1)) {
28686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28687 }
28688 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28689 {
28690 PyThreadState* __tstate = wxPyBeginAllowThreads();
28691 delete arg1;
28692
28693 wxPyEndAllowThreads(__tstate);
28694 if (PyErr_Occurred()) SWIG_fail;
28695 }
28696 resultobj = SWIG_Py_Void();
28697 return resultobj;
28698 fail:
28699 return NULL;
28700 }
28701
28702
28703 SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28704 PyObject *resultobj = 0;
28705 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28706 int arg2 ;
28707 bool result;
28708 void *argp1 = 0 ;
28709 int res1 = 0 ;
28710 int val2 ;
28711 int ecode2 = 0 ;
28712 PyObject * obj0 = 0 ;
28713 PyObject * obj1 = 0 ;
28714 char * kwnames[] = {
28715 (char *) "self",(char *) "pageNum", NULL
28716 };
28717
28718 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
28719 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28720 if (!SWIG_IsOK(res1)) {
28721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28722 }
28723 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28724 ecode2 = SWIG_AsVal_int(obj1, &val2);
28725 if (!SWIG_IsOK(ecode2)) {
28726 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
28727 }
28728 arg2 = static_cast< int >(val2);
28729 {
28730 PyThreadState* __tstate = wxPyBeginAllowThreads();
28731 result = (bool)(arg1)->SetCurrentPage(arg2);
28732 wxPyEndAllowThreads(__tstate);
28733 if (PyErr_Occurred()) SWIG_fail;
28734 }
28735 {
28736 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28737 }
28738 return resultobj;
28739 fail:
28740 return NULL;
28741 }
28742
28743
28744 SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28745 PyObject *resultobj = 0;
28746 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28747 int result;
28748 void *argp1 = 0 ;
28749 int res1 = 0 ;
28750 PyObject *swig_obj[1] ;
28751
28752 if (!args) SWIG_fail;
28753 swig_obj[0] = args;
28754 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28755 if (!SWIG_IsOK(res1)) {
28756 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28757 }
28758 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28759 {
28760 PyThreadState* __tstate = wxPyBeginAllowThreads();
28761 result = (int)(arg1)->GetCurrentPage();
28762 wxPyEndAllowThreads(__tstate);
28763 if (PyErr_Occurred()) SWIG_fail;
28764 }
28765 resultobj = SWIG_From_int(static_cast< int >(result));
28766 return resultobj;
28767 fail:
28768 return NULL;
28769 }
28770
28771
28772 SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28773 PyObject *resultobj = 0;
28774 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28775 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
28776 void *argp1 = 0 ;
28777 int res1 = 0 ;
28778 int res2 = 0 ;
28779 PyObject * obj0 = 0 ;
28780 PyObject * obj1 = 0 ;
28781 char * kwnames[] = {
28782 (char *) "self",(char *) "printout", NULL
28783 };
28784
28785 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
28786 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28787 if (!SWIG_IsOK(res1)) {
28788 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28789 }
28790 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28791 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28792 if (!SWIG_IsOK(res2)) {
28793 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
28794 }
28795 {
28796 PyThreadState* __tstate = wxPyBeginAllowThreads();
28797 (arg1)->SetPrintout(arg2);
28798 wxPyEndAllowThreads(__tstate);
28799 if (PyErr_Occurred()) SWIG_fail;
28800 }
28801 resultobj = SWIG_Py_Void();
28802 return resultobj;
28803 fail:
28804 return NULL;
28805 }
28806
28807
28808 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28809 PyObject *resultobj = 0;
28810 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28811 wxPyPrintout *result = 0 ;
28812 void *argp1 = 0 ;
28813 int res1 = 0 ;
28814 PyObject *swig_obj[1] ;
28815
28816 if (!args) SWIG_fail;
28817 swig_obj[0] = args;
28818 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28819 if (!SWIG_IsOK(res1)) {
28820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28821 }
28822 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28823 {
28824 PyThreadState* __tstate = wxPyBeginAllowThreads();
28825 result = (wxPyPrintout *)(arg1)->GetPrintout();
28826 wxPyEndAllowThreads(__tstate);
28827 if (PyErr_Occurred()) SWIG_fail;
28828 }
28829 {
28830 resultobj = wxPyMake_wxObject(result, 0);
28831 }
28832 return resultobj;
28833 fail:
28834 return NULL;
28835 }
28836
28837
28838 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28839 PyObject *resultobj = 0;
28840 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28841 wxPyPrintout *result = 0 ;
28842 void *argp1 = 0 ;
28843 int res1 = 0 ;
28844 PyObject *swig_obj[1] ;
28845
28846 if (!args) SWIG_fail;
28847 swig_obj[0] = args;
28848 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28849 if (!SWIG_IsOK(res1)) {
28850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28851 }
28852 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28853 {
28854 PyThreadState* __tstate = wxPyBeginAllowThreads();
28855 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
28856 wxPyEndAllowThreads(__tstate);
28857 if (PyErr_Occurred()) SWIG_fail;
28858 }
28859 {
28860 resultobj = wxPyMake_wxObject(result, 0);
28861 }
28862 return resultobj;
28863 fail:
28864 return NULL;
28865 }
28866
28867
28868 SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28869 PyObject *resultobj = 0;
28870 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28871 wxFrame *arg2 = (wxFrame *) 0 ;
28872 void *argp1 = 0 ;
28873 int res1 = 0 ;
28874 void *argp2 = 0 ;
28875 int res2 = 0 ;
28876 PyObject * obj0 = 0 ;
28877 PyObject * obj1 = 0 ;
28878 char * kwnames[] = {
28879 (char *) "self",(char *) "frame", NULL
28880 };
28881
28882 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
28883 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28884 if (!SWIG_IsOK(res1)) {
28885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28886 }
28887 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28888 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
28889 if (!SWIG_IsOK(res2)) {
28890 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28891 }
28892 arg2 = reinterpret_cast< wxFrame * >(argp2);
28893 {
28894 PyThreadState* __tstate = wxPyBeginAllowThreads();
28895 (arg1)->SetFrame(arg2);
28896 wxPyEndAllowThreads(__tstate);
28897 if (PyErr_Occurred()) SWIG_fail;
28898 }
28899 resultobj = SWIG_Py_Void();
28900 return resultobj;
28901 fail:
28902 return NULL;
28903 }
28904
28905
28906 SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28907 PyObject *resultobj = 0;
28908 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28909 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
28910 void *argp1 = 0 ;
28911 int res1 = 0 ;
28912 void *argp2 = 0 ;
28913 int res2 = 0 ;
28914 PyObject * obj0 = 0 ;
28915 PyObject * obj1 = 0 ;
28916 char * kwnames[] = {
28917 (char *) "self",(char *) "canvas", NULL
28918 };
28919
28920 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
28921 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28922 if (!SWIG_IsOK(res1)) {
28923 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28924 }
28925 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28926 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
28927 if (!SWIG_IsOK(res2)) {
28928 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
28929 }
28930 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
28931 {
28932 PyThreadState* __tstate = wxPyBeginAllowThreads();
28933 (arg1)->SetCanvas(arg2);
28934 wxPyEndAllowThreads(__tstate);
28935 if (PyErr_Occurred()) SWIG_fail;
28936 }
28937 resultobj = SWIG_Py_Void();
28938 return resultobj;
28939 fail:
28940 return NULL;
28941 }
28942
28943
28944 SWIGINTERN PyObject *_wrap_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28945 PyObject *resultobj = 0;
28946 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28947 wxFrame *result = 0 ;
28948 void *argp1 = 0 ;
28949 int res1 = 0 ;
28950 PyObject *swig_obj[1] ;
28951
28952 if (!args) SWIG_fail;
28953 swig_obj[0] = args;
28954 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28955 if (!SWIG_IsOK(res1)) {
28956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28957 }
28958 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28959 {
28960 PyThreadState* __tstate = wxPyBeginAllowThreads();
28961 result = (wxFrame *)(arg1)->GetFrame();
28962 wxPyEndAllowThreads(__tstate);
28963 if (PyErr_Occurred()) SWIG_fail;
28964 }
28965 {
28966 resultobj = wxPyMake_wxObject(result, 0);
28967 }
28968 return resultobj;
28969 fail:
28970 return NULL;
28971 }
28972
28973
28974 SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28975 PyObject *resultobj = 0;
28976 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28977 wxPreviewCanvas *result = 0 ;
28978 void *argp1 = 0 ;
28979 int res1 = 0 ;
28980 PyObject *swig_obj[1] ;
28981
28982 if (!args) SWIG_fail;
28983 swig_obj[0] = args;
28984 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28985 if (!SWIG_IsOK(res1)) {
28986 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28987 }
28988 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28989 {
28990 PyThreadState* __tstate = wxPyBeginAllowThreads();
28991 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
28992 wxPyEndAllowThreads(__tstate);
28993 if (PyErr_Occurred()) SWIG_fail;
28994 }
28995 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
28996 return resultobj;
28997 fail:
28998 return NULL;
28999 }
29000
29001
29002 SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29003 PyObject *resultobj = 0;
29004 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29005 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29006 wxDC *arg3 = 0 ;
29007 bool result;
29008 void *argp1 = 0 ;
29009 int res1 = 0 ;
29010 void *argp2 = 0 ;
29011 int res2 = 0 ;
29012 void *argp3 = 0 ;
29013 int res3 = 0 ;
29014 PyObject * obj0 = 0 ;
29015 PyObject * obj1 = 0 ;
29016 PyObject * obj2 = 0 ;
29017 char * kwnames[] = {
29018 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29019 };
29020
29021 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29022 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29023 if (!SWIG_IsOK(res1)) {
29024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29025 }
29026 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29027 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29028 if (!SWIG_IsOK(res2)) {
29029 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29030 }
29031 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29032 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29033 if (!SWIG_IsOK(res3)) {
29034 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29035 }
29036 if (!argp3) {
29037 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29038 }
29039 arg3 = reinterpret_cast< wxDC * >(argp3);
29040 {
29041 PyThreadState* __tstate = wxPyBeginAllowThreads();
29042 result = (bool)(arg1)->PaintPage(arg2,*arg3);
29043 wxPyEndAllowThreads(__tstate);
29044 if (PyErr_Occurred()) SWIG_fail;
29045 }
29046 {
29047 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29048 }
29049 return resultobj;
29050 fail:
29051 return NULL;
29052 }
29053
29054
29055 SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29056 PyObject *resultobj = 0;
29057 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29058 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29059 wxDC *arg3 = 0 ;
29060 bool result;
29061 void *argp1 = 0 ;
29062 int res1 = 0 ;
29063 void *argp2 = 0 ;
29064 int res2 = 0 ;
29065 void *argp3 = 0 ;
29066 int res3 = 0 ;
29067 PyObject * obj0 = 0 ;
29068 PyObject * obj1 = 0 ;
29069 PyObject * obj2 = 0 ;
29070 char * kwnames[] = {
29071 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29072 };
29073
29074 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29075 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29076 if (!SWIG_IsOK(res1)) {
29077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29078 }
29079 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29080 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29081 if (!SWIG_IsOK(res2)) {
29082 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29083 }
29084 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29085 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29086 if (!SWIG_IsOK(res3)) {
29087 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29088 }
29089 if (!argp3) {
29090 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29091 }
29092 arg3 = reinterpret_cast< wxDC * >(argp3);
29093 {
29094 PyThreadState* __tstate = wxPyBeginAllowThreads();
29095 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
29096 wxPyEndAllowThreads(__tstate);
29097 if (PyErr_Occurred()) SWIG_fail;
29098 }
29099 {
29100 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29101 }
29102 return resultobj;
29103 fail:
29104 return NULL;
29105 }
29106
29107
29108 SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29109 PyObject *resultobj = 0;
29110 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29111 int arg2 ;
29112 bool result;
29113 void *argp1 = 0 ;
29114 int res1 = 0 ;
29115 int val2 ;
29116 int ecode2 = 0 ;
29117 PyObject * obj0 = 0 ;
29118 PyObject * obj1 = 0 ;
29119 char * kwnames[] = {
29120 (char *) "self",(char *) "pageNum", NULL
29121 };
29122
29123 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) SWIG_fail;
29124 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29125 if (!SWIG_IsOK(res1)) {
29126 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29127 }
29128 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29129 ecode2 = SWIG_AsVal_int(obj1, &val2);
29130 if (!SWIG_IsOK(ecode2)) {
29131 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29132 }
29133 arg2 = static_cast< int >(val2);
29134 {
29135 PyThreadState* __tstate = wxPyBeginAllowThreads();
29136 result = (bool)(arg1)->RenderPage(arg2);
29137 wxPyEndAllowThreads(__tstate);
29138 if (PyErr_Occurred()) SWIG_fail;
29139 }
29140 {
29141 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29142 }
29143 return resultobj;
29144 fail:
29145 return NULL;
29146 }
29147
29148
29149 SWIGINTERN PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29150 PyObject *resultobj = 0;
29151 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29152 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29153 void *argp1 = 0 ;
29154 int res1 = 0 ;
29155 void *argp2 = 0 ;
29156 int res2 = 0 ;
29157 PyObject * obj0 = 0 ;
29158 PyObject * obj1 = 0 ;
29159 char * kwnames[] = {
29160 (char *) "self",(char *) "canvas", NULL
29161 };
29162
29163 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
29164 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29165 if (!SWIG_IsOK(res1)) {
29166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29167 }
29168 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29169 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29170 if (!SWIG_IsOK(res2)) {
29171 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29172 }
29173 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29174 {
29175 PyThreadState* __tstate = wxPyBeginAllowThreads();
29176 (arg1)->AdjustScrollbars(arg2);
29177 wxPyEndAllowThreads(__tstate);
29178 if (PyErr_Occurred()) SWIG_fail;
29179 }
29180 resultobj = SWIG_Py_Void();
29181 return resultobj;
29182 fail:
29183 return NULL;
29184 }
29185
29186
29187 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29188 PyObject *resultobj = 0;
29189 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29190 wxPrintDialogData *result = 0 ;
29191 void *argp1 = 0 ;
29192 int res1 = 0 ;
29193 PyObject *swig_obj[1] ;
29194
29195 if (!args) SWIG_fail;
29196 swig_obj[0] = args;
29197 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29198 if (!SWIG_IsOK(res1)) {
29199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29200 }
29201 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29202 {
29203 PyThreadState* __tstate = wxPyBeginAllowThreads();
29204 {
29205 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
29206 result = (wxPrintDialogData *) &_result_ref;
29207 }
29208 wxPyEndAllowThreads(__tstate);
29209 if (PyErr_Occurred()) SWIG_fail;
29210 }
29211 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29212 return resultobj;
29213 fail:
29214 return NULL;
29215 }
29216
29217
29218 SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29219 PyObject *resultobj = 0;
29220 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29221 int arg2 ;
29222 void *argp1 = 0 ;
29223 int res1 = 0 ;
29224 int val2 ;
29225 int ecode2 = 0 ;
29226 PyObject * obj0 = 0 ;
29227 PyObject * obj1 = 0 ;
29228 char * kwnames[] = {
29229 (char *) "self",(char *) "percent", NULL
29230 };
29231
29232 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
29233 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29234 if (!SWIG_IsOK(res1)) {
29235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29236 }
29237 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29238 ecode2 = SWIG_AsVal_int(obj1, &val2);
29239 if (!SWIG_IsOK(ecode2)) {
29240 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
29241 }
29242 arg2 = static_cast< int >(val2);
29243 {
29244 PyThreadState* __tstate = wxPyBeginAllowThreads();
29245 (arg1)->SetZoom(arg2);
29246 wxPyEndAllowThreads(__tstate);
29247 if (PyErr_Occurred()) SWIG_fail;
29248 }
29249 resultobj = SWIG_Py_Void();
29250 return resultobj;
29251 fail:
29252 return NULL;
29253 }
29254
29255
29256 SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29257 PyObject *resultobj = 0;
29258 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29259 int result;
29260 void *argp1 = 0 ;
29261 int res1 = 0 ;
29262 PyObject *swig_obj[1] ;
29263
29264 if (!args) SWIG_fail;
29265 swig_obj[0] = args;
29266 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29267 if (!SWIG_IsOK(res1)) {
29268 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29269 }
29270 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29271 {
29272 PyThreadState* __tstate = wxPyBeginAllowThreads();
29273 result = (int)(arg1)->GetZoom();
29274 wxPyEndAllowThreads(__tstate);
29275 if (PyErr_Occurred()) SWIG_fail;
29276 }
29277 resultobj = SWIG_From_int(static_cast< int >(result));
29278 return resultobj;
29279 fail:
29280 return NULL;
29281 }
29282
29283
29284 SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29285 PyObject *resultobj = 0;
29286 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29287 int result;
29288 void *argp1 = 0 ;
29289 int res1 = 0 ;
29290 PyObject *swig_obj[1] ;
29291
29292 if (!args) SWIG_fail;
29293 swig_obj[0] = args;
29294 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29295 if (!SWIG_IsOK(res1)) {
29296 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29297 }
29298 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29299 {
29300 PyThreadState* __tstate = wxPyBeginAllowThreads();
29301 result = (int)(arg1)->GetMaxPage();
29302 wxPyEndAllowThreads(__tstate);
29303 if (PyErr_Occurred()) SWIG_fail;
29304 }
29305 resultobj = SWIG_From_int(static_cast< int >(result));
29306 return resultobj;
29307 fail:
29308 return NULL;
29309 }
29310
29311
29312 SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29313 PyObject *resultobj = 0;
29314 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29315 int result;
29316 void *argp1 = 0 ;
29317 int res1 = 0 ;
29318 PyObject *swig_obj[1] ;
29319
29320 if (!args) SWIG_fail;
29321 swig_obj[0] = args;
29322 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29323 if (!SWIG_IsOK(res1)) {
29324 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29325 }
29326 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29327 {
29328 PyThreadState* __tstate = wxPyBeginAllowThreads();
29329 result = (int)(arg1)->GetMinPage();
29330 wxPyEndAllowThreads(__tstate);
29331 if (PyErr_Occurred()) SWIG_fail;
29332 }
29333 resultobj = SWIG_From_int(static_cast< int >(result));
29334 return resultobj;
29335 fail:
29336 return NULL;
29337 }
29338
29339
29340 SWIGINTERN PyObject *_wrap_PrintPreview_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29341 PyObject *resultobj = 0;
29342 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29343 bool result;
29344 void *argp1 = 0 ;
29345 int res1 = 0 ;
29346 PyObject *swig_obj[1] ;
29347
29348 if (!args) SWIG_fail;
29349 swig_obj[0] = args;
29350 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29351 if (!SWIG_IsOK(res1)) {
29352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29353 }
29354 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29355 {
29356 PyThreadState* __tstate = wxPyBeginAllowThreads();
29357 result = (bool)(arg1)->Ok();
29358 wxPyEndAllowThreads(__tstate);
29359 if (PyErr_Occurred()) SWIG_fail;
29360 }
29361 {
29362 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29363 }
29364 return resultobj;
29365 fail:
29366 return NULL;
29367 }
29368
29369
29370 SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29371 PyObject *resultobj = 0;
29372 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29373 bool arg2 ;
29374 void *argp1 = 0 ;
29375 int res1 = 0 ;
29376 bool val2 ;
29377 int ecode2 = 0 ;
29378 PyObject * obj0 = 0 ;
29379 PyObject * obj1 = 0 ;
29380 char * kwnames[] = {
29381 (char *) "self",(char *) "ok", NULL
29382 };
29383
29384 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
29385 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29386 if (!SWIG_IsOK(res1)) {
29387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29388 }
29389 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29390 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29391 if (!SWIG_IsOK(ecode2)) {
29392 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
29393 }
29394 arg2 = static_cast< bool >(val2);
29395 {
29396 PyThreadState* __tstate = wxPyBeginAllowThreads();
29397 (arg1)->SetOk(arg2);
29398 wxPyEndAllowThreads(__tstate);
29399 if (PyErr_Occurred()) SWIG_fail;
29400 }
29401 resultobj = SWIG_Py_Void();
29402 return resultobj;
29403 fail:
29404 return NULL;
29405 }
29406
29407
29408 SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29409 PyObject *resultobj = 0;
29410 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29411 bool arg2 ;
29412 bool result;
29413 void *argp1 = 0 ;
29414 int res1 = 0 ;
29415 bool val2 ;
29416 int ecode2 = 0 ;
29417 PyObject * obj0 = 0 ;
29418 PyObject * obj1 = 0 ;
29419 char * kwnames[] = {
29420 (char *) "self",(char *) "interactive", NULL
29421 };
29422
29423 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
29424 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29425 if (!SWIG_IsOK(res1)) {
29426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29427 }
29428 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29429 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29430 if (!SWIG_IsOK(ecode2)) {
29431 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
29432 }
29433 arg2 = static_cast< bool >(val2);
29434 {
29435 PyThreadState* __tstate = wxPyBeginAllowThreads();
29436 result = (bool)(arg1)->Print(arg2);
29437 wxPyEndAllowThreads(__tstate);
29438 if (PyErr_Occurred()) SWIG_fail;
29439 }
29440 {
29441 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29442 }
29443 return resultobj;
29444 fail:
29445 return NULL;
29446 }
29447
29448
29449 SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29450 PyObject *resultobj = 0;
29451 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29452 void *argp1 = 0 ;
29453 int res1 = 0 ;
29454 PyObject *swig_obj[1] ;
29455
29456 if (!args) SWIG_fail;
29457 swig_obj[0] = args;
29458 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29459 if (!SWIG_IsOK(res1)) {
29460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29461 }
29462 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29463 {
29464 PyThreadState* __tstate = wxPyBeginAllowThreads();
29465 (arg1)->DetermineScaling();
29466 wxPyEndAllowThreads(__tstate);
29467 if (PyErr_Occurred()) SWIG_fail;
29468 }
29469 resultobj = SWIG_Py_Void();
29470 return resultobj;
29471 fail:
29472 return NULL;
29473 }
29474
29475
29476 SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29477 PyObject *obj;
29478 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29479 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
29480 return SWIG_Py_Void();
29481 }
29482
29483 SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29484 return SWIG_Python_InitShadowInstance(args);
29485 }
29486
29487 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29488 PyObject *resultobj = 0;
29489 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29490 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29491 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
29492 wxPyPrintPreview *result = 0 ;
29493 int res1 = 0 ;
29494 int res2 = 0 ;
29495 void *argp3 = 0 ;
29496 int res3 = 0 ;
29497
29498 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
29499 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29500 if (!SWIG_IsOK(res1)) {
29501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29502 }
29503 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29504 if (!SWIG_IsOK(res2)) {
29505 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29506 }
29507 if (swig_obj[2]) {
29508 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29509 if (!SWIG_IsOK(res3)) {
29510 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29511 }
29512 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
29513 }
29514 {
29515 if (!wxPyCheckForApp()) SWIG_fail;
29516 PyThreadState* __tstate = wxPyBeginAllowThreads();
29517 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
29518 wxPyEndAllowThreads(__tstate);
29519 if (PyErr_Occurred()) SWIG_fail;
29520 }
29521 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
29522 return resultobj;
29523 fail:
29524 return NULL;
29525 }
29526
29527
29528 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29529 PyObject *resultobj = 0;
29530 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29531 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29532 wxPrintData *arg3 = (wxPrintData *) 0 ;
29533 wxPyPrintPreview *result = 0 ;
29534 int res1 = 0 ;
29535 int res2 = 0 ;
29536 void *argp3 = 0 ;
29537 int res3 = 0 ;
29538
29539 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
29540 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29541 if (!SWIG_IsOK(res1)) {
29542 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29543 }
29544 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29545 if (!SWIG_IsOK(res2)) {
29546 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29547 }
29548 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
29549 if (!SWIG_IsOK(res3)) {
29550 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29551 }
29552 arg3 = reinterpret_cast< wxPrintData * >(argp3);
29553 {
29554 if (!wxPyCheckForApp()) SWIG_fail;
29555 PyThreadState* __tstate = wxPyBeginAllowThreads();
29556 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
29557 wxPyEndAllowThreads(__tstate);
29558 if (PyErr_Occurred()) SWIG_fail;
29559 }
29560 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
29561 return resultobj;
29562 fail:
29563 return NULL;
29564 }
29565
29566
29567 SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
29568 int argc;
29569 PyObject *argv[4];
29570
29571 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
29572 --argc;
29573 if ((argc >= 2) && (argc <= 3)) {
29574 int _v = 0;
29575 if (argc > 2) {
29576 {
29577 void *vptr = 0;
29578 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
29579 _v = SWIG_CheckState(res);
29580 }
29581 if (!_v) goto check_1;
29582 }
29583 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
29584 }
29585 check_1:
29586
29587 if (argc == 3) {
29588 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
29589 }
29590
29591 fail:
29592 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
29593 return NULL;
29594 }
29595
29596
29597 SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29598 PyObject *resultobj = 0;
29599 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
29600 PyObject *arg2 = (PyObject *) 0 ;
29601 PyObject *arg3 = (PyObject *) 0 ;
29602 void *argp1 = 0 ;
29603 int res1 = 0 ;
29604 PyObject * obj0 = 0 ;
29605 PyObject * obj1 = 0 ;
29606 PyObject * obj2 = 0 ;
29607 char * kwnames[] = {
29608 (char *) "self",(char *) "self",(char *) "_class", NULL
29609 };
29610
29611 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29612 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
29613 if (!SWIG_IsOK(res1)) {
29614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
29615 }
29616 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
29617 arg2 = obj1;
29618 arg3 = obj2;
29619 {
29620 PyThreadState* __tstate = wxPyBeginAllowThreads();
29621 (arg1)->_setCallbackInfo(arg2,arg3);
29622 wxPyEndAllowThreads(__tstate);
29623 if (PyErr_Occurred()) SWIG_fail;
29624 }
29625 resultobj = SWIG_Py_Void();
29626 return resultobj;
29627 fail:
29628 return NULL;
29629 }
29630
29631
29632 SWIGINTERN PyObject *PyPrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29633 PyObject *obj;
29634 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29635 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview, SWIG_NewClientData(obj));
29636 return SWIG_Py_Void();
29637 }
29638
29639 SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29640 return SWIG_Python_InitShadowInstance(args);
29641 }
29642
29643 SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29644 PyObject *resultobj = 0;
29645 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29646 wxFrame *arg2 = (wxFrame *) 0 ;
29647 wxString *arg3 = 0 ;
29648 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29649 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29650 wxSize const &arg5_defvalue = wxDefaultSize ;
29651 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29652 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
29653 wxString const &arg7_defvalue = wxPyFrameNameStr ;
29654 wxString *arg7 = (wxString *) &arg7_defvalue ;
29655 wxPyPreviewFrame *result = 0 ;
29656 void *argp1 = 0 ;
29657 int res1 = 0 ;
29658 void *argp2 = 0 ;
29659 int res2 = 0 ;
29660 bool temp3 = false ;
29661 wxPoint temp4 ;
29662 wxSize temp5 ;
29663 long val6 ;
29664 int ecode6 = 0 ;
29665 bool temp7 = false ;
29666 PyObject * obj0 = 0 ;
29667 PyObject * obj1 = 0 ;
29668 PyObject * obj2 = 0 ;
29669 PyObject * obj3 = 0 ;
29670 PyObject * obj4 = 0 ;
29671 PyObject * obj5 = 0 ;
29672 PyObject * obj6 = 0 ;
29673 char * kwnames[] = {
29674 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29675 };
29676
29677 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
29678 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29679 if (!SWIG_IsOK(res1)) {
29680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29681 }
29682 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29683 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29684 if (!SWIG_IsOK(res2)) {
29685 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29686 }
29687 arg2 = reinterpret_cast< wxFrame * >(argp2);
29688 {
29689 arg3 = wxString_in_helper(obj2);
29690 if (arg3 == NULL) SWIG_fail;
29691 temp3 = true;
29692 }
29693 if (obj3) {
29694 {
29695 arg4 = &temp4;
29696 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29697 }
29698 }
29699 if (obj4) {
29700 {
29701 arg5 = &temp5;
29702 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29703 }
29704 }
29705 if (obj5) {
29706 ecode6 = SWIG_AsVal_long(obj5, &val6);
29707 if (!SWIG_IsOK(ecode6)) {
29708 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
29709 }
29710 arg6 = static_cast< long >(val6);
29711 }
29712 if (obj6) {
29713 {
29714 arg7 = wxString_in_helper(obj6);
29715 if (arg7 == NULL) SWIG_fail;
29716 temp7 = true;
29717 }
29718 }
29719 {
29720 if (!wxPyCheckForApp()) SWIG_fail;
29721 PyThreadState* __tstate = wxPyBeginAllowThreads();
29722 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
29723 wxPyEndAllowThreads(__tstate);
29724 if (PyErr_Occurred()) SWIG_fail;
29725 }
29726 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
29727 {
29728 if (temp3)
29729 delete arg3;
29730 }
29731 {
29732 if (temp7)
29733 delete arg7;
29734 }
29735 return resultobj;
29736 fail:
29737 {
29738 if (temp3)
29739 delete arg3;
29740 }
29741 {
29742 if (temp7)
29743 delete arg7;
29744 }
29745 return NULL;
29746 }
29747
29748
29749 SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29750 PyObject *resultobj = 0;
29751 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
29752 PyObject *arg2 = (PyObject *) 0 ;
29753 PyObject *arg3 = (PyObject *) 0 ;
29754 void *argp1 = 0 ;
29755 int res1 = 0 ;
29756 PyObject * obj0 = 0 ;
29757 PyObject * obj1 = 0 ;
29758 PyObject * obj2 = 0 ;
29759 char * kwnames[] = {
29760 (char *) "self",(char *) "self",(char *) "_class", NULL
29761 };
29762
29763 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29764 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
29765 if (!SWIG_IsOK(res1)) {
29766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
29767 }
29768 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
29769 arg2 = obj1;
29770 arg3 = obj2;
29771 {
29772 PyThreadState* __tstate = wxPyBeginAllowThreads();
29773 (arg1)->_setCallbackInfo(arg2,arg3);
29774 wxPyEndAllowThreads(__tstate);
29775 if (PyErr_Occurred()) SWIG_fail;
29776 }
29777 resultobj = SWIG_Py_Void();
29778 return resultobj;
29779 fail:
29780 return NULL;
29781 }
29782
29783
29784 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29785 PyObject *resultobj = 0;
29786 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
29787 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29788 void *argp1 = 0 ;
29789 int res1 = 0 ;
29790 void *argp2 = 0 ;
29791 int res2 = 0 ;
29792 PyObject * obj0 = 0 ;
29793 PyObject * obj1 = 0 ;
29794 char * kwnames[] = {
29795 (char *) "self",(char *) "canvas", NULL
29796 };
29797
29798 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
29799 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
29800 if (!SWIG_IsOK(res1)) {
29801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
29802 }
29803 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
29804 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29805 if (!SWIG_IsOK(res2)) {
29806 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29807 }
29808 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29809 {
29810 PyThreadState* __tstate = wxPyBeginAllowThreads();
29811 (arg1)->SetPreviewCanvas(arg2);
29812 wxPyEndAllowThreads(__tstate);
29813 if (PyErr_Occurred()) SWIG_fail;
29814 }
29815 resultobj = SWIG_Py_Void();
29816 return resultobj;
29817 fail:
29818 return NULL;
29819 }
29820
29821
29822 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29823 PyObject *resultobj = 0;
29824 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
29825 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
29826 void *argp1 = 0 ;
29827 int res1 = 0 ;
29828 void *argp2 = 0 ;
29829 int res2 = 0 ;
29830 PyObject * obj0 = 0 ;
29831 PyObject * obj1 = 0 ;
29832 char * kwnames[] = {
29833 (char *) "self",(char *) "bar", NULL
29834 };
29835
29836 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
29837 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
29838 if (!SWIG_IsOK(res1)) {
29839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
29840 }
29841 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
29842 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29843 if (!SWIG_IsOK(res2)) {
29844 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
29845 }
29846 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
29847 {
29848 PyThreadState* __tstate = wxPyBeginAllowThreads();
29849 (arg1)->SetControlBar(arg2);
29850 wxPyEndAllowThreads(__tstate);
29851 if (PyErr_Occurred()) SWIG_fail;
29852 }
29853 resultobj = SWIG_Py_Void();
29854 return resultobj;
29855 fail:
29856 return NULL;
29857 }
29858
29859
29860 SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29861 PyObject *resultobj = 0;
29862 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
29863 void *argp1 = 0 ;
29864 int res1 = 0 ;
29865 PyObject *swig_obj[1] ;
29866
29867 if (!args) SWIG_fail;
29868 swig_obj[0] = args;
29869 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
29870 if (!SWIG_IsOK(res1)) {
29871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
29872 }
29873 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
29874 {
29875 PyThreadState* __tstate = wxPyBeginAllowThreads();
29876 (arg1)->Initialize();
29877 wxPyEndAllowThreads(__tstate);
29878 if (PyErr_Occurred()) SWIG_fail;
29879 }
29880 resultobj = SWIG_Py_Void();
29881 return resultobj;
29882 fail:
29883 return NULL;
29884 }
29885
29886
29887 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29888 PyObject *resultobj = 0;
29889 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
29890 void *argp1 = 0 ;
29891 int res1 = 0 ;
29892 PyObject *swig_obj[1] ;
29893
29894 if (!args) SWIG_fail;
29895 swig_obj[0] = args;
29896 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
29897 if (!SWIG_IsOK(res1)) {
29898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
29899 }
29900 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
29901 {
29902 PyThreadState* __tstate = wxPyBeginAllowThreads();
29903 (arg1)->CreateCanvas();
29904 wxPyEndAllowThreads(__tstate);
29905 if (PyErr_Occurred()) SWIG_fail;
29906 }
29907 resultobj = SWIG_Py_Void();
29908 return resultobj;
29909 fail:
29910 return NULL;
29911 }
29912
29913
29914 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29915 PyObject *resultobj = 0;
29916 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
29917 void *argp1 = 0 ;
29918 int res1 = 0 ;
29919 PyObject *swig_obj[1] ;
29920
29921 if (!args) SWIG_fail;
29922 swig_obj[0] = args;
29923 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
29924 if (!SWIG_IsOK(res1)) {
29925 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
29926 }
29927 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
29928 {
29929 PyThreadState* __tstate = wxPyBeginAllowThreads();
29930 (arg1)->CreateControlBar();
29931 wxPyEndAllowThreads(__tstate);
29932 if (PyErr_Occurred()) SWIG_fail;
29933 }
29934 resultobj = SWIG_Py_Void();
29935 return resultobj;
29936 fail:
29937 return NULL;
29938 }
29939
29940
29941 SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29942 PyObject *obj;
29943 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29944 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
29945 return SWIG_Py_Void();
29946 }
29947
29948 SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29949 return SWIG_Python_InitShadowInstance(args);
29950 }
29951
29952 SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29953 PyObject *resultobj = 0;
29954 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29955 long arg2 ;
29956 wxWindow *arg3 = (wxWindow *) 0 ;
29957 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29958 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29959 wxSize const &arg5_defvalue = wxDefaultSize ;
29960 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29961 long arg6 = (long) 0 ;
29962 wxString const &arg7_defvalue = wxPyPanelNameStr ;
29963 wxString *arg7 = (wxString *) &arg7_defvalue ;
29964 wxPyPreviewControlBar *result = 0 ;
29965 void *argp1 = 0 ;
29966 int res1 = 0 ;
29967 long val2 ;
29968 int ecode2 = 0 ;
29969 void *argp3 = 0 ;
29970 int res3 = 0 ;
29971 wxPoint temp4 ;
29972 wxSize temp5 ;
29973 long val6 ;
29974 int ecode6 = 0 ;
29975 bool temp7 = false ;
29976 PyObject * obj0 = 0 ;
29977 PyObject * obj1 = 0 ;
29978 PyObject * obj2 = 0 ;
29979 PyObject * obj3 = 0 ;
29980 PyObject * obj4 = 0 ;
29981 PyObject * obj5 = 0 ;
29982 PyObject * obj6 = 0 ;
29983 char * kwnames[] = {
29984 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29985 };
29986
29987 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
29988 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29989 if (!SWIG_IsOK(res1)) {
29990 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29991 }
29992 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29993 ecode2 = SWIG_AsVal_long(obj1, &val2);
29994 if (!SWIG_IsOK(ecode2)) {
29995 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
29996 }
29997 arg2 = static_cast< long >(val2);
29998 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
29999 if (!SWIG_IsOK(res3)) {
30000 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30001 }
30002 arg3 = reinterpret_cast< wxWindow * >(argp3);
30003 if (obj3) {
30004 {
30005 arg4 = &temp4;
30006 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30007 }
30008 }
30009 if (obj4) {
30010 {
30011 arg5 = &temp5;
30012 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
30013 }
30014 }
30015 if (obj5) {
30016 ecode6 = SWIG_AsVal_long(obj5, &val6);
30017 if (!SWIG_IsOK(ecode6)) {
30018 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30019 }
30020 arg6 = static_cast< long >(val6);
30021 }
30022 if (obj6) {
30023 {
30024 arg7 = wxString_in_helper(obj6);
30025 if (arg7 == NULL) SWIG_fail;
30026 temp7 = true;
30027 }
30028 }
30029 {
30030 if (!wxPyCheckForApp()) SWIG_fail;
30031 PyThreadState* __tstate = wxPyBeginAllowThreads();
30032 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30033 wxPyEndAllowThreads(__tstate);
30034 if (PyErr_Occurred()) SWIG_fail;
30035 }
30036 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
30037 {
30038 if (temp7)
30039 delete arg7;
30040 }
30041 return resultobj;
30042 fail:
30043 {
30044 if (temp7)
30045 delete arg7;
30046 }
30047 return NULL;
30048 }
30049
30050
30051 SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30052 PyObject *resultobj = 0;
30053 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30054 PyObject *arg2 = (PyObject *) 0 ;
30055 PyObject *arg3 = (PyObject *) 0 ;
30056 void *argp1 = 0 ;
30057 int res1 = 0 ;
30058 PyObject * obj0 = 0 ;
30059 PyObject * obj1 = 0 ;
30060 PyObject * obj2 = 0 ;
30061 char * kwnames[] = {
30062 (char *) "self",(char *) "self",(char *) "_class", NULL
30063 };
30064
30065 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30066 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30067 if (!SWIG_IsOK(res1)) {
30068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30069 }
30070 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30071 arg2 = obj1;
30072 arg3 = obj2;
30073 {
30074 PyThreadState* __tstate = wxPyBeginAllowThreads();
30075 (arg1)->_setCallbackInfo(arg2,arg3);
30076 wxPyEndAllowThreads(__tstate);
30077 if (PyErr_Occurred()) SWIG_fail;
30078 }
30079 resultobj = SWIG_Py_Void();
30080 return resultobj;
30081 fail:
30082 return NULL;
30083 }
30084
30085
30086 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30087 PyObject *resultobj = 0;
30088 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30089 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
30090 void *argp1 = 0 ;
30091 int res1 = 0 ;
30092 void *argp2 = 0 ;
30093 int res2 = 0 ;
30094 PyObject * obj0 = 0 ;
30095 PyObject * obj1 = 0 ;
30096 char * kwnames[] = {
30097 (char *) "self",(char *) "preview", NULL
30098 };
30099
30100 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
30101 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30102 if (!SWIG_IsOK(res1)) {
30103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30104 }
30105 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30106 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30107 if (!SWIG_IsOK(res2)) {
30108 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30109 }
30110 arg2 = reinterpret_cast< wxPrintPreview * >(argp2);
30111 {
30112 PyThreadState* __tstate = wxPyBeginAllowThreads();
30113 (arg1)->SetPrintPreview(arg2);
30114 wxPyEndAllowThreads(__tstate);
30115 if (PyErr_Occurred()) SWIG_fail;
30116 }
30117 resultobj = SWIG_Py_Void();
30118 return resultobj;
30119 fail:
30120 return NULL;
30121 }
30122
30123
30124 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30125 PyObject *resultobj = 0;
30126 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30127 void *argp1 = 0 ;
30128 int res1 = 0 ;
30129 PyObject *swig_obj[1] ;
30130
30131 if (!args) SWIG_fail;
30132 swig_obj[0] = args;
30133 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30134 if (!SWIG_IsOK(res1)) {
30135 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30136 }
30137 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30138 {
30139 PyThreadState* __tstate = wxPyBeginAllowThreads();
30140 (arg1)->CreateButtons();
30141 wxPyEndAllowThreads(__tstate);
30142 if (PyErr_Occurred()) SWIG_fail;
30143 }
30144 resultobj = SWIG_Py_Void();
30145 return resultobj;
30146 fail:
30147 return NULL;
30148 }
30149
30150
30151 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30152 PyObject *resultobj = 0;
30153 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30154 int arg2 ;
30155 void *argp1 = 0 ;
30156 int res1 = 0 ;
30157 int val2 ;
30158 int ecode2 = 0 ;
30159 PyObject * obj0 = 0 ;
30160 PyObject * obj1 = 0 ;
30161 char * kwnames[] = {
30162 (char *) "self",(char *) "zoom", NULL
30163 };
30164
30165 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
30166 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30167 if (!SWIG_IsOK(res1)) {
30168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30169 }
30170 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30171 ecode2 = SWIG_AsVal_int(obj1, &val2);
30172 if (!SWIG_IsOK(ecode2)) {
30173 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30174 }
30175 arg2 = static_cast< int >(val2);
30176 {
30177 PyThreadState* __tstate = wxPyBeginAllowThreads();
30178 (arg1)->SetZoomControl(arg2);
30179 wxPyEndAllowThreads(__tstate);
30180 if (PyErr_Occurred()) SWIG_fail;
30181 }
30182 resultobj = SWIG_Py_Void();
30183 return resultobj;
30184 fail:
30185 return NULL;
30186 }
30187
30188
30189 SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30190 PyObject *obj;
30191 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30192 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
30193 return SWIG_Py_Void();
30194 }
30195
30196 SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30197 return SWIG_Python_InitShadowInstance(args);
30198 }
30199
30200 static PyMethodDef SwigMethods[] = {
30201 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
30202 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
30203 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30204 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
30205 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30206 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
30207 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
30208 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30209 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
30210 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30211 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
30212 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
30213 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30214 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30215 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
30216 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
30217 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
30218 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
30219 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
30220 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
30221 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
30222 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
30223 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
30224 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
30225 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
30226 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30227 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
30228 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
30229 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction)_wrap_ScrolledWindow_GetTargetRect, METH_O, NULL},
30230 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
30231 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30232 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
30233 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
30234 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
30235 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
30236 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
30237 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
30238 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
30239 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
30240 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
30241 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
30242 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30243 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
30244 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
30245 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
30246 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
30247 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
30248 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
30249 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
30250 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
30251 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30252 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
30253 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
30254 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
30255 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30256 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
30257 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
30258 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
30259 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
30260 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30261 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
30262 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30263 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30264 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
30265 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30266 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30267 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
30268 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
30269 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
30270 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
30271 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
30272 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
30273 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
30274 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30275 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
30276 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
30277 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
30278 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
30279 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30280 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
30281 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
30282 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
30283 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
30284 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
30285 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
30286 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30287 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30288 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30289 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
30290 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
30291 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
30292 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30293 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
30294 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
30295 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30296 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
30297 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30298 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
30299 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
30300 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30301 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
30302 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
30303 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
30304 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
30305 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30306 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
30307 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
30308 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
30309 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
30310 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
30311 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30312 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
30313 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30314 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
30315 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
30316 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30317 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30318 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30319 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30320 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
30321 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
30322 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
30323 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
30324 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
30325 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
30326 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30327 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
30328 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
30329 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30330 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
30331 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30332 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
30333 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
30334 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
30335 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
30336 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
30337 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
30338 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
30339 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
30340 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30341 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
30342 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
30343 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
30344 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
30345 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
30346 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
30347 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
30348 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
30349 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
30350 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
30351 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
30352 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
30353 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
30354 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
30355 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
30356 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
30357 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30358 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
30359 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
30360 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30361 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
30362 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
30363 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
30364 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
30365 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
30366 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
30367 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
30368 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30369 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
30370 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30371 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30372 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30373 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
30374 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
30375 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
30376 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
30377 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
30378 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
30379 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
30380 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
30381 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
30382 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
30383 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
30384 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
30385 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
30386 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
30387 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
30388 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
30389 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
30390 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
30391 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
30392 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30393 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
30394 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
30395 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
30396 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
30397 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
30398 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
30399 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
30400 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
30401 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30402 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
30403 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
30404 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
30405 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
30406 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
30407 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
30408 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
30409 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
30410 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
30411 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
30412 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
30413 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
30414 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30415 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
30416 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
30417 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
30418 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
30419 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
30420 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
30421 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30422 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
30423 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30424 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
30425 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
30426 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
30427 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
30428 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
30429 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
30430 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
30431 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
30432 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
30433 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30434 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30435 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30436 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
30437 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
30438 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30439 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
30440 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
30441 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
30442 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30443 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
30444 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
30445 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
30446 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30447 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
30448 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
30449 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
30450 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
30451 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30452 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
30453 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30454 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30455 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
30456 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
30457 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
30458 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
30459 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
30460 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
30461 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction)_wrap_VScrolledWindow_RefreshAll, METH_O, NULL},
30462 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction)_wrap_VScrolledWindow_GetLineCount, METH_O, NULL},
30463 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction)_wrap_VScrolledWindow_GetVisibleBegin, METH_O, NULL},
30464 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction)_wrap_VScrolledWindow_GetVisibleEnd, METH_O, NULL},
30465 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30466 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetFirstVisibleLine, METH_O, NULL},
30467 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetLastVisibleLine, METH_O, NULL},
30468 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction) _wrap_VScrolledWindow_FindFirstFromBottom, METH_VARARGS | METH_KEYWORDS, NULL},
30469 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction) _wrap_VScrolledWindow_GetLinesHeight, METH_VARARGS | METH_KEYWORDS, NULL},
30470 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
30471 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
30472 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
30473 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
30474 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30475 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30476 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
30477 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
30478 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
30479 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
30480 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
30481 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
30482 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
30483 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
30484 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
30485 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
30486 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
30487 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
30488 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
30489 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
30490 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
30491 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
30492 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
30493 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
30494 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
30495 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
30496 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
30497 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
30498 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
30499 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
30500 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
30501 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30502 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30503 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
30504 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
30505 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
30506 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
30507 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
30508 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
30509 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30510 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
30511 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
30512 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
30513 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
30514 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
30515 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
30516 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
30517 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
30518 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30519 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
30520 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
30521 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
30522 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
30523 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
30524 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
30525 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
30526 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
30527 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
30528 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
30529 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
30530 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
30531 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30532 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
30533 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
30534 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
30535 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
30536 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30537 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
30538 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
30539 { (char *)"DirDialog_GetStyle", (PyCFunction)_wrap_DirDialog_GetStyle, METH_O, NULL},
30540 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
30541 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
30542 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
30543 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
30544 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30545 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
30546 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
30547 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
30548 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
30549 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
30550 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
30551 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
30552 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
30553 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
30554 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
30555 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
30556 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
30557 { (char *)"FileDialog_GetStyle", (PyCFunction)_wrap_FileDialog_GetStyle, METH_O, NULL},
30558 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
30559 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
30560 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
30561 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
30562 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
30563 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30564 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
30565 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
30566 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
30567 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
30568 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30569 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
30570 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
30571 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
30572 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
30573 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
30574 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30575 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
30576 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
30577 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
30578 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
30579 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30580 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
30581 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
30582 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
30583 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
30584 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
30585 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
30586 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
30587 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
30588 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
30589 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
30590 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
30591 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
30592 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
30593 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
30594 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
30595 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
30596 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
30597 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
30598 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
30599 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30600 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
30601 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
30602 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
30603 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
30604 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30605 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
30606 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
30607 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30608 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
30609 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
30610 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
30611 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
30612 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30613 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
30614 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
30615 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
30616 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
30617 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
30618 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
30619 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
30620 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
30621 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
30622 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
30623 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
30624 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
30625 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
30626 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
30627 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
30628 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
30629 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
30630 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
30631 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
30632 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30633 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
30634 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30635 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
30636 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
30637 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
30638 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
30639 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30640 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
30641 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30642 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
30643 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
30644 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
30645 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
30646 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
30647 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
30648 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction)_wrap_MDIParentFrame_GetToolBar, METH_O, NULL},
30649 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
30650 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
30651 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
30652 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30653 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
30654 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30655 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
30656 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
30657 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
30658 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30659 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
30660 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30661 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
30662 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
30663 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30664 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
30665 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30666 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
30667 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
30668 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30669 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
30670 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
30671 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
30672 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
30673 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
30674 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
30675 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
30676 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
30677 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
30678 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
30679 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
30680 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
30681 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
30682 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
30683 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30684 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
30685 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
30686 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30687 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
30688 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
30689 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
30690 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
30691 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
30692 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
30693 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
30694 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
30695 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
30696 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
30697 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
30698 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
30699 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30700 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
30701 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30702 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
30703 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
30704 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30705 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
30706 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
30707 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
30708 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
30709 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
30710 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
30711 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
30712 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
30713 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
30714 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
30715 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
30716 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
30717 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
30718 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
30719 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
30720 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
30721 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
30722 { (char *)"PrintData_Ok", (PyCFunction)_wrap_PrintData_Ok, METH_O, NULL},
30723 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
30724 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
30725 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
30726 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
30727 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
30728 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
30729 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
30730 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
30731 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
30732 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
30733 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
30734 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
30735 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
30736 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
30737 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
30738 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
30739 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
30740 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
30741 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
30742 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
30743 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
30744 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
30745 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
30746 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
30747 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
30748 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
30749 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
30750 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
30751 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
30752 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
30753 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
30754 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
30755 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
30756 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
30757 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
30758 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
30759 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
30760 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
30761 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
30762 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
30763 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
30764 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
30765 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
30766 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
30767 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
30768 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
30769 { (char *)"PageSetupDialogData_Ok", (PyCFunction)_wrap_PageSetupDialogData_Ok, METH_O, NULL},
30770 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30771 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
30772 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
30773 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
30774 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
30775 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
30776 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
30777 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
30778 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
30779 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
30780 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
30781 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
30782 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
30783 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30784 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
30785 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
30786 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
30787 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
30788 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
30789 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
30790 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
30791 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
30792 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
30793 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
30794 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
30795 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
30796 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
30797 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
30798 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
30799 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
30800 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
30801 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
30802 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
30803 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
30804 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
30805 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
30806 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
30807 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
30808 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
30809 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
30810 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
30811 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
30812 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
30813 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
30814 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
30815 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
30816 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
30817 { (char *)"PrintDialogData_Ok", (PyCFunction)_wrap_PrintDialogData_Ok, METH_O, NULL},
30818 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
30819 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
30820 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
30821 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
30822 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30823 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
30824 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
30825 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
30826 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
30827 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
30828 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
30829 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
30830 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
30831 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30832 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
30833 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
30834 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
30835 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30836 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
30837 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
30838 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
30839 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
30840 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
30841 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
30842 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
30843 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30844 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
30845 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
30846 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
30847 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
30848 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
30849 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
30850 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
30851 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30852 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
30853 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
30854 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
30855 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
30856 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
30857 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
30858 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
30859 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
30860 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
30861 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
30862 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
30863 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
30864 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
30865 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
30866 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
30867 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
30868 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
30869 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30870 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
30871 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
30872 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
30873 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
30874 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
30875 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
30876 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
30877 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
30878 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
30879 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
30880 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
30881 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
30882 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
30883 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
30884 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
30885 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
30886 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
30887 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
30888 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
30889 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
30890 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
30891 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
30892 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
30893 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
30894 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30895 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
30896 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
30897 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
30898 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
30899 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
30900 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
30901 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
30902 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
30903 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
30904 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
30905 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
30906 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
30907 { (char *)"PrintPreview_Ok", (PyCFunction)_wrap_PrintPreview_Ok, METH_O, NULL},
30908 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
30909 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
30910 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
30911 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
30912 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
30913 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
30914 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30915 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
30916 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
30917 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30918 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30919 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
30920 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
30921 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
30922 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
30923 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
30924 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
30925 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
30926 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
30927 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30928 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
30929 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
30930 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
30931 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
30932 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
30933 { NULL, NULL, 0, NULL }
30934 };
30935
30936
30937 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
30938
30939 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
30940 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
30941 }
30942 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
30943 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
30944 }
30945 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
30946 return (void *)((wxEvent *) ((wxMenuEvent *) x));
30947 }
30948 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
30949 return (void *)((wxEvent *) ((wxCloseEvent *) x));
30950 }
30951 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
30952 return (void *)((wxEvent *) ((wxMouseEvent *) x));
30953 }
30954 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
30955 return (void *)((wxEvent *) ((wxEraseEvent *) x));
30956 }
30957 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
30958 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
30959 }
30960 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
30961 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
30962 }
30963 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
30964 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
30965 }
30966 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
30967 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
30968 }
30969 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
30970 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
30971 }
30972 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
30973 return (void *)((wxEvent *) ((wxPyEvent *) x));
30974 }
30975 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
30976 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
30977 }
30978 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
30979 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
30980 }
30981 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
30982 return (void *)((wxEvent *) ((wxIdleEvent *) x));
30983 }
30984 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
30985 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
30986 }
30987 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
30988 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
30989 }
30990 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
30991 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
30992 }
30993 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
30994 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
30995 }
30996 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
30997 return (void *)((wxEvent *) ((wxActivateEvent *) x));
30998 }
30999 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
31000 return (void *)((wxEvent *) ((wxSizeEvent *) x));
31001 }
31002 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
31003 return (void *)((wxEvent *) ((wxMoveEvent *) x));
31004 }
31005 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
31006 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
31007 }
31008 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
31009 return (void *)((wxEvent *) ((wxPaintEvent *) x));
31010 }
31011 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
31012 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
31013 }
31014 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
31015 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
31016 }
31017 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
31018 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
31019 }
31020 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
31021 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
31022 }
31023 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
31024 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31025 }
31026 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
31027 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
31028 }
31029 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
31030 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
31031 }
31032 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
31033 return (void *)((wxEvent *) ((wxFocusEvent *) x));
31034 }
31035 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
31036 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
31037 }
31038 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
31039 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
31040 }
31041 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
31042 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31043 }
31044 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
31045 return (void *)((wxEvent *) ((wxShowEvent *) x));
31046 }
31047 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
31048 return (void *)((wxEvent *) ((wxCommandEvent *) x));
31049 }
31050 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
31051 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
31052 }
31053 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
31054 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31055 }
31056 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
31057 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
31058 }
31059 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
31060 return (void *)((wxEvent *) ((wxKeyEvent *) x));
31061 }
31062 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
31063 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
31064 }
31065 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
31066 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
31067 }
31068 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
31069 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
31070 }
31071 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
31072 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31073 }
31074 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
31075 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31076 }
31077 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
31078 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
31079 }
31080 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
31081 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
31082 }
31083 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
31084 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
31085 }
31086 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
31087 return (void *)((wxEvtHandler *) ((wxValidator *) x));
31088 }
31089 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
31090 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
31091 }
31092 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
31093 return (void *)((wxEvtHandler *) ((wxMenu *) x));
31094 }
31095 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
31096 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31097 }
31098 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
31099 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
31100 }
31101 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
31102 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
31103 }
31104 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
31105 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
31106 }
31107 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
31108 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
31109 }
31110 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
31111 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
31112 }
31113 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
31114 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
31115 }
31116 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
31117 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
31118 }
31119 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
31120 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
31121 }
31122 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
31123 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
31124 }
31125 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
31126 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
31127 }
31128 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
31129 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
31130 }
31131 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
31132 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
31133 }
31134 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
31135 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
31136 }
31137 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
31138 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
31139 }
31140 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
31141 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
31142 }
31143 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
31144 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
31145 }
31146 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
31147 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
31148 }
31149 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
31150 return (void *)((wxEvtHandler *) ((wxWindow *) x));
31151 }
31152 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
31153 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
31154 }
31155 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
31156 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
31157 }
31158 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
31159 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
31160 }
31161 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
31162 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
31163 }
31164 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
31165 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
31166 }
31167 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
31168 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31169 }
31170 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
31171 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31172 }
31173 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
31174 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
31175 }
31176 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
31177 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
31178 }
31179 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
31180 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31181 }
31182 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
31183 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
31184 }
31185 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
31186 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
31187 }
31188 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
31189 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
31190 }
31191 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
31192 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
31193 }
31194 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
31195 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
31196 }
31197 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
31198 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
31199 }
31200 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
31201 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
31202 }
31203 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
31204 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
31205 }
31206 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
31207 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
31208 }
31209 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
31210 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
31211 }
31212 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
31213 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
31214 }
31215 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
31216 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
31217 }
31218 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
31219 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
31220 }
31221 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
31222 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
31223 }
31224 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
31225 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
31226 }
31227 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
31228 return (void *)((wxFrame *) ((wxProgressDialog *) x));
31229 }
31230 static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
31231 return (void *)((wxFrame *) ((wxTipWindow *) x));
31232 }
31233 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
31234 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
31235 }
31236 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
31237 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31238 }
31239 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
31240 return (void *)((wxFrame *) ((wxMiniFrame *) x));
31241 }
31242 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
31243 return (void *)((wxFrame *) ((wxSplashScreen *) x));
31244 }
31245 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
31246 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
31247 }
31248 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
31249 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
31250 }
31251 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
31252 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31253 }
31254 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
31255 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31256 }
31257 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
31258 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31259 }
31260 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
31261 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
31262 }
31263 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
31264 return (void *)((wxObject *) ((wxSizerItem *) x));
31265 }
31266 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
31267 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
31268 }
31269 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
31270 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
31271 }
31272 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
31273 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
31274 }
31275 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
31276 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
31277 }
31278 static void *_p_wxSizerTo_p_wxObject(void *x) {
31279 return (void *)((wxObject *) ((wxSizer *) x));
31280 }
31281 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
31282 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
31283 }
31284 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
31285 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
31286 }
31287 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
31288 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
31289 }
31290 static void *_p_wxEventTo_p_wxObject(void *x) {
31291 return (void *)((wxObject *) ((wxEvent *) x));
31292 }
31293 static void *_p_wxFontDataTo_p_wxObject(void *x) {
31294 return (void *)((wxObject *) ((wxFontData *) x));
31295 }
31296 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
31297 return (void *)((wxObject *) ((wxPrintData *) x));
31298 }
31299 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
31300 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
31301 }
31302 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
31303 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
31304 }
31305 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
31306 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
31307 }
31308 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
31309 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
31310 }
31311 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
31312 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
31313 }
31314 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
31315 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
31316 }
31317 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
31318 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
31319 }
31320 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
31321 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
31322 }
31323 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
31324 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
31325 }
31326 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
31327 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
31328 }
31329 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
31330 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31331 }
31332 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
31333 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
31334 }
31335 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
31336 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
31337 }
31338 static void *_p_wxControlTo_p_wxObject(void *x) {
31339 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
31340 }
31341 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
31342 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
31343 }
31344 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
31345 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
31346 }
31347 static void *_p_wxFSFileTo_p_wxObject(void *x) {
31348 return (void *)((wxObject *) ((wxFSFile *) x));
31349 }
31350 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
31351 return (void *)((wxObject *) ((wxFindReplaceData *) x));
31352 }
31353 static void *_p_wxPySizerTo_p_wxObject(void *x) {
31354 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
31355 }
31356 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
31357 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
31358 }
31359 static void *_p_wxColourDataTo_p_wxObject(void *x) {
31360 return (void *)((wxObject *) ((wxColourData *) x));
31361 }
31362 static void *_p_wxPyEventTo_p_wxObject(void *x) {
31363 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
31364 }
31365 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
31366 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
31367 }
31368 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
31369 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
31370 }
31371 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
31372 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31373 }
31374 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
31375 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
31376 }
31377 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
31378 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
31379 }
31380 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
31381 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
31382 }
31383 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
31384 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
31385 }
31386 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
31387 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31388 }
31389 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
31390 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
31391 }
31392 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
31393 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
31394 }
31395 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
31396 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
31397 }
31398 static void *_p_wxShowEventTo_p_wxObject(void *x) {
31399 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
31400 }
31401 static void *_p_wxPrinterTo_p_wxObject(void *x) {
31402 return (void *)((wxObject *) ((wxPrinter *) x));
31403 }
31404 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
31405 return (void *)((wxObject *) ((wxMenuItem *) x));
31406 }
31407 static void *_p_wxDateEventTo_p_wxObject(void *x) {
31408 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
31409 }
31410 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
31411 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
31412 }
31413 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
31414 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
31415 }
31416 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
31417 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
31418 }
31419 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
31420 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
31421 }
31422 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
31423 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
31424 }
31425 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
31426 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
31427 }
31428 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
31429 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
31430 }
31431 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
31432 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
31433 }
31434 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
31435 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
31436 }
31437 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
31438 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
31439 }
31440 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
31441 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
31442 }
31443 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
31444 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
31445 }
31446 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
31447 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
31448 }
31449 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
31450 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
31451 }
31452 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
31453 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
31454 }
31455 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
31456 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
31457 }
31458 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
31459 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
31460 }
31461 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
31462 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
31463 }
31464 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
31465 return (void *)((wxObject *) ((wxImageHandler *) x));
31466 }
31467 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
31468 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
31469 }
31470 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
31471 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
31472 }
31473 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
31474 return (void *)((wxObject *) ((wxEvtHandler *) x));
31475 }
31476 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
31477 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
31478 }
31479 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
31480 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
31481 }
31482 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
31483 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
31484 }
31485 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
31486 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
31487 }
31488 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
31489 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
31490 }
31491 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
31492 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
31493 }
31494 static void *_p_wxImageTo_p_wxObject(void *x) {
31495 return (void *)((wxObject *) ((wxImage *) x));
31496 }
31497 static void *_p_wxFrameTo_p_wxObject(void *x) {
31498 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
31499 }
31500 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
31501 return (void *)((wxObject *) ((wxPyPrintout *) x));
31502 }
31503 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
31504 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
31505 }
31506 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
31507 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
31508 }
31509 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
31510 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
31511 }
31512 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
31513 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
31514 }
31515 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
31516 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31517 }
31518 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
31519 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
31520 }
31521 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
31522 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
31523 }
31524 static void *_p_wxWindowTo_p_wxObject(void *x) {
31525 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
31526 }
31527 static void *_p_wxMenuTo_p_wxObject(void *x) {
31528 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
31529 }
31530 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
31531 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
31532 }
31533 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
31534 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
31535 }
31536 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
31537 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
31538 }
31539 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
31540 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
31541 }
31542 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
31543 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
31544 }
31545 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
31546 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
31547 }
31548 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
31549 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
31550 }
31551 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
31552 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
31553 }
31554 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
31555 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
31556 }
31557 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
31558 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
31559 }
31560 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
31561 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
31562 }
31563 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
31564 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
31565 }
31566 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
31567 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
31568 }
31569 static void *_p_wxSashEventTo_p_wxObject(void *x) {
31570 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
31571 }
31572 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
31573 return (void *)((wxObject *) ((wxPrintPreview *) x));
31574 }
31575 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
31576 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
31577 }
31578 static void *_p_wxPanelTo_p_wxObject(void *x) {
31579 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
31580 }
31581 static void *_p_wxDialogTo_p_wxObject(void *x) {
31582 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
31583 }
31584 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
31585 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
31586 }
31587 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
31588 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
31589 }
31590 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
31591 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
31592 }
31593 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
31594 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
31595 }
31596 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
31597 return (void *)((wxObject *) ((wxPrintDialog *) x));
31598 }
31599 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
31600 return (void *)((wxObject *) ((wxFileSystem *) x));
31601 }
31602 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
31603 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
31604 }
31605 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
31606 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
31607 }
31608 static void *_p_wxPyAppTo_p_wxObject(void *x) {
31609 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
31610 }
31611 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
31612 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
31613 }
31614 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
31615 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
31616 }
31617 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
31618 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
31619 }
31620 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
31621 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
31622 }
31623 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
31624 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
31625 }
31626 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
31627 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
31628 }
31629 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
31630 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
31631 }
31632 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
31633 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
31634 }
31635 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
31636 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
31637 }
31638 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
31639 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
31640 }
31641 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
31642 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31643 }
31644 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
31645 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
31646 }
31647 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
31648 return (void *)((wxObject *) ((wxPrintDialogData *) x));
31649 }
31650 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
31651 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
31652 }
31653 static void *_p_wxValidatorTo_p_wxObject(void *x) {
31654 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
31655 }
31656 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
31657 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
31658 }
31659 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
31660 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
31661 }
31662 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
31663 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
31664 }
31665 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
31666 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
31667 }
31668 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
31669 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
31670 }
31671 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
31672 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
31673 }
31674 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
31675 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
31676 }
31677 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
31678 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
31679 }
31680 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
31681 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
31682 }
31683 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
31684 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
31685 }
31686 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
31687 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
31688 }
31689 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
31690 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
31691 }
31692 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
31693 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
31694 }
31695 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
31696 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
31697 }
31698 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
31699 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
31700 }
31701 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
31702 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31703 }
31704 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
31705 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
31706 }
31707 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
31708 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
31709 }
31710 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
31711 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
31712 }
31713 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
31714 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
31715 }
31716 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
31717 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
31718 }
31719 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
31720 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
31721 }
31722 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
31723 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
31724 }
31725 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
31726 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31727 }
31728 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
31729 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31730 }
31731 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
31732 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
31733 }
31734 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
31735 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
31736 }
31737 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
31738 return (void *)((wxWindow *) ((wxMenuBar *) x));
31739 }
31740 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
31741 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
31742 }
31743 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
31744 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
31745 }
31746 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
31747 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
31748 }
31749 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
31750 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31751 }
31752 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
31753 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
31754 }
31755 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
31756 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
31757 }
31758 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
31759 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
31760 }
31761 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
31762 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
31763 }
31764 static void *_p_wxPanelTo_p_wxWindow(void *x) {
31765 return (void *)((wxWindow *) ((wxPanel *) x));
31766 }
31767 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
31768 return (void *)((wxWindow *) ((wxStatusBar *) x));
31769 }
31770 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
31771 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
31772 }
31773 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
31774 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
31775 }
31776 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
31777 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
31778 }
31779 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
31780 return (void *)((wxWindow *) ((wxPopupWindow *) x));
31781 }
31782 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
31783 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
31784 }
31785 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
31786 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
31787 }
31788 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
31789 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
31790 }
31791 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
31792 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
31793 }
31794 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
31795 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
31796 }
31797 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
31798 return (void *)((wxWindow *) ((wxSashWindow *) x));
31799 }
31800 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
31801 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
31802 }
31803 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
31804 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
31805 }
31806 static void *_p_wxControlTo_p_wxWindow(void *x) {
31807 return (void *)((wxWindow *) ((wxControl *) x));
31808 }
31809 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
31810 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31811 }
31812 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
31813 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31814 }
31815 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
31816 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
31817 }
31818 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
31819 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
31820 }
31821 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
31822 return (void *)((wxWindow *) ((wxPyWindow *) x));
31823 }
31824 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
31825 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
31826 }
31827 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
31828 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
31829 }
31830 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
31831 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
31832 }
31833 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
31834 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
31835 }
31836 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
31837 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
31838 }
31839 static void *_p_wxFrameTo_p_wxWindow(void *x) {
31840 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
31841 }
31842 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
31843 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
31844 }
31845 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
31846 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
31847 }
31848 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
31849 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
31850 }
31851 static void *_p_wxDialogTo_p_wxWindow(void *x) {
31852 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
31853 }
31854 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
31855 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
31856 }
31857 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
31858 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
31859 }
31860 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
31861 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
31862 }
31863 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
31864 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
31865 }
31866 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
31867 return (void *)((wxDialog *) ((wxColourDialog *) x));
31868 }
31869 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
31870 return (void *)((wxDialog *) ((wxDirDialog *) x));
31871 }
31872 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
31873 return (void *)((wxDialog *) ((wxFontDialog *) x));
31874 }
31875 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
31876 return (void *)((wxDialog *) ((wxFileDialog *) x));
31877 }
31878 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
31879 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
31880 }
31881 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
31882 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
31883 }
31884 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
31885 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
31886 }
31887 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
31888 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31889 }
31890 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
31891 return (void *)((wxDialog *) ((wxMessageDialog *) x));
31892 }
31893 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
31894 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
31895 }
31896 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
31897 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
31898 }
31899 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
31900 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
31901 }
31902 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
31903 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
31904 }
31905 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
31906 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
31907 }
31908 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
31909 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
31910 }
31911 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
31912 return (void *)((wxPanel *) ((wxPyPanel *) x));
31913 }
31914 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
31915 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
31916 }
31917 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
31918 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
31919 }
31920 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
31921 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
31922 }
31923 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
31924 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
31925 }
31926 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
31927 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
31928 }
31929 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
31930 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
31931 }
31932 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
31933 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
31934 }
31935 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
31936 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
31937 }
31938 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
31939 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
31940 }
31941 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
31942 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31943 }
31944 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
31945 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
31946 }
31947 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
31948 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
31949 }
31950 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
31951 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
31952 }
31953 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
31954 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
31955 }
31956 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
31957 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
31958 }
31959 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
31960 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
31961 }
31962 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
31963 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};
31964 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
31965 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
31966 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
31967 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
31968 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
31969 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
31970 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
31971 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
31972 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
31973 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
31974 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
31975 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
31976 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
31977 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
31978 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
31979 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
31980 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
31981 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
31982 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
31983 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
31984 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
31985 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
31986 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
31987 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
31988 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
31989 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
31990 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
31991 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
31992 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
31993 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
31994 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
31995 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
31996 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
31997 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
31998 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
31999 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32000 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32001 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32002 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32003 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32004 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32005 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32006 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32007 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32008 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32009 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32010 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32011 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32012 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32013 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32014 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
32015 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32016 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
32017 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
32018 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32019 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32020 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32021 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32022 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32023 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32024 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32025 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32026 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32027 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
32028 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32029 static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32030 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32031 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32032 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32033 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32034 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32035 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32036 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32037 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32038 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32039 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32040 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32041 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32042 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32043 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32044 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32045 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32046 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32047 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
32048 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32049 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32050 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32051 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
32052 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
32053 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32054 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32055 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32056 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32057 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32058 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32059 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32060 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32061 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32062 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32063 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32064 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32065 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32066 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32067 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32068 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
32069 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32070 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32071 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32072 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32073 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32074 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32075 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32076 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32077 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32078 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32079 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32080 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32081 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32082 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32083 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32084 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32085 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32086 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32087 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32088 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32089 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32090 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32091 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32092 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32093 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32094 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32095 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32096 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32097 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32098 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32099 static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32100 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32101 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32102 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32103 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32104 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32105 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32106 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32107 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32108 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32109 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32110 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32111 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32112 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32113 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32114 static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32115 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32116 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32117 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32118 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32119 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32120 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32121 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32122
32123 static swig_type_info *swig_type_initial[] = {
32124 &_swigt__p_char,
32125 &_swigt__p_form_ops_t,
32126 &_swigt__p_int,
32127 &_swigt__p_unsigned_char,
32128 &_swigt__p_unsigned_int,
32129 &_swigt__p_unsigned_long,
32130 &_swigt__p_wxANIHandler,
32131 &_swigt__p_wxAcceleratorTable,
32132 &_swigt__p_wxActivateEvent,
32133 &_swigt__p_wxArrayInt,
32134 &_swigt__p_wxBMPHandler,
32135 &_swigt__p_wxBitmap,
32136 &_swigt__p_wxBoxSizer,
32137 &_swigt__p_wxCURHandler,
32138 &_swigt__p_wxCalculateLayoutEvent,
32139 &_swigt__p_wxChildFocusEvent,
32140 &_swigt__p_wxCloseEvent,
32141 &_swigt__p_wxColour,
32142 &_swigt__p_wxColourData,
32143 &_swigt__p_wxColourDialog,
32144 &_swigt__p_wxCommandEvent,
32145 &_swigt__p_wxContextMenuEvent,
32146 &_swigt__p_wxControl,
32147 &_swigt__p_wxControlWithItems,
32148 &_swigt__p_wxDC,
32149 &_swigt__p_wxDateEvent,
32150 &_swigt__p_wxDialog,
32151 &_swigt__p_wxDirDialog,
32152 &_swigt__p_wxDisplayChangedEvent,
32153 &_swigt__p_wxDropFilesEvent,
32154 &_swigt__p_wxDuplexMode,
32155 &_swigt__p_wxEraseEvent,
32156 &_swigt__p_wxEvent,
32157 &_swigt__p_wxEvtHandler,
32158 &_swigt__p_wxFSFile,
32159 &_swigt__p_wxFileDialog,
32160 &_swigt__p_wxFileSystem,
32161 &_swigt__p_wxFindDialogEvent,
32162 &_swigt__p_wxFindReplaceData,
32163 &_swigt__p_wxFindReplaceDialog,
32164 &_swigt__p_wxFlexGridSizer,
32165 &_swigt__p_wxFocusEvent,
32166 &_swigt__p_wxFont,
32167 &_swigt__p_wxFontData,
32168 &_swigt__p_wxFontDialog,
32169 &_swigt__p_wxFrame,
32170 &_swigt__p_wxGBSizerItem,
32171 &_swigt__p_wxGIFHandler,
32172 &_swigt__p_wxGridBagSizer,
32173 &_swigt__p_wxGridSizer,
32174 &_swigt__p_wxICOHandler,
32175 &_swigt__p_wxIcon,
32176 &_swigt__p_wxIconBundle,
32177 &_swigt__p_wxIconizeEvent,
32178 &_swigt__p_wxIdleEvent,
32179 &_swigt__p_wxImage,
32180 &_swigt__p_wxImageHandler,
32181 &_swigt__p_wxIndividualLayoutConstraint,
32182 &_swigt__p_wxInitDialogEvent,
32183 &_swigt__p_wxJPEGHandler,
32184 &_swigt__p_wxKeyEvent,
32185 &_swigt__p_wxLayoutAlgorithm,
32186 &_swigt__p_wxLayoutConstraints,
32187 &_swigt__p_wxMDIChildFrame,
32188 &_swigt__p_wxMDIClientWindow,
32189 &_swigt__p_wxMDIParentFrame,
32190 &_swigt__p_wxMaximizeEvent,
32191 &_swigt__p_wxMenu,
32192 &_swigt__p_wxMenuBar,
32193 &_swigt__p_wxMenuEvent,
32194 &_swigt__p_wxMenuItem,
32195 &_swigt__p_wxMessageDialog,
32196 &_swigt__p_wxMiniFrame,
32197 &_swigt__p_wxMouseCaptureChangedEvent,
32198 &_swigt__p_wxMouseEvent,
32199 &_swigt__p_wxMoveEvent,
32200 &_swigt__p_wxMultiChoiceDialog,
32201 &_swigt__p_wxNavigationKeyEvent,
32202 &_swigt__p_wxNcPaintEvent,
32203 &_swigt__p_wxNotifyEvent,
32204 &_swigt__p_wxObject,
32205 &_swigt__p_wxPCXHandler,
32206 &_swigt__p_wxPNGHandler,
32207 &_swigt__p_wxPNMHandler,
32208 &_swigt__p_wxPageSetupDialog,
32209 &_swigt__p_wxPageSetupDialogData,
32210 &_swigt__p_wxPaintEvent,
32211 &_swigt__p_wxPaletteChangedEvent,
32212 &_swigt__p_wxPanel,
32213 &_swigt__p_wxPaperSize,
32214 &_swigt__p_wxPasswordEntryDialog,
32215 &_swigt__p_wxPoint,
32216 &_swigt__p_wxPopupWindow,
32217 &_swigt__p_wxPreviewCanvas,
32218 &_swigt__p_wxPreviewControlBar,
32219 &_swigt__p_wxPreviewFrame,
32220 &_swigt__p_wxPrintData,
32221 &_swigt__p_wxPrintDialog,
32222 &_swigt__p_wxPrintDialogData,
32223 &_swigt__p_wxPrintPreview,
32224 &_swigt__p_wxPrinter,
32225 &_swigt__p_wxProgressDialog,
32226 &_swigt__p_wxPyApp,
32227 &_swigt__p_wxPyCommandEvent,
32228 &_swigt__p_wxPyEvent,
32229 &_swigt__p_wxPyHtmlListBox,
32230 &_swigt__p_wxPyImageHandler,
32231 &_swigt__p_wxPyPanel,
32232 &_swigt__p_wxPyPopupTransientWindow,
32233 &_swigt__p_wxPyPreviewControlBar,
32234 &_swigt__p_wxPyPreviewFrame,
32235 &_swigt__p_wxPyPrintPreview,
32236 &_swigt__p_wxPyPrintout,
32237 &_swigt__p_wxPyScrolledWindow,
32238 &_swigt__p_wxPySizer,
32239 &_swigt__p_wxPyTaskBarIcon,
32240 &_swigt__p_wxPyVListBox,
32241 &_swigt__p_wxPyVScrolledWindow,
32242 &_swigt__p_wxPyValidator,
32243 &_swigt__p_wxPyWindow,
32244 &_swigt__p_wxQueryLayoutInfoEvent,
32245 &_swigt__p_wxQueryNewPaletteEvent,
32246 &_swigt__p_wxRect,
32247 &_swigt__p_wxRegion,
32248 &_swigt__p_wxSashEvent,
32249 &_swigt__p_wxSashLayoutWindow,
32250 &_swigt__p_wxSashWindow,
32251 &_swigt__p_wxScrollEvent,
32252 &_swigt__p_wxScrollWinEvent,
32253 &_swigt__p_wxScrolledWindow,
32254 &_swigt__p_wxSetCursorEvent,
32255 &_swigt__p_wxShowEvent,
32256 &_swigt__p_wxSingleChoiceDialog,
32257 &_swigt__p_wxSize,
32258 &_swigt__p_wxSizeEvent,
32259 &_swigt__p_wxSizer,
32260 &_swigt__p_wxSizerItem,
32261 &_swigt__p_wxSplashScreen,
32262 &_swigt__p_wxSplashScreenWindow,
32263 &_swigt__p_wxSplitterEvent,
32264 &_swigt__p_wxSplitterWindow,
32265 &_swigt__p_wxStaticBoxSizer,
32266 &_swigt__p_wxStatusBar,
32267 &_swigt__p_wxStdDialogButtonSizer,
32268 &_swigt__p_wxString,
32269 &_swigt__p_wxSysColourChangedEvent,
32270 &_swigt__p_wxTIFFHandler,
32271 &_swigt__p_wxTaskBarIcon,
32272 &_swigt__p_wxTaskBarIconEvent,
32273 &_swigt__p_wxTextEntryDialog,
32274 &_swigt__p_wxTipWindow,
32275 &_swigt__p_wxToolBar,
32276 &_swigt__p_wxTopLevelWindow,
32277 &_swigt__p_wxUpdateUIEvent,
32278 &_swigt__p_wxValidator,
32279 &_swigt__p_wxVisualAttributes,
32280 &_swigt__p_wxWindow,
32281 &_swigt__p_wxWindowCreateEvent,
32282 &_swigt__p_wxWindowDestroyEvent,
32283 &_swigt__p_wxXPMHandler,
32284 };
32285
32286 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
32287 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
32288 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
32289 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
32290 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
32291 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
32292 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
32293 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
32294 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
32295 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
32296 static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
32297 static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
32298 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
32299 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
32300 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
32301 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
32302 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
32303 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
32304 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
32305 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
32306 static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
32307 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
32308 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}};
32309 static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
32310 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
32311 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
32312 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
32313 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
32314 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
32315 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
32316 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
32317 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
32318 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
32319 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
32320 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32321 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32322 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
32323 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32324 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
32325 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
32326 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
32327 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32328 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32329 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32330 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32331 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
32332 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
32333 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
32334 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
32335 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
32336 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_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_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}};
32337 static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
32338 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
32339 static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
32340 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
32341 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
32342 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}};
32343 static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
32344 static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
32345 static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
32346 static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
32347 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
32348 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
32349 static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
32350 static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
32351 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}};
32352 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
32353 static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
32354 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
32355 static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
32356 static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
32357 static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
32358 static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
32359 static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
32360 static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
32361 static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
32362 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
32363 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}};
32364 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
32365 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
32366 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
32367 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
32368 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
32369 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
32370 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
32371 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
32372 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
32373 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
32374 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
32375 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
32376 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
32377 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
32378 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
32379 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
32380 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
32381 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
32382 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
32383 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
32384 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
32385 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
32386 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
32387 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
32388 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
32389 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
32390 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
32391 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
32392 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_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_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_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_wxImageHandler, _p_wxImageHandlerTo_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_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}};
32393 static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
32394 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
32395 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}};
32396 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
32397 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
32398 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
32399 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}};
32400 static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
32401 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}};
32402 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}};
32403 static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
32404 static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
32405 static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
32406 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}};
32407 static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
32408 static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
32409 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
32410 static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
32411 static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = { {&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
32412 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
32413 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
32414 static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
32415 static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
32416 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
32417 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
32418 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}};
32419 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}};
32420 static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
32421 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
32422 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
32423 static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
32424 static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
32425 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
32426 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}};
32427 static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
32428 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}};
32429 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
32430 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
32431 static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
32432 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
32433 static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
32434 static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
32435 static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
32436 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
32437 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
32438 static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
32439 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
32440 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}};
32441 static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
32442 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
32443 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}};
32444 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
32445 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}};
32446
32447 static swig_cast_info *swig_cast_initial[] = {
32448 _swigc__p_char,
32449 _swigc__p_form_ops_t,
32450 _swigc__p_int,
32451 _swigc__p_unsigned_char,
32452 _swigc__p_unsigned_int,
32453 _swigc__p_unsigned_long,
32454 _swigc__p_wxANIHandler,
32455 _swigc__p_wxAcceleratorTable,
32456 _swigc__p_wxActivateEvent,
32457 _swigc__p_wxArrayInt,
32458 _swigc__p_wxBMPHandler,
32459 _swigc__p_wxBitmap,
32460 _swigc__p_wxBoxSizer,
32461 _swigc__p_wxCURHandler,
32462 _swigc__p_wxCalculateLayoutEvent,
32463 _swigc__p_wxChildFocusEvent,
32464 _swigc__p_wxCloseEvent,
32465 _swigc__p_wxColour,
32466 _swigc__p_wxColourData,
32467 _swigc__p_wxColourDialog,
32468 _swigc__p_wxCommandEvent,
32469 _swigc__p_wxContextMenuEvent,
32470 _swigc__p_wxControl,
32471 _swigc__p_wxControlWithItems,
32472 _swigc__p_wxDC,
32473 _swigc__p_wxDateEvent,
32474 _swigc__p_wxDialog,
32475 _swigc__p_wxDirDialog,
32476 _swigc__p_wxDisplayChangedEvent,
32477 _swigc__p_wxDropFilesEvent,
32478 _swigc__p_wxDuplexMode,
32479 _swigc__p_wxEraseEvent,
32480 _swigc__p_wxEvent,
32481 _swigc__p_wxEvtHandler,
32482 _swigc__p_wxFSFile,
32483 _swigc__p_wxFileDialog,
32484 _swigc__p_wxFileSystem,
32485 _swigc__p_wxFindDialogEvent,
32486 _swigc__p_wxFindReplaceData,
32487 _swigc__p_wxFindReplaceDialog,
32488 _swigc__p_wxFlexGridSizer,
32489 _swigc__p_wxFocusEvent,
32490 _swigc__p_wxFont,
32491 _swigc__p_wxFontData,
32492 _swigc__p_wxFontDialog,
32493 _swigc__p_wxFrame,
32494 _swigc__p_wxGBSizerItem,
32495 _swigc__p_wxGIFHandler,
32496 _swigc__p_wxGridBagSizer,
32497 _swigc__p_wxGridSizer,
32498 _swigc__p_wxICOHandler,
32499 _swigc__p_wxIcon,
32500 _swigc__p_wxIconBundle,
32501 _swigc__p_wxIconizeEvent,
32502 _swigc__p_wxIdleEvent,
32503 _swigc__p_wxImage,
32504 _swigc__p_wxImageHandler,
32505 _swigc__p_wxIndividualLayoutConstraint,
32506 _swigc__p_wxInitDialogEvent,
32507 _swigc__p_wxJPEGHandler,
32508 _swigc__p_wxKeyEvent,
32509 _swigc__p_wxLayoutAlgorithm,
32510 _swigc__p_wxLayoutConstraints,
32511 _swigc__p_wxMDIChildFrame,
32512 _swigc__p_wxMDIClientWindow,
32513 _swigc__p_wxMDIParentFrame,
32514 _swigc__p_wxMaximizeEvent,
32515 _swigc__p_wxMenu,
32516 _swigc__p_wxMenuBar,
32517 _swigc__p_wxMenuEvent,
32518 _swigc__p_wxMenuItem,
32519 _swigc__p_wxMessageDialog,
32520 _swigc__p_wxMiniFrame,
32521 _swigc__p_wxMouseCaptureChangedEvent,
32522 _swigc__p_wxMouseEvent,
32523 _swigc__p_wxMoveEvent,
32524 _swigc__p_wxMultiChoiceDialog,
32525 _swigc__p_wxNavigationKeyEvent,
32526 _swigc__p_wxNcPaintEvent,
32527 _swigc__p_wxNotifyEvent,
32528 _swigc__p_wxObject,
32529 _swigc__p_wxPCXHandler,
32530 _swigc__p_wxPNGHandler,
32531 _swigc__p_wxPNMHandler,
32532 _swigc__p_wxPageSetupDialog,
32533 _swigc__p_wxPageSetupDialogData,
32534 _swigc__p_wxPaintEvent,
32535 _swigc__p_wxPaletteChangedEvent,
32536 _swigc__p_wxPanel,
32537 _swigc__p_wxPaperSize,
32538 _swigc__p_wxPasswordEntryDialog,
32539 _swigc__p_wxPoint,
32540 _swigc__p_wxPopupWindow,
32541 _swigc__p_wxPreviewCanvas,
32542 _swigc__p_wxPreviewControlBar,
32543 _swigc__p_wxPreviewFrame,
32544 _swigc__p_wxPrintData,
32545 _swigc__p_wxPrintDialog,
32546 _swigc__p_wxPrintDialogData,
32547 _swigc__p_wxPrintPreview,
32548 _swigc__p_wxPrinter,
32549 _swigc__p_wxProgressDialog,
32550 _swigc__p_wxPyApp,
32551 _swigc__p_wxPyCommandEvent,
32552 _swigc__p_wxPyEvent,
32553 _swigc__p_wxPyHtmlListBox,
32554 _swigc__p_wxPyImageHandler,
32555 _swigc__p_wxPyPanel,
32556 _swigc__p_wxPyPopupTransientWindow,
32557 _swigc__p_wxPyPreviewControlBar,
32558 _swigc__p_wxPyPreviewFrame,
32559 _swigc__p_wxPyPrintPreview,
32560 _swigc__p_wxPyPrintout,
32561 _swigc__p_wxPyScrolledWindow,
32562 _swigc__p_wxPySizer,
32563 _swigc__p_wxPyTaskBarIcon,
32564 _swigc__p_wxPyVListBox,
32565 _swigc__p_wxPyVScrolledWindow,
32566 _swigc__p_wxPyValidator,
32567 _swigc__p_wxPyWindow,
32568 _swigc__p_wxQueryLayoutInfoEvent,
32569 _swigc__p_wxQueryNewPaletteEvent,
32570 _swigc__p_wxRect,
32571 _swigc__p_wxRegion,
32572 _swigc__p_wxSashEvent,
32573 _swigc__p_wxSashLayoutWindow,
32574 _swigc__p_wxSashWindow,
32575 _swigc__p_wxScrollEvent,
32576 _swigc__p_wxScrollWinEvent,
32577 _swigc__p_wxScrolledWindow,
32578 _swigc__p_wxSetCursorEvent,
32579 _swigc__p_wxShowEvent,
32580 _swigc__p_wxSingleChoiceDialog,
32581 _swigc__p_wxSize,
32582 _swigc__p_wxSizeEvent,
32583 _swigc__p_wxSizer,
32584 _swigc__p_wxSizerItem,
32585 _swigc__p_wxSplashScreen,
32586 _swigc__p_wxSplashScreenWindow,
32587 _swigc__p_wxSplitterEvent,
32588 _swigc__p_wxSplitterWindow,
32589 _swigc__p_wxStaticBoxSizer,
32590 _swigc__p_wxStatusBar,
32591 _swigc__p_wxStdDialogButtonSizer,
32592 _swigc__p_wxString,
32593 _swigc__p_wxSysColourChangedEvent,
32594 _swigc__p_wxTIFFHandler,
32595 _swigc__p_wxTaskBarIcon,
32596 _swigc__p_wxTaskBarIconEvent,
32597 _swigc__p_wxTextEntryDialog,
32598 _swigc__p_wxTipWindow,
32599 _swigc__p_wxToolBar,
32600 _swigc__p_wxTopLevelWindow,
32601 _swigc__p_wxUpdateUIEvent,
32602 _swigc__p_wxValidator,
32603 _swigc__p_wxVisualAttributes,
32604 _swigc__p_wxWindow,
32605 _swigc__p_wxWindowCreateEvent,
32606 _swigc__p_wxWindowDestroyEvent,
32607 _swigc__p_wxXPMHandler,
32608 };
32609
32610
32611 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32612
32613 static swig_const_info swig_const_table[] = {
32614 {0, 0, 0, 0.0, 0, 0}};
32615
32616 #ifdef __cplusplus
32617 }
32618 #endif
32619 /* -----------------------------------------------------------------------------
32620 * Type initialization:
32621 * This problem is tough by the requirement that no dynamic
32622 * memory is used. Also, since swig_type_info structures store pointers to
32623 * swig_cast_info structures and swig_cast_info structures store pointers back
32624 * to swig_type_info structures, we need some lookup code at initialization.
32625 * The idea is that swig generates all the structures that are needed.
32626 * The runtime then collects these partially filled structures.
32627 * The SWIG_InitializeModule function takes these initial arrays out of
32628 * swig_module, and does all the lookup, filling in the swig_module.types
32629 * array with the correct data and linking the correct swig_cast_info
32630 * structures together.
32631 *
32632 * The generated swig_type_info structures are assigned staticly to an initial
32633 * array. We just loop though that array, and handle each type individually.
32634 * First we lookup if this type has been already loaded, and if so, use the
32635 * loaded structure instead of the generated one. Then we have to fill in the
32636 * cast linked list. The cast data is initially stored in something like a
32637 * two-dimensional array. Each row corresponds to a type (there are the same
32638 * number of rows as there are in the swig_type_initial array). Each entry in
32639 * a column is one of the swig_cast_info structures for that type.
32640 * The cast_initial array is actually an array of arrays, because each row has
32641 * a variable number of columns. So to actually build the cast linked list,
32642 * we find the array of casts associated with the type, and loop through it
32643 * adding the casts to the list. The one last trick we need to do is making
32644 * sure the type pointer in the swig_cast_info struct is correct.
32645 *
32646 * First off, we lookup the cast->type name to see if it is already loaded.
32647 * There are three cases to handle:
32648 * 1) If the cast->type has already been loaded AND the type we are adding
32649 * casting info to has not been loaded (it is in this module), THEN we
32650 * replace the cast->type pointer with the type pointer that has already
32651 * been loaded.
32652 * 2) If BOTH types (the one we are adding casting info to, and the
32653 * cast->type) are loaded, THEN the cast info has already been loaded by
32654 * the previous module so we just ignore it.
32655 * 3) Finally, if cast->type has not already been loaded, then we add that
32656 * swig_cast_info to the linked list (because the cast->type) pointer will
32657 * be correct.
32658 * ----------------------------------------------------------------------------- */
32659
32660 #ifdef __cplusplus
32661 extern "C" {
32662 #if 0
32663 } /* c-mode */
32664 #endif
32665 #endif
32666
32667 #if 0
32668 #define SWIGRUNTIME_DEBUG
32669 #endif
32670
32671 SWIGRUNTIME void
32672 SWIG_InitializeModule(void *clientdata) {
32673 size_t i;
32674 swig_module_info *module_head;
32675 static int init_run = 0;
32676
32677 clientdata = clientdata;
32678
32679 if (init_run) return;
32680 init_run = 1;
32681
32682 /* Initialize the swig_module */
32683 swig_module.type_initial = swig_type_initial;
32684 swig_module.cast_initial = swig_cast_initial;
32685
32686 /* Try and load any already created modules */
32687 module_head = SWIG_GetModule(clientdata);
32688 if (module_head) {
32689 swig_module.next = module_head->next;
32690 module_head->next = &swig_module;
32691 } else {
32692 /* This is the first module loaded */
32693 swig_module.next = &swig_module;
32694 SWIG_SetModule(clientdata, &swig_module);
32695 }
32696
32697 /* Now work on filling in swig_module.types */
32698 #ifdef SWIGRUNTIME_DEBUG
32699 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
32700 #endif
32701 for (i = 0; i < swig_module.size; ++i) {
32702 swig_type_info *type = 0;
32703 swig_type_info *ret;
32704 swig_cast_info *cast;
32705
32706 #ifdef SWIGRUNTIME_DEBUG
32707 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
32708 #endif
32709
32710 /* if there is another module already loaded */
32711 if (swig_module.next != &swig_module) {
32712 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
32713 }
32714 if (type) {
32715 /* Overwrite clientdata field */
32716 #ifdef SWIGRUNTIME_DEBUG
32717 printf("SWIG_InitializeModule: found type %s\n", type->name);
32718 #endif
32719 if (swig_module.type_initial[i]->clientdata) {
32720 type->clientdata = swig_module.type_initial[i]->clientdata;
32721 #ifdef SWIGRUNTIME_DEBUG
32722 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
32723 #endif
32724 }
32725 } else {
32726 type = swig_module.type_initial[i];
32727 }
32728
32729 /* Insert casting types */
32730 cast = swig_module.cast_initial[i];
32731 while (cast->type) {
32732 /* Don't need to add information already in the list */
32733 ret = 0;
32734 #ifdef SWIGRUNTIME_DEBUG
32735 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
32736 #endif
32737 if (swig_module.next != &swig_module) {
32738 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
32739 #ifdef SWIGRUNTIME_DEBUG
32740 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
32741 #endif
32742 }
32743 if (ret) {
32744 if (type == swig_module.type_initial[i]) {
32745 #ifdef SWIGRUNTIME_DEBUG
32746 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
32747 #endif
32748 cast->type = ret;
32749 ret = 0;
32750 } else {
32751 /* Check for casting already in the list */
32752 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
32753 #ifdef SWIGRUNTIME_DEBUG
32754 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
32755 #endif
32756 if (!ocast) ret = 0;
32757 }
32758 }
32759
32760 if (!ret) {
32761 #ifdef SWIGRUNTIME_DEBUG
32762 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
32763 #endif
32764 if (type->cast) {
32765 type->cast->prev = cast;
32766 cast->next = type->cast;
32767 }
32768 type->cast = cast;
32769 }
32770 cast++;
32771 }
32772 /* Set entry in modules->types array equal to the type */
32773 swig_module.types[i] = type;
32774 }
32775 swig_module.types[i] = 0;
32776
32777 #ifdef SWIGRUNTIME_DEBUG
32778 printf("**** SWIG_InitializeModule: Cast List ******\n");
32779 for (i = 0; i < swig_module.size; ++i) {
32780 int j = 0;
32781 swig_cast_info *cast = swig_module.cast_initial[i];
32782 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
32783 while (cast->type) {
32784 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
32785 cast++;
32786 ++j;
32787 }
32788 printf("---- Total casts: %d\n",j);
32789 }
32790 printf("**** SWIG_InitializeModule: Cast List ******\n");
32791 #endif
32792 }
32793
32794 /* This function will propagate the clientdata field of type to
32795 * any new swig_type_info structures that have been added into the list
32796 * of equivalent types. It is like calling
32797 * SWIG_TypeClientData(type, clientdata) a second time.
32798 */
32799 SWIGRUNTIME void
32800 SWIG_PropagateClientData(void) {
32801 size_t i;
32802 swig_cast_info *equiv;
32803 static int init_run = 0;
32804
32805 if (init_run) return;
32806 init_run = 1;
32807
32808 for (i = 0; i < swig_module.size; i++) {
32809 if (swig_module.types[i]->clientdata) {
32810 equiv = swig_module.types[i]->cast;
32811 while (equiv) {
32812 if (!equiv->converter) {
32813 if (equiv->type && !equiv->type->clientdata)
32814 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
32815 }
32816 equiv = equiv->next;
32817 }
32818 }
32819 }
32820 }
32821
32822 #ifdef __cplusplus
32823 #if 0
32824 {
32825 /* c-mode */
32826 #endif
32827 }
32828 #endif
32829
32830
32831
32832 #ifdef __cplusplus
32833 extern "C" {
32834 #endif
32835
32836 /* Python-specific SWIG API */
32837 #define SWIG_newvarlink() SWIG_Python_newvarlink()
32838 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
32839 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
32840
32841 /* -----------------------------------------------------------------------------
32842 * global variable support code.
32843 * ----------------------------------------------------------------------------- */
32844
32845 typedef struct swig_globalvar {
32846 char *name; /* Name of global variable */
32847 PyObject *(*get_attr)(void); /* Return the current value */
32848 int (*set_attr)(PyObject *); /* Set the value */
32849 struct swig_globalvar *next;
32850 } swig_globalvar;
32851
32852 typedef struct swig_varlinkobject {
32853 PyObject_HEAD
32854 swig_globalvar *vars;
32855 } swig_varlinkobject;
32856
32857 SWIGINTERN PyObject *
32858 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
32859 return PyString_FromString("<Swig global variables>");
32860 }
32861
32862 SWIGINTERN PyObject *
32863 swig_varlink_str(swig_varlinkobject *v) {
32864 PyObject *str = PyString_FromString("(");
32865 swig_globalvar *var;
32866 for (var = v->vars; var; var=var->next) {
32867 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
32868 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
32869 }
32870 PyString_ConcatAndDel(&str,PyString_FromString(")"));
32871 return str;
32872 }
32873
32874 SWIGINTERN int
32875 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
32876 PyObject *str = swig_varlink_str(v);
32877 fprintf(fp,"Swig global variables ");
32878 fprintf(fp,"%s\n", PyString_AsString(str));
32879 Py_DECREF(str);
32880 return 0;
32881 }
32882
32883 SWIGINTERN void
32884 swig_varlink_dealloc(swig_varlinkobject *v) {
32885 swig_globalvar *var = v->vars;
32886 while (var) {
32887 swig_globalvar *n = var->next;
32888 free(var->name);
32889 free(var);
32890 var = n;
32891 }
32892 }
32893
32894 SWIGINTERN PyObject *
32895 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
32896 PyObject *res = NULL;
32897 swig_globalvar *var = v->vars;
32898 while (var) {
32899 if (strcmp(var->name,n) == 0) {
32900 res = (*var->get_attr)();
32901 break;
32902 }
32903 var = var->next;
32904 }
32905 if (res == NULL && !PyErr_Occurred()) {
32906 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
32907 }
32908 return res;
32909 }
32910
32911 SWIGINTERN int
32912 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
32913 int res = 1;
32914 swig_globalvar *var = v->vars;
32915 while (var) {
32916 if (strcmp(var->name,n) == 0) {
32917 res = (*var->set_attr)(p);
32918 break;
32919 }
32920 var = var->next;
32921 }
32922 if (res == 1 && !PyErr_Occurred()) {
32923 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
32924 }
32925 return res;
32926 }
32927
32928 SWIGINTERN PyTypeObject*
32929 swig_varlink_type(void) {
32930 static char varlink__doc__[] = "Swig var link object";
32931 static PyTypeObject varlink_type;
32932 static int type_init = 0;
32933 if (!type_init) {
32934 const PyTypeObject tmp
32935 = {
32936 PyObject_HEAD_INIT(NULL)
32937 0, /* Number of items in variable part (ob_size) */
32938 (char *)"swigvarlink", /* Type name (tp_name) */
32939 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
32940 0, /* Itemsize (tp_itemsize) */
32941 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
32942 (printfunc) swig_varlink_print, /* Print (tp_print) */
32943 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
32944 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
32945 0, /* tp_compare */
32946 (reprfunc) swig_varlink_repr, /* tp_repr */
32947 0, /* tp_as_number */
32948 0, /* tp_as_sequence */
32949 0, /* tp_as_mapping */
32950 0, /* tp_hash */
32951 0, /* tp_call */
32952 (reprfunc)swig_varlink_str, /* tp_str */
32953 0, /* tp_getattro */
32954 0, /* tp_setattro */
32955 0, /* tp_as_buffer */
32956 0, /* tp_flags */
32957 varlink__doc__, /* tp_doc */
32958 0, /* tp_traverse */
32959 0, /* tp_clear */
32960 0, /* tp_richcompare */
32961 0, /* tp_weaklistoffset */
32962 #if PY_VERSION_HEX >= 0x02020000
32963 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
32964 #endif
32965 #if PY_VERSION_HEX >= 0x02030000
32966 0, /* tp_del */
32967 #endif
32968 #ifdef COUNT_ALLOCS
32969 0,0,0,0 /* tp_alloc -> tp_next */
32970 #endif
32971 };
32972 varlink_type = tmp;
32973 varlink_type.ob_type = &PyType_Type;
32974 type_init = 1;
32975 }
32976 return &varlink_type;
32977 }
32978
32979 /* Create a variable linking object for use later */
32980 SWIGINTERN PyObject *
32981 SWIG_Python_newvarlink(void) {
32982 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
32983 if (result) {
32984 result->vars = 0;
32985 }
32986 return ((PyObject*) result);
32987 }
32988
32989 SWIGINTERN void
32990 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
32991 swig_varlinkobject *v = (swig_varlinkobject *) p;
32992 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
32993 if (gv) {
32994 size_t size = strlen(name)+1;
32995 gv->name = (char *)malloc(size);
32996 if (gv->name) {
32997 strncpy(gv->name,name,size);
32998 gv->get_attr = get_attr;
32999 gv->set_attr = set_attr;
33000 gv->next = v->vars;
33001 }
33002 }
33003 v->vars = gv;
33004 }
33005
33006 SWIGINTERN PyObject *
33007 SWIG_globals() {
33008 static PyObject *_SWIG_globals = 0;
33009 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
33010 return _SWIG_globals;
33011 }
33012
33013 /* -----------------------------------------------------------------------------
33014 * constants/methods manipulation
33015 * ----------------------------------------------------------------------------- */
33016
33017 /* Install Constants */
33018 SWIGINTERN void
33019 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
33020 PyObject *obj = 0;
33021 size_t i;
33022 for (i = 0; constants[i].type; ++i) {
33023 switch(constants[i].type) {
33024 case SWIG_PY_POINTER:
33025 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
33026 break;
33027 case SWIG_PY_BINARY:
33028 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
33029 break;
33030 default:
33031 obj = 0;
33032 break;
33033 }
33034 if (obj) {
33035 PyDict_SetItemString(d, constants[i].name, obj);
33036 Py_DECREF(obj);
33037 }
33038 }
33039 }
33040
33041 /* -----------------------------------------------------------------------------*/
33042 /* Fix SwigMethods to carry the callback ptrs when needed */
33043 /* -----------------------------------------------------------------------------*/
33044
33045 SWIGINTERN void
33046 SWIG_Python_FixMethods(PyMethodDef *methods,
33047 swig_const_info *const_table,
33048 swig_type_info **types,
33049 swig_type_info **types_initial) {
33050 size_t i;
33051 for (i = 0; methods[i].ml_name; ++i) {
33052 char *c = methods[i].ml_doc;
33053 if (c && (c = strstr(c, "swig_ptr: "))) {
33054 int j;
33055 swig_const_info *ci = 0;
33056 char *name = c + 10;
33057 for (j = 0; const_table[j].type; ++j) {
33058 if (strncmp(const_table[j].name, name,
33059 strlen(const_table[j].name)) == 0) {
33060 ci = &(const_table[j]);
33061 break;
33062 }
33063 }
33064 if (ci) {
33065 size_t shift = (ci->ptype) - types;
33066 swig_type_info *ty = types_initial[shift];
33067 size_t ldoc = (c - methods[i].ml_doc);
33068 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
33069 char *ndoc = (char*)malloc(ldoc + lptr + 10);
33070 if (ndoc) {
33071 char *buff = ndoc;
33072 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
33073 if (ptr) {
33074 strncpy(buff, methods[i].ml_doc, ldoc);
33075 buff += ldoc;
33076 strncpy(buff, "swig_ptr: ", 10);
33077 buff += 10;
33078 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
33079 methods[i].ml_doc = ndoc;
33080 }
33081 }
33082 }
33083 }
33084 }
33085 }
33086
33087 #ifdef __cplusplus
33088 }
33089 #endif
33090
33091 /* -----------------------------------------------------------------------------*
33092 * Partial Init method
33093 * -----------------------------------------------------------------------------*/
33094
33095 #ifdef __cplusplus
33096 extern "C"
33097 #endif
33098 SWIGEXPORT void SWIG_init(void) {
33099 PyObject *m, *d;
33100
33101 /* Fix SwigMethods to carry the callback ptrs when needed */
33102 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
33103
33104 m = Py_InitModule((char *) SWIG_name, SwigMethods);
33105 d = PyModule_GetDict(m);
33106
33107 SWIG_InitializeModule(0);
33108 SWIG_InstallConstants(d,swig_const_table);
33109
33110
33111 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
33112 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
33113 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
33114 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
33115 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
33116 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
33117 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
33118 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
33119 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
33120 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
33121 SWIG_Python_SetConstant(d, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME)));
33122 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
33123 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
33124 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
33125 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
33126 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
33127 SWIG_Python_SetConstant(d, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX)));
33128 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
33129 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
33130 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
33131 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
33132 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
33133 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
33134 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
33135 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
33136 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
33137 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
33138 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
33139 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
33140 SWIG_Python_SetConstant(d, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL)));
33141 SWIG_Python_SetConstant(d, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS)));
33142 SWIG_Python_SetConstant(d, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS)));
33143 SWIG_Python_SetConstant(d, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D)));
33144 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
33145 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
33146 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
33147 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
33148 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
33149 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
33150 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
33151 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
33152 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
33153 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
33154 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
33155 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
33156 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
33157 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
33158 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
33159 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
33160 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
33161 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
33162 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
33163 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
33164 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
33165 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
33166 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
33167 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
33168 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
33169 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
33170 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
33171 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
33172 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
33173 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
33174 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
33175 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
33176 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
33177 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
33178 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
33179 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
33180 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
33181 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
33182 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
33183 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
33184 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
33185 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
33186 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
33187 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
33188 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
33189 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
33190 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
33191 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
33192 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
33193 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
33194 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
33195 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
33196 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
33197 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
33198 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
33199 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
33200 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
33201 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
33202 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
33203 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
33204 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
33205 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
33206 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
33207 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
33208 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
33209 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
33210 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
33211 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
33212 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
33213
33214 // Map renamed classes back to their common name for OOR
33215 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
33216 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
33217 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
33218
33219 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
33220 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
33221 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
33222 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
33223 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
33224 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
33225 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
33226 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
33227 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
33228 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
33229 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
33230 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
33231 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
33232 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
33233 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
33234 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
33235 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
33236 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
33237 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
33238 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
33239 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
33240 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
33241 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
33242 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
33243 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
33244 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
33245 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
33246 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
33247 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
33248 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
33249 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
33250 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
33251 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
33252 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
33253 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
33254 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
33255 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
33256 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
33257 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
33258 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
33259 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
33260 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
33261 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
33262 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
33263 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
33264 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
33265 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
33266 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
33267 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
33268 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
33269 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
33270 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
33271 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
33272 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
33273 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
33274 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
33275 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
33276 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
33277 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
33278 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
33279 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
33280 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
33281 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
33282 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
33283 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
33284 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
33285 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
33286 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
33287 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
33288 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
33289 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
33290 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
33291 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
33292 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
33293 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
33294 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
33295 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
33296 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
33297
33298 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
33299
33300 }
33301